emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Xavier Martinez-Hidalgo <xavier@martinezhidalgo.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-capture: cannot abort cleanly after inserting at end of buffer
Date: Fri, 03 Nov 2017 22:22:23 +0100	[thread overview]
Message-ID: <87r2tfxdkg.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAMKO=kKQdyW56L11+m8b1tTBO1QDw2-j7ddJntOQMmvXY1O-ow@mail.gmail.com> (Xavier Martinez-Hidalgo's message of "Thu, 2 Nov 2017 14:23:03 +0100")

Hello,

Xavier Martinez-Hidalgo <xavier@martinezhidalgo.org> 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

  reply	other threads:[~2017-11-03 21:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02 13:23 [PATCH] org-capture: cannot abort cleanly after inserting at end of buffer Xavier Martinez-Hidalgo
2017-11-03 21:22 ` Nicolas Goaziou [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-04 10:44 Xavier Martinez-Hidalgo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2tfxdkg.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=xavier@martinezhidalgo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).