From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: How to stop org delete surrounding newline when adding headlines? Date: Sat, 11 Mar 2017 11:08:13 +0100 Message-ID: <87zigs6s8i.fsf@nicolasgoaziou.fr> References: <87fuil9hec.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmdwi-0007KD-Gi for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 05:08:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmdwf-0002OB-AC for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 05:08:20 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50489) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmdwf-0002O0-39 for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 05:08:17 -0500 In-Reply-To: (Shiyao Ma's message of "Sat, 11 Mar 2017 10:48:48 +0800") 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" To: Shiyao Ma Cc: emacs-orgmode@gnu.org Hello, Shiyao Ma writes: > Yes, I've tried with '((heading . auto)). > > '((heading . auto)) opens the possibility of inserting newline, which is > not desirable for me. Then there is no possibility to achieve what you want at the moment. We could implement a `manual' behavior for both headings and lists. Do you want to provide a patch for that? Regards, -- Nicolas Goaziou