emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Wrong type argument: sequencep, quote


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Wrong type argument: sequencep, quote
Date: Thu, 26 Feb 2009 15:56:38 +0100

Hi Ross,

On Feb 25, 2009, at 11:09 PM, Ross A. Laird wrote:

Carsten Dominik <address@hidden> writes:

What is the value or org-drawers?

What is your #+OPTIONS line?

I do not have an options line.

[snip: original question (11 lines)]>>

#+DRAWERS: HIDDEN PROPERTIES STATE PRIVATE

This line is correct, and when activated by loading such a buffer,
or by pressing C-c C-c in the line, it will actually change org- drawers.

Yes, this works now.
I discovered that I had a *second* drawers setting at the end of the
file, under Local Variables. This second entry, which I copied from the
list archive, said this:

-# Local Variables:
-# org-drawers: '("PROPERTIES" "CLOCK" "MYDRAW")
-# End:


Now we are getting there.  This *would* be equivalent to

#+DRAWERS: PROPERTIES CLOCK MYDRAW

if you'd left off the quote:

# Local Variables:
  org-drawers: ("PROPERTIES" "CLOCK" "MYDRAW")
# End:

This is how the syntax of file variables works, values are read with `read', not
evaluated, so quoting is not needed.  Invalid, actually.
Confusing, yes, but safer.



I did not change the final MYDRAW, but I suspect that it should have
said PRIVATE, the name of my drawer. I suspect, though I am not certain, that the duplication of this line contributed to or caused my problem. After I
removed the above three lines, html export worked.

Let me repeat:  Do you have an #+OPTIONS line?  what does it say?

No options line.

OK, this could also have been a problem, possibly.

Please verify the value of org-drawers in the buffer where
you use this.



I'm not sure what you are asking for.

What I meant was to do

C-h v org-drawers RET

in the buffer to find out what the value truly is, to see
what - if anything -  the in-buffer settings achieved.

The only drawer-related items I
have in the file (other than those native to org) are the drawer itself
and the line at the top of the file beneath the startup line:

#+STARTUP:overview logdone
#+DRAWERS: HIDDEN PROPERTIES STATE PRIVATE

That's it. No org-drawers value other than this. And this is part of my
problem. I can find no documentation (either in the manual or on this
list) as to what I'm supposed to do with org-drawers.


You did the right thing, #+DRAWERS is in the manual as an example.

If you want to configure an Emacs variables directly, for example to
set consistend defaults for all Org files, it is often easier to
got through customize

M-x customize-variable RET org-drawers RET

because that does enforce the correct format of the value.

The documentation
says this must be configured, but does not show how. For a non- programmer, this presents a challenge. (Or, it may be in the documentation somewhere,
but I could not find it.)

Don't try to minimize the information you give us, maximize it.

I hope this gives you enough. It's working now, though I still have not
configured anything special and do not know how to use org-drawers.
Inferring from the line that I removed, the following is perhaps the
value of org-drawers that I should use:

# org-drawers: '("HIDDEN" "PROPERTIES" "STATE" "PRIVATE")

Is the above the same as:

#+DRAWERS: HIDDEN PROPERTIES STATE PRIVATE


Without the quote, no difference.
Except that the syntax is easier with #+DRAWERS
and also not subject to (in this case unnecessary) security checks.

HTH

- Carsten



I assume there is a difference that is useful in some way, but I do not
know enough about programming to figure this out.

Cheers.

Ross

On Feb 24, 2009, at 7:40 AM, Ross A. Laird wrote:


This is the error I get when I try any form of html export:

org-export-remove-or-extract-drawers: Wrong type argument:
sequencep,
quote

It even happens when I select a region without a drawer and then try
exporting.

Suggestions?

--
Ross A. Laird, PhD
www.rosslaird.info



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


--
Ross A. Laird, PhD
www.rosslaird.info



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


--
Ross A. Laird, PhD
www.rosslaird.info



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]