emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some developement questions


From: hw
Subject: Re: Some developement questions
Date: Fri, 07 Sep 2018 23:53:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Drew Adams <address@hidden> writes:

>> accident would be the only case in which the selection would be
>> replaced.
>
> C-y to yank a replacement, possibly followed by M-y to get different
> replacements.

That doesn't replace the selection but disables it and yanks --- and it
would only happen by accident because I don't do such weird things.
You're probably using a different setting.

> And if, like me, you have a key that yanks the secondary selection,
> yank it to replace the region.
>
> It's no different from what you do now, except that you precede
> such operations by explicit C-w to first delete the region.

It is different because the way you do something makes a difference.

The result may be identical until you hit the wrong key and something
gets replaced or de-selected by mistake.  It's ok if you want that; I'd
rather have strict-mode.

I don't want anything to happen to a selection just because I pressed
the wrong key.  I also place brackets where they aren't strictly needed
when programming and do other stuff like that because it explicitly says
what I wanted and prevents misunderstandings.  Having selections
randomly replaced or disabled is like omitting the brackets and stuff:
it makes things difficult, confusing and errorenous.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]