emacs-devel
[Top][All Lists]
Advanced

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

Re: delete-selection-mode


From: Chong Yidong
Subject: Re: delete-selection-mode
Date: Sun, 20 Apr 2008 14:34:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> I am very much against enabling delete-selection-mode by default.
>
> I am very surprised.  What could be a reason not to delete the region
> after typing a character when this region was intentionally activated
> specially for doing this.

It seems to me that delete-selection-mode doesn't mesh very well with
the Emacs paradigm of killing/yanking text.  When a region is active,
typing something replaces the text but doesn't save it on the kill-ring,
which can be disconcerting.  I know it's possible to change this so that
the replaced text goes onto the kill-ring, but that behavior doesn't
"feel" right either; for one thing, it's incompatible with the
delete-selection behavior of other programs.

All thinks considered, IMHO the present behavior, where delete-selection
is off, is a better default.




reply via email to

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