emacs-devel
[Top][All Lists]
Advanced

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

Re: temp_echo_area_glyphs and Emacspeak


From: Richard Stallman
Subject: Re: temp_echo_area_glyphs and Emacspeak
Date: Fri, 06 Sep 2002 23:17:07 -0400

The code you wrote looks correct, but this part is not needed:

    +  DEFVAR_LISP ("temp-echo-area-message-hook", 
&Vtemp_echo_area_message_hook,
    +          doc: /* Normal hook run with temp-echo-area-message
    +as argument. */);
    +  Vtemp_echo_area_message_hook = Qnil;

Vtemp_echo_area_message_hook is not needed at all,
because the real implementation does not use it.
Just defvar it in Lisp.

    > How does Emacspeak find out about ordinary calls to `message'?
    It uses defadvice.

That won't work reliably--calls from within the C code won't be
caught.  A message-hook would work more reliably.  Would you like to
write that?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]