From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16235 Path: news.gmane.org!not-for-mail From: pedro.alex.silva@gmail.com Newsgroups: gmane.emacs.gnus.user Subject: Generating article numbers in new backends Date: Mon, 8 Apr 2013 15:50:35 -0700 (PDT) Message-ID: <7b005d25-7d36-4143-82d4-1d135b58ef0d@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365461708 13122 80.91.229.3 (8 Apr 2013 22:55:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Apr 2013 22:55:08 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Apr 09 00:55:12 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPKxu-0000Qh-GN for gegu-info-gnus-english@m.gmane.org; Tue, 09 Apr 2013 00:55:06 +0200 Original-Received: from localhost ([::1]:37721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPKxu-0007Ow-2i for gegu-info-gnus-english@m.gmane.org; Mon, 08 Apr 2013 18:55:06 -0400 X-Received: by 10.224.72.199 with SMTP id n7mr6832178qaj.5.1365461436064; Mon, 08 Apr 2013 15:50:36 -0700 (PDT) X-Received: by 10.49.27.5 with SMTP id p5mr1097903qeg.32.1365461436050; Mon, 08 Apr 2013 15:50:36 -0700 (PDT) Original-Path: usenet.stanford.edu!t2no46291715qal.0!news-out.google.com!ef9ni9246qab.0!nntp.google.com!ca1no36778182qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=77.54.70.219; posting-account=9fUN1gkAAADvgNoMrrrrPlM2kESSjMXj Original-NNTP-Posting-Host: 77.54.70.219 User-Agent: G2/1.0 Injection-Date: Mon, 08 Apr 2013 22:50:36 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.gnus:87363 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16235 Archived-At: 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.