From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: RMAIL against Texinfo Date: Sun, 01 Feb 2004 19:16:02 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <2914-Sun01Feb2004191602+0200-eliz@elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075656310 17338 80.91.224.253 (1 Feb 2004 17:25:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2004 17:25:10 +0000 (UTC) Cc: Karl Berry Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Feb 01 18:24:58 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnLL7-0001HA-00 for ; Sun, 01 Feb 2004 18:24:57 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnLL7-00063l-00 for ; Sun, 01 Feb 2004 18:24:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnLJi-0002S1-Bo for emacs-devel@quimby.gnus.org; Sun, 01 Feb 2004 12:23:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AnLI5-0000LS-MT for emacs-devel@gnu.org; Sun, 01 Feb 2004 12:21:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AnLHC-0007GR-Jo for emacs-devel@gnu.org; Sun, 01 Feb 2004 12:21:27 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnLH5-0006xh-Q4 for emacs-devel@gnu.org; Sun, 01 Feb 2004 12:20:47 -0500 Original-Received: from zaretski (pns03-200-13.inter.net.il [80.230.200.13]) by legolas.inter.net.il (MOS 3.4.4-GR) with ESMTP id BFU35351; Sun, 1 Feb 2004 19:20:38 +0200 (IST) Original-To: emacs-devel@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19614 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19614 Recently, I became annoyed by the fact that when I reply to a message sent via texinfo-pretest or texinfo-help mailing lists, the list address is somehow removed from the list of addressees to whom my reply is sent. After some debugging, it turned out that the default value of rmail-dont-reply-to-names was this: "info-\\|eliz@elta\\.co\\.il>\\|eliz\\>" And that "info-" thingie would remove texinfo-* lists from my replies! That seems like a simple bug to me: the intent was to remove the "info-*" mailing lists, which are essentially read-only (you are sent information, but are not supposed to reply), so the regexp should have been anchored at the beginning of a word, like this: "\\\\|\\" (I think my username and email addresses should get the same anchors, to avoid filtering out someone whose username happens to be "noteliz", for example.) However, given that the code, both in rmail.el and in mail-utils.el, which did this is VERY old, I'd like to ask if someone sees any bad side effects from the changes I suggest below. TIA Index: lisp/mail/rmail.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/mail/rmail.el,v retrieving revision 1.378 diff -u -r1.378 rmail.el --- lisp/mail/rmail.el 30 Dec 2003 11:42:37 -0000 1.378 +++ lisp/mail/rmail.el 1 Feb 2004 17:18:49 -0000 @@ -139,9 +139,9 @@ :group 'rmail-reply) ;;;###autoload -(defvar rmail-default-dont-reply-to-names "info-" "\ -A regular expression specifying part of the value of the default value of -the variable `rmail-dont-reply-to-names', for when the user does not set +(defvar rmail-default-dont-reply-to-names "\\\\|") "") - (concat (regexp-quote user-login-name) "\\>")))) + (concat "\\<" (regexp-quote user-login-name) "\\>")))) ;; Split up DESTINATIONS and match each element separately. (let ((start-pos 0) (cur-pos 0) (case-fold-search t))