From 56ba44016209414439ab40d6a48620cd29054692 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 13 Feb 2009 03:44:10 +0000 Subject: [PATCH] (unrmail): When getting message keywords, don't include a leading space, but do include the space after the separating comma. (Bug#2303) --- lisp/mail/unrmail.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/mail/unrmail.el b/lisp/mail/unrmail.el index 749d3942006..86957813e1e 100644 --- a/lisp/mail/unrmail.el +++ b/lisp/mail/unrmail.el @@ -133,14 +133,16 @@ For example, invoke `emacs -batch -f batch-unrmail RMAIL'." (buffer-substring (point) (save-excursion (forward-line 1) (point)))) - (search-forward ",,") + (re-search-forward ",, ?") (unless (eolp) (setq keywords (buffer-substring (point) (progn (end-of-line) (1- (point))))) - (setq keywords - (replace-regexp-in-string ", " "," keywords))) + ;; Mbox rmail needs the spaces. Bug#2303. + ;;; (setq keywords + ;;; (replace-regexp-in-string ", " "," keywords)) + ) (setq attrs (list -- 2.39.5