From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Subject: Re: [PATCH] Properly indent clock drawer upon creation Date: Sun, 01 Mar 2009 17:32:35 -0700 Message-ID: References: <42ECEBD3-250F-4A2D-AFD3-90E0B559F3C4@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ldw5Q-0002Jy-AD for emacs-orgmode@gnu.org; Sun, 01 Mar 2009 19:32:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ldw5P-0002JN-IS for emacs-orgmode@gnu.org; Sun, 01 Mar 2009 19:32:47 -0500 Received: from [199.232.76.173] (port=36078 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ldw5P-0002JE-Dg for emacs-orgmode@gnu.org; Sun, 01 Mar 2009 19:32:47 -0500 Received: from main.gmane.org ([80.91.229.2]:40106 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ldw5P-0004WP-0D for emacs-orgmode@gnu.org; Sun, 01 Mar 2009 19:32:47 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ldw5M-0005gG-G6 for emacs-orgmode@gnu.org; Mon, 02 Mar 2009 00:32:44 +0000 Received: from c-67-177-235-141.hsd1.co.comcast.net ([67.177.235.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2009 00:32:44 +0000 Received: from mlists by c-67-177-235-141.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2009 00:32:44 +0000 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: emacs-orgmode@gnu.org Carsten Dominik writes: > can you please describe a test case where the code without your patch > fails? The code doesn't fail, this is just a "nice to have". When a clock/logbook drawer is created, the :END: isn't indented correctly. This causes a problem for my function that automatically creates a plain list under a heading. My function uses org-indent-line-function to properly indent the plain list, but because of the bad :END: indentation, the plain list is indented incorrectly too. Example before my patch: * Foo Bar :CLOCK: :END: - Item One Example after my patch: * Foo Bar :CLOCK: :END: - Item One -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US