From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: (org-insert-headline '(4)) should insert new headline before point Date: Tue, 29 Apr 2014 16:20:55 +0200 Message-ID: <87siowqks8.fsf@bzg.ath.cx> References: <87a9bk9guf.fsf@bzg.ath.cx> <87zjjdafa3.fsf@bzg.ath.cx> <87eh0lg940.fsf@bzg.ath.cx> <8738gwwbxb.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf8uA-00066R-3P for emacs-orgmode@gnu.org; Tue, 29 Apr 2014 10:21:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wf8u4-0000Wh-KN for emacs-orgmode@gnu.org; Tue, 29 Apr 2014 10:21:06 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:57649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf8u4-0000VA-B9 for emacs-orgmode@gnu.org; Tue, 29 Apr 2014 10:21:00 -0400 Received: by mail-wg0-f48.google.com with SMTP id b13so286736wgh.31 for ; Tue, 29 Apr 2014 07:20:59 -0700 (PDT) In-Reply-To: (Leonard Randall's message of "Tue, 29 Apr 2014 14:59:21 +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: Leonard Randall Cc: York Zhao , emacs-orgmode Hi Leonard, Leonard Randall writes: > I tried it with a minimal init, having just pulled from master this > morning. It will work fine on the first line of a file.  But will not > work on the second. This is what I got: > --- > * this is a test > * > this is   another > --- > As I say M-Ret worked fine on the first line, but inserted a new line > when called on the second. I'm having a hard time finding out what you *did* exactly -- can you describe the way to reproduce the bug from an empty buffer, step by step? Something like 1. emacs -q 2. C-x C-f ~/test.org RET 3. [insert "bla"] 4. C-a 5. M-RET The recipe above is fine for me -- whether "bla" is on the first or the second line. Let me know, -- Bastien