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

Re: Unable to configure index_format in Mutt



On Sun, Nov 18, 2001 at 05:10:29PM -0500, Ian Patrick Thomas wrote:
> 	I have tried unsuccessfully to change index_format in Mutt.  The problem is that I am
> unable to put spaces between the different options.  For example
> 
> folder-hook in-l-debian-user set index_format="%4C %Z %{%b%d} %-15.15n %(41)%s"
> 
> 	I get an error when I try and use this as a string.  If I remove the spaces, the error
> goes away but at the cost of the index being much harder to read.  I've even tried using the
> default setting, but the same errors appear unless I remove the spaces.

Welcome in shell quoting hell.
You need extra single quotes around the full command like:

  folder-hook in-l-debian-user 'set index_format="format of your liking"'

                               ^                                        ^
-- 
groetjes, carel



Reply to: