[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compleet buffer to clipboard
From: |
Decebal |
Subject: |
Re: Compleet buffer to clipboard |
Date: |
Sat, 18 Apr 2009 22:51:03 -0700 (PDT) |
User-agent: |
G2/1.0 |
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.
Re: Compleet buffer to clipboard, Xah Lee, 2009/04/20
Re: Compleet buffer to clipboard, Alan Mackenzie, 2009/04/21
Message not available