* C-M-w and active region
@ 2006-11-19 3:47 Dieter Wilhelm
0 siblings, 0 replies; 3+ messages in thread
From: Dieter Wilhelm @ 2006-11-19 3:47 UTC (permalink / raw)
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?
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.
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C-M-w and active region
[not found] <mailman.822.1163908075.2155.help-gnu-emacs@gnu.org>
@ 2006-11-20 19:18 ` Robert Thorpe
2006-11-20 21:41 ` Dieter Wilhelm
0 siblings, 1 reply; 3+ messages in thread
From: Robert Thorpe @ 2006-11-20 19:18 UTC (permalink / raw)
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:-
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.
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C-M-w and active region
2006-11-20 19:18 ` C-M-w and active region Robert Thorpe
@ 2006-11-20 21:41 ` Dieter Wilhelm
0 siblings, 0 replies; 3+ messages in thread
From: Dieter Wilhelm @ 2006-11-20 21:41 UTC (permalink / raw)
Cc: help-gnu-emacs
"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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-20 21:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2006-11-19 3:47 Dieter Wilhelm
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.