[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd error message




I should have mentioned in the original post that I tried setting
debug-on-error, but it did not generate a backtrace, so it sounds like
it is to do with emacspeak's advising of the signal function. 

Its good to know about that side-effect as it may help when trying to
identify why you get slightly different behavior with and without
emacspeak running. As very few people using emacspeak are likely to
also use the menus, this is not a big issue.

Would this also explain why you only get the first letter of the error
message in the *Messages* buffer? I have noticed this in a few other
situations where you get an error message. The only problem with this
happening I've found is that if you try to use C-e a to repeat the
message, you only get emacspeak saying just a single letter e.g. "L [2
times]". 

Tim


>>>>> "TV" == T V Raman <raman@cs.cornell.edu> writes:

    TV> set debug-on-error to t and see what the backtrace is.  It's
    TV> quite likely you wont get a backtrace if the message is coming
    TV> from a signal that is being caught by emacs itself.

    TV> If that is the case, the reason why you see the message with
    TV> emacspeak --but not with vanila emacs is that emacspeak needs
    TV> to advice function signal to make certain things talk.  A
    TV> side-effect of this is that if some piece of lisp code throws
    TV> an error and that error gets handled the average emacs user
    TV> never finds out about it, but emacspeak does let you know that
    TV> the signal happened.

    >>>>>> "Tim" == Tim Cross
    TV> <tcross@pobox.une.edu.au> writes:


    Tim> Last night while working with a friend, we came across an odd
    Tim> error message while running emacspeak and I would like to ask
    Tim> others to see if they can reproduce it.

    Tim> While running under X, switch to the *scratch* buffer.  Use
    Tim> the mouse to select one of the menu options at the top of the
    Tim> screen.

    Tim> Do you get an error message saying

    Tim> Line does not start with ";"

    Tim> I also get this behavior in emacs-lisp-mode buffers.

    Tim> When I look in the *Messages* buffer, there is a message like

    Tim> L [3 times]

    Tim> I only noticed this because I was working with a sighted
    Tim> friend who uses the menus at the top of the screen - I prefer
    Tim> to use the keyborad for obvious reasons. The message only
    Tim> appears to occur in modes dealing with list such as emacs
    Tim> lisp mode and interactive lisp mode.

    Tim> Would be interested in knowing if anyone else observes this
    Tim> or if it is just something screwy in my configuration.

    Tim> Tim -- Tim Cross E-Mail: tcross@pobox.une.edu.au
    Tim> Analyst/Programmer Phone: 6773 3210 Applications Group
    Tim> Mobile: 0412 969193 University of New England --- find /
    Tim> -iname microsoft -exec rm -rf {} \;

    Tim> -----------------------------------------------------------------------------
    Tim> To unsubscribe from the emacspeak list or change your address
    Tim> on the emacspeak list send mail to
    Tim> "emacspeak-request@cs.vassar.edu" with a subject of
    Tim> "unsubscribe" or "help"

    TV> -- Best Regards, --raman

      
    TV> Email: raman@cs.cornell.edu WWW:
    TV> http://www.cs.cornell.edu/home/raman/ AIM: TVRaman PGP:
    TV> http://www.cs.cornell.edu/home/raman/raman.asc

    TV> -----------------------------------------------------------------------------
    TV> To unsubscribe from the emacspeak list or change your address
    TV> on the emacspeak list send mail to
    TV> "emacspeak-request@cs.vassar.edu" with a subject of
    TV> "unsubscribe" or "help"


-- 
Tim Cross					E-Mail: tcross@pobox.une.edu.au
Analyst/Programmer                               Phone: 6773 3210
Applications Group			        Mobile: 0412 969193
University of New England
---
find / -iname microsoft -exec rm -rf {} \;

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"