[mew-int 2896] Re: mew-wrap-lines

Christophe TROESTLER <[email protected]> Thu, 29 Jul 2010 10:04:27 +0200 (CEST)
Newsgroups gmane.mail.mew.general
Organization Universite de Mons (http://math.umons.ac.be/an/)
Message-ID <20100729.100427.667985956960042952.Christophe.Troestler@umons.ac.be>
On Wed, 28 Jul 2010 21:28:14 -0700, Michael Ernst wrote:
> 
> A minor point:  it's error-prone to pass a string that might contain "%" as
> the first argument to the message function.

Thanks for your corrections.  The message was just to help figuring
out whether this was doing its job correctly.  It is better to remove
it altogether.

Best,
C.

> (defadvice mew-fill-match-adaptive-prefix
>   (after mew-remove-itemize-chars activate)
>   "Remove the symbols commonly used as indicators for itemize lists from
> the prefix used for filling messages."
>   (message "%s" ad-return-value)
>   (setq ad-return-value
> 	(replace-regexp-in-string "[-*]" " " ad-return-value)))