Disable reply quote

Erik Christiansen dvalin at internode.on.net
Wed Jul 11 10:21:31 UTC 2018


On 11.07.18 10:29, Stefan Hagen wrote:
> When mails come to my support level, they often contain 30+ outlook 
> style replies ->multiple pages of mail history. When I reply to these
> emails, Mutt quotes the full history.
> 
> I always manually delete the quote marks down to the end of the email,
> then copy relevant parts to the top and quote it. (leaving the history
> untouched)
> 
> Having mutt not quote the reply automatically saves me one step.

In the absence of a method in mutt, I'd use a vim autocommand, triggered
by the mutt-specific name of the temporary file. If you use another
editor, then it can probably do something similar. The one in my .vimrc:

au BufNewFile,BufRead   ~/Desktop/mutt-*   call Set_for_mutt()

doesn't perform any auto-edits, but you could put anything desired in
the editor function called, and it'll only run when the editor is
invoked by mutt.

An alternative might be to invoke the auto-edit via command-line
arguments added to the "set editor=myeditor" line in .muttrc. (Not
tried)

Erik


More information about the Mutt-users mailing list