Skip to Content.
Sympa Menu

emacspeak - Re: [Emacspeak] Emacspeak is no longer announcing company suggestions

Subject: Emacspeak discussion list

List archive

Re: [Emacspeak] Emacspeak is no longer announcing company suggestions


Chronological Thread 
  • From: "T.V Raman" <raman AT google.com>
  • To: alan.ghelardi AT gmail.com
  • Cc: raman AT google.com, lists AT robertmelton.com, emacspeak AT emacspeak.net
  • Subject: Re: [Emacspeak] Emacspeak is no longer announcing company suggestions
  • Date: Tue, 14 May 2024 06:46:07 -0700


that's the bug I fixed in Git yesterday after Robert's message. Did
you not see that response?



Alan Ghelardi writes:
> >
> > Hello again.
>
>
> I was examining the code more carefully and I noticed that other messages
> sent to the notification stream are being spoken normally. So far, only
> company suggestions aren't working as expected.
>
> I was looking into the company front-end code and one thing caught my
> attention. In the form below the company suggestion is being sent to the
> message area, but the code is wrapped into the ems-with-messages-silenced
> macro:
>
> (defun emacspeak-company-speak-this ()
> "Formatting rule for speaking company selection."
> (ems-with-messages-silenced
> (let ((metadata (funcall 'company-fetch-metadata)))
> (when metadata
> (propertize metadata 'personality 'voice-annotate))
> (message
> (concat (ems-company-current) " " metadata)))))
>
> Is that correct? When I replace the message function with dtk-notify, for
> instance, Emacspeak speaks the code completion as expected. Does this code
> work in other TTS engines?

--



Archive powered by MHonArc 2.6.19+.

Top of Page