From: Samuel Wales <samologist@gmail.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: c-c ' strips final newline or adds blank line, but never neither
Date: Fri, 25 Jul 2014 15:45:28 -0700 [thread overview]
Message-ID: <CAJcAo8u2ofk+ubrrLiPRfeunPKOq=XtFMsfiaGnCwW1gtY9EXQ@mail.gmail.com> (raw)
In-Reply-To: <87ppgtq33p.fsf@gmail.com>
hi thorsten,
did you try it?
samuel
On 7/25/14, Thorsten Jolitz <tjolitz@gmail.com> wrote:
> Samuel Wales <samologist@gmail.com> 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.
next prev parent reply other threads:[~2014-07-25 22:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-24 22:48 c-c ' strips final newline or adds blank line, but never neither Samuel Wales
2014-07-25 8:01 ` Thorsten Jolitz
2014-07-25 22:45 ` Samuel Wales [this message]
2014-07-26 10:23 ` Thorsten Jolitz
2014-07-26 21:54 ` Samuel Wales
2014-07-25 22:47 ` Samuel Wales
2014-07-27 11:50 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJcAo8u2ofk+ubrrLiPRfeunPKOq=XtFMsfiaGnCwW1gtY9EXQ@mail.gmail.com' \
--to=samologist@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tjolitz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.