From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.auctex.bugs Subject: bug#14394: jit-lock-force-redisplay redefinition breaks jit fontification in auctex Date: Mon, 13 May 2013 19:11:55 +0300 Message-ID: <83zjvy97w4.fsf@gnu.org> References: <87obcftero.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1368461563 955 80.91.229.3 (13 May 2013 16:12:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 16:12:43 +0000 (UTC) Cc: bug-auctex@gnu.org, 14394@debbugs.gnu.org To: Antoine Levitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 13 18:12:42 2013 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 1UbvMg-0007h4-DL for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2013 18:12:42 +0200 Original-Received: from localhost ([::1]:35562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbvMf-0007wg-TP for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2013 12:12:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbvMc-0007wD-9S for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 12:12:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbvMZ-0000dx-EV for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 12:12:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbvMZ-0000dq-AM for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 12:12:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UbvN0-00085g-L2 for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 12:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2013 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14394 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14394-submit@debbugs.gnu.org id=B14394.136846155931047 (code B ref 14394); Mon, 13 May 2013 16:13:02 +0000 Original-Received: (at 14394) by debbugs.gnu.org; 13 May 2013 16:12:39 +0000 Original-Received: from localhost ([127.0.0.1]:38812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbvMb-00084h-Tw for submit@debbugs.gnu.org; Mon, 13 May 2013 12:12:38 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:33532) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbvMX-00084J-RZ for 14394@debbugs.gnu.org; Mon, 13 May 2013 12:12:34 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MMQ00B00VIVKI00@a-mtaout23.012.net.il> for 14394@debbugs.gnu.org; Mon, 13 May 2013 19:12:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MMQ00BHVVO4KC10@a-mtaout23.012.net.il>; Mon, 13 May 2013 19:12:04 +0300 (IDT) In-reply-to: <87obcftero.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.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@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74207 gmane.emacs.auctex.bugs:2025 Archived-At: > From: Antoine Levitt > Date: Mon, 13 May 2013 11:23:07 +0200 > > A commit of Stefan Monnier in April 23 changed the API of > jit-lock-force-redisplay. First and easiest, the docstring of > jit-lock-force-redisplay was not changed, and still mentions the old BUF > argument. > > Second, this breaks function font-latex-jit-lock-force-redisplay in > auctex, which uses the old prototype. This is present in emacs and > auctex from trunk. The doc string fix issue aside, is there any reason why AUCTeX should call jit-lock-force-redisplay, instead of always using its expanded code, like it does for versions of Emacs that don't have that function? I mean, doesn't this incident speak volumes about the danger of using internal APIs?