emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Allen Li <vianchielfaura@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-capture-kill uses the kill ring
Date: Thu, 19 Oct 2017 20:27:03 -0700	[thread overview]
Message-ID: <CAJr1M6dnjKcAtHZ7+hj-4r0FDcBX6_M7Mu22-Eb8xjGSyqNP4A@mail.gmail.com> (raw)

org-capture-kill (C-c C-k) used to abort capturing puts the contents
of the capture buffer into the kill ring.

This is obstructive when the user wants to abort a capture, but save a
portion of the text into the kill ring to yank elsewhere.  The aborted
capture contents will replace the desired content.

Aborting capture should act transparently like killing a buffer.  It
shouldn't affect the kill ring.  If the user wants to keep the capture
contents, he can trivially run C-x h mark-whole-buffer M-w
kill-ring-save

             reply	other threads:[~2017-10-20  3:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-20  3:27 Allen Li [this message]
2017-10-20  3:56 ` org-capture-kill uses the kill ring Kaushal Modi

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=CAJr1M6dnjKcAtHZ7+hj-4r0FDcBX6_M7Mu22-Eb8xjGSyqNP4A@mail.gmail.com \
    --to=vianchielfaura@gmail.com \
    --cc=emacs-orgmode@gnu.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).