From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66431 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: rmail-dont-reply-to false positives (was: Reply to Gmane articles [...]) Date: Thu, 06 Mar 2008 00:11:50 +0100 Message-ID: References: <87bq5w8yzp.fsf@daedalus.guillermoamaral.com> <871w6rowv2.fsf_-_@broken.deisui.org> <87tzjl7v2y.fsf@broken.deisui.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204758800 24316 80.91.229.12 (5 Mar 2008 23:13:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2008 23:13:20 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 00:13:45 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JX2nv-0005jG-0P for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 00:13:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX2nN-0002Mh-Rw for ged-emacs-devel@m.gmane.org; Wed, 05 Mar 2008 18:13:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JX2nJ-0002Kk-8B for emacs-devel@gnu.org; Wed, 05 Mar 2008 18:13:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JX2nH-0002KL-E2 for emacs-devel@gnu.org; Wed, 05 Mar 2008 18:13:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX2nH-0002KI-BQ for emacs-devel@gnu.org; Wed, 05 Mar 2008 18:13:03 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JX2nF-0000VJ-Eh for emacs-devel@gnu.org; Wed, 05 Mar 2008 18:13:02 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m25NCuhk019970; Thu, 6 Mar 2008 00:12:56 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 6B4C912FE7; Thu, 6 Mar 2008 00:12:56 +0100 (CET) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: Daiki Ueno , ding@gnus.org, emacs-devel@gnu.org In-Reply-To: <87tzjl7v2y.fsf@broken.deisui.org> (Daiki Ueno's message of "Wed, 05 Mar 2008 11:39:33 +0900") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.91 (gnu/linux) X-DCC-dcc.uncw.edu-Metrics: poseidon 1201; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91431 gmane.emacs.gnus.general:66431 Archived-At: On Wed, Mar 05 2008, Daiki Ueno wrote: >>>>>> In <871w6rowv2.fsf_-_@broken.deisui.org> >>>>>> Daiki Ueno 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/