Hi,

* Lukas Schroeder [02-07-31 12:17:44 +0200] wrote:
> On Wed, Jul 31, 2002 at 11:12:11AM +0200, Rocco Rutte wrote:

> > I've made a short patch adding a variable ``attach_dir''
> > which is the default location to save attachements to.
> > If it is empty, mutt uses the current directory; if not
> > the specified is prepended so that you can already see
> > at the prompt where your files will end up.

> but i have to save all attachments into that single
> directory?

It depends. What you have to do (with the patch applied) is
just to go to the attachements menu and:

  ':set attach_dir="location"'

Then save all attachements you want to have in $location. If
you want to save others to a different location, just do:

  ':set attach_dir="location2"'

(you would have to do the same with ':cd' and ':pwd', btw)

> what i have in mind is functionality similar to vim's :cd
> and :pwd commands. that would make my day(s)...  this is
> not yet implemented, is it?

'cd' and 'pwd' are not implemented, but with my patch they
both work for attachements. The 'cd' command in mutt then
reads:

  ':set attach_dir="..."'

and 'pwd' reads:

  ':set ?attach_dir'

to find out the current location. And as I said, the prompt
now contains the full filename (i.e. the full pathname + the
full filename) instead of just the filename without knowing
where it'll end up.

   bye, Rocco

Reply via email to