[neomutt-users] Heads up - built-in editor is going away
nmutt at jikken.de
Wed Jun 24 14:19:58 CEST 2020
On Wed, Jun 24, 2020 at 10:30:09AM +0000, Pietro Cerutti wrote:
>with https://github.com/neomutt/neomutt/pull/2385 I am proposing to
>remove the code supporting the built-in editor. That is the message
>editor you get with 'set editor=builtin'. This is not the default.
I didn't even knew it existed.
The manpage only mentions ``builtin'' for ``pager''.
This variable specifies which editor is used by NeoMutt. It defaults to the
value of the $VISUAL, or $EDITOR, environment variable, or to the string
"vi" if neither of those are set.
The $editor string may contain a %s escape, which will be replaced by the
name of the file to be edited. If the %s escape does not appear in $editor,
a space and the name to be edited are appended.
The resulting string is then executed by running
sh -c 'string'
where string is the expansion of $editor described above.
>I personally don't see a reason to use the built-in editor instead of
>relying on an external editor of choice. Removing the built-in editor
>means getting rid of ~600 lines of almost unmaintained and little
+1 from me
>However, if you consider the feature important to you and would like to keep it, please
>speak up so we can consider the pros and cons.
>Otherwise, I plan to merge the PR in ~ 1 week from now.
More information about the neomutt-users