From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: c-c ' strips final newline or adds blank line, but never neither Date: Fri, 25 Jul 2014 15:45:28 -0700 Message-ID: References: <87ppgtq33p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAoF1-0007gK-8I for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 18:45:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAoF0-0001ER-6Q for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 18:45:31 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:40103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAoEz-0001EL-V3 for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 18:45:30 -0400 Received: by mail-wg0-f46.google.com with SMTP id m15so4821799wgh.17 for ; Fri, 25 Jul 2014 15:45:29 -0700 (PDT) In-Reply-To: <87ppgtq33p.fsf@gmail.com> 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: Thorsten Jolitz Cc: emacs-orgmode@gnu.org hi thorsten, did you try it? samuel On 7/25/14, Thorsten Jolitz wrote: > 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 > > > -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.