From: Decebal <CLDWesterhof@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Compleet buffer to clipboard
Date: Tue, 21 Apr 2009 00:40:36 -0700 (PDT) [thread overview]
Message-ID: <faeabb37-5d64-44ad-807d-519f307fd971@p11g2000yqe.googlegroups.com> (raw)
In-Reply-To: mailman.5756.1240296937.31690.help-gnu-emacs@gnu.org
On Apr 21, 8:55 am, Alan Mackenzie <a...@muc.de> wrote:
> > (global-set-key (kbd "C-c C-a") 'buffer-yank)
> > Then you can use:
> > C-c C-a
> > to copy the complete buffer to the clipboard.
>
> Sort of, some of the time. C-c C-a is a binding reserved for major modes
> (see page "Key Binding Conventions" in the elisp manual). If you're in a
> major mode which actually uses this binding (e.g. C Mode, Diff Mode), it
> will take precedence over your `buffer-yank'.
>
> You might be better using a binding reserved for users, say C-c a.
Good tip, I did not know that. In my case less important, because I
only expect to use it in text-mode or modes derived from this. But it
is always good to know the potential pittfalls.
prev parent reply other threads:[~2009-04-21 7:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-18 12:27 Compleet buffer to clipboard Decebal
2009-04-18 16:27 ` Drew Adams
[not found] ` <mailman.5623.1240072028.31690.help-gnu-emacs@gnu.org>
2009-04-18 16:39 ` Decebal
2009-04-18 17:41 ` B. T. Raven
2009-04-18 17:58 ` B. T. Raven
2009-04-19 5:51 ` Decebal
2009-04-20 19:18 ` Xah Lee
2009-04-21 6:55 ` Alan Mackenzie
[not found] ` <mailman.5756.1240296937.31690.help-gnu-emacs@gnu.org>
2009-04-21 7:40 ` Decebal [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=faeabb37-5d64-44ad-807d-519f307fd971@p11g2000yqe.googlegroups.com \
--to=cldwesterhof@gmail.com \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.