From: Decebal <CLDWesterhof@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Compleet buffer to clipboard
Date: Sat, 18 Apr 2009 22:51:03 -0700 (PDT) [thread overview]
Message-ID: <402db8b7-6036-4b25-b38c-c11ecb79a524@g19g2000yql.googlegroups.com> (raw)
In-Reply-To: z8idnVrtLZROiXfUnZ2dnUVZ_tadnZ2d@sysmatrix.net
On Apr 18, 7:58 pm, "B. T. Raven" <ni...@nihilo.net> wrote:
> >> I find it easier and faster to do:
> >> C-c C-a
> >> then to do:
> >> C-x h
> >> M-w
> >> C-u C-SPC
> >> C-u C-SPC
>
> > What is C-c C-a bound to? It's undefined here. In any case your solution
> > involves two more (unnecessary) key chords than Drew's
>
> > Or do you mean ... easier ..... THAN to do: ???
Excuse my English. It should have been than. :-{
>
> Oops! I read Drew's answer but not the o.p.
>
> This also doesn't seem to mess with the mark or at least the docs say
> "In Transient Mark mode, deactivate the mark."
>
> (defun buffer-yank()
> (interactive)
> (kill-ring-save(point-min)(point-max)))
>
> (global-set-key (kbd "C-c C-a") 'buffer-yank)
>
> Does your version cut from the original buffer or just copy?
This does a copy. (That is what I almost alway want, and otherwise is
'C-x h, C-w' not so bad to do.) But I could change the function that
with 'C-u' prepended it does a cut instead of a copy.
next prev parent reply other threads:[~2009-04-19 5:51 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 [this message]
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
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=402db8b7-6036-4b25-b38c-c11ecb79a524@g19g2000yql.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.
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).