Telsa <[EMAIL PROTECTED]> wrote on Fri, 01 Oct 1999:
> I'm having some difficulties with the sorting by score ability of Mutt.

Don't have any ideas on that, sorry...  Unless Mutt does not support
every pattern match operator for scoring, only some.  But that doesn't
sound likely or make any sense (what's different between looking at ~e
or ~h?).

> On a related note, how do I get my index_format for those folders
> to include the score?

This I can probably help with.

> And I thought that this would work:
> folder-hook . set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s"
> folder-hook IN.cvs-commits set index_format="%2N %2C %Z %{%b %d} %-15.15L (%4l) %s"

The " quotes disappear the first time around (when the folder-hook
command is read), and this leaves a command such as

  set index_format=%2N %2C %Z %{%b %d} %-15.15L (%4l) %s

(without any quotes) to be executed on entering that folder.  This
doesn't work of course, index_format requires that any spaces appear
inside a quoted string.  Thus you need a double set of quotes.

So, these probably need to be:

  folder-hook . 'set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s"'
  folder-hook IN.cvs-commits 'set index_format="%2N %2C %Z %{%b %d} %-15.15L (%4l) %s"'

(note the added ' quotes, before set and at the end of line)


Hopeing someone else can help with the scoring issues,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Q: How many surrealists does it take to change a light bulb?  A: Fish

Reply via email to