On Thu, Dec 06, 2012 at 02:12:32PM +0000, Chris Green wrote:
If I set the editor variable does mutt execute that command with the name of the temporary file after it, or is there some sort of variable name for the temporary file?
I've opened a ticket, because I agree the documentation is lacking: http://dev.mutt.org/trac/ticket/3602
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.