From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: C-M-w and active region
Date: Mon, 20 Nov 2006 22:41:46 +0100 [thread overview]
Message-ID: <87lkm54wyt.fsf@hans.local.net> (raw)
In-Reply-To: <1164050288.770112.132720@m73g2000cwd.googlegroups.com> (Robert Thorpe's message of "20 Nov 2006 11\:18\:08 -0800")
"Robert Thorpe" <rthorpe@realworldtech.com> writes:
> Dieter Wilhelm wrote:
>> Hi
>>
>> Do you know a good reason why C-M-w could not append an already active
>> region to the kill-buffer instead of typing C-M-w and M-w?
>
> It probably could, but it would be difficult to type. Consider:-
Why, when I want to append a kill I have to type C-M-w anyway!
> C-w kill-region ie cut
> M-w kill-ring-save - ie save the region
> C-M-w append-next-kill
>
> If it meant "append this kill" then someone could type C-w mis-hitting
> M and not notice until they needed to do the paste.
I think it wouldn't be dangerous: 1st it only would do this when a
region is active and 2nd C-M-w would have to detect whether the latest
kill was either C-w or M-w. So C-M-w would be in effect
kill-ring-save-and-append-or-kill-region-and-append when the region is
active and remain append-next-kill otherwise.
>
>> This applies also to C-w: I'd like to append some kill to the first
>> entry of the kill-ring, why shouldn't C-M-w be able to do this by
>> itself when it detects an active region and a previous C-w? I think
>> the current convention is less efficient: First to type C-M-w, then
>> activating a region and then the need for killing it.
>
> Try changing it and see what happens. It may work better for you. I
> hardly ever use C-M-w.
Neither do I, but when there are facilities I'm looking for ways to
make them--hopefully--as efficient as possible.
Thank you for your comment.
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
next prev parent reply other threads:[~2006-11-20 21:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.822.1163908075.2155.help-gnu-emacs@gnu.org>
2006-11-20 19:18 ` C-M-w and active region Robert Thorpe
2006-11-20 21:41 ` Dieter Wilhelm [this message]
2006-11-19 3:47 Dieter Wilhelm
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=87lkm54wyt.fsf@hans.local.net \
--to=dieter@duenenhof-wilhelm.de \
--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).