vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] 9.8h and +'command' or -c 'command'


From: Wayne Cuddy
Subject: Re: [vile] 9.8h and +'command' or -c 'command'
Date: Fri, 21 Sep 2012 12:24:27 -0400
User-agent: Mutt/1.4.2.3i

On Fri, Sep 21, 2012 at 10:09:36AM +1000, Brendan O'Dea wrote:
> On 21 September 2012 09:57, Thomas Dickey <address@hidden> wrote:
> > hmm: parameters for "-s", "-t" and the "source" can have embedded blanks
> > since they're unambiguously single-valued, and a blank would be legal.
> >
> > A blank in the "-g" value would always be an error.
> >
> > (the change to execute-named-command is a problem that's not so simple to
> > improve other than a revert)
> 
> Would conditionally quoting the value only for +/pat or -c/pat not work?
> 
> Wayne: as a workaround, an alternative way to set the mode is by path
> (which is /tmp/mutt-* for Debian for example):
> 
>   define-majormode mail
>   define-submode mail preamble "^Newsgroups:"
>   define-submode mail mode-pathname "^/tmp/mutt-"
>   define-submode mail fillcol 72
>   define-submode mail wrapwords

Thanks Brendan. Actually I found that this was already handled in the
stock modes.rc file, so I don't need to pass anything from mutt.

modes.rc:       mode-filename   '^\([Mm]ail\>.*\|\<mbox\|mutt-.*\)$'

The real problem is that almost nothing works with the +ex_command right
now.

I don't use it all the time but it is handy.

Wayne



reply via email to

[Prev in Thread] Current Thread [Next in Thread]