From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: bug#16879: 24.3.50; Error running timer `font-latex-jit-lock-force-redisplay' Date: Tue, 25 Feb 2014 15:18:11 +0100 Organization: Sebastien Vauban Message-ID: <86fvn7xom4.fsf@somewhere.org> References: <86mwhfxqmt.fsf@somewhere.org> <87ppmbcn19.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393337960 25298 80.91.229.3 (25 Feb 2014 14:19:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2014 14:19:20 +0000 (UTC) Cc: public-16879-ubl+/3LiMTaZdePnXv/OxA-wOFGN7rlS/M9smdsby/KFg@public.gmane.org To: Nicolas Richard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Tue Feb 25 15:19:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WIIqv-0001nt-BZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Feb 2014 15:19:21 +0100 Original-Received: from localhost ([::1]:35177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIIqu-0002tS-Uo for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Feb 2014 09:19:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIIqk-0002qq-TT for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 25 Feb 2014 09:19:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIIqc-0001TH-BB for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 25 Feb 2014 09:19:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIIqc-0001TC-7z for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 25 Feb 2014 09:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WIIqb-0006gj-Ju for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 25 Feb 2014 09:19:01 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Tue, 25 Feb 2014 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 16879 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16879-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B16879.139333793425696 (code B ref 16879); Tue, 25 Feb 2014 14:19:01 +0000 Original-Received: (at 16879) by debbugs.gnu.org; 25 Feb 2014 14:18:54 +0000 Original-Received: from localhost ([127.0.0.1]:38807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIIqU-0006gO-9c for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 25 Feb 2014 09:18:54 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:35043) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIIqR-0006gF-Ht for 16879-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 25 Feb 2014 09:18:52 -0500 Original-Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WIIqK-0007zS-EF for 16879-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 25 Feb 2014 15:18:44 +0100 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58] helo=mail.missioncriticalit.com) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WIIqA-0007L6-QG for public-16879-ubl+/3LiMTaZdePnXv/OxA-wOFGN7rlS/M9smdsby/KFg@public.gmane.org; Tue, 25 Feb 2014 15:18:34 +0100 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 53C6B500A12; Tue, 25 Feb 2014 15:18:34 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: <87ppmbcn19.fsf-Qt13gs6zZMY@public.gmane.org> (Nicolas Richard's message of "Tue, 25 Feb 2014 14:57:54 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:86179 Archived-At: Hello Nicolas, Nicolas Richard wrote: > Sebastien Vauban writes: >> =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 >> =E2=94=82 Error running timer `font-latex-jit-lock-force-redisplay': >> =E2=94=82 (wrong-number-of-arguments (2 . 2) 3) [2 times] >> =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > The function `font-latex-jit-lock-force-redisplay' is provided by > auctex. This bug was (temporarily) fixed in the auctex repository in > commit 5b5ef6ee. > > Here's the commit msg: > * font-latex.el (font-latex-jit-lock-force-redisplay): Don't rely > on existing `jit-lock-force-redisplay' because recent bzr Emacs > broke compatibility changing the number of arguments. Reported by > Robert Goldman. > > See also bug #14394 > > The fix was temporary. > > Here's the more recent definition of > font-latex-jit-lock-force-redisplay: > (defun font-latex-jit-lock-force-redisplay (buf start end) > "Compatibility for Emacsen not offering `jit-lock-force-redisplay'." > ;; The following block is an expansion of `jit-lock-force-redisplay' > ;; and involved macros taken from CVS Emacs on 2007-04-28. > (with-current-buffer buf > (let ((modified (buffer-modified-p))) > (unwind-protect > (let ((buffer-undo-list t) > (inhibit-read-only t) > (inhibit-point-motion-hooks t) > (inhibit-modification-hooks t) > deactivate-mark > buffer-file-name > buffer-file-truename) > (put-text-property start end 'fontified t)) > (unless modified > (restore-buffer-modified-p nil)))))) > > I suggest you update auctex -- but perhaps using the above definition > will be sufficient. AFAICT, I am up-to-date... with the `latex' ELPA package. Why isn't that package redone, so that such fixes are distributed? Anyway, I'm not really bothered by this problem. My goal was just reporting it, so that it gets eventually fixed. Thanks for your helpful answer. Best regards, Seb --=20 Sebastien Vauban