From: yamaoka Date: Mon, 24 Jan 2005 11:11:20 +0000 (+0000) Subject: Synch to No Gnus 200501240955. X-Git-Tag: t-gnus-6_17_4-quimby-~584 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c9330935597c0ad76aab3ca57713a609ba423bed;p=elisp%2Fgnus.git- Synch to No Gnus 200501240955. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 561395b..e40f4b4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-01-24 Harald Meland (tiny change) + + * mail-source.el (mail-source-fetch-imap): Search for ^From case + sensitively. + 2005-01-21 Derek Atkins (tiny change) * pgg-pgp.el (pgg-pgp-decrypt-region): Use passphrase cache. diff --git a/lisp/mail-source.el b/lisp/mail-source.el index 201426b..a4d754b 100644 --- a/lisp/mail-source.el +++ b/lisp/mail-source.el @@ -1,5 +1,5 @@ ;;; mail-source.el --- functions for fetching mail -;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 ;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen @@ -1025,7 +1025,8 @@ This only works when `display-time' is enabled." (insert "From imap " (current-time-string) "\n") (save-excursion (insert str "\n\n")) - (while (re-search-forward "^From " nil t) + (while (let ((case-fold-search nil)) + (re-search-forward "^From " nil t)) (replace-match ">From ")) (goto-char (point-max)))) (nnheader-ms-strip-cr))