From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57400 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: Kill recipients in To/Cc headers Date: Mon, 17 May 2004 17:45:02 +1000 Sender: ding-owner@lists.math.uh.edu Message-ID: <87n047xzsx.fsf@enki.rimspace.net> References: <87brnhdjqc.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084780244 29555 80.91.224.253 (17 May 2004 07:50:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 07:50:44 +0000 (UTC) Original-X-From: ding-owner+M5940@lists.math.uh.edu Mon May 17 09:50:37 2004 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 1BPctR-0008Cj-00 for ; Mon, 17 May 2004 09:50:37 +0200 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 1BPctD-0001Jl-00; Mon, 17 May 2004 02:50:23 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BPct9-0001Jg-00 for ding@lists.math.uh.edu; Mon, 17 May 2004 02:50:19 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BPct7-0003Px-Je for ding@lists.math.uh.edu; Mon, 17 May 2004 02:50:17 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id E91AC3A01F6 for ; Mon, 17 May 2004 02:50:16 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BPct1-0000MY-00 for ; Mon, 17 May 2004 09:50:16 +0200 Original-Received: from 203-217-29-45.perm.iinet.net.au ([203.217.29.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 May 2004 09:50:11 +0200 Original-Received: from daniel by 203-217-29-45.perm.iinet.net.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 May 2004 09:50:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203-217-29-45.perm.iinet.net.au User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:hOMV3o2JYTu1bN84uIYyzp90aN0= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57400 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57400 On 17 May 2004, Lars Magne Ingebrigtsen wrote: > Kai Grossjohann writes: > >> WIBNI M-k or somesuch command would kill a recipient, when in a To/Cc >> header? > > Yes, it would. Hm; I wonder what's the correct approach to take. > Should the command delete the address under point, or should it > delete up till the next address? It should act as much like 'kill-sentence' as possible, IMO, since that is what it does over in a text-mode or fundamental-mode buffer. Which is to say, it should delete the address under point. [...] > Perhaps something could be done with `mail-header-parse-addresses'? > That'll give us a list of addresses, and then we "only" have to match > that to the address point in "in", and "then" remove "that" "address" > "from" "the" header. Whee. Maybe it is easier to convince that function, or one like it, to return a list of marks that represent the start and end of the address components or something? Daniel -- Any attempt to curb user abuse will only result in more expensive abuse. -- Garret Boer