save in current folder?

2015-09-18 Thread Ian Zimmerman
Is it possible (and safe) to set the record variable, or the Fcc header, to the folder from where I send the mail? For example, what can be said about this .muttrc setting: set record="~/Mail/inbox" I don't want to handle archiving my own messages with a Bcc, because they typically don't have

Re: format=flowed

2015-09-18 Thread Cameron Simpson
On 18Sep2015 12:14, Christian Brabandt wrote: On Fr, 18 Sep 2015, Erik Christiansen wrote: Keeping everything vim-related in one config file is _wy_ cleaner. Cluttering the filesystem with a swarm of files seems untidy, and is a good way to leave config behind when

Re: format=flowed

2015-09-18 Thread Christian Brabandt
On Fr, 18 Sep 2015, Erik Christiansen wrote: > So, in .vimrc, something vaguely like: > > au BufNewFile,BufRead ~/Desktop/mutt-* call Set_for_mutt() [...] You don't need that autocommand. Simply create a file ~/.vim/ftplugin/mail.vim and put all mutt related stuff there and add an entry

Re: format=flowed

2015-09-18 Thread Erik Christiansen
On 18.09.15 09:47, Christian Brabandt wrote: > > On Fr, 18 Sep 2015, Erik Christiansen wrote: > > > So, in .vimrc, something vaguely like: > > > > au BufNewFile,BufRead ~/Desktop/mutt-* call Set_for_mutt() > [...] > > You don't need that autocommand. Simply create a file >

Re: format=flowed

2015-09-18 Thread Samir Benmendil
On Sep 18, 2015 at 19:09, Erik Christiansen wrote: On 18.09.15 09:47, Christian Brabandt wrote: On Fr, 18 Sep 2015, Erik Christiansen wrote: > So, in .vimrc, something vaguely like: > > au BufNewFile,BufRead ~/Desktop/mutt-* call Set_for_mutt() [...] You don't need that autocommand. Simply

Re: format=flowed

2015-09-18 Thread Erik Christiansen
On 18.09.15 10:41, Cameron Simpson wrote: > I'm pretty sure the vim mode I'm using doesn't do quoting correctly > if I edit the quoted sections. Need to check that on my end. While editing a mutt tmp file, it can be useful to set something like: set formatoptions=qrjl The 'q' causes (multiple

Re: format=flowed

2015-09-18 Thread Samir Benmendil
On Sep 18, 2015 at 17:00, Erik Christiansen wrote: On 18.09.15 10:41, Cameron Simpson wrote: I'm pretty sure the vim mode I'm using doesn't do quoting correctly if I edit the quoted sections. Need to check that on my end. While editing a mutt tmp file, it can be useful to set something like:

Re: save in current folder?

2015-09-18 Thread Cameron Simpson
On 18Sep2015 16:56, Ian Zimmerman wrote: Is it possible (and safe) to set the record variable, or the Fcc header, to the folder from where I send the mail? I believe so. There's no reason you can't save a copy in the source folder - I do this myself, though in a more

Re: save in current folder?

2015-09-18 Thread Nathan Stratton Treadway
On Fri, Sep 18, 2015 at 16:56:12 -0700, Ian Zimmerman wrote: > Is it possible (and safe) to set the record variable, or the Fcc header, > to the folder from where I send the mail? For example, what can be said > about this .muttrc setting: > > set record="~/Mail/inbox" > [...] > Another

header cache annoyance [Was: save in current folder?]

2015-09-18 Thread Ian Zimmerman
On 2015-09-19 12:21 +1000, Cameron Simpson wrote: > >Is it possible (and safe) to set the record variable, or the Fcc > >header, to the folder from where I send the mail? > > I believe so. There's no reason you can't save a copy in the source > folder - I do this myself, though in a more

Re: save in current folder?

2015-09-18 Thread Erik Christiansen
On 18.09.15 16:56, Ian Zimmerman wrote: > Is it possible (and safe) to set the record variable, or the Fcc header, > to the folder from where I send the mail? The manual supports the practice: >>> For example, to store a copy of outgoing messages in the folder they were composed in, a

Re: format=flowed

2015-09-18 Thread Samir Benmendil
On Sep 18, 2015 at 20:17, Erik Christiansen wrote: On 18.09.15 10:33, Samir Benmendil wrote: On Sep 18, 2015 at 19:09, Erik Christiansen wrote: Now there's no need to hunt around amongst all sorts of files, wondering where stuff is configured - it's configured in the config file! There's a

Re: format=flowed

2015-09-18 Thread Christian Brabandt
Hi Erik! On Fr, 18 Sep 2015, Erik Christiansen wrote: > On 18.09.15 09:47, Christian Brabandt wrote: > > > > On Fr, 18 Sep 2015, Erik Christiansen wrote: > > > > > So, in .vimrc, something vaguely like: > > > > > > au BufNewFile,BufRead ~/Desktop/mutt-* call Set_for_mutt() > > [...] > >

Re: format=flowed

2015-09-18 Thread Erik Christiansen
On 18.09.15 10:33, Samir Benmendil wrote: > On Sep 18, 2015 at 19:09, Erik Christiansen wrote: > >Now there's no need to hunt around amongst all sorts of files, > >wondering where stuff is configured - it's configured in the config > >file! > There's a function for that: > > | " edit configs

Re: format=flowed

2015-09-18 Thread Will Yardley
On Fri, Sep 18, 2015 at 07:09:17PM +1000, Erik Christiansen wrote: > On 18.09.15 09:47, Christian Brabandt wrote: > > > > On Fr, 18 Sep 2015, Erik Christiansen wrote: > > > > > So, in .vimrc, something vaguely like: > > > > > > au BufNewFile,BufRead ~/Desktop/mutt-* call Set_for_mutt() > >