From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77470 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Debugger entered--Lisp error: (overflow-error "13419098521433281274") Date: Wed, 02 Mar 2011 22:02:21 +0100 Message-ID: <87k4ghi6ci.fsf@member.fsf.org> References: <87lj0x4k59.fsf@fastmail.fm> <87lj0x72ce.fsf@member.fsf.org> <87aahdmg51.fsf@lifelogs.com> <87oc5ti7js.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299099759 21894 80.91.229.12 (2 Mar 2011 21:02:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 21:02:39 +0000 (UTC) Cc: Ted Zlatanov , ding@gnus.org To: Andreas Schwab Original-X-From: ding-owner+M25793@lists.math.uh.edu Wed Mar 02 22:02:34 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PutBo-0005GL-PJ for ding-account@gmane.org; Wed, 02 Mar 2011 22:02:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PutBk-0008Q7-7s; Wed, 02 Mar 2011 15:02:28 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PutBi-0008Pl-NZ for ding@lists.math.uh.edu; Wed, 02 Mar 2011 15:02:26 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PutBh-0004od-Lr for ding@lists.math.uh.edu; Wed, 02 Mar 2011 15:02:26 -0600 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PutBg-0005Lj-I4 for ding@gnus.org; Wed, 02 Mar 2011 22:02:24 +0100 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id CDBBA2087C; Wed, 2 Mar 2011 16:02:23 -0500 (EST) Original-Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Wed, 02 Mar 2011 16:02:23 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=mA5G4zpRAuCcjzE4dV5bQvcAxf8=; b=X0W3tdY2gWlV71GsPt/gxLWVvBGqSHTIu+7pRZq/6z29vyACpbS32D+5T6EfiWUjyfC9Y4iTucOhzWD6GwaRXLEOZfDjoxnSTIEOboVcjwSbGrgb2YSt4Sr0vv51q3uhj1ddQYltvECTM7sWdB0UoNfMuUdwgYJPFNpFPbbQTP8= X-Sasl-enc: 9BhaMSJviViOP0gdw6BmS2rz7DQiLpyU7/I0hTYzFQVX 1299099743 Original-Received: from thinkpad (95-88-32-105-dynip.superkabel.de [95.88.32.105]) by mail.messagingengine.com (Postfix) with ESMTPA id BB2A0442F3E; Wed, 2 Mar 2011 16:02:22 -0500 (EST) In-Reply-To: (Andreas Schwab's message of "Wed, 02 Mar 2011 21:52:38 +0100") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77470 Archived-At: Andreas Schwab writes: >> But that huge number is not used by gnus, anyway. It is `read' but >> only the UID and FLAGS values are saved. So IMHO, the proper fix is >> to put a condition-case around the `read' that picks the UID and >> FLAGS with string-matching if an overflow-error occurs. > > That won't work since you won't be able to read the rest either (since > it is read as a single sexp). A possible fix would be to insert a > space into the middle of any number sequence that is longer than 9 > digits. I don't get you. My idea was to try a `read', and if that errors, use `search-forward' and `looking-at' to get the UID and FLAGS values without having to `read' them as lisp objects. Bye, Tassilo