From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56465 Path: main.gmane.org!not-for-mail From: Jonas Steverud Newsgroups: gmane.emacs.gnus.general Subject: Re: Kill recipients in To/Cc headers Date: Mon, 01 Mar 2004 10:12:43 +0100 Organization: The Deciples of Albericht Nibelungen Sender: ding-owner@lists.math.uh.edu Message-ID: 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 1078132380 18045 80.91.224.253 (1 Mar 2004 09:13:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Mar 2004 09:13:00 +0000 (UTC) Original-X-From: ding-owner+M5006@lists.math.uh.edu Mon Mar 01 10:12:54 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 1AxjTp-00017n-00 for ; Mon, 01 Mar 2004 10:12:54 +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 1AxjTf-00053b-00; Mon, 01 Mar 2004 03:12:43 -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 1AxjTb-00053W-00 for ding@lists.math.uh.edu; Mon, 01 Mar 2004 03:12:39 -0600 Original-Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by justine.libertine.org (Postfix) with ESMTP id 1AE783A0040 for ; Mon, 1 Mar 2004 03:12:38 -0600 (CST) Original-Received: from Neocortex.local.bredband.net ([213.114.83.165] [213.114.83.165]) by mxfep02.bredband.com with ESMTP id <20040301091236.GYJV1965.mxfep02.bredband.com@Neocortex.local.bredband.net> for ; Mon, 1 Mar 2004 10:12:36 +0100 Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: <87brnhdjqc.fsf@emptyhost.emptydomain.de> (Kai Grossjohann's message: 01:15 +0100") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (darwin) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56465 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56465 Kai Grossjohann writes: > WIBNI M-k or somesuch command would kill a recipient, when in a To/Cc > header? Wouldn't it be possible to implement something like kill-sexp? (defun message-kill-recepient (NumOfRec) "Blah blah" (interactive) (let ((opoint (point))) (message-forward-receptient (or NumOfRec 1)) (kill-region opoint (point)))) ;; IMHO, delete-region should be an option The trick is to implement message-forward-receptient (which is a nice side-effect of this). Is it sufficent to look for a comma or is commas allowed in the name? Hmm. Now that I think of it I think I've seen commans in the name part of the adresses. I think this goes beyond me. :-( -- ( http://hem.bredband.net/steverud/ ! Wei Wu Wei ) ( Meaning of U2 Lyrics, Roleplaying ! To Do Without Do )