Re: Add header automatically

2010-06-28 Thread Christian Brabandt
Hi Michael! On Fr, 25 Jun 2010, Michael Ludwig wrote: > Eric Smith schrieb am 25.06.2010 um 08:11 (+0200): > > > > Is it possible to configure mutt to place an extra header in the > > edit buffer each time you go into edit mode? > > > > I want the line > > `attach:' > > Yes, it is possible: ad

Re: Add header automatically

2010-06-27 Thread Tim Gray
On Jun 27, 2010 at 12:50 PM -0400, Ed Blackman wrote: I have my $editor set to a Perl script that manipulates the incoming message in various custom ways before handing it off to my real editor. Adding a new header would be trivial. The only disadvantage is that I have lost the "Aborted unmodi

Re: Add header automatically

2010-06-27 Thread Ed Blackman
On Sat, Jun 26, 2010 at 09:09:06PM +0200, Eric Smith wrote: Thanks Michael, yes that works. But effect is to send that null file each time that you do not actually want to attach a file, in which case you would edit that header and remove the placeholder filename. I have my $editor set to a Pe

Re: Add header automatically

2010-06-26 Thread Michael Ludwig
Michael Ludwig schrieb am 27.06.2010 um 00:10 (+0200): > But IIRC, an empty attachment will be stripped anyway. I did not remember correctly. An empty attachment will not be stripped automatically. Remove it from the attachment menu hitting "D" (by default). -- Michael Ludwig

Re: Add header automatically

2010-06-26 Thread Michael Ludwig
Eric Smith schrieb am 26.06.2010 um 21:09 (+0200): > Michael Ludwig said: > > Eric Smith schrieb am 25.06.2010 um 08:11 (+0200): > > > > > > Is it possible to configure mutt to place an extra header in the > > > edit buffer each time you go into edit mode? > > > > > > I want the line > > > `attac

Re: Add header automatically

2010-06-26 Thread Eric Smith
Michael Ludwig said: > Eric Smith schrieb am 25.06.2010 um 08:11 (+0200): > > > > Is it possible to configure mutt to place an extra header in the > > edit buffer each time you go into edit mode? > > > > I want the line > > `attach:' > > Yes, it is possible: add the header with a non-empty value

Re: Add header automatically

2010-06-24 Thread Michael Ludwig
Eric Smith schrieb am 25.06.2010 um 08:11 (+0200): > > Is it possible to configure mutt to place an extra header in the > edit buffer each time you go into edit mode? > > I want the line > `attach:' Yes, it is possible: add the header with a non-empty value and it'll be present in the edit buffe

Add header automatically

2010-06-24 Thread Eric Smith
Is it possible to configure mutt to place an extra header in the edit buffer each time you go into edit mode? I want the line `attach:' Then it is easier to paste in filenames or if you paste nothing it is ignored. (When I use vim, I have a nice binding for this but not with nano - which for s