From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Meta-return on an empty headline breaks the headline instead of leaving it empty Date: Tue, 23 Mar 2010 08:44:24 +0100 Message-ID: References: <2a4ba2fd1003222213r1f358a25sef48c572560c6e49@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ntyn1-0005tT-Eq for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 03:44:40 -0400 Received: from [140.186.70.92] (port=50753 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ntymz-0005sw-5F for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 03:44:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ntymx-0004Kj-Nl for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 03:44:37 -0400 Received: from mail-fx0-f213.google.com ([209.85.220.213]:56693) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ntymx-0004Kc-HJ for emacs-orgmode@gnu.org; Tue, 23 Mar 2010 03:44:35 -0400 Received: by fxm5 with SMTP id 5so2327742fxm.9 for ; Tue, 23 Mar 2010 00:44:34 -0700 (PDT) In-Reply-To: <2a4ba2fd1003222213r1f358a25sef48c572560c6e49@mail.gmail.com> 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: Ryan Thompson Cc: Org-Mode List Fixed, thanks. - Carsten On Mar 23, 2010, at 6:13 AM, Ryan Thompson wrote: > I have found a bug. When the point is at the end of an empty headline > and you press M-RET (or C-RET) to make a new headline, it deletes all > the whitespace at the end of the empty headline first, which causes > the headline to break. I'm not sure if the correct behavior is to > leave an empty headline, or maybe just do nothing and leave the point > at the end of the empty headline without creating a new one, but the > correct thing is definitely *not* to break the headline. > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten