From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: c-c ' strips final newline or adds blank line, but never neither Date: Fri, 25 Jul 2014 10:01:14 +0200 Message-ID: <87ppgtq33p.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAaRf-00065A-UO for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 04:01:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAaRY-0002zu-Da for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 04:01:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:54097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAaRY-0002zY-7C for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 04:01:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XAaRW-0007PR-Tz for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 10:01:30 +0200 Received: from e178191039.adsl.alicedsl.de ([85.178.191.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jul 2014 10:01:30 +0200 Received: from tjolitz by e178191039.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jul 2014 10:01:30 +0200 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: emacs-orgmode@gnu.org 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 like to have final newlines in all of my buffers, including editing > buffers. what setting allows this without introducing a blank line at > the end of a source block? ,----[ C-h v org-src-strip-leading-and-trailing-blank-lines RET ] | org-src-strip-leading-and-trailing-blank-lines is a variable defined | in `org-src.el'. Its value is nil | | Documentation: | If non-nil, blank lines are removed when exiting the code edit buffer. `---- -- cheers, Thorsten