* Michael Elkins <m...@sigpipe.org> [12-06-12 10:44]:
> 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.

Meaning the "%s" is superfluous??

set editor="joe -wordwrap -rmargin 075 -syntax mail +10 %s"
could be:
  set editor="joe -wordwrap -rmargin 075 -syntax mail +10"


-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net

Reply via email to