Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Andreas Most <Andreas.Most@nospam.invalid>
To: info-gnus-english@gnu.org
Subject: Re: Problem with large UID numbers
Date: Mon, 16 Mar 2009 11:18:20 +0100	[thread overview]
Message-ID: <87ab7llqj7.fsf@nospam.invalid> (raw)
In-Reply-To: <877i2sxrmy.fsf@nospam.invalid>

Andreas Most <Andreas.Most@nospam.invalid> writes:

> Hi,
>
> I am having problems with getting Mail from web.de.
> The symptons were that gnus showed an unrealistic large number of
> articles for the imap folders that contained messages. Entering such a
> folder led to an error stating that there is a problem with a TLS packet
> size. 
>
> I could figure out by taking a tcpdump trace while accessing my mail
> with thunderbird that the problem is quite large UID numbers like e.g.:
>
> * 30 FETCH (FLAGS (\Recent \Seen) UID 591821746)
> * 31 FETCH (FLAGS (\Recent \Seen) UID 606333535)
> * 32 FETCH (FLAGS (\Recent \Seen) UID 608638667)
>
> In imap.el the UIDs are stored in integer variables, but according to
> the elisp manual integer variables have a size of only 28 bits, i.e. the
> largest number that can be used is 268435455. 
>
> I guess the same problem is also present for pop3 access, which I
> haven't tried. I found an old posting where someone reported a
> problem with pop3 access to web.de but there was no solution given.
>
> Any ideas what I can do here apart from stopping using web.de?

I found the following comment in the code:

;; Todo:
;;
;; o Parse UIDs as strings? We need to overcome the 28 bit limit somehow.

That doesn't solve the problem but it answers the question...

As I have read in the EmacsWiki there seems to be a general problem with
the limited size:
http://www.emacswiki.org/emacs/EmacsFileSizeLimit

Maybe it is possible to use floating point variables instead of integer
as a workaround.

Andreas.

--
AndreasDotMostAtGmailDotCom

  reply	other threads:[~2009-03-16 10:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 11:36 Andreas Most
2009-03-16 10:18 ` Andreas Most [this message]
2009-03-20 19:15   ` Ted Zlatanov

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=87ab7llqj7.fsf@nospam.invalid \
    --to=andreas.most@nospam.invalid \
    --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).