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

martin rudalics wrote:
>  > 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.

Thanks. The situation is a bit different in my case, but it could 
perhaps be that contextual refontificaion is re-triggered. Could that 
happen when the code runs under font-lock and only text properties and 
overlays are changed?

>  > 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.

Yes, that was why I suggested that we implement something that allows us 
to stop this (with for example C-g C-g C-g).




  reply	other threads:[~2008-05-31 11:58 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
2008-05-31 11:58           ` Lennart Borgman (gmail) [this message]
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=48413D82.9080304@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rudalics@gmx.at \
    /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.