Re: C-RET and empty lines

2023-08-24 Thread Max Nikulin
On 22/08/2023 16:52, Ihor Radchenko wrote: Max Nikulin writes: Yes, it is intentional. Org follows the blank lines of the current heading when you press C-RET, by default. This behaviour is customizable. See `org-blank-before-new-entry'. Thank you for explanation. Frankly speaking, I missed a

Re: C-RET and empty lines

2023-08-22 Thread Juergen Fenn
Am 22.08.23 um 13:38 Uhr schrieb Ihor Radchenko: >> Could you please advise how to configure the variable in your init file >> to have it produce a blank line before _every_ new entry? > > (setf (alist-get 'heading org-blank-before-new-entry) t) Thanks, again. Works fine for me. :) Best Regar

Re: C-RET and empty lines

2023-08-22 Thread Ihor Radchenko
Juergen Fenn writes: > Could you please advise how to configure the variable in your init file > to have it produce a blank line before _every_ new entry? (setf (alist-get 'heading org-blank-before-new-entry) t) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: C-RET and empty lines

2023-08-22 Thread Juergen Fenn
Am 22.08.23 um 11:52 Uhr schrieb Ihor Radchenko: > This behaviour is customizable. See `org-blank-before-new-entry'. Thank you for this hint. That was new to me as well. M-x describe-variable RET org-blank-before-new-entry RET says: > Should ‘org-insert-heading’ leave a blank line before new

Re: C-RET and empty lines

2023-08-22 Thread Ihor Radchenko
Max Nikulin writes: > A couple of recent threads reminded me about quite peculiar behavior > when a new heading is added by C-RET. I prefer to have an empty line > before headings. Sometimes such empty lines disappear. Is such behavior > (highly dependent of context) intentional? From my point

C-RET and empty lines

2023-08-21 Thread Max Nikulin
Hi, A couple of recent threads reminded me about quite peculiar behavior when a new heading is added by C-RET. I prefer to have an empty line before headings. Sometimes such empty lines disappear. Is such behavior (highly dependent of context) intentional? From my point of view it is confusin