On Tue, Nov 30, 1999 at 09:00:48PM +0200, Mikko Hänninen wrote:
> Chris Green <[EMAIL PROTECTED]> wrote on Tue, 30 Nov 1999:
> > mailboxes `find /home/d/cgreen/Lists -type f -printf '%h/%f '` \
> >     ~/Mail/inbox                                                
> > 
> > But it appears not to work, mutt can't find new mail in the files in
> > my Lists directory.  However if instead I execute the command on the
> > command line and put the result in my .muttrc file as shown below it
> > works correctly:-
> 
> Try adding a newline at the end of that find, eg. with adding a
> ;echo "" to the end (or something like that).  I remember seeing some
> reports of Mutt not parsing the lines from `` substituations correctly
> if there was no trailing newline, though I'm not sure if that was with
> some older Mutt versions.  Worth a try.
> 
Yes, that's the problem, thanks.  In fact of course a more efficient
way to do it is:-

    mailboxes `echo /home/d/cgreen/Lists/*`

which appends a newline anyway.  However adding the 'echo' to the end
of my find command worked too, just to prove that the fix was what you
suggested.

> Incidentally, assuming your $spool is set correctly (to ~/Mail/inbox),
> you may replace that last entry with just the '!' char.  Also, you
> should note that the order in which the mailboxes are listed does matter
> in some cases (eg. when scrolling through mailboxes with new mail with
> space after a 'c' command, or using the "unsorted" sort in mailboxes
> index), so I'd put that first.
> 
Thanks, I've kept the ~/Mail/inbox but I've put it at the front as you
suggest.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/

Reply via email to