Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: Strange server names confusion
Date: Mon, 03 Sep 2001 20:05:17 -0400	[thread overview]
Message-ID: <m366azn7l8.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <Pine.LNX.4.33.0109031022190.12206-100000@lie.extundo.com> (Simon Josefsson's message of "Mon, 3 Sep 2001 10:23:12 +0200 (CEST)")

Simon Josefsson <jas@extundo.com> 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


  parent reply	other threads:[~2001-09-04  0:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-01 19:06 Kai Großjohann
2001-09-01 19:39 ` Simon Josefsson
2001-09-01 21:59   ` Kai Großjohann
2001-09-02  4:54     ` Paul Jarc
2001-09-02 10:44       ` Kai Großjohann
2001-09-02 23:13         ` Paul Jarc
2001-09-03  8:23           ` Simon Josefsson
2001-09-03 14:17             ` Kai Großjohann
2001-09-03 23:04               ` Paul Jarc
2001-09-04 13:44                 ` Kai Großjohann
2001-09-05  0:55                   ` Paul Jarc
2001-09-04  0:05             ` Paul Jarc [this message]
2001-09-03 10:21           ` Kai Großjohann

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=m366azn7l8.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).