From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#3987: marked as done (23.1; Rmail summary missing dates when case-fold-search is nil) Date: Sat, 01 Aug 2009 08:30:09 +0000 Message-ID: References: <83prbgosd3.fsf@gnu.org> <200907310001.n6V017Vf001720@cneufeld.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1249115409-24981-0" X-Trace: ger.gmane.org 1249116443 18317 80.91.229.12 (1 Aug 2009 08:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 08:47:23 +0000 (UTC) To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 10:47:15 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MXAFG-0000A4-9U for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 10:47:15 +0200 Original-Received: from localhost ([127.0.0.1]:59754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXAFF-0006mj-QU for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 04:47:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXAEy-0006hE-Is for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 04:46:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXAEt-0006gV-Gw for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 04:46:55 -0400 Original-Received: from [199.232.76.173] (port=59638 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXAEt-0006gS-AC for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 04:46:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44297) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXAEp-0004Ev-Jm; Sat, 01 Aug 2009 04:46:48 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n718kjij026666; Sat, 1 Aug 2009 01:46:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n718U9c2025024; Sat, 1 Aug 2009 01:30:09 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 3987 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29776 Archived-At: This is a multi-part message in MIME format... ------------=_1249115409-24981-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 01 Aug 2009 11:23:04 +0300 with message-id <83prbgosd3.fsf@gnu.org> and subject line Re: bug#3987: 23.1; Rmail summary missing dates when case-= fold-search is nil has caused the Emacs bug report #3987, regarding 23.1; Rmail summary missing dates when case-fold-search is nil to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 3987: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D3987 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1249115409-24981-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 31 Jul 2009 02:21:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.4 required=4.0 tests=FOURLA,IMPRONONCABLE_1, MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6V26iuJ026414 for ; Thu, 30 Jul 2009 19:07:12 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWgBI-00010v-5C for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:41:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWgBD-0000vH-FV for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:41:07 -0400 Received: from [199.232.76.173] (port=39639 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWgBC-0000v5-Va for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:41:03 -0400 Received: from ottawa-hs-206-191-28-140.s-ip.magma.ca ([206.191.28.140]:38061 helo=londo.cneufeld.ca) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWgBC-0005Wp-OH for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2009 20:41:03 -0400 Received: from cneufeld.ca (localhost [127.0.0.1]) by londo.cneufeld.ca (8.14.2/8.14.2) with ESMTP id n6V017UG001721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 30 Jul 2009 20:01:07 -0400 Received: (from neufeld@localhost) by cneufeld.ca (8.14.2/8.14.2/Submit) id n6V017Vf001720; Thu, 30 Jul 2009 20:01:07 -0400 Date: Thu, 30 Jul 2009 20:01:07 -0400 Message-Id: <200907310001.n6V017Vf001720@cneufeld.ca> From: Christopher Neufeld To: bug-gnu-emacs@gnu.org From: Christopher Neufeld Subject: 23.1; Rmail summary missing dates when case-fold-search is nil Reply-to: emacsbugs0001@cneufeld.ca X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (londo.cneufeld.ca [0.0.0.0]); Thu, 30 Jul 2009 20:01:07 -0400 (EDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Greylist: delayed 2392 seconds by postgrey-1.27 at monty-python; Thu, 30 Jul 2009 20:41:01 EDT In GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, X toolkit) of 2009-07-30 on londo.cneufeld.ca configured using `configure '--prefix=/usr' '--with-x' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--enable-font-backend' '--with-xft' '--with-freetype' '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: pc-selection-mode: t display-time-mode: t tooltip-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading rmailout...done Loading sendmail...done Loading mailalias...done Loading supercite...done Loading delsel...done Loading pc-select...done Counting messages...done (No new mail has arrived) 0 new messages read Computing summary lines...done Some time between 23.0.60 and 23.1, a minor annoyance was introduced into rmail. When case-fold-search is nil, the dates in the rmail summary are all rendered as "??????". This is because of the regular expression in rmailsum.el at line 529. A string such as "May" doesn't match the regular expression: [adfjmnos][acepou][bcglnprtvy] because the capital letter doesn't match when case-fold-search is nil. The easy work-around is to turn on case-fold-search, but it would be nice to fix it properly, so that rmail works no matter what the user-set value is. It may also be useful to do a quick scan of the .el files to see if there are other cases where a nil value of case-fold-search might break some modes or behaviours. -- Christopher Neufeld Home page: http://www.cneufeld.ca/neufeld "Don't edit reality for the sake of simplicity" ------------=_1249115409-24981-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3987-done) by emacsbugs.donarmstrong.com; 1 Aug 2009 08:23:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,HAS_BUG_NUMBER, IMPRONONCABLE_1,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,RCVD_IN_SBLXBL, RCVD_IN_SBLXBL_CBL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout3.012.net.il (mtaout4.012.net.il [84.95.2.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n718NB7Y024358 for <3987-done@emacsbugs.donarmstrong.com>; Sat, 1 Aug 2009 01:23:12 -0700 Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KNO00K00V4P8800@i_mtaout3.012.net.il> for 3987-done@emacsbugs.donarmstrong.com; Sat, 01 Aug 2009 11:23:05 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.255.147]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KNO00LKIVAF67J0@i_mtaout3.012.net.il>; Sat, 01 Aug 2009 11:23:03 +0300 (IDT) Date: Sat, 01 Aug 2009 11:23:04 +0300 From: Eli Zaretskii Subject: Re: bug#3987: 23.1; Rmail summary missing dates when case-fold-search is nil In-reply-to: <200907310001.n6V017Vf001720@cneufeld.ca> X-012-Sender: halo1@inter.net.il To: emacsbugs0001@cneufeld.ca, 3987-done@emacsbugs.donarmstrong.com Reply-to: Eli Zaretskii Message-id: <83prbgosd3.fsf@gnu.org> References: <200907310001.n6V017Vf001720@cneufeld.ca> > Date: Thu, 30 Jul 2009 20:01:07 -0400 > From: Christopher Neufeld > From: Christopher Neufeld > Cc: > > Some time between 23.0.60 and 23.1, a minor annoyance was introduced into > rmail. When case-fold-search is nil, the dates in the rmail summary are > all rendered as "??????". Fixed with this change: 2009-08-01 Eli Zaretskii * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of month names. (Bug#3987) Index: lisp/mail/rmailsum.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/mail/rmailsum.el,v retrieving revision 1.179 diff -u -r1.179 rmailsum.el --- lisp/mail/rmailsum.el 4 Apr 2009 14:21:49 -0000 1.179 +++ lisp/mail/rmailsum.el 1 Aug 2009 08:19:26 -0000 @@ -518,16 +518,19 @@ (concat (save-excursion (if (not (re-search-forward "^Date:" nil t)) " " - (cond ((re-search-forward "\\([^0-9:]\\)\\([0-3]?[0-9]\\)\\([- \t_]+\\)\\([adfjmnos][aceopu][bcglnprtvy]\\)" - (line-end-position) t) + ;; Match month names case-insensitively + (cond ((let ((case-fold-search t)) + (re-search-forward "\\([^0-9:]\\)\\([0-3]?[0-9]\\)\\([- \t_]+\\)\\([adfjmnos][aceopu][bcglnprtvy]\\)" + (line-end-position) t)) (format "%2d-%3s" (string-to-number (buffer-substring (match-beginning 2) (match-end 2))) (buffer-substring (match-beginning 4) (match-end 4)))) - ((re-search-forward "\\([^a-z]\\)\\([adfjmnos][acepou][bcglnprtvy]\\)\\([-a-z \t_]*\\)\\([0-9][0-9]?\\)" - (line-end-position) t) + ((let ((case-fold-search t)) + (re-search-forward "\\([^a-z]\\)\\([adfjmnos][acepou][bcglnprtvy]\\)\\([-a-z \t_]*\\)\\([0-9][0-9]?\\)" + (line-end-position) t)) (format "%2d-%3s" (string-to-number (buffer-substring (match-beginning 4) ------------=_1249115409-24981-0--