From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Pohoyda Newsgroups: gmane.emacs.bugs Subject: RMAIL-summary mode, label display fix/change Date: Sun, 28 Sep 2003 23:00:06 +0200 (CEST) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200309282100.h8SL06qp006340@oak.pohoyda.family> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2003-09-28T22:55:54+0200_=_d45e3272" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1064782954 24441 80.91.224.253 (28 Sep 2003 21:02:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2003 21:02:34 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 28 23:02:32 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3igZ-0007pF-00 for ; Sun, 28 Sep 2003 23:02:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3ieV-0004LW-IX for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Sep 2003 17:00:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A3ieS-0004KZ-PN for bug-gnu-emacs@gnu.org; Sun, 28 Sep 2003 17:00:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A3ieO-0004J0-IK for bug-gnu-emacs@gnu.org; Sun, 28 Sep 2003 17:00:17 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.22) id 1A3ieM-0004G9-ME for bug-gnu-emacs@gnu.org; Sun, 28 Sep 2003 17:00:14 -0400 Original-Received: (qmail 18903 invoked by uid 65534); 28 Sep 2003 21:00:08 -0000 Original-Received: from p508BF490.dip.t-dialin.net (EHLO oak.pohoyda.family) (80.139.244.144) by mail.gmx.net (mp015) with SMTP; 28 Sep 2003 23:00:08 +0200 X-Authenticated: #14602519 Original-Received: from oak.pohoyda.family (oak.pohoyda.family [127.0.0.1]) by oak.pohoyda.family (8.12.9/8.12.9) with ESMTP id h8SL07Vi006343 for ; Sun, 28 Sep 2003 23:00:07 +0200 (CEST) (envelope-from apog@oak.pohoyda.family) Original-Received: (from apog@localhost) by oak.pohoyda.family (8.12.9/8.12.9/Submit) id h8SL06qp006340; Sun, 28 Sep 2003 23:00:06 +0200 (CEST) (envelope-from apog) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5872 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5872 > This is a multipart message in MIME format. --2003-09-28T22:55:54+0200_=_d45e3272 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi all, Currently, lines in RMAIL-summary buffer look like: 75 25-Sep some.email@site.com [50] { admin,} Some header goes here I don't know if you consider this a bug, but I prefer it this way: 75 25-Sep some.email@site.com [50] { admin } Some header goes here Please have a look at the attached patch, which is made against current CVS sources. Thank you very much. -- Alexander Pohoyda PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44 --2003-09-28T22:55:54+0200_=_d45e3272 Content-Type: text/x-patch; charset="us-ascii" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="rmailsum.el.diff" Content-Description: rmailsum.el.diff --- /workspace/emacs/lisp/mail/rmailsum.el Wed Sep 3 22:11:40 2003 +++ /usr/local/share/emacs/21.3.50/lisp/mail/rmailsum.el Mon Sep 22 22:06:12 2003 @@ -51,7 +51,7 @@ ("^.....-.*" . font-lock-type-face) ; Unread. ;; Neither of the below will be highlighted if either of the above are: ("^.....[^D-] \\(......\\)" 1 font-lock-keyword-face) ; Date. - ("{ \\([^\n}]+\\),}" 1 font-lock-comment-face)) ; Labels. + ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face)) ; Labels. "Additional expressions to highlight in Rmail Summary mode.") ;; Entry points for making a summary buffer. @@ -300,8 +300,12 @@ "" (concat "{" (buffer-substring (point) - (progn (end-of-line) (point))) - "} "))))) + (progn (end-of-line) + (backward-char) + (if (looking-at ",") + (point) + (1+ (point))))) + " } "))))) (line (progn (forward-line 1) --2003-09-28T22:55:54+0200_=_d45e3272 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs --2003-09-28T22:55:54+0200_=_d45e3272--