all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Three strikes them out
Date: Sat, 31 May 2008 12:24:56 +0200	[thread overview]
Message-ID: <48412778.7030302@gmx.at> (raw)
In-Reply-To: <484118F0.2050805@gmail.com>

 > What happens when you set `jit-lock-context-time' to a very large value?
 >
 > I can dig up one of those cases that loops and try it, but why do you
 > propose that? (It might of course help a bit to find out where the
 > problem happens and I have one case where this could indeed be
 > interesting, but I am not sure if that is what you mean.)

If font-lock loops within contextual refontification there's either a
bug in font-lock (which I consider highly impropable) or there's a bug
in your code (maybe some function called by a hook or another timer)
that changes the buffer and re-triggers contextual refontification.
Whatever applies should be resolved.

 > The general problem that looping in a timer may hang Emacs is what I
 > really wanted to address here.

You can't: As soon as you manage to exit looping, a repeating idle timer
will fire again.





  reply	other threads:[~2008-05-31 10:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 17:40 Three strikes them out Lennart Borgman (gmail)
2008-05-31  4:48 ` Stefan Monnier
2008-05-31  9:01   ` Lennart Borgman (gmail)
2008-05-31  9:16     ` martin rudalics
2008-05-31  9:22       ` Lennart Borgman (gmail)
2008-05-31 10:24         ` martin rudalics [this message]
2008-05-31 11:58           ` Lennart Borgman (gmail)
2008-05-31 13:36             ` martin rudalics
2008-05-31 14:12               ` Lennart Borgman (gmail)
2008-05-31 22:49                 ` martin rudalics
2008-05-31 23:09                   ` Lennart Borgman (gmail)
2008-05-31 15:33               ` joakim
2008-05-31 22:59                 ` martin rudalics
2008-05-31 23:19                   ` Lennart Borgman (gmail)
2008-06-01  1:36                     ` Miles Bader
2008-06-01  8:24                       ` Lennart Borgman (gmail)
2008-06-01  8:45                     ` martin rudalics
2008-06-01 10:09                       ` Lennart Borgman (gmail)
2008-06-02  2:16         ` Stefan Monnier

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=48412778.7030302@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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.