Re: [PATCH] Change <delete> to delete forward in the editor menu.

Matthias Andree via Mutt-dev <[email protected]> Sat, 25 Jul 2026 14:45:10 +0200
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
Am 25.07.26 um 13:40 schrieb Jim via Mutt-dev:
> On Sat, Jul 25, 2026 at 09:11 (+0200), Rene Kita wrote:
>
>> On Fri, Jul 24, 2026 at 08:22:46PM +0800, Kevin J. McCarthy wrote:
>>> I saw this mentioned by tsp on #mutt.  Apparently <delete> is bound to
>>> OP_EDITOR_BACKSPACE.  I never noticed because I just hit ctrl-d
>>> instinctly instead of reaching over to the delete key!
>>> <delete> has been set to delete backwards since the initial git
>>> commit.  I believe this was related to the awkward era of 'stty erase'
>>> setting 30 years ago to get del/backspace working properly.
>>> I think we're past that, aren't we?  Change it to delete forward by
>>> default.
>>> ---
>> Yes, we are.
> Way back when, before the pestilence known as Microsoft spread throughou=
t
> the world, the delete key deleted backwards, as it should.
>
> Perhaps delete has been set to delete backwards because that is how peop=
le
> not used to the M$ world had been using it forever?
>
> I've been using this it thusly continuously for many years, and still do=
.
> If it ain't broken, must you fix it?


I normally do not take part in policy discussions unless we must protect=
=20
someone or something;
can you, Jim, or Claus, please explain how *ALIASING* Delete and=20
Backspace to do the same thing is "good"?


Why do we have separate keys then?

remember this was the old situation:

    { OP_EDITOR_BACKSPACE,       "<backspace>" },
    { OP_EDITOR_BACKSPACE,       "<delete>" },


I would think you can add a key binding to serve your finger memory if=20
need be, so I support Kevin's change and Rene's backing it.

[X] For the change.