From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-insert-heading Date: Sat, 16 Oct 2010 07:30:51 +0200 Message-ID: <6079A7F4-8CF4-4658-8D9D-9EFEAE5AA586@gmail.com> References: <4CB891AE.1050204@easy-emacs.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=43839 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6zYY-0001d0-Rq for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 01:43:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6zMC-0004d7-RJ for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 01:31:02 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:64468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6zMC-0004cY-MS for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 01:31:00 -0400 Received: by ewy5 with SMTP id 5so1139678ewy.0 for ; Fri, 15 Oct 2010 22:30:58 -0700 (PDT) In-Reply-To: <4CB891AE.1050204@easy-emacs.de> 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: =?ISO-8859-1?Q?Andreas_R=F6hler?= Cc: emacs-orgmode Hi Andreas, On Oct 15, 2010, at 7:38 PM, Andreas R=F6hler wrote: > > Hi, > > doku of `org-insert-heading' says: > > ,---- > | If point is not at the beginning, do not split the line, > | but create the new headline after the current line. > `---- > > which sounds wisely. > > Unfortunately function behaves different, splits line > uses it's following part to create the new headline > from, an inconvenience, resp. bug IMHO. > > Also tex-info endorses that: > > ,---- > | When this command is used in > | the middle of a line, the line is split and the rest of the line =20 > becomes > | the new headline@footnote{If you do not want the line to be split, > | customize the variable > `---- > In fact, splitting the line is the intended behavior, and there is a =20 variable to change that. I have updated the docstring of the command. - Carsten > Seems something across anyway. Suggest to restore/enable the > behaviour of the doku-string. Could send a patch. > > Interesting to read the reason for this change/difference anyway, so =20= > maybe I change my opinion too... > > Thanks all > > > Andreas > > -- > https://code.launchpad.net/~a-roehler/python-mode/python-mode-=20 > components > https://code.launchpad.net/s-x-emacs-werkstatt/ > > > _______________________________________________ > 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