emacs-devel
[Top][All Lists]
Advanced

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

Re: AW: delete-selection-mode


From: David Kastrup
Subject: Re: AW: delete-selection-mode
Date: Fri, 19 Mar 2010 07:38:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

"Drew Adams" <address@hidden> writes:

>> > More importantly, it's consistent with the existing semantics of
>> > transient mark mode.  Many Emacs commands act on the region 
>> > when it's active, and it seems natural for DEL to be one of
>> > these commands.
>> >
>> > By contrast, it's not clear to me that self-inserting 
>> > characters ought to "act on the region" in the sense of
>> > replacing its contents.
>> 
>> As I understand from counter-arguments, opponents agree with
>> self-inserting characters replacing the region, but only when
>> the region is activated explicitly, and not by side-effects of
>> setting the mark or exchanging the mark and point.
>
> Not this "opponent". I agree with self-inserting characters replacing
> the active region _always_, no matter how it was activated. That's the
> point of "active".

> And I hold that the region should be activated simply by setting the
> mark or exchanging the mark and point.

With delete-selection-mode, commands like push-mark and pop-mark get
side effects that tend to destroy text every time.

-- 
David Kastrup





reply via email to

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