From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54837 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.gnus.general Subject: Re: follow-up & CC Date: Tue, 18 Nov 2003 13:50:30 -0500 Organization: disorganization Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069181493 28443 80.91.224.253 (18 Nov 2003 18:51:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2003 18:51:33 +0000 (UTC) Original-X-From: ding-owner+M3377@lists.math.uh.edu Tue Nov 18 19:51:30 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMAwk-0004DS-00 for ; Tue, 18 Nov 2003 19:51:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AMAw0-0003Wd-00; Tue, 18 Nov 2003 12:50:44 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AMAvr-0003WV-00 for ding@lists.math.uh.edu; Tue, 18 Nov 2003 12:50:35 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id A9ED43A0045 for ; Tue, 18 Nov 2003 12:50:34 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AMAvp-0003mc-00 for ; Tue, 18 Nov 2003 19:50:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMAvm-0003mU-00 for ; Tue, 18 Nov 2003 19:50:30 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AMAvm-0007M7-00 for ; Tue, 18 Nov 2003 19:50:30 +0100 Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:jacsZzXrTwOwGeKIqjHPWFRTMJg= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54837 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54837 > * Reiner Steib <4.hpr.03.e.f@aheshrefcnz.qr> [2003-11-18 17:05:42 +0100]: > >> + when (and old-header (string-match new-header old-header)) > > Hm, another problem here. Say, I have "To: bar@foo.invalid.my.domain" > in the current message. Then, the following examples wont work as > expected: > > - (message-carefully-insert-headers '((To . "bar@foo.invalid"))) > > - (message-carefully-insert-headers '((To . "ar@foo.invalid.my.domain"))) > > - (setq case-fold-search nil) > (message-carefully-insert-headers '((To . "bar@FOO.INVALID.my.domain"))) > > Maybe it would be better to use something like (gnus-string-equal (nth > 1 (mail-extract-address-components ...))). it depends on what you want. I wouldn't want to see _both_ "bar@foo.invalid" and "bar@foo.invalid.my.domain", I would prefer to either pick the shortest or the "correct" one or... -- Sam Steingold (http://www.podval.org/~sds) running w2k Just because you're paranoid doesn't mean they AREN'T after you.