unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: bug-auctex@gnu.org, bug-gnu-emacs@gnu.org
Subject: Re: jit-lock-force-redisplay redefinition breaks jit fontification in auctex
Date: Tue, 14 May 2013 11:52:06 -0400	[thread overview]
Message-ID: <jwvehd9muh6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87obcftero.fsf@gmail.com> (Antoine Levitt's message of "Mon, 13 May 2013 11:23:07 +0200")

> 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. Is the prototype change really necessary? If no, this
> is a bug for emacs, if yes, this is a bug for auctex. In doubt, I'm
> submitting the report in both.

The answer is that font-latex should not modify
font-lock-fontify-region-function and should instead use
font-lock-extend-region-functions (it's OK to do what it does when
running on older Emacsen which do not have
font-lock-extend-region-functions, of course).


        Stefan


  parent reply	other threads:[~2013-05-14 15:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13  9:23 bug#14394: jit-lock-force-redisplay redefinition breaks jit fontification in auctex Antoine Levitt
2013-05-13 16:11 ` Eli Zaretskii
2013-05-13 16:57   ` bug#14394: [Bug-AUCTeX] " Ralf Angeli
2013-05-14 15:52 ` Stefan Monnier [this message]
2014-02-10 21:44 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvehd9muh6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=antoine.levitt@gmail.com \
    --cc=bug-auctex@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).