GNU bug report logs -
#15611
24.3; "args out of range" error in C mode fontification
Previous Next
Reported by: Gareth Rees <gdr <at> garethrees.org>
Date: Mon, 14 Oct 2013 17:28:02 UTC
Severity: normal
Tags: fixed
Found in version 24.3
Fixed in version 24.5
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15611 in the body.
You can then email your comments to 15611 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15611
; Package
emacs
.
(Mon, 14 Oct 2013 17:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gareth Rees <gdr <at> garethrees.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 14 Oct 2013 17:28:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In a fresh emacs -Q, I opened the file test.c, which has the following contents:
void a()
{
#define b() \
c \
d(e, (f)); \
g
}
I typed
M-: (font-lock-fontify-region 1 (point-max)) RET
and the following error was signalled:
Error during redisplay: (jit-lock-function 1) signaled (args-out-of-range 39 55)
I expect C mode not to signal an error in this case.
(I'm running GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13.)
--
Gareth Rees
Merged 15611 16695.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 Feb 2014 20:15:02 GMT)
Full text and
rfc822 format available.
Disconnected #15611 from all other report(s).
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 Feb 2014 20:16:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15611
; Package
emacs,cc-mode
.
(Sun, 06 Mar 2016 06:36:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 15611 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Gareth Rees <gdr <at> garethrees.org> writes:
> In a fresh emacs -Q, I opened the file test.c, which has the following
contents:
>
> void a()
> {
> #define b() \
> c \
> d(e, (f)); \
> g
> }
>
> I typed
>
> M-: (font-lock-fontify-region 1 (point-max)) RET
>
> and the following error was signalled:
>
> Error during redisplay: (jit-lock-function 1) signaled
(args-out-of-range 39 55)
>
> I expect C mode not to signal an error in this case.
>
> (I'm running GNU Emacs 24.3.1 (x86_64-apple-darwin, NS
apple-appkit-1038.36) of 2013-03-13.)
When I attempted to recreate this in a build from the emacs-24 git branch
today, I do not see the error in the bug report. I do, however, see a
message echoed:
(jit-lock-bounds 1 . 55)
GNU Emacs 25.0.92.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version
10.9.5 (Build 13F1507))
of 2016-03-05
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15611
; Package
emacs,cc-mode
.
(Wed, 07 Aug 2019 16:14:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 15611 <at> debbugs.gnu.org (full text, mbox):
tags 15611 fixed
close 15611 24.5
quit
>> M-: (font-lock-fontify-region 1 (point-max)) RET
>>
>> and the following error was signalled:
>>
>> Error during redisplay: (jit-lock-function 1) signaled (args-out-of-range 39 55)
>>
>> I expect C mode not to signal an error in this case.
>>
>> (I'm running GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13.)
>
> When I attempted to recreate this in a build from the emacs-24 git branch
> today, I do not see the error in the bug report. I do, however, see a
> message echoed:
> (jit-lock-bounds 1 . 55)
Which is fine. This bug seems to have been fixed in 24.5.
Added tag(s) fixed.
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 07 Aug 2019 16:14:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 24.5, send any further explanations to
15611 <at> debbugs.gnu.org and Gareth Rees <gdr <at> garethrees.org>
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 07 Aug 2019 16:14:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 05 Sep 2019 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.