Re: Can one fix the directory for saving attachments?

2010-11-22 Thread Chris G
On Sun, Nov 21, 2010 at 09:59:50AM -0600, David Champion wrote:
 * On 20 Nov 2010, Chris G wrote: 
  By default mutt saves attachments in the current directory (i.e. in the
  directory in which it was started).  In my case this is often somewhere
  completely random and most definitely isn't where I want to save
  attachments.
  
  Apart from being careful about the dreictory from which I start mutt is
  there any way to force it to always save attachments to the same place
  (for example ~/tmp)?
 
 I have recently begun wanting to do this, and created this macro:
 
 macro   attach  S   save-entrybol~/maildrop/enter Save to maildrop 
 folder
 
 (~/maildrop is a zfs filesystem on my opensolaris server that is
 nfs-exported to an IP address controlled by OpenVPN.  I use OpenVPN
 client on my Macbook and mount maildrop wherever I go.)
 

I just tried:-

macro   attach  S save-entrybol~/tmp/enter Save to ~/tmp

and it sort of works but it's a bit laborious because you have to accept
the directory to save to and then enter the file name to save to. However
simply changing it to:-

macro   attach  S save-entrybol~/tmp/eol Save to ~/tmp 

does exactly what I want, it offers to save the file with the existing
attachment filename in ~/tmp, just hit CR and it's saved.


Thanks for pointing me in the right direction.

-- 
Chris Green


Re: Can one fix the directory for saving attachments?

2010-11-21 Thread David Champion
* On 20 Nov 2010, Chris G wrote: 
 By default mutt saves attachments in the current directory (i.e. in the
 directory in which it was started).  In my case this is often somewhere
 completely random and most definitely isn't where I want to save
 attachments.
 
 Apart from being careful about the dreictory from which I start mutt is
 there any way to force it to always save attachments to the same place
 (for example ~/tmp)?

I have recently begun wanting to do this, and created this macro:

macro   attach  S   save-entrybol~/maildrop/enter Save to maildrop 
folder

(~/maildrop is a zfs filesystem on my opensolaris server that is
nfs-exported to an IP address controlled by OpenVPN.  I use OpenVPN
client on my Macbook and mount maildrop wherever I go.)

-- 
David Champion  *  d...@uchicago.edu  *  IT Services  *  University of Chicago


Can one fix the directory for saving attachments?

2010-11-20 Thread Chris G
By default mutt saves attachments in the current directory (i.e. in the
directory in which it was started).  In my case this is often somewhere
completely random and most definitely isn't where I want to save
attachments.

Apart from being careful about the dreictory from which I start mutt is
there any way to force it to always save attachments to the same place
(for example ~/tmp)?

-- 
Chris Green


Re: Can one fix the directory for saving attachments?

2010-11-20 Thread Troy Gooch
Chris,

You could always alias mutt to be the following:
cd ~/tmp ; mutt

I know that's a hackish work around but it's a quick fix.

-Troy


* Chris G c...@isbd.net:
 By default mutt saves attachments in the current directory (i.e. in the
 directory in which it was started).  In my case this is often somewhere
 completely random and most definitely isn't where I want to save
 attachments.
 
 Apart from being careful about the dreictory from which I start mutt is
 there any way to force it to always save attachments to the same place
 (for example ~/tmp)?
 
 -- 
 Chris Green

-- 
Troy Gooch