Discussion:
Disable reply quote
Stefan Hagen
2018-07-04 08:12:37 UTC
Permalink
Hello list,

Is there a way to turn off the quote string for replies like
forward_quote=no does for forwards? There is no reply_quote option.

I want to add the quote string selectively in vim when composing the
reply.

Best Regards,
Stefan
--
Stefan Hagen
Phone: +49 (0)176 642 925 17
gopher://codevoid.de | PGP Key in Header
Wim
2018-07-04 16:08:31 UTC
Permalink
Hi Stefan,
Post by Stefan Hagen
Is there a way to turn off the quote string for replies like
forward_quote=no does for forwards? There is no reply_quote option.
I want to add the quote string selectively in vim when composing the
reply.
I think the setting 'indent_string' might be what you're looking for.
Setting it to the empty string should achieve what you want.

All the best Wim
--
|\ _,,,---,,_
ZZZzz /,`.-'`' -. ;-;;,_
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_)
Stefan Hagen
2018-07-05 06:21:52 UTC
Permalink
Hi Wim
Post by Wim
Post by Stefan Hagen
Is there a way to turn off the quote string for replies like
forward_quote=no does for forwards? There is no reply_quote option.
I think the setting 'indent_string' might be what you're looking for.
Setting it to the empty string should achieve what you want.
I had to turn off text_flowed for indent_string to work. Works like a
charm now.

Thank you,
Stefan
--
Stefan Hagen
Mail: ***@codevoid.de | encryption key in header.
gopher://codevoid.de | https://codevoid.de
Matthias Apitz
2018-07-05 06:40:31 UTC
Permalink
Post by Stefan Hagen
Hi Wim
Post by Stefan Hagen
Is there a way to turn off the quote string for replies like
forward_quote=no does for forwards?
I'm curious: Why do you want to turn it off?

matthias
--
Sent from my Ubuntu phone
http://www.unixarea.de/
Stefan Hagen
2018-07-11 08:29:31 UTC
Permalink
Hi Matthias,
Post by Matthias Apitz
Post by Stefan Hagen
Is there a way to turn off the quote string for replies like
forward_quote=no does for forwards?
I'm curious: Why do you want to turn it off?
It's just relevant for my mutt config at work.

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.

Best Regards,
Stefan
--
Stefan Hagen
Mail: ***@codevoid.de | encryption key in header.
gopher://codevoid.de | https://codevoid.de
Erik Christiansen
2018-07-11 10:21:31 UTC
Permalink
Post by Stefan Hagen
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
Stefan Hagen
2018-07-11 11:55:01 UTC
Permalink
Hi Erik,
Post by Erik Christiansen
Post by Stefan Hagen
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 suggested indent_string = "" works wonderful. An autocommand would
have been the second choice.

The beauty of having it in mutt is, that I can change the setting via
folder-hook. I could of course also change the editor command via
folder-hook and have different autocommands for different mailboxes...

It's nice to have options.

Thanks!
Stefan
--
Stefan Hagen
Phone: +49 (0)176 642 925 17
gopher://codevoid.de | PGP Key in Header
Loading...