[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock and shell scripts: Raises redisplay errors in highlight pa
From: |
T. V. Raman |
Subject: |
Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern: |
Date: |
Fri, 14 Jul 2006 06:00:50 -0700 |
Unhandled errors do make a beep which is correct.
But that is not sufficient for the user who is not looking at
the display --- I need to say "why" it beeped.
Also, very often I dont sit at my PC -- I sit somewhere outside
with a wireless keyboard and speakers, and sadly the PC speaker
beep only beeps at the PC -- not over the sound card.
The latter is a bit esoteric I admit -- but for something like
the vm mail reader signalling end of folder I really need more
feedback than a beep.
>>>>> "Richard" == Richard Stallman <address@hidden> writes:
Richard> 1) Might be marginally benefitial even for the
Richard> mainstream emacs user to not have these errors
Richard> raised and handled -- --- what variables in my
Richard> sh-mode/font-lock environment should I look at to
Richard> chase down and fix the cause of the error in the
Richard> first place? (Note that I'm running with font-lock
Richard> turned on at the highest level).
Richard>
Richard> If there is no good reason for this to signal an
Richard> error, it would be cleaner to eliminate it. But
Richard> first one has to track down what causes the error.
Richard> One way to do that is using GDB with a breakpoint at
Richard> Fsignal. Setting debug-on-signal might enable you
Richard> to find the cause using the Lisp debugger.
Richard>
Richard> When (error ...) is called:
Richard>
Richard> Before-Advice:
Richard>
Richard> A) Check if there is a handler waiting to catch
Richard> the error. B) If yes, do nothing; C) Else give the
Richard> user auditory feedback.
Richard>
Richard> Unhandled errors do make a beep, which is auditory
Richard> feedback. So what is the change that you propose?
--
Best Regards,
--raman
Email: address@hidden
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: address@hidden
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs
- font-lock and shell scripts: Raises redisplay errors in highlight pattern:, T. V. Raman, 2006/07/05
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, Romain Francoise, 2006/07/06
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, Kim F. Storm, 2006/07/06
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, T. V. Raman, 2006/07/07
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, Richard Stallman, 2006/07/14
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:,
T. V. Raman <=
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, David Kastrup, 2006/07/14
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, Chong Yidong, 2006/07/14
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, T. V. Raman, 2006/07/14
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, Richard Stallman, 2006/07/15
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, T. V. Raman, 2006/07/15
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, Richard Stallman, 2006/07/16
- Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:, T. V. Raman, 2006/07/16