From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38609 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: Strange server names confusion Date: Tue, 04 Sep 2001 20:55:05 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035174445 23419 80.91.224.250 (21 Oct 2002 04:27:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:27:25 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 26727 invoked from network); 5 Sep 2001 00:55:08 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 5 Sep 2001 00:55:08 -0000 Original-Received: (qmail 32019 invoked by uid 500); 5 Sep 2001 00:55:27 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 04 Sep 2001 15:44:42 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 23 Xref: main.gmane.org gmane.emacs.gnus.general:38609 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38609 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) wrote: > So maybe the Gnus source should be searched for rogue occurrences of > gnus-method-equal and gnus-methods-equal-p (what's the difference?). Well, one is a function, and one is a macro, though it's not clear why. gnus-methods-equal-p considers (nnchoke "foo") to be equal to (nnchoke "foo" (param value)) if nnchoke uses 'address in gnus-declare-backend. If it doesn't, then all nnchoke methods are equal for g-m-e-p. For gnus-method-equal, two methods are equal when they have the same backend and following list elements are equal, but in a possibly different order. g-m-e-p also interprets nil arguments as gnus-select-method, unlike g-m-e. > I'm guessing that Gnus should use gnus-server-equal in most places. > What do you think? I'd like it if Gnus were less tolerant of sloppiness. Then it'd be harder for users to make a mess of their configurations. So if a list is found where a string is expected (or vice versa), there should be a nice error message telling the user how to fix the problem. paul