From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Possible bug in org-cycle with property drawer Date: Thu, 26 Jan 2012 08:45:15 -0500 Message-ID: <6670.1327585515@alphaville> References: <8502.1327506516@alphaville> <87aa5bdaug.fsf@gnu.org> <8796.1327508273@alphaville> <87ipjyg886.fsf@gnu.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqPel-0002M7-5Y for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 08:46:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqPef-0002Ic-7L for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 08:46:27 -0500 Received: from g4t0017.houston.hp.com ([15.201.24.20]:18328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqPef-00029i-2H for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 08:46:21 -0500 In-Reply-To: Message from Bastien of "Thu, 26 Jan 2012 09:48:25 +0100." <87ipjyg886.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Bastien wrote: > Hi Nick, > > Nick Dokos writes: > > > That's it: I had a > > > > #+DRAWERS: JUNK GARBAGE TRASH > > > > line in the file (and I didn't report it in the original email: blush! > > sorry about that). Without it, the property drawer behaves normally. > > Thinking again about your problem, I don't find it natural to > have #+DRAWERS /replacing/ existing drawers specified in `org-drawers', > instead of just adding new ones. > > Do you agree? > > The attached patch implements a new meaning for #+DRAWERS, as a way > to declare "additional" drawers. > > Let me know what you think, thanks! > If I've learnt anything from watching the list over the years, it's that somebody will have a need to replace existing drawers, so be prepared for that :-) That said, I can't think of any reason why adding to existing drawers, instead of replacing them, would lead to problems. So I'm inclined to agree with you. One question that might arise: are multiple #+DRAWERS lines legal? and if so, what do they do? I'll try to take the patch for a spin but I'm not sure when I'll be able to do it. Thanks, Nick