Re: Default path for saving attachments?

2022-02-17 Thread José María Mateos

On Thu, Feb 17, 2022 at 07:01:52PM +0100, li...@2ion.de wrote:

On Thu, Feb 17, 2022 at 12:35:32PM -0500, José María Mateos wrote:

I'd like to know if there's any config variable to set the destination folder
for saved attachments. I know the workaround is to start mutt in a different
place, but I'd prefer the config option.


Check out the $attach_save_dir configuration option [1].

[1] https://man.archlinux.org/man/muttrc.5#attach_save_dir


Thank you and Jean Louis, this is exactly what I was looking for, but it 
looks like it's still not available in the version I'm using (1.9.4 on 
Ubuntu 18.04). I'm glad to know it exists, though.


--
José María (Chema) Mateos || https://rinzewind.org


Re: Default path for saving attachments?

2022-02-17 Thread Jean Louis
* José María Mateos  [2022-02-17 20:42]:
> Hi all,
> 
> When I want to save an attachment, the default path is the path where mutt
> was launched (typically my home folder). I'd like to know if there's any
> config variable to set the destination folder for saved attachments. I know
> the workaround is to start mutt in a different place, but I'd prefer the
> config option.

set attach_save_dir="~/Downloads/mutt-attachments"


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/


Re: Default path for saving attachments?

2022-02-17 Thread José María Mateos

On Thu, Feb 17, 2022 at 06:47:44PM +0100, Francesco Ariis wrote:

I have macros like

   macro attach D ~/download/
   macro attach T /tmp/

to save to different folder. Would that do?


It'd definitely work, but I'd like to know if there's some way to change 
the default behaviour through a config option.


Thanks!

--
José María (Chema) Mateos || https://rinzewind.org


Re: Default path for saving attachments?

2022-02-17 Thread lists
On Thu, Feb 17, 2022 at 12:35:32PM -0500, José María Mateos wrote:
> I'd like to know if there's any config variable to set the destination folder
> for saved attachments. I know the workaround is to start mutt in a different
> place, but I'd prefer the config option.

Check out the $attach_save_dir configuration option [1].

[1] https://man.archlinux.org/man/muttrc.5#attach_save_dir


Re: Default path for saving attachments?

2022-02-17 Thread Francesco Ariis
Hello José

Il 17 febbraio 2022 alle 12:35 José María Mateos ha scritto:
> When I want to save an attachment, the default path is the path where mutt
> was launched (typically my home folder). I'd like to know if there's any
> config variable to set the destination folder for saved attachments.

I have macros like

macro attach D ~/download/
macro attach T /tmp/

to save to different folder. Would that do?
—F


Default path for saving attachments?

2022-02-17 Thread José María Mateos

Hi all,

When I want to save an attachment, the default path is the path where 
mutt was launched (typically my home folder). I'd like to know if 
there's any config variable to set the destination folder for saved 
attachments. I know the workaround is to start mutt in a different 
place, but I'd prefer the config option.


Thanks,

--
José María (Chema) Mateos || https://rinzewind.org