Re: Spaces in attached file names
On 2005-03-07 17:25:22 -0800, Bill Moseley wrote:
> Is this a problem in my mailcap file? Doesn't seem so as %s is
> quoted. So is mutt not sending the entire path?
Yes, there's a problem with your mailcap file. Please remove the
single ticks around the %s, as mutt adds the necessary quoting
itself.
> moseley@bumby:~$ fgrep 'application/pdf' .mailcap /etc/mailcap
> /etc/mailcap:application/pdf; /usr/bin/xpdf '%s'; test=test "$DISPLAY" != "";
> description=Portable Document Format; nametemplate=%s.pdf
> /etc/mailcap:application/pdf; /usr/bin/acroread '%s'; test=test -n
> "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf
> /etc/mailcap:application/pdf; /usr/bin/gv '%s'; test=test -n "$DISPLAY"
> /etc/mailcap:application/pdf; false; x-mozilla-flags=plugin:nppdf.so
--
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.