From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: 24.0.50; args-out-of-range while reverting C++ header file Date: Sat, 9 Oct 2010 13:46:33 +0000 Message-ID: <20101009134633.GA3283@muc.de> References: <87zkuo2djr.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286631635 15006 80.91.229.12 (9 Oct 2010 13:40:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2010 13:40:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Oscar Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 09 15:40:34 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P4Zf8-0007GP-9k for ged-emacs-devel@m.gmane.org; Sat, 09 Oct 2010 15:40:34 +0200 Original-Received: from localhost ([127.0.0.1]:43681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4Zf7-0001Pn-QJ for ged-emacs-devel@m.gmane.org; Sat, 09 Oct 2010 09:40:33 -0400 Original-Received: from [140.186.70.92] (port=48758 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4Zf2-0001Ph-6p for emacs-devel@gnu.org; Sat, 09 Oct 2010 09:40:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4Zf1-0002nG-4M for emacs-devel@gnu.org; Sat, 09 Oct 2010 09:40:28 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:3539 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4Zf0-0002n4-PL for emacs-devel@gnu.org; Sat, 09 Oct 2010 09:40:27 -0400 Original-Received: (qmail 49921 invoked by uid 3782); 9 Oct 2010 13:33:43 -0000 Original-Received: from acm.muc.de (pD9E5076A.dip.t-dialin.net [217.229.7.106]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 09 Oct 2010 15:33:40 +0200 Original-Received: (qmail 3507 invoked by uid 1000); 9 Oct 2010 13:46:33 -0000 Content-Disposition: inline In-Reply-To: <87zkuo2djr.fsf@telefonica.net> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131527 Archived-At: Hi, Oscar On Sat, Oct 09, 2010 at 06:30:32AM +0200, Oscar Fuentes wrote: > emacs -Q > C-x C-f some-moderately-big-header-file.h > > M-x revert-buffer > Lisp error: (args-out-of-range 580 36722) I do this, but can't reproduce the error. Can you please be precise about which file.h triggers the problem (send me a copy of it if it's outside of Emacs, please) and what the "big modification" is. I built the latest Emacs-24 last night. I tried it with loading .../emacs/src/lisp.h, then M-5 M-> M-< C-w M-x revert-bufferyes So, what file (?ffi.h) was it, please, and what did you do to it? This error message has been thrown before in the medium past, but I think this is something new. > The buffer is left semi-reverted, on an edited state. Doing a M-x > revert-buffer again works ok. > Setting debug-on-error to t shows this: > Debugger entered--Lisp error: (args-out-of-range 580 36722) > remove-text-properties(580 36722 (category)) > c-clear-char-property-with-value-function(1 36722 category c-cpp-delimiter) > c-neutralize-syntax-in-and-mark-CPP(174 174 36141) > c-after-change(174 174 36141) > insert-file-contents("/home/oscar/dev/idb/lp0/ffi.h" t nil nil t) > revert-buffer(t) > call-interactively(revert-buffer t nil) > execute-extended-command(nil) > call-interactively(execute-extended-command nil nil) > In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, X toolkit) > of 2010-09-16 on qcore -- Alan Mackenzie (Nuremberg, Germany).