From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: .emacs parsing problem Date: Fri, 28 Aug 2009 16:36:54 +0200 Organization: Anevia SAS Message-ID: <7cr5uwqa2h.fsf@pbourguignon.anevia.com> References: <87r5uw2jzg.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251471778 16234 80.91.229.12 (28 Aug 2009 15:02:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2009 15:02:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 17:02:51 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mh2yZ-0002qs-IF for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Aug 2009 17:02:51 +0200 Original-Received: from localhost ([127.0.0.1]:56892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh2yZ-000398-59 for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Aug 2009 11:02:51 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp14-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:5vNyT9IBeG/+a0ExB9ItA1D3XBA= Original-Lines: 46 Original-NNTP-Posting-Date: 28 Aug 2009 16:36:54 MEST Original-NNTP-Posting-Host: 88.170.236.224 Original-X-Trace: 1251470214 news-1.free.fr 8042 88.170.236.224:60858 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:172478 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67620 Archived-At: Anselm Helbig writes: > Hi! > >> I'm getting this error using the CEDET package customizations in my .emacs >> file: >> >> Idle Work Including Error: "# - Wrong type argument: >> number-or-marker-p, (512 39 . 8739)" >> >> What do the numbers at the end of the error message indicate? > > A function was expecting a number or a marker (an object describing a > position in a buffer), but it got the list (512 39 . 8739) instead. I > have no idea where these numbers come from. emacs lisp has no bignums. Integer range is limited to fixnum, which is 27 bits IIRC on 32-bit machines, and 59 bits on 64-bit machines. You can use the following function to determine it: (defun compute-most-positive-fixnum () (loop for p from 0 for i = 1 then n for n = (* 2 i) while (< i n) finally (return (truncate (1- (expt 2.0 p)))))) Some numbers need a bigger range, and therefore need to be represented as a list of numbers. AFAIK, the only case where it's done by emacs, is with dates, as returned by current-time: (current-time) --> (19095 60141 366049) but it returns a proper list, not a dotted list. >> How do I find out what exactly is causing the problem? > > You start emacs with the --debug-init option. And search in the functions listed in the backtrace where the wrong data item may come from. -- __Pascal Bourguignon__