From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Masterson Subject: Re: Standard Format for Org Outlines? Date: Tue, 27 Nov 2018 17:20:58 +0000 Message-ID: References: <87h8g63k7w.fsf@nicolasgoaziou.fr> <87ftvozte6.fsf@nicolasgoaziou.fr> <87k1l0xj1o.fsf@nicolasgoaziou.fr> <878t1ex6my.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRh2p-0007Np-E3 for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 12:21:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRh2m-0006xL-7z for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 12:21:07 -0500 Received: from mail-oln040092012036.outbound.protection.outlook.com ([40.92.12.36]:6040 helo=NAM05-BY2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gRh2l-0006vz-Id for emacs-orgmode@gnu.org; Tue, 27 Nov 2018 12:21:04 -0500 In-Reply-To: <878t1ex6my.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 27 Nov 2018 09:32:37 +0100") Content-Language: en-US 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: Neil Jerram Cc: "emacs-orgmode@gnu.org" Nicolas Goaziou writes: > David Masterson writes: >> My example is simple. >> >> * emacs --no-init >> * edit an org file with an outline >> * position cursor at the end of an outline entry >> * M-Return >> ** result: a new header with a blank line before and after >> * C-Return >> ** result: a new header with a blank line before but not after > I cannot reproduce your issue. The only difference that could occur is > when you have sub-trees, since inserts the new headline at its > end. Hmm. Tried again. Severely trimmed my .emacs to the following: ;; (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cc" 'org-capture) (global-set-key "\C-cb" 'org-switchb) (custom-set-variables '(package-archives (quote (("gnu" . "https://elpa.gnu.org/packages/") ("org" . "https://orgmode.org/") ("melpa-stable" . "https://stable.melpa.org/packages/")))) '(package-selected-packages (quote (org adaptive-wrap auctex auto-correct python))) '(text-mode-hook (quote (turn-on-flyspell visual-line-mode text-mode-hook-identify)))) (custom-set-faces '(cursor ((t (:background "blue"))))) ;; I am running Emacs v26.1 on Cygwin under Windows with Org v9.1.14. Everything seems to work fine (slow at times, but...). A simple file produces the problem (and, of course, it is seen in much more complex files). * Header 1 * Header 2 Position the cursor on '1' and M-return will create a new header with a blank line before and after it, but C-return will create a new header with a blank line before, but not after it. Not a Lisp person, but I was wondering if there is something different in the way org-meta-return is doing its processing to determine if it should handle a header, list, or a table? That extra processing doesn't appear to be in C-return. -- David