emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 24.0.50; args-out-of-range while reverting C++ header file


From: Alan Mackenzie
Subject: Re: 24.0.50; args-out-of-range while reverting C++ header file
Date: Sat, 9 Oct 2010 13:46:33 +0000
User-agent: Mutt/1.5.9i

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
> <make some big modification on disk to the file>
> 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-buffer<CR>yes

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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]