<<< Date Index >>>     <<< Thread Index >>>

Re: change_folder_next patch



> Hi Brendan,
> 
> 
On Friday, 13 April, 2007 at 12:24:14 +0100, N.J. Mann wrote:
> On Thursday, 29 March, 2007 at 16:03:15 -0700, Brendan Cully wrote:
> > On Monday, 05 March 2007 at 13:43, Antoine Reilles wrote:
> > > Hi,
> > > 
> > > A patch to add a (change_folder_next) option to mutt was proposed long
> > > time ago. It allow the change-folder command to start at the folder
> > > after the current folder. The reason is that it may be annoying 
> > > that the 'c' (change-folder) command always starts from the first
> > > folder in the mailboxes list.
> > > 
> > > The patch was proposed by Simon Burge in
> > > http://permalink.gmane.org/gmane.mail.mutt.devel/714
> > > 
> > > Since then, it is integrated as a pkgsrc patch (http://www.pkgsrc.org/)
> > > but i would really prefer to see it in mutt. Also, i think it may be of
> > > use for many mutt users.
> > > 
> > > I'm including the current pkgsrc patches or that feature, if you want to
> > > pick this up. The option name is not necessarily well chosen, so feel
> > > free to do any change.
> > 
> > I'm not sure whether it's worth it, but I think if we want this, it
> > might be nicer as a second command than a configuration
> > variable. Perhaps <next-folder> ? It wouldn't even need to prompt.
> 
> As there hadn't been any followup on the list for this I had a go
> myself.  This is the first time I have hacked on Mutt, so I have
> probably missed something.  My patch (below) is based on mutt 1.15.5
> (FreeBSD).  Does this look okay?

I had a rethink about this over lunch and I have now changed my patch to
work exactly as you suggested.  It isn't quite right yet so I'll hold
back on publishing it, I just wanted to let you know that a new patch is
in the works.  Comments about the original one would be welcome.


Cheers,
       Nick.
-- 
Please do not CC me on replies, I read the list and don't need the dupes.