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 15:36:20 +0200	[thread overview]
Message-ID: <48415454.9050607@gmx.at> (raw)
In-Reply-To: <48413D82.9080304@gmail.com>

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

It happens with every change of a text property.

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

Stop what?  All idle timers?  That's hardly possible if the timer fires
before you finished typing that key sequence.  If, on the other hand,
you manage earlier keyboard events get through you will stop all timers
whenever you mishappen to type C-g repeatedly.

If there's a bug fix the bug.  If the bug is caused by a function run by
a timer make the delay larger or run the function manually to find the
bug.  In general any function run by a timer must be safe - that is exit
quickly wrt real time and never cause any reentrancy.





  reply	other threads:[~2008-05-31 13:36 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)
2008-05-31 13:36             ` martin rudalics [this message]
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=48415454.9050607@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.