unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: RMAIL against Texinfo
Date: Sun, 01 Feb 2004 22:51:31 +0100	[thread overview]
Message-ID: <87isiq5uzg.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: 2914-Sun01Feb2004191602+0200-eliz@elta.co.il

"Eli Zaretskii" <eliz@elta.co.il> writes:

> That seems like a simple bug to me: the intent was to remove the
> "info-*" mailing lists, which are essentially read-only (you are sent
> information, but are not supposed to reply), so the regexp should
> have been anchored at the beginning of a word, like this:
>
>     "\\<info-\\|\\<eliz@elta\\.co\\.il\\>\\|\\<eliz\\>"
>
> (I think my username and email addresses should get the same anchors,
> to avoid filtering out someone whose username happens to be "noteliz",
> for example.)

This will still remove frumple-info and tex-info from the list of
addresses.

Also, there is experience with nnmail-fancy-split in Gnus, which
automatically surrounds regexes with \\< and \\>.  Users are supposed
to say ".*foo.*" if they want to undo the effect of \\<...\\>.  But
after some years it turned out that this didn't always work, and now
there is additional code in the function supporting nnmail-split-fancy
which checks for the regex starting with ".*"...  I forgot what
exactly was the problem, though.

I'm afraid that with a similar change for rmail-dont-reply-to-names,
you might fall into similar traps.  And it doesn't even cover all
cases.

A "real" solution might have to parse email addresses such that the
rules can be formulated in an unambiguous way.

Maybe it's useful to also talk with the Gnus folks, since the same
problem happens there (though in a different context).

Kai

PS: nnmail-fancy-split allows you to express which incoming emails
    should go into which group (or mail file, or folder, or ... well,
    I hope you understand what I mean).  So it does something very
    different, but it also matches regexes against email addresses.

  reply	other threads:[~2004-02-01 21:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-01 17:16 RMAIL against Texinfo Eli Zaretskii
2004-02-01 21:51 ` Kai Grossjohann [this message]
2004-02-02  5:59   ` Eli Zaretskii
2004-02-02  7:33     ` Kai Grossjohann
2004-02-02 19:04       ` Eli Zaretskii
2004-02-03  8:34         ` Kai Grossjohann
2004-02-03 10:13           ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87isiq5uzg.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).