From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Fix Subtle Heading Creation Bugs Date: Thu, 23 Oct 2008 07:07:52 +0200 Message-ID: <3ADE0E8D-CB5B-4E63-90CF-10A1B5B3CC7A@uva.nl> References: <6FE33468-00B0-4CEE-87AC-65F12E8BC847@uva.nl> Mime-Version: 1.0 (Apple Message framework v929.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 1Ksta4-0007R0-C1 for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 02:22:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ksta1-0007PM-J1 for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 02:21:59 -0400 Received: from [199.232.76.173] (port=55484 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ksta1-0007PJ-F9 for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 02:21:57 -0400 Received: from ug-out-1314.google.com ([66.249.92.173]:8655) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ksta0-0005b6-UU for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 02:21:57 -0400 Received: by ug-out-1314.google.com with SMTP id z36so1741575uge.17 for ; Wed, 22 Oct 2008 23:21:54 -0700 (PDT) In-Reply-To: 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: Peter Jones Cc: emacs-orgmode@gnu.org Applied, thanks. - Carsten On Oct 23, 2008, at 2:30 AM, Peter Jones wrote: > Carsten Dominik writes: >> I have applied your full patch, thanks. >> >> Please verify the push, I did have a little technical problem when >> applying, so please make sure it worked correctly. > > Almost, I must have forgotten this: > > diff --git a/lisp/org.el b/lisp/org.el > index ad0f106..5bca9e8 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -4694,7 +4694,7 @@ but create the new hedline after the current > line." > If the heading has no TODO state, or if the state is DONE, use the > first > state (TODO by default). Also with prefix arg, force first state." > (interactive "P") > - (when (not (org-insert-item 'checkbox)) > + (when (or force-heading (not (org-insert-item 'checkbox))) > (org-insert-heading force-heading) > (save-excursion > (org-back-to-heading) > > -- > Peter Jones, http://pmade.com > pmade inc. Louisville, CO US > > > > _______________________________________________ > 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