From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38560 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: Mon, 03 Sep 2001 20:05:17 -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=us-ascii X-Trace: main.gmane.org 1035174404 23150 80.91.224.250 (21 Oct 2002 04:26:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:26:44 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 3484 invoked from network); 4 Sep 2001 00:05:18 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 4 Sep 2001 00:05:18 -0000 Original-Received: (qmail 4578 invoked by uid 500); 4 Sep 2001 00:05:39 -0000 Mail-Followup-To: ding@gnus.org Original-To: Mail-Copies-To: never In-Reply-To: (Simon Josefsson's message of "Mon, 3 Sep 2001 10:23:12 +0200 (CEST)") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 22 Xref: main.gmane.org gmane.emacs.gnus.general:38560 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38560 Simon Josefsson wrote: > On Sun, 2 Sep 2001, Paul Jarc wrote: >>> Therefore, "nntp:quimby" should work. But it doesn't, only >>> "quimby" works. ... >> (eq (gnus-server-to-method "quimby") (gnus-server-to-method "nntp:quimby")) ... > Don't forget `gnus-method-equal', `gnus-methods-equal-p' etc. `eq' should > probably not be used for comparing methods, I think. Are methods ever copied within Gnus? I suspect not, which would imply that if a method is defined in only one place, eq will give correct results. In this particular case, I wanted to know if they were the same object. If they weren't, then Gnus might be able to deal with that (because it uses g-m-e or g-m-e-p), but it would still be a sign that something was odd. g-m-e and g-m-e-p would return t for two methods defined the same way in two different places - this is useful if you want to let users be sloppy, but not necessarily if you're debugging, or if you're striving to be unsloppy. paul