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

Vincent Lefevre <[email protected]> Sat, 1 Aug 2026 23:49:37 +0200
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On 2026-08-01 23:42:31 +0200, Vincent Lefevre wrote:
> On 2026-08-01 18:05:49 -0300, Jim via Mutt-dev wrote:
> > Or maybe I need to give up the notion that DEL deletes backwards, like it
> > has for me for the last 51 years.
> 
> DEL (ASCII code 7f) still deletes backward with a usual Linux
> configuration. But this is called <backspace> by (n)curses.

actually by Mutt, in keymap.c:

  { "<Delete>", KEY_DC },
  { "<BackSpace>",KEY_BACKSPACE },

But this comes from the KEY_BACKSPACE macro defined by ncurses.
Anyway, "delete" and "backspace" is what is written on many keyboards.

> What Kevin proposes is to change <delete>, not <backspace>.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)