Re: save to mailbox appends email address
On Wed, Oct 7, 2015 at 4:18 PM, Michael Tatgewrote: > * On Wed, Oct 07, 2015 03:14PM -0400 Xu Wang (xuwang...@gmail.com) muttered: >> It seems the default behavior of mutt when I press 's' for save is to >> put the email address as the folder I want to save to. But I would >> prefer to not have this behavior. > > AFAIK you cannot change the default save pattern (%O) I see. Where can I read why this is default? Is it common to save messages to folders with the name of the email address you receive from? Such behavior seems contrary to most workflows I have awareness of. >> How can I change this behavior? I would prefer to just have a simple >> '=' when I press 's'. > > macro index,pager s '=' > > But beware, that will overwrite your current save-hooks. OK I will keep in mind. Kind regards, Xu > > Michael > -- > PGP-Key-ID: EEE7D043 > Jabber: in...@jabber.de
Re: save to mailbox appends email address
* On Fri, Oct 09, 2015 10:28AM -0400 Patrick Shanahan (p...@opensuse.org) muttered: > * Xu Wang[10-09-15 10:18]: > > I see. Where can I read why this is default? Is it common to save > > messages to folders with the name of the email address you receive > > from? Such behavior seems contrary to most workflows I have awareness > > of. > > > There is documentation included. > fcc-hook [!]pattern filename > When an outgoing message matches pattern, the default > file name for storing a copy (fcc) will be the given > filename. fcc-hook is not relevant here. :) save-hook if anything. The OP should check chapter "Using %-expandos in save-hook" in the manual. Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de
Re: save to mailbox appends email address
* On Fri, Oct 09, 2015 10:08AM -0400 Xu Wang (xuwang...@gmail.com) muttered: > On Wed, Oct 7, 2015 at 4:18 PM, Michael Tatgewrote: > > * On Wed, Oct 07, 2015 03:14PM -0400 Xu Wang (xuwang...@gmail.com) muttered: > >> It seems the default behavior of mutt when I press 's' for save is to > >> put the email address as the folder I want to save to. But I would > >> prefer to not have this behavior. > > > > AFAIK you cannot change the default save pattern (%O) > > I see. Where can I read why this is default? Is it common to save > messages to folders with the name of the email address you receive > from? Such behavior seems contrary to most workflows I have awareness > of. I guess it's just some default, that will reliably expand to something useful. Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de
Re: save to mailbox appends email address
* On Wed, Oct 07, 2015 03:14PM -0400 Xu Wang (xuwang...@gmail.com) muttered: > It seems the default behavior of mutt when I press 's' for save is to > put the email address as the folder I want to save to. But I would > prefer to not have this behavior. > > How can I change this behavior? I would prefer to just have a simple > '=' when I press 's'. What about: save-hook . '=' macro index,pager s Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de
Re: save to mailbox appends email address
On Wed, Oct 07, 2015 at 15:14:39 -0400, Xu Wang wrote: > It seems the default behavior of mutt when I press 's' for save is to > put the email address as the folder I want to save to. But I would > prefer to not have this behavior. I have looked for muttrc variables > but I only find the following: > > save-hook > > save-name > > force-name > > They do not seem to be those that I search for? > > How can I change this behavior? I would prefer to just have a simple > '=' when I press 's'. Either save-name or force-name would make your default save folder match the recipient's name. If you have no save-hook in effect and save-name and force-name are both turned off, then then default for the "s" command should be the value of the $record variable. Nathan
Re: save to mailbox appends email address
* Xu Wang[10-09-15 10:18]: > On Wed, Oct 7, 2015 at 4:18 PM, Michael Tatge wrote: > > * On Wed, Oct 07, 2015 03:14PM -0400 Xu Wang (xuwang...@gmail.com) muttered: > >> It seems the default behavior of mutt when I press 's' for save is to > >> put the email address as the folder I want to save to. But I would > >> prefer to not have this behavior. > > > > AFAIK you cannot change the default save pattern (%O) > > I see. Where can I read why this is default? Is it common to save > messages to folders with the name of the email address you receive > from? Such behavior seems contrary to most workflows I have awareness > of. > > > >> How can I change this behavior? I would prefer to just have a simple > >> '=' when I press 's'. > > > > macro index,pager s '=' > > > > > But beware, that will overwrite your current save-hooks. > > OK I will keep in mind. There is documentation included. man mutt man muttrc fcc-hook [!]pattern filename When an outgoing message matches pattern, the default file name for storing a copy (fcc) will be the given filename. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net