From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: todo states not logged to drawer when using narrowed indirect buffer [8.3beta (release_8.3beta-1203-g93cc5f) ] Date: Sat, 06 Jun 2015 09:16:24 +0200 Message-ID: <87iob1johj.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z18Jx-00010t-Tj for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 03:15:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z18Jx-00040q-3j for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 03:15:09 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:53812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z18Jw-0003sT-Ti for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 03:15:09 -0400 In-Reply-To: (Mark Edgington's message of "Thu, 4 Jun 2015 15:23:54 -0400") 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: Mark Edgington Cc: emacs-orgmode Hello, Mark Edgington writes: > To reproduce this bug, do the following: > > 1. edit / open the following org file: > > #+TODO: TODO(t) WAIT(w!) | DONE(d!) CANCELED(c!) > #+STARTUP: logdrawer > * testing A > some stuff > * testing B > > 2. execute (org-tree-to-indirect-buffer) on the 'testing A' headline > > 3. go to the end of the indirect buffer, and add a new headline. for example: > > * testing C > > 4. change the TODO state of this new headline to TODO, and then to WAIT. > > You should now notice that a drawer was created in the initial > (non-indirect) buffer, but is not visible in the indirect buffer. This is a consequence of the narrowing in the indirect buffer: The insertion point is not visible there. You could, for example, insert a new line below the new headline to solve it. > Furthermore, the logged state change appears *above* the drawer, and > not inside it. This should be fixed in 9fd317b1b00aec03430824b07310cb7b27d38cf8. Thank you. Regards, -- Nicolas Goaziou