emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] org-capture: cannot abort cleanly after inserting at end of


From: Xavier Martinez-Hidalgo
Subject: [O] [PATCH] org-capture: cannot abort cleanly after inserting at end of buffer
Date: Thu, 2 Nov 2017 14:23:03 +0100

Hi,

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).

I am not sure whether the fix might affect something else.  Does the
fix makes sense?

Attachment: 0001-org-capture-Fix-aborting-after-inserting-text-at-end.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]