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
> > > `attach:'
> > 
> > Yes, it is possible: add the header with a non-empty value and it'll
> > be present in the edit buffer, no need to unignore it:
> > 
> > my_hdr Attach: ~/empty.txt
> > set edit_headers = yes
> 
> 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.

Or hit "D" to delete the attachment from the attachment list after
having finished editing the message.

But IIRC, an empty attachment will be stripped anyway.

-- 
Michael Ludwig


Reply via email to