emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: delete-selection-mode and overwrite-mode


From: Richard M. Stallman
Subject: Re: delete-selection-mode and overwrite-mode
Date: Thu, 11 Aug 2005 16:40:42 -0400

    Overwrite mode is really like a submode of Delsel mode.

I don't think so.

                                                             In Overwrite
    mode, after typing a character it deletes *one* character, and
    inserts a typed character.  In Delsel mode, after typing a character
    it deletes *many* characters from the selected region, and inserts
    a typed character (the main difference between these modes is that
    you don't need to select a region with one character in Overwrite mode).

That difference is crucial--it makes them completely different.

    I encountered a situation where I needed to replace characters
    one for one (I temporarily enabled Overwrite mode for that), then
    I reached a few characters needed to be replaced with one character.
    Since I use Delsel mode permanently,

Now I understand why they were both enabled.  And I guess the change
you proposed provides the behavior that you wanted, for this case.  If
this sort of case is the main case in which the two modes would be
enabled together, then I think your change is right.

So I guess you may as well install it now.




reply via email to

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