Re: Can I have a default save folder for attachments?
On Fri, Jan 19, 2018 at 04:33:39PM +0100, Francesco Ariis wrote: > On Thu, Jan 18, 2018 at 09:43:11PM -0600, Jason wrote: > > When I press 's' on an attachment to save it, it wants to save it in > > the home directory. Is it possible to have a default attachments > > folder set up that attachments automatically get saved to or at least have > > the suggested file name prefixed with the > > /path/to/attachments/directory/ ? > > Hello Jason, > see if > > macro attach S ~/downloads/ > > is what you like > -F Perfect! Just what I wanted. Thanks, Francesco. -- Jason
Re: Can I have a default save folder for attachments?
On Thu, Jan 18, 2018 at 09:43:11PM -0600, Jason wrote: > When I press 's' on an attachment to save it, it wants to save it in > the home directory. Is it possible to have a default attachments > folder set up that attachments automatically get saved to or at least have > the suggested file name prefixed with the > /path/to/attachments/directory/ ? Hello Jason, see if macro attach S ~/downloads/ is what you like -F
Can I have a default save folder for attachments?
Hello, When I press 's' on an attachment to save it, it wants to save it in the home directory. Is it possible to have a default attachments folder set up that attachments automatically get saved to or at least have the suggested file name prefixed with the /path/to/attachments/directory/ ? Thanks! -- Jason
Re: default save folder
Vielen Dank, Michael! That worked. Regarding the famous TFM: I am not a native English speaker and sometimes it is damn difficult to find out what keyword you have to look for. save_hook would have been the very last thing I could possibly have thought of In any case, thanks... I was fed up of giving the whole path everytime I had to save an attachment! Pau 2009/5/10 Michael Tatge michael.ta...@web.de: * On Sat, May 09, 2009 09:23PM +0200 Pau (vim.u...@googlemail.com) muttered: is it possible to tell mutt where to save things such as attachments? I would like to define a folder and tell mutt to automatically prompt me to that folder everytime I want to save something. For messages see save-hook. For attachments there's no direct setting. Maybe write a macro, like: macro attach s save-entrybol/save/stuff/here/eol HTH, Michael -- It was kinda like stuffing the wrong card in a computer, when you're stickin' those artificial stimulants in your arm. -- Dion, noted computer scientist PGP-Key-ID: 0xDC1A44DD Jabber: init...@amessage.de -- Let there be peace on earth. And let it begin with misc
Re: default save folder
On Sat, May 9, 2009 at 12:37, Patrick Shanahan ptilopt...@gmail.com wrote: look at the fine manual for alias_file Really, you should spend a few minutes looking at the very good documentation included with mutt. I know the dev manual is a work in progress, but I like it a lot more than the normal user manual I was referencing a year ago. Course I'm also using the 1.5 series (which seems pretty stable despite not being an odd release, maybe this is just part of the less-suckiness of mutt?). http://www.mutt.org/doc/devel/manual.html
Re: default save folder
* On Sat, May 09, 2009 09:23PM +0200 Pau (vim.u...@googlemail.com) muttered: is it possible to tell mutt where to save things such as attachments? I would like to define a folder and tell mutt to automatically prompt me to that folder everytime I want to save something. For messages see save-hook. For attachments there's no direct setting. Maybe write a macro, like: macro attach s save-entrybol/save/stuff/here/eol HTH, Michael -- It was kinda like stuffing the wrong card in a computer, when you're stickin' those artificial stimulants in your arm. -- Dion, noted computer scientist PGP-Key-ID: 0xDC1A44DD Jabber: init...@amessage.de
default save folder
Hello, is it possible to tell mutt where to save things such as attachments? I would like to define a folder and tell mutt to automatically prompt me to that folder everytime I want to save something. The same for the addresses. Everytime I define a new alias, I would like that mutt knows where all addresses are. How can I predefine that file in muttrc? Thanks Pau
Re: default save folder
Pau wrote: The same for the addresses. Everytime I define a new alias, I would like that mutt knows where all addresses are. How can I predefine that file in muttrc? alias_file? -- Raf http://www.catb.org/~esr/faqs/smart-questions.html
Re: default save folder
* Pau vim.u...@googlemail.com [05-09-09 15:26]: is it possible to tell mutt where to save things such as attachments? entire messages, I don't know about *only* attachments. I would like to define a folder and tell mutt to automatically prompt me to that folder everytime I want to save something. look at the fine manual for save_hook(s) The same for the addresses. Everytime I define a new alias, I would like that mutt knows where all addresses are. How can I predefine that file in muttrc? look at the fine manual for alias_file Really, you should spend a few minutes looking at the very good documentation included with mutt. -- Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://counter.li.org
default save folder
Hey people, What's the best way to handle setting the default save folder dynamically, based on the email address of the sender, or perhaps the subject of the email? I'm assuming a hook of some kind, but I don't know the syntax offhand to pull out the desired information from the message. Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08 ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to Unix msg28310/pgp0.pgp Description: PGP signature
Re: default save folder
Michael P. Soulier wrote: What's the best way to handle setting the default save folder dynamically, based on the email address of the sender, or perhaps the subject of the email? I'm assuming a hook of some kind, but I don't know the syntax offhand to pull out the desired information from the message. do '$save_name', '$save_address' and / or '$force_name' not do what you want? -- Will Yardley input: william hq . newdream . net .
Re: default save folder
On Thu, May 23, 2002 at 02:17:50PM -0400, Michael P. Soulier wrote: What's the best way to handle setting the default save folder dynamically, based on the email address of the sender, or perhaps the subject of the email? I'm assuming a hook of some kind, but I don't know the syntax offhand to pull out the desired information from the message. The hook to use is the save-hook unless you also want to save copies of outbound messages to the same folders based on the same criteria, in which case you should use the fcc-save-hook instead. Here are some examples from my .muttrc. save-hook '~f bcringely' +Lists/cringely save-hook '~f @comsoc.org'+comsoc save-hook '~s linux today'+Lists/linuxtoday Read the manual sections: 3.14. Specify default save filename 3.16. Specify default save filename and default Fcc: mailbox at once 4.2. Patterns Mutt searches the hook patterns for a match in the same order that the hooks appear in your .muttrc and stops at the first match, so it is important to put specific patterns before more general patterns. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Re: default save folder
Hi! On Wed, Mar 29, 2000 at 10:32:16PM +0200, Jean-Charles Bagneris wrote: Of course, each time I press 's', I have to give the name of the folder I want to save to. So my question is : is there a way to give (in a folder-hook may be) a default name for the archive folder ? Put something like save-hook pattern folder-to-save-to in your .muttrc If you want to have the whole thread i.e. even your own mails in that folder use that fcc-save-hook command. Michael
Re: default save folder
[EMAIL PROTECTED] wrote on 30 Mar 2000 : save-hook pattern folder-to-save-to in your .muttrc I must be stupid... I did read that when I first browsed the manual a few weeks ago. But yesterday, I searched through config variables, not config commands. Sorry for this, and thanks -- JcB, Jean-Charles Bagneris, Montpellier, France
Re: default save folder
Jean-Charles Bagneris [EMAIL PROTECTED] wrote: Of course, each time I press 's', I have to give the name of the folder I want to save to. So my question is : is there a way to give (in a folder-hook may be) a default name for the archive folder ? You can also simply tag all the messages that you want to save, then save them using a grouped command, and they will all be saved to the single folder that you specify. Use the tag-prefix (default ";") before the save command, to specify saving all tagged messages. -- David DeSimone | "The doctrine of human equality reposes on this: [EMAIL PROTECTED] | that there is no man really clever who has not Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson Richardson IT|PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
default save folder
Hi all, Just something I did not find in the manual (may be too tired tonight) I used to have mbox-hooks in my .muttrc for mailing lists, and it worked perfectly. But I stopped to use it, because if I want to follow a thread, I dont want undeleted messages to be saved in an archive folder immediately (and automagically), in order to wait for other related messages. Once I consider the given thread is complete (for me at least), I want to save one or more messages. So far, so good. Of course, each time I press 's', I have to give the name of the folder I want to save to. So my question is : is there a way to give (in a folder-hook may be) a default name for the archive folder ? This might not be the Right Way (tm) to read and follow ml messages... Just tell me... BTW, I know I could do this with a macro, just curious about another (and easier) way Thanks -- JcB, Jean-Charles Bagneris, Montpellier, France