all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: How can I predict which regions xdisp will present me for font-locking?
Date: Mon, 12 Mar 2012 15:25:26 -0400	[thread overview]
Message-ID: <jwv62e9k4h1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20120311205903.GA3717@acm.acm> (Alan Mackenzie's message of "Sun, 11 Mar 2012 20:59:03 +0000")

> I hope this isn't one of these "send complete details" questions, but:

> In a file.hpp, inside a 3355 line macro (I kid you not), I type a single
> character.  xdisp responds by presenting jit-lock, successively, with
> four areas to fontify.  (This was determined by
> trace-function-background on `font-lock-fontify-region').

While "complete details" would be nice, just showing the actual four
areas, plus the corresponding position of point (and maybe also the
position of beginning and end of the macro) might be a good starting
point,


        Stefan




  parent reply	other threads:[~2012-03-12 19:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11 20:59 How can I predict which regions xdisp will present me for font-locking? Alan Mackenzie
2012-03-11 21:45 ` Eli Zaretskii
2012-03-12 17:47   ` John Yates
2012-03-12 18:00     ` Eli Zaretskii
2012-03-13 19:50       ` John Yates
2012-03-13 21:00         ` Alan Mackenzie
2012-03-13 21:18         ` Eli Zaretskii
2012-03-12 18:49     ` Alan Mackenzie
2012-03-12 19:25 ` Stefan Monnier [this message]
2012-03-13 14:05   ` Alan Mackenzie

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

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

  git send-email \
    --in-reply-to=jwv62e9k4h1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.