From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Subject: org-insert-heading Date: Fri, 15 Oct 2010 19:38:54 +0200 Message-ID: <4CB891AE.1050204@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=59285 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6oFp-0003Tw-BF for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 13:39:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6oFo-0004dz-Bh for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 13:39:41 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:61829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6oFn-0004ds-WF for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 13:39:40 -0400 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 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 becomes | the new headline@footnote{If you do not want the line to be split, | customize the variable `---- 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 maybe I change my opinion too... Thanks all Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/