From: Daniel Pittman <daniel@rimspace.net>
Subject: Re: Kill recipients in To/Cc headers
Date: Mon, 17 May 2004 17:45:02 +1000 [thread overview]
Message-ID: <87n047xzsx.fsf@enki.rimspace.net> (raw)
In-Reply-To: <m3brknzyti.fsf@quimbies.gnus.org>
On 17 May 2004, Lars Magne Ingebrigtsen wrote:
> Kai Grossjohann <kai@emptydomain.de> 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
next prev parent reply other threads:[~2004-05-17 7:45 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
2004-03-01 20:01 ` Karl Pflästerer
2004-05-16 16:59 ` Lars Magne Ingebrigtsen
2004-05-17 7:45 ` Daniel Pittman [this message]
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=87n047xzsx.fsf@enki.rimspace.net \
--to=daniel@rimspace.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).