emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp/mail unrmail.el


From: Glenn Morris
Subject: [Emacs-diffs] emacs/lisp/mail unrmail.el
Date: Fri, 13 Feb 2009 03:44:10 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       09/02/13 03:44:10

Modified files:
        lisp/mail      : unrmail.el 

Log message:
        (unrmail): When getting message keywords, don't include a leading
        space, but do include the space after the separating comma.  (Bug#2303)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mail/unrmail.el?cvsroot=emacs&r1=1.35&r2=1.36

Patches:
Index: unrmail.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mail/unrmail.el,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- unrmail.el  7 Feb 2009 20:08:09 -0000       1.35
+++ unrmail.el  13 Feb 2009 03:44:10 -0000      1.36
@@ -133,14 +133,16 @@
                  (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




reply via email to

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