From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Drawers for plain old stuff Date: Sat, 3 May 2008 12:42:27 +0200 Message-ID: References: <7bef1f890805030219p28401e30y93ecf10a3421c206@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v919.2) 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 1JsFCL-00079u-C5 for emacs-orgmode@gnu.org; Sat, 03 May 2008 06:42:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JsFCK-00079i-Kr for emacs-orgmode@gnu.org; Sat, 03 May 2008 06:42:32 -0400 Received: from [199.232.76.173] (port=39271 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsFCK-00079f-Eg for emacs-orgmode@gnu.org; Sat, 03 May 2008 06:42:32 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JsFCK-0001wo-3s for emacs-orgmode@gnu.org; Sat, 03 May 2008 06:42:32 -0400 In-Reply-To: <7bef1f890805030219p28401e30y93ecf10a3421c206@mail.gmail.com> 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: "Alan E. Davis" Cc: emacs-orgmode@gnu.org On May 3, 2008, at 11:19 AM, Alan E. Davis wrote: > I finally got drawers to work to hide some plain old stuff that is > too massive to be in the way all the time. Is it me, or are drawers > somewhat capricious? I had a drawer working, then moved more > stuff into it, and it cannot find the :END: line anymore. So here > are a few questions. > > - Can I have two drawers by the same name in a file Yes. > > - What kind of information is forbidden in a drawer (that will not > enable the finding of the :END: line)? You cannot nest drawers, a drawer ends at the first :END: line, the end must be before the next headline. > - Can I make up names for Drawers on the fly? Maybe a regular > expression name would be configured? You can globally define the drawers using the variable `org-drawers'. Or you can have a #+DRAWERS: CLOCK PROPERTIES HIDETHIS HIDETHAT TOOBIG TOOUGLY line in the buffer. Just press C-c C-c after changing the line and you are good do go. There is currently no way to define a regular expression for this. Possible, but you would need to come up with a convincing use case before I would implement this. > - Are blank lines anethema to drawers? No. > - Is there a size limit? No. However, the drawer cannot contain a headline, i.e. a line starting with one or several stars followed by a space character. Most likely, this is what was causing you problems? - Carsten > Thank you, as I think this is a great feature. Org-mode is becoming > more and more interesting as I begin to understand some of the > complexities. > > Alan > > _______________________________________________ > 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