[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20295: 11.88.3; AUCTeX, ESS, Noweb, and "Error running timer `font-l
From: |
Bourgoin, Mario |
Subject: |
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)" |
Date: |
Mon, 13 Apr 2015 19:14:30 +0000 |
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 <address@hidden>
;; Simon Marshall <address@hidden>
;; Maintainer: address@hidden
;; 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 \"address@hidden
@ \"9\312\211:;\312\211<=\312\211>address@hidden:
----
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 <address@hidden>
;; 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:address@hidden
Sent: Friday, April 10, 2015 5:27 PM
To: Bourgoin, Mario
Cc: address@hidden
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" <address@hidden> 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
- 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, 2015/04/10
- 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)", Tassilo Horn, 2015/04/10
- 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 <=