emacs-devel
[Top][All Lists]
Advanced

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

Re: visual-region-mode?


From: Juri Linkov
Subject: Re: visual-region-mode?
Date: Wed, 12 Sep 2018 23:50:36 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> > The user might want it highlighted for various reasons, possibly not
>> > covered by the current implementation, where Emacs highlights the
>> > region only when 'mark-active' is non-nil.
>> 
>> Yes, and that leads to misunderstandings, like d-s-m.  It doesn't make
>> any sense to claim that there is a region when there is none highlighted
>> and only creates the inconsistency that an arbitrary part of a buffer
>> can be deleted or copied, accidentally or intentionally, i. e. that
>> something can be done with a region while the region is not active and
>> nothing should possibly be done with it.
>
> Again, that seems like the intention behind transient-mark-mode.  But
> the implementation is, then, in a way incomplete: C-w still kills the
> region, no matter whether it is active or not, in transient-mark-mode.

mark-even-if-inactive set to nil is much safer option - it prevents
accidental lossage caused by mistakenly typed C-w.



reply via email to

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