Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai Grossjohann <grossjoh@charly.informatik.uni-dortmund.de>
Cc: ding@ifi.uio.no
Subject: Re: Q: Extending nntp (for nndb)
Date: 27 Mar 1996 08:34:34 +0100	[thread overview]
Message-ID: <vafloknugz9.fsf@dusty.informatik.uni-dortmund.de> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 27 Mar 1996 04:49:37 +0000

>>>>> On 27 Mar 1996 04:49:37 +0000, Lars Magne Ingebrigtsen
>>>>> <larsi@ifi.uio.no> said:

  Lars> By "data", the manual means "data in the nntpd buffer".  I
  Lars> forgot to mention the function return value.

I see.  By  reading a bit more, I found that there is in fact one
function where the return value is mentioned: a list of article
numbers.  Can I assume that this is the same for other functions?

  Lars> The `*-open-server' function sets all variables in the
  Lars> backend.  So all the other functions can assume that they are
  Lars> working on variables local to the current virtual server.

So if I were to add to the nntp.el file a new function, said function
could just use the variable nntp-address to get the name of the nntp
server?

  Kai> Maybe this was a completely stupid approach of doing it?
  Kai> Should I've copied nntp.el then change every occurrence of
  Kai> "nntp" to "nndb", then change the defaults at will?

  Lars> Yes, probably.  nndb and nntp are sufficiently different that
  Lars> there probably should be a new nndb.el file.

Really?  Please note that nndb offers a superset of the nntp protocol.
Therefore, the nntp subset would have to be maintained twice if the
two were completely independent nndb.el and nntp.el files.  Well, I
don't like this idea, but you're the guru, so I'll comply.

Why is ELisp not object-oriented?

        kai
--
There ain't no cure for the summer time blues.


  reply	other threads:[~1996-03-27  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-26 10:37 Kai Grossjohann
1996-03-27  4:49 ` Lars Magne Ingebrigtsen
1996-03-27  7:34   ` Kai Grossjohann [this message]
1996-03-27  8:11     ` Per Abrahamsen
1996-03-29 16:10     ` Lars Magne Ingebrigtsen

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=vafloknugz9.fsf@dusty.informatik.uni-dortmund.de \
    --to=grossjoh@charly.informatik.uni-dortmund.de \
    --cc=ding@ifi.uio.no \
    /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).