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

Re: Small patch for saving attachments: last used folder can be recalled



On 2003-09-03, andreas.gredler@xxxxxx wrote:
> On Wed, Sep 03, 2003 at 07:29:24PM +0200, Thomas Roessler wrote:
> > On 2003-09-01 15:25:13 -0500, Will Fiveash wrote:
> > 
> > > (I haven't tried your patch but...) I'd like to see the ability
> > > in mutt to cd to a particular directory and then tag some or all
> > > the attachements in the current e-mail and then do a ";s" which
> > > would save all the tagged attachments non-interactively in the
> > > current dir (unless an overwrite was possible at which point mutt
> > > could query me as it does now).
> > 
> > That sounds like the right way to do it.  Any takers? ,)
> 
> Yes, as I mentioned before I'm thinking about rewriting the code
> concerning tagged attachments. But I'm still not sure how the "cd into
> directory" should look like so that it makes sense. But in the next days
> I will start to implement the first version.

I was thinking of a new muttrc command, cd.  It would be nice if it
provided file name completion as the change-folder function does
now, but I don't know if that can be done on the command line or if
it requires a different input routine.  When the command is
executed, it simply calls chdir(2) and prints an error message if
unsuccessful.

Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA