Alan--
First of all, I think you got it exactly!
Secondly, Raman already fixed it in the git repo, he moves quick! I often
find that after reporting an issue, the fix will be in git before he responds
here.
Also, it was impacting other servers, swiftmac for sure.
But, the more people we can get understanding the lisp the better!
> On May 14, 2024, at 09:11, Alan Ghelardi <alan.ghelardi@xxxxxxxxx> wrote:
>
> 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?
--
Robert "robertmeta" Melton
lists@xxxxxxxxxxxxxxxx
|Full archive May 1995 - present by Year|Search the archive|
If you have questions about this archive or had problems using it, please contact us.