viewmail-info
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VM] fill-paragraph with supercite mode


From: Rene
Subject: [VM] fill-paragraph with supercite mode
Date: Fri, 27 Sep 2013 20:39:45 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Here is what you get when using supercite when replying to emails:

>>>>> On Fri, 27 Sep 2013 16:06:39 +0200, <address@hidden> said:
 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, <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]