Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Daiki Ueno <ueno@unixuser.org>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: rmail-dont-reply-to false positives (was: Reply to Gmane articles [...])
Date: Thu, 06 Mar 2008 00:11:50 +0100	[thread overview]
Message-ID: <v9r6eo9361.fsf_-_@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87tzjl7v2y.fsf@broken.deisui.org> (Daiki Ueno's message of "Wed,  05 Mar 2008 11:39:33 +0900")

On Wed, Mar 05 2008, Daiki Ueno wrote:

>>>>>> In <871w6rowv2.fsf_-_@broken.deisui.org> 
>>>>>>	Daiki Ueno <ueno@unixuser.org> wrote:
>> I usually type `S W' in the summary buffer but it doesn't pick the
>> address from "To: info-gnus-english@gnu.org".  IIRC this happens on
>> Gmane groups only.  Am I missing something?
>
> I tracked this and found the solution: to remove "\\`info-" from
> rmail-dont-reply-to-names fixed the problem.

[I guess you mean `rmail-default-dont-reply-to-names'?]

According to Eli, ``the intent was to remove the "info-*" mailing
lists, which are essentially read-only (you are sent information, but
are not supposed to reply), [...]''. [1], [2]

I think, the default of `rmail-default-dont-reply-to-names' should be
changed to nil.  The current default "\\`info-" (changed from "info"
after [1]?) still leads to unexpected behavior.  As does the
`user-login-name' magic [3].  In contrast to Daiki, an ordinary user
probably won't find out why info-gnus-english is stripped.

Or/and Gnus should bind `rmail-default-dont-reply-to-names' to nil
when calling the function `rmail-dont-reply-to-names' if
`rmail-default-dont-reply-to-names' equals "\\`info-".

,----[ *ielm* ]
| ELISP> (let ((rmail-dont-reply-to-names nil)
| 	     (recipients "info-gnus-english@gnu.org, foo, bar"))
| 	 (rmail-dont-reply-to recipients))
| "foo, bar"
| ELISP> (let ((rmail-default-dont-reply-to-names nil)
| 	     (recipients "info-gnus-english@gnu.org, foo, bar"))
| 	 (rmail-dont-reply-to recipients))
| "info-gnus-english@gnu.org, foo, bar"
`----

While at it, maybe we should introduce `mail-dont-reply-to' (w/o the
info- and user-login-name magic), cf. `mail-utils.el':

;;; The following piece of ugliness is legacy code.  The name was an
;;; unfortunate choice --- a flagrant violation of the Emacs Lisp
;;; coding conventions.  `mail-dont-reply-to' would have been
;;; infinitely better.  Also, `rmail-dont-reply-to-names' might have
;;; been better named `mail-dont-reply-to-names' and sourced from this
;;; file instead of in rmail.el.  Yuck.  -pmr

Bye, Reiner.

[1] http://article.gmane.org/gmane.emacs.gnus.user/3062

[2]
,----[ (info "(gnus)Summary Mail Commands") ]
|    You can exclude certain recipients from being placed automatically in
| the `CC', using the variable `rmail-dont-reply-to-names'.  Its value
| should be a regular expression (as a string); any recipient that the
| regular expression matches, is excluded from the `CC' field.  The
| default value matches your own name, and any name starting with
| `info-'.  (Those names are excluded because there is a convention of
| using them for large mailing lists to broadcast announcements.)
`----

[3]
,----[ *ielm* ]
| ELISP> (let ((user-mail-address nil)
| 	     (user-login-name "ding")
| 	     (rmail-dont-reply-to-names nil)
| 	     (recipients "info-gnus-english@gnu.org, ding@gnus.org"))
| 	 (rmail-dont-reply-to recipients))
| ""
`----
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




      parent reply	other threads:[~2008-03-05 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87bq5w8yzp.fsf@daedalus.guillermoamaral.com>
2008-03-03  8:31 ` No Gnus pgpmime ignores pgg-gpg-use-agent Reiner Steib
     [not found]   ` <871w6rowv2.fsf_-_@broken.deisui.org>
     [not found]     ` <87tzjl7v2y.fsf@broken.deisui.org>
2008-03-05 23:11       ` Reiner Steib [this message]

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=v9r6eo9361.fsf_-_@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=ueno@unixuser.org \
    /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).