Discussion:
[VM] fill-paragraph with supercite mode
Rene
2013-09-27 20:39:45 UTC
Permalink
FB> VM is a mail reader that runs under XEmacs and GNU Emacs. It was
FB> written as an alternative to the Emacs RMAIL mail reader by Kyle
FB> Jones. VM is highly configurable and easy to use.

But I notice that `fill-paragraph' (M-q) doesn't behave correctly
anymore when applied to the paragraph right below the `sc-header'
(">>>>> On Fri, 27 Sep 2013 16:06:39 +0200, <***@bar> said:"). It
actually mixes the header with the paragraph.

In order to avoid this behavior, one needs to append the following
regexp ">>>>> .*:$\\|" to `paragraph-separate' like this:

(add-hook 'mail-mode-hook
(lambda ()
(set (make-local-variable 'paragraph-separate)
(concat ">>>>> .*:$\\|" paragraph-separate))))

Should this modification of `paragraph-separate' be added to
`vm-mail-mode-hook'?

If you solved this problem in a different way, let me know.

--
Rene

Loading...