From: Jonas Steverud <tvrud@bredband.net>
Subject: Re: Kill recipients in To/Cc headers
Date: Mon, 01 Mar 2004 10:12:43 +0100 [thread overview]
Message-ID: <m2brnhaq2c.fsf@Neocortex.local> (raw)
In-Reply-To: <87brnhdjqc.fsf@emptyhost.emptydomain.de> (Kai Grossjohann's message: 01:15 +0100")
Kai Grossjohann <kai@emptydomain.de> 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 )
next prev parent reply other threads:[~2004-03-01 9:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-01 9:01 Kai Grossjohann
2004-03-01 9:12 ` Jonas Steverud [this message]
2004-03-01 20:01 ` Karl Pflästerer
2004-05-16 16:59 ` Lars Magne Ingebrigtsen
2004-05-17 7:45 ` Daniel Pittman
2004-05-17 11:15 ` Kai Grossjohann
2004-05-17 11:54 ` Lars Magne Ingebrigtsen
2004-05-17 21:47 ` Danny Siu
2004-05-17 22:05 ` Lars Magne Ingebrigtsen
2004-05-17 0:34 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2brnhaq2c.fsf@Neocortex.local \
--to=tvrud@bredband.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).