help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Another Emacs incompatibilty


From: Eric Abrahamsen
Subject: Re: Another Emacs incompatibilty
Date: Mon, 17 Aug 2020 17:25:21 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Eric Abrahamsen wrote:
>
>>>> Mark a region, immediately press e.g. "A".
>>>> The region is zapped and replaced by an A.
>>>>
>>>> That used to insert an A at the insert point
>>>> since TECO emacs until a few releases back.
>>>
>>> Still does for me in a vanilla Emacs. Maybe it's
>>> something in your config?
>>
>> Sounds like cua-mode...
>
> Yes, I just tried this and can confirm the "zap"
> behavior is there only after `cua-mode' with -Q in
>
>   GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu) of
>   2019-09-23, modified by Debian
>
> One thing I wonder tho is... why do you mark a region
> and press "A" to begin with? What's the purpose of
> doing that? If the "zap" isn't what you want,
> that is?

Almost by coincidence, I just discovered `delete-selection-mode', which
does the same thing. I also don't understand the utility of this, but
apparently it's useful enough to have been implemented twice! Neither
should be active by default, though.




reply via email to

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