GNU bug report logs - #18948
24.4; CC mode causes jit-stealth-lock to signal an error

Previous Next

Packages: emacs, cc-mode;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 4 Nov 2014 16:56:01 UTC

Severity: normal

Found in version 24.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 18948 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 18948 <at> debbugs.gnu.org
Subject: Re: bug#18948: 24.4;
 CC mode causes jit-stealth-lock to signal an error
Date: Wed, 05 Nov 2014 05:42:14 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: 18948 <at> debbugs.gnu.org
> Date: Tue, 04 Nov 2014 15:23:17 -0500
> 
> >   Error running timer `jit-lock-stealth-fontify': (args-out-of-range #<buffer buffer.c> 71003 71397)
> 
> Is the error really signaled by jit-lock, or is it just the message that
> comes from jit-lock?

The error is signaled by parse-partial-sexp that is called indirectly
by jit-lock-stealth-fontify, as the backtrace shows.

> At least, the backtraces you show all have an appropriate
> save-restriction, so the jit-lock code itself should never see the
> narrowing.

It doesn't.  It isn't a problem with jit-stealth, this is a problem
with CC mode.




This bug report was last modified 10 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.