From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Possible bug in org-cycle with property drawer Date: Thu, 26 Jan 2012 08:54:11 +0000 Message-ID: <87vcnyrgi4.fsf@ucl.ac.uk> References: <8502.1327506516@alphaville> <871uqndapl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLsK-00070Q-Qd for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:44:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqLsI-0001ou-Ge for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:44:12 -0500 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:52846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLsI-0001on-8E for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:44:10 -0500 In-Reply-To: <871uqndapl.fsf@gnu.org> (Bastien's message of "Wed, 25 Jan 2012 17:10:46 +0100") 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 writes: > Nick Dokos writes: > >> I start emacs with a minimal .emacs and an empty org file, insert >> a headline and insert a property drawer with >> org-insert-property-drawer. > > Note that a similar problem can occur with `org-insert-drawer' if > the inserted drawer is not known as such in the current buffer. > > The solution I'm inclined to implement is to ask the user if she > wants any unknown drawer to be added to `org-drawers'. > > What do you think? Yes, I think this would be a good idea. I had the same behaviour that Nick reported and I did not understand the cause of this behaviour as I had no DRAWERS option anywhere in my file! Of course, I didn't necessarily read any documentation . -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1 : using Org-mode version 7.8.03 (release_7.8.03.237.g674bb)