From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
joakim@verona.se, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Three strikes them out
Date: Sun, 01 Jun 2008 01:19:07 +0200 [thread overview]
Message-ID: <4841DCEB.8000407@gmail.com> (raw)
In-Reply-To: <4841D846.9040309@gmx.at>
martin rudalics wrote:
> > I agree with Lennart that Emacs should provide more facilities to get
> > out of awkward situations. Sure, fix the bug, but how is any given Emacs
> > user affected by some Emacs bug somewhere supposed to do that?
>
> If the bug is with Emacs' fontification routines there's hardly anything
> a user can do but give a simple and precise recipe to reproduce the bug
> and wait until someone familiar with the code fixes it. At least that's
> what I would do.
And it is still very hard to find those bugs sometimes. One suggestion
that have been given here to test fontification code is to run it by
calling for example font-lock-fontify-region.
That does not always work because that function fontifies from top to
bottom, but the bug may perhaps only show up in other situations.
I think it would be useful to be able to set `debugger' to something
that can log an error during fontification. That is currently not possible.
> > Lennarts "c-g repeatedly" maybe wasnt the best example. Surely this
> > doesnt exclude the possibility of adding some other helpful feature?
>
> If it's timer based it might depend on whether you're able to intercept
> it.
I just wanted a C-g signal to reach the timers just as it now reaches
code running directly in the command loop. I thought that some C-g in a
row would be easy to remember for that. (Of course some more things
needs to be stopped for this to be meaningful. Timers should be stopped
from reenabling themselves etc.)
next prev parent reply other threads:[~2008-05-31 23:19 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
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) [this message]
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=4841DCEB.8000407@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
--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.