From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29209 Path: main.gmane.org!not-for-mail From: Gerd Moellmann Newsgroups: gmane.emacs.gnus.general Subject: Re: mail-utils.el (rmail-dont-reply-to) is still buggy Date: Sat, 12 Feb 2000 17:43:59 +0100 (CET) Sender: owner-ding@hpc.uh.edu Message-ID: <200002121643.RAA01313@online.de> References: <200001261607.RAA07804@online.de> <86u2jz7k27.fsf@gerd.segv.de> Reply-To: gerd@gnu.org NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165920 1461 80.91.224.250 (21 Oct 2002 02:05:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:05:20 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 6D193D0520 for ; Sat, 12 Feb 2000 15:21:57 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB16944; Sat, 12 Feb 2000 14:21:48 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 12 Feb 2000 14:21:07 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA28515 for ; Sat, 12 Feb 2000 14:20:56 -0600 (CST) Original-Received: from mout00.kundenserver.de (mout00.kundenserver.de [195.20.224.69]) by mailhost.sclp.com (Postfix) with ESMTP id 47AE1D0520 for ; Sat, 12 Feb 2000 15:20:54 -0500 (EST) Original-Received: from [195.20.224.75] (helo=mrelay00.kundenserver.de) by mout00.kundenserver.de with esmtp (Exim 2.12 #2) id 12JiMx-00015g-00; Sat, 12 Feb 2000 20:38:15 +0100 Original-Received: from p3e9bd367.dip0.t-ipconnect.de ([62.155.211.103] helo=online.de) by mrelay00.kundenserver.de with esmtp (Exim 2.12 #2) id 12JiMp-0007T9-00; Sat, 12 Feb 2000 20:38:07 +0100 Original-Received: (from gerd@localhost) by online.de (8.9.3/8.8.7) id RAA01313; Sat, 12 Feb 2000 17:43:59 +0100 (CET) (envelope-from gerd) Original-To: Jim Meyering In-Reply-To: Jim Meyering's message of "09 Feb 2000 19:22:25 +0100" User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) Emacs/21.0.90 Original-Lines: 27 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29209 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29209 Jim Meyering writes: > Obviously, I don't want the leading comma. > This should fix it diff -c -r1.1 mail-utils.el *** mail-utils.el 2000/02/12 16:37:16 1.1 --- mail-utils.el 2000/02/12 16:42:07 *************** *** 247,253 **** (if (setq pos (string-match "[ ,\t\n]*\\'" userids)) (setq userids (substring userids 0 pos))) ;; remove leading spaces. they bother me. ! (if (string-match "\\s *" userids) (substring userids (match-end 0)) userids))) --- 247,253 ---- (if (setq pos (string-match "[ ,\t\n]*\\'" userids)) (setq userids (substring userids 0 pos))) ;; remove leading spaces. they bother me. ! (if (string-match "\\(\\s \\|,\\)*" userids) (substring userids (match-end 0)) userids)))