From: pedro.alex.silva@gmail.com
To: info-gnus-english@gnu.org
Subject: Generating article numbers in new backends
Date: Mon, 8 Apr 2013 15:50:35 -0700 (PDT) [thread overview]
Message-ID: <7b005d25-7d36-4143-82d4-1d135b58ef0d@googlegroups.com> (raw)
Hello,
I'm writing a backend in which articles come in with SQL ids. These are
monotonic, and unique even over groups. My understanding is that this
is suitable, but breaks some things. For example, upon implementing
`nnmybackend-request-list', I noticed that the active file format that
this function produces makes Gnus incorrrectly guess the number of
articles in every group.
Is the above harmless and can I just use these SQL IDs for article
numbers? If not, what is the best practice for generating Gnus-specific
article numbers? I've not been able to find documentation on any helper
functions for this. I perused nnimap and nnrss's source, but it's been
of no help.
Must I keep a local mapping of SQL IDs to Gnus article numbers? Can I
use the registry for that purpose?
Thanks,
--
Pedro
PS: I'm having problems with posting via eternal-september and email, so I'm trying Google Groups this time. Apologies in case of multiple postings.
next reply other threads:[~2013-04-08 22:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 22:50 pedro.alex.silva [this message]
2013-08-01 12:19 ` 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=7b005d25-7d36-4143-82d4-1d135b58ef0d@googlegroups.com \
--to=pedro.alex.silva@gmail.com \
--cc=info-gnus-english@gnu.org \
/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).