GNU bug report logs -
#20295
11.88.3; AUCTeX, ESS, Noweb, and "Error running timer `font-latex-jit-lock-force-redisplay': (wrong-number-of-arguments (2 . 2) 3)"
Previous Next
Reported by: "Bourgoin, Mario" <Mario.Bourgoin <at> emc.com>
Date: Fri, 10 Apr 2015 17:49:02 UTC
Severity: normal
Tags: moreinfo
Found in version 11.88.3
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Tassilo,
Thank you for answering.
> What does `C-h f font-latex-jit-lock-force-redisplay' show?
I get
----
font-latex-jit-lock-force-redisplay is a compiled Lisp function in `font-latex.el'.
(font-latex-jit-lock-force-redisplay BUF START END)
Compatibility for Emacsen not offering `jit-lock-force-redisplay'.
----
The file `font-latex.el' has the following in its header:
;; Authors: Peter S. Galbraith <psg <at> debian.org>
;; Simon Marshall <Simon.Marshall <at> esrin.esa.it>
;; Maintainer: auctex-devel <at> gnu.org
;; Created: 06 July 1996
;; Keywords: tex, wp, faces
The error's back trace when debug-on-error is t shows the following:
----
Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 3)
jit-lock-force-redisplay(#<buffer foo.Rnw> 48 60)
font-latex-jit-lock-force-redisplay(#<buffer foo.Rnw> 48 60)
apply(font-latex-jit-lock-force-redisplay (#<buffer foo.Rnw> 48 60))
byte-code("r\301\302H\303H\"\210)\301\207" [timer apply 5 6] 4)
timer-event-handler([t 21804 4831 916000 nil font-latex-jit-lock-force-redisplay (#<buffer foo.Rnw> 48 60) nil 0])
read-string("Label: " "sec:foo")
byte-code("\306 \"\211A@\307\n8\310\311!\306
@ \"9\312\211:;\312\211<=\312\211>?\312@\313\n8\204:
----
And `C-h f jit-lock-force-redisplay' reveals:
----
jit-lock-force-redisplay is a compiled Lisp function in `jit-lock.el'.
(jit-lock-force-redisplay START END)
Force the display engine to re-render START's buffer from START to END.
This applies to the buffer associated with marker START.
----
The file `jit-lock.el' gas the following in its header:
;; Author: Gerd Moellmann <gerd <at> gnu.org>
;; Keywords: faces files
;; Package: emacs
;; This file is part of GNU Emacs.
Indeed, the definition of ` font-latex-jit-lock-force-redisplay' begins as follows:
----
(defun font-latex-jit-lock-force-redisplay (buf start end)
"Compatibility for Emacsen not offering `jit-lock-force-redisplay'."
(if (fboundp 'jit-lock-force-redisplay)
(jit-lock-force-redisplay buf start end)
----
So it calls the apparently two-argument jit-lock-force-redisplay with three arguments.
Mario Bourgoin
Senior Data Scientist - Hopkinton
EMC CTD Symmetrix uCode
(508) 249-1297 Direct
-----Original Message-----
From: Tassilo Horn [mailto:tsdh <at> gnu.org]
Sent: Friday, April 10, 2015 5:27 PM
To: Bourgoin, Mario
Cc: 20295 <at> debbugs.gnu.org
Subject: Re: bug#20295: 11.88.3; AUCTeX, ESS, Noweb, and "Error running timer `font-latex-jit-lock-force-redisplay': (wrong-number-of-arguments (2 . 2) 3)"
"Bourgoin, Mario" <Mario.Bourgoin <at> emc.com> writes:
Hi Mario,
> Error running timer `font-latex-jit-lock-force-redisplay':
> (wrong-number-of-arguments (2 . 2) 3)
>
> Package: 11.88.3
The error says that `font-latex-jit-lock-force-redisplay' was called with a wrong number of arguments, and that 3 arguments where given. But three is the right number of arguments!
What does `C-h f font-latex-jit-lock-force-redisplay' show? I think you have a redefinition of that function with a different number of args laying around somewhere.
Bye,
Tassilo
This bug report was last modified 1 year and 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.