[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-capture: cannot abort cleanly after inserting at end
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] org-capture: cannot abort cleanly after inserting at end of buffer |
Date: |
Fri, 03 Nov 2017 22:22:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Xavier Martinez-Hidalgo <address@hidden> writes:
> After the following steps:
>
> - Start a capture.
> - Move to end of capture buffer (M->).
> - Type some text.
> - Abort capture (C-c C-k).
>
> the capture is aborted but its contents are not removed from the
> target buffer and the following message is shown:
>
> "Capture process aborted, but target buffer could not be cleaned up
> correctly"
>
> I am a attaching a patch that adds a test case showing up the problem
> and includes a proposed fix (setting the capture kill end marker
> insertion type).
Applied, with a slight twist. Thank you!
Regards,
--
Nicolas Goaziou