|
From: | Stefan Monnier |
Subject: | bug#7746: SERIOUS BUG: mail-strip-quoted-names bug causing unrmail to lose mail |
Date: | Sun, 02 Jan 2011 22:36:55 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> After some thought, I figured out why you your code doesn't work: > it turns "( \( )" into "( \" Hmm... not in my test: (let ((address "(sadffds \\( adf)") pos) (while (setq pos (string-match ;; This doesn't hack rfc822 nested comments ;; `(xyzzy (foo) whinge)' properly. Big deal. "[ \t]*(\\([^()\\]\\|\\\\.\\|\\\\\n\\)*)" address)) (setq address (replace-match "" nil nil address 0))) address) returns "". Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |