Gnus development mailing list
 help / color / mirror / Atom feed
From: visigoth@naiad.fac.cs.cmu.edu
Subject: Re: Getting/setting group parameters/info from backends.
Date: 02 Jan 1997 15:50:00 -0500	[thread overview]
Message-ID: <vpdiv5fvm2v.fsf@naiad.fac.cs.cmu.edu> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 02 Jan 1997 16:18:38 +0100

Old business:

Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:

> Why do you need to store that information in the group info?  Most
> other backends store information they need in separate files.  I
> realize that this may be a pain to do with IMAP, since that would make
> things much less portable, but can't you store that in a special
> folder on the IMAP server or something?  (I know nothing about IMAP,
> so just bonk me on the head if I'm raving here...)

Hmm.  I was just trying to find a conveniet place to shove it,
actually.  I was lazy and didn't want to go through the trouble of
making up some sort of separate file to store the info, though I
considered it.  The real problem is that this number that gets stored
is intimately related with the message numbers in the group file.
Without the base uid, message numbers are meaningless.  In any
case--why have two files when you can have one?

As far as putting stuff on the server--I can stow stuff away on the
ACAP server, and I'm considering doing so.  Problem with that for
right now is that the protocols for IMSP/ACAP are in great flux, and
there's no (ahem) server out there for ACAP yet.

I also just wanted something quick.

> The nntp backend just has `nntp-current-group' that says what the
> current group is.  The nnoo stuff will switch between various virtual
> servers for you, so that's no problem.

Yeah--I'm keeping track of stuff in a similar way.  Just trying to
keep all my bases covered.

> > The list appears to be down for now--but I look forward to input when
> > it comes back up. 
> 
> Has it been down?  Eeek!

Could have been some net problem on my side, too, but the machine the
MX record for ifi.uio.no points to wasn't responding to SMTP for some
days, nor was www.ifi.uio.no talking HTTP.  <shrug> But it's all
better now.

> You can call `gnus-group-set-parameter' directly, but that's somewhat
> naughty...

Let's see.  Right now I'm searching through the gnus-newsrc-alist to
find the group, and if I find it, I'm destructively modifying it to
include my information.  I threw this in (again out of laziness) to
avoid fetching the information multiple times--the first time I need
it, I put it into the group info.

I assume this way is even more naughty?

> That's what you're supposed to do -- the return value is just
> discarded.  The documentation here was *very* unclear; I've now fixed
> it. 

Okay.  Good to know.  :)  Thanks for updating the info.

New business:

It's well known that native methods and foreign methods are treated
differently, but I'm not sure I understood exactly how differently.
For some reason, if I set up nnimap as the native method, Gnus decides
that there are no messages in any group.  I'm not actually sure why.
By watching debugging output, I've noticed some things.  First, it
seems like getting the active list is the primary method Gnus uses to
get information about groups on a native server, whereas request-group
is used to get info from foregin groups.  I've also not been able to
figure out exactly when update-info is called for native groups, if at
all.

I'm having fun hacking on this, in any case.  I'm going to try to have
an alpha of nnimap.el available for ftp by Saturday, for anyone who's
interested.

John.


      reply	other threads:[~1997-01-02 20:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-29 11:27 visigoth
1997-01-02 15:18 ` Lars Magne Ingebrigtsen
1997-01-02 20:50   ` visigoth [this message]

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=vpdiv5fvm2v.fsf@naiad.fac.cs.cmu.edu \
    --to=visigoth@naiad.fac.cs.cmu.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).