emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture
@ 2020-05-27  8:36 Kevin Liu
  2020-05-28  1:23 ` Kyle Meyer
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Liu @ 2020-05-27  8:36 UTC (permalink / raw)
  To: emacs-orgmode

This old thread describes similar behavior: https://emacs.stackexchange.com/questions/37097/newlines-swallowed-by-org-capture

Basically, the last position in the narrowed org-capture is actually the first position on the next line, so when you go to (end-of-buffer) and start typing you start clobbering the next headline.

I tested this with emacs -Q, capturing an `entry` with `file+headline` in org 9.3 and it was working as expected, then in that same session loaded 9.3.6 and the capture buffer was one character longer (the added newline at the end) enabling the clobbering behavior.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture
  2020-05-27  8:36 Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture Kevin Liu
@ 2020-05-28  1:23 ` Kyle Meyer
  2020-05-28  1:34   ` Kevin Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Kyle Meyer @ 2020-05-28  1:23 UTC (permalink / raw)
  To: Kevin Liu, emacs-orgmode

Kevin Liu writes:

> Basically, the last position in the narrowed org-capture is actually
> the first position on the next line, so when you go to (end-of-buffer)
> and start typing you start clobbering the next headline.
>
> I tested this with emacs -Q, capturing an `entry` with `file+headline`
> in org 9.3 and it was working as expected, then in that same session
> loaded 9.3.6 and the capture buffer was one character longer (the
> added newline at the end) enabling the clobbering behavior.

I believe Bastien fixed this in cb2774d1a (org-capture.el: Fix possibly
missing final newline, 2020-02-18).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture
  2020-05-28  1:23 ` Kyle Meyer
@ 2020-05-28  1:34   ` Kevin Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Liu @ 2020-05-28  1:34 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

Thanks, it does indeed seem to be fixed on master.

On 27 May 2020 18:23, Kyle Meyer <kyle@kyleam.com> wrote:

> Kevin Liu writes:
>
>> Basically, the last position in the narrowed org-capture is actually
>> the first position on the next line, so when you go to (end-of-buffer)
>> and start typing you start clobbering the next headline.
>>
>> I tested this with emacs -Q, capturing an `entry` with `file+headline`
>> in org 9.3 and it was working as expected, then in that same session
>> loaded 9.3.6 and the capture buffer was one character longer (the
>> added newline at the end) enabling the clobbering behavior.
>
> I believe Bastien fixed this in cb2774d1a (org-capture.el: Fix possibly
> missing final newline, 2020-02-18).



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-28  1:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27  8:36 Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture Kevin Liu
2020-05-28  1:23 ` Kyle Meyer
2020-05-28  1:34   ` Kevin Liu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).