Re: [O] c-c ' strips final newline or adds blank line, but never neither

2014-07-28 Thread Bastien
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 c

Re: [O] c-c ' strips final newline or adds blank line, but never neither

2014-07-26 Thread Samuel Wales
On 7/26/14, Thorsten Jolitz wrote: >> did you try it? > > no, that was just a hint. if you try it you will understand that it is broken.

Re: [O] c-c ' strips final newline or adds blank line, but never neither

2014-07-26 Thread Thorsten Jolitz
Samuel Wales writes: hi Samuel, > did you try it? no, that was just a hint. But I know what you are talking about, since I had these problems with Outorg too - whitespace changes in the conversion process between programming language mode and org-mode although no editing at all took place. T

Re: [O] c-c ' strips final newline or adds blank line, but never neither

2014-07-25 Thread Samuel Wales
[this is why i mentioned the blank lines. both settings of this variable fail. one adds blank lines and the other removes the final newline.] On 7/25/14, Thorsten Jolitz wrote: > ,[ C-h v org-src-strip-leading-and-trailing-blank-lines RET ]

Re: [O] c-c ' strips final newline or adds blank line, but never neither

2014-07-25 Thread Samuel Wales
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 newli

Re: [O] c-c ' strips final newline or adds blank line, but never neither

2014-07-25 Thread Thorsten Jolitz
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 wit

[O] c-c ' strips final newline or adds blank line, but never neither

2014-07-24 Thread Samuel Wales
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 t