Re: Quote indentation string and multilevel quoting
On 2004-04-08, Michael Kjorling <michael@xxxxxxxxxxxx> wrote:
> Is it possible to have separate indent_string settings for
> already-quoted lines, and lines that are not quoted in the message you
> are replying to? For example, I might receive this:
>
> > This is what I wrote
>
> This is the other person's response
>
> When replying to this, I would like the quoted content to be something
> along the lines of this:
>
> >> This is what I wrote
> >
> > This is the other person's response
>
> That is, if the first character of a line is a quote indicator, don't
> add the space, otherwise do add the space after my quote indicator (in
> this case a greater-than sign, `>').
>
> Any suggestion on how to set something like this up in Mutt/1.4.2.1
> would be greatly appreciated. I am aware of the possibility of
> changing the indent_string setting, but that only accomplishes half of
> what I want.
Not without modifying mutt's source code. I'm not sure where the
"right" place to do this is, but it should be easy enough to do this
in your editor. For example, if you're using vim you could put this
in your ~/.vimrc:
au BufRead /tmp/mutt-* silent! %s/^> >/>>/
HTH,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA