emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Wrong type argument: sequencep, quote
@ 2009-02-24  6:40 Ross A. Laird
  2009-02-24 10:06 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Ross A. Laird @ 2009-02-24  6:40 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong type argument: sequencep, quote
  2009-02-24  6:40 Wrong type argument: sequencep, quote Ross A. Laird
@ 2009-02-24 10:06 ` Carsten Dominik
  2009-02-24 15:05   ` Ross A. Laird
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-02-24 10:06 UTC (permalink / raw)
  To: Ross A. Laird; +Cc: emacs-orgmode

What is the value or org-drawers?

What is your #+OPTIONS line?

- Carsten

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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong type argument: sequencep, quote
  2009-02-24 10:06 ` Carsten Dominik
@ 2009-02-24 15:05   ` Ross A. Laird
  2009-02-25 11:49     ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Ross A. Laird @ 2009-02-24 15:05 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> What is the value or org-drawers?
>
> What is your #+OPTIONS line?

This is likely the source of my problem. I had trouble finding the
proper way to configure the drawer. The documentation says that "Drawers
need to be configured with the variable org-drawers," then gives the
example  of "You can define drawers on a per-file basis with a line like
#+DRAWERS: HIDDEN PROPERTIES STATE." So, without further indication of
what these settings do, or how to actually use the variable org-drawers, I
just used the sample code in my file with the name of my drawer
added on to the end:

#+DRAWERS: HIDDEN PROPERTIES STATE PRIVATE

The drawer, by the way, has encrypted text in it. I have also confirmed
that html export works fine in general.

Perhaps there is an argument to be made for clarifying the drawers
documentation (or perhaps I'm just too clueless!).

Cheers.

Ross

>
> - Carsten
>
> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Wrong type argument: sequencep, quote
  2009-02-24 15:05   ` Ross A. Laird
@ 2009-02-25 11:49     ` Carsten Dominik
  2009-02-25 22:09       ` Ross A. Laird
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-02-25 11:49 UTC (permalink / raw)
  To: Ross A. Laird; +Cc: emacs-orgmode


On Feb 24, 2009, at 4:05 PM, Ross A. Laird wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> What is the value or org-drawers?
>>
>> What is your #+OPTIONS line?
>
> This is likely the source of my problem. I had trouble finding the
> proper way to configure the drawer. The documentation says that  
> "Drawers
> need to be configured with the variable org-drawers," then gives the
> example  of "You can define drawers on a per-file basis with a line  
> like
> #+DRAWERS: HIDDEN PROPERTIES STATE." So, without further indication of
> what these settings do, or how to actually use the variable org- 
> drawers, I
> just used the sample code in my file with the name of my drawer
> added on to the end:
>
> #+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.

> The drawer, by the way, has encrypted text in it. I have also  
> confirmed
> that html export works fine in general.
>
> Perhaps there is an argument to be made for clarifying the drawers
> documentation (or perhaps I'm just too clueless!).

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

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

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

- Carsten

>
>
> Cheers.
>
> Ross
>
>>
>> - Carsten
>>
>> 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.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong type argument: sequencep, quote
  2009-02-25 11:49     ` Carsten Dominik
@ 2009-02-25 22:09       ` Ross A. Laird
  2009-02-26 14:56         ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Ross A. Laird @ 2009-02-25 22:09 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> 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:

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.

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

I'm not sure what you are asking for. 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. 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

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.
>>>> Emacs-orgmode@gnu.org
>>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>
>>>
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Remember: use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Wrong type argument: sequencep, quote
  2009-02-25 22:09       ` Ross A. Laird
@ 2009-02-26 14:56         ` Carsten Dominik
  0 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-02-26 14:56 UTC (permalink / raw)
  To: Ross A. Laird; +Cc: emacs-orgmode

Hi Ross,

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

> Carsten Dominik <dominik@science.uva.nl> 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.
>>>>> Emacs-orgmode@gnu.org
>>>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Emacs-orgmode mailing list
>>>> Remember: use `Reply All' to send replies to the list.
>>>> Emacs-orgmode@gnu.org
>>>> 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.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-26 14:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-24  6:40 Wrong type argument: sequencep, quote Ross A. Laird
2009-02-24 10:06 ` Carsten Dominik
2009-02-24 15:05   ` Ross A. Laird
2009-02-25 11:49     ` Carsten Dominik
2009-02-25 22:09       ` Ross A. Laird
2009-02-26 14:56         ` Carsten Dominik

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).