From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Wrong type argument: sequencep, quote Date: Thu, 26 Feb 2009 15:56:38 +0100 Message-ID: References: <87skm4ficd.fsf@rosslaird.info> <61B7CE3D-EA8E-4E73-8068-16303F00676F@uva.nl> <87ocwrg9it.fsf@rosslaird.info> <690C2E72-282B-46EE-97B8-40EF26E4BF3D@uva.nl> <87bpsqkw2w.fsf@rosslaird.info> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LchfI-00046E-Tc for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 09:56:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LchfI-00044k-1p for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 09:56:44 -0500 Received: from [199.232.76.173] (port=33413 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LchfH-00044V-SA for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 09:56:43 -0500 Received: from mail-bw0-f172.google.com ([209.85.218.172]:40743) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LchfH-0005rq-8w for emacs-orgmode@gnu.org; Thu, 26 Feb 2009 09:56:43 -0500 Received: by bwz20 with SMTP id 20so542389bwz.42 for ; Thu, 26 Feb 2009 06:56:40 -0800 (PST) In-Reply-To: <87bpsqkw2w.fsf@rosslaird.info> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Ross A. Laird" Cc: emacs-orgmode@gnu.org Hi Ross, On Feb 25, 2009, at 11:09 PM, Ross A. Laird wrote: > Carsten Dominik 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