From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31855 Path: main.gmane.org!not-for-mail From: Steve Harris Newsgroups: gmane.emacs.gnus.general Subject: Re: (provide 'nnmaildir) Date: 19 Jul 2000 08:36:19 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: <20000715005611.8018.qmail@multivac.student.cwru.edu> <20000717182810.13970.qmail@multivac.student.cwru.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168219 16434 80.91.224.250 (21 Oct 2002 02:43:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:43:39 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id D0B49D051F for ; Wed, 19 Jul 2000 11:40:39 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAC25412; Wed, 19 Jul 2000 10:36:58 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 19 Jul 2000 10:36:05 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA22301 for ; Wed, 19 Jul 2000 10:35:47 -0500 (CDT) Original-Received: from horus.primus.com (seafw01.primus.com [206.253.199.40]) by mailhost.sclp.com (Postfix) with ESMTP id AC462D051F for ; Wed, 19 Jul 2000 11:36:21 -0400 (EDT) Original-Received: from hodge.primus.com (hodge.primus.com [172.27.150.60]) by horus.primus.com (8.8.8+Sun/8.8.8) with ESMTP id IAA20687 for ; Wed, 19 Jul 2000 08:36:10 -0700 (PDT) Original-Received: (from sharris@localhost) by hodge.primus.com (8.8.8+Sun/8.8.8) id IAA16468; Wed, 19 Jul 2000 08:36:20 -0700 (PDT) X-Authentication-Warning: hodge.primus.com: sharris set sender to sharris@primus.com using -f Original-To: ding@gnus.org In-Reply-To: Simon Josefsson's message of "18 Jul 2000 18:34:55 +0200" Original-Lines: 56 User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Canyonlands) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31855 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31855 Simon Josefsson writes: [...] > There are at least four solutions to the large-UIDs-from-IMAP-server > problem (I'm not saying they are good or realistic): > > . Make elisp integers hold at least 32 bit integers and re-write > gnus-range.el in C to make it fast. > > . Implement the translation back and forth between gnus-article number > and imap-article number, within nnimap. [...] > . make Gnus accept non-integer article references. > > This might be a good thing anyway (think of using URLs to > reference articles), but you'd still need to do most of the > work in the previous point though. Yes, I was thinking of something like putting the huge UIDs in a hash table as strings, or building a map of UID (as string) => small(er), contiguous number That is, to stop thinking of the UID as a number. I can see how that's similar to the "translation" bullet above. Is the problem that nnimap eventually has to send ranges of these UIDs, and thus must understand them *as numbers* at some point? Also, does nnimap care - so far as talking to Gnus - whether one UID is greater than another? That is, what is the most salient property of the UID - its uniqueness or its comparative relation to other UIDs? If it's the former, then maybe we can try kicking more holes in the "treat-UID-as-string" idea. Are there other protocols that Emacs has trouble with due to its 28-bit integers? I noticed that the IMAP4 spec. requires 32 bits for both UIDs and the UIDVALIDITY number. How does nnimap handle UIDVALIDITY? Is it just a string compare to see if it changed? > . change/modify your server. > > Since nnmaildir seem to be coming, it might be a more realistic > solution for you. This one's confusing. Will nnmaildir be able to talk IMAP, or do you mean that nnmaildir would work for a local maildir spool? Since I'm connecting to my mail host from afar, I need IMAP. -- Steven E. Harris Primus Knowledge Solutions, Inc. http://www.primus.com