Re: [PATCH] Change <delete> to delete forward in the editor menu.
"Kevin J. McCarthy" <[email protected]> Fri, 31 Jul 2026 19:37:41 +0800
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <[email protected]> |
--BoR+04OZChtJEzdB Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. Thanks everyone for the feedback and the interesting discussion about=20 the history of the keys and mappings. I've reread all the emails, and=20 thought about it this week. I think most participants are in favor of, or at least lean towards,=20 changing the <delete> key to delete forward, and recognize that this is=20 standard expected behavior now. New mutt users will be confused by the=20 current default behavior in mutt's line editor. So I've decided I will=20 make the change. Jim and Claus, I respect that this decision is annoying to some older=20 users. But I think there does come a point where even older programs=20 should make "default" changes as time passes. This time, I'll ask=20 existing users who want the <delete> key to delete backwards to make a=20 config change in their .muttrc: bind editor <delete> backspace for the benefit of new users and current expectations. --=20 Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA --BoR+04OZChtJEzdB Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmpsiQUACgkQre92hIAx a9pm5RAA5PhAqg7JkYrq7sofBXmxNodJgsWzGte/H/CxpQpbkRBdQhyn93cGgBl2 WuucNtRLefHoi5JPPc7RMVPwUhTWNyPpmxd0elS3sh4W7JsP253pdeh3NCnCTG5/ +MUXCSZ2pHfwJrFkp4fhss47L3LwtDexrNS4Hfk82y7D0Jb9iVpHI0fiLqB+ZVRt HzzaOuAWE18g3Nx9udWRCtrQ/cWLxD1VCz8/lf9J5fojL6QXBbVkElGW9N8dta3g d71ElRasvg+D8MnKI4C0rRl8c1qiKyouF3BFgrSh5RHrF1as7G7XPwW90Y2s+voR b18tgLZueczXl4uPTMW3MHIxHHiWxSJ1Ck1E3Xae22imtQI05bZYSKnj+B/hvr+x INkwaGPts2I+h6tJMuullBMEzaY9YEGUcPU7cn/y2zqGXXA+2bqyUFiN0D3WFKOs wpjEWNFXLa5DS4yYanYy5rKXekRxPksT/vIaUcraua/7Q0Xg2pR1fcqUoAlO+I35 5oMzhHRQEFCYI09rvgyZO0JJhQQs2ABQpg+TRLPQXyq3AXMogBZv13nWbKgIK9ke cBwHrAtgZ1V8l+9+LjvNb9VNZcMvVgDGFv/Yulkks29IZ4DFtJ43crnq1rThH2sQ qZajKWF6NQCh1TpD3zI9v3wOz/U4m5kX+hynw5CPygg7funxoHc= =Yimw -----END PGP SIGNATURE----- --BoR+04OZChtJEzdB--