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

Re: [PATCH] Create a "cd" command to change the current directory



On Sunday, 28 December 2008 at 14:34, Adeodato Simó wrote:
> Hello! (Long time no see, heh.)
> 
> I'd very grateful if the attached patch could be considered for
> inclusion. It adds a very simple "cd" command that changes the current
> working directory of the Mutt process.
> 
> I've missed this eg. when receiving a patch over email, wanting to apply
> it with git-apply(1), and failing because Mutt was not started in the
> right directory. It's easier to :cd from Mutt, than to quit, cd from the
> shell *and* find the message again.

--git-dir? --directory? (I don't use git, but I do this all the time
from mutt to hg with "|hg -R /path/to/repo import -")

> If you don't find this command suitable for inclusion, please let me
> know why. :-)

I think it's a good idea, but it'll have to queue up behind bug
fixes. It would be nice to try to clean up other path handling warts
(LastDir vs attachments, local vs IMAP) when we do this.