From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: c-c ' strips final newline or adds blank line, but never neither Date: Sun, 27 Jul 2014 13:50:38 +0200 Message-ID: <87r415flbl.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBofe-0007Aa-A0 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBofS-0005Ur-Fp for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:10 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:42359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBofS-0005RF-Bc for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:24:58 -0400 In-Reply-To: (Samuel Wales's message of "Thu, 24 Jul 2014 15:48:24 -0700") 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: Samuel Wales Cc: emacs-orgmode Hi Samuel, Samuel Wales writes: > i find that when i do c-c ' on a source block, it either strips the > final newline in the editing buffer or adds an unwanted blank line in > the source block. I can't reproduce this. With (setq org-src-strip-leading-and-trailing-blank-lines nil) there is no change in the number of trailing newlines. With (setq org-src-strip-leading-and-trailing-blank-lines t), blank lines at the beginning and end of an *Org Src* editing buffer are stripped away. This is Org-mode version 8.3beta (release_8.3beta-74-g16e21a). Hopefully someone can provide a reproducible recipe. Thanks, -- Bastien