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: lists AT robertmelton.com, raman AT google.com, emacspeak AT emacspeak.net
  • Subject: Re: [Emacspeak] Emacspeak is no longer announcing company suggestions
  • Date: Mon, 13 May 2024 13:09:02 -0700

espeak can support notifications, you need to configure your audio env
on Linux. And it's *already* conditional to the extent that is
reasonable, look at the code to understand.


Alan Ghelardi writes:
> Most likely Espeak does not support notification streams then.
>
> I tested by changing the function emacspeak-company-espeak-this (from
> emacspeak-company.el) to speak the completion via (dtk-speak
> (concat (ems-company-current) " " metadata)) and it worked as
> previously.
>
> Raman, don't you think that this feature could be enabled conditionall,
> since it is fundamental for Espeak users too? I can open a pull request if
> you agree. I thought of creating a new variable to indicate whether
> notification streams should be used for company completions. The default
> value would be t and Espeak users could change it to null.
>
> Does that make sense?
>
> On Mon, May 13, 2024 at 4:22 PM Robert Melton <lists AT robertmelton.com>
> wrote:
>
> > I actually noticed this semi-recently (prior to 60) when using the
> > git version. By happenstance I had just updated to Emacs 30, so I
> > chalked it up to Emacs 30 and being on the cutting edge of both.
> >
> > Was on my TODO list to investigate.
> >
> > I just turned on logging and I am not seeing anything emitted or
> > received on either the Notify or Speaker streams. Checked from
> > both log-swiftmac output and the swiftmac debug build logging.
> >
> > At a cursory glance it just seems like nothing is being emitted.
> >
> > My config details below.
> >
> > ---
> >
> > Emacs : GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.4.0, NS
> > appkit-2487.50 Version 14.4.1 (Build 23E224))
> > of 2024-05-03
> > Package: Emacspeak: 60.0, DreamDog 386775c
> >
> > current state:
> > ==============
> > (setq
> > window-system 'ns
> > emacs-version "30.0.50"
> > system-type 'darwin
> > emacspeak-version #("60.0, DreamDog 386775c" 8 16 (face bold) 17 24
> > (personality acss-s4-r6))
> > dtk-program "log-swiftmac"
> > dtk-speech-rate 0.85
> > dtk-character-scale 1.1
> > dtk-split-caps t
> > dtk-punctuation-mode 'all
> > emacspeak-word-echo t
> > emacspeak-character-echo t
> > )
> >
> >
> > > On May 13, 2024, at 14:42, T.V Raman (via emacspeak Mailing List) <
> > emacspeak AT emacspeak.net> wrote:
> > >
> > > company suggestions are spoken on the notification stream, make sure
> > > your TTS engine supports that. I cant tell because you didn't say what
> > > you are using.
> > >
> > > --
> > > Emacspeak discussion list -- emacspeak AT emacspeak.net
> > > To unsubscribe send email to:
> > > emacspeak-request AT emacspeak.net with a subject of: unsubscribe
> >
> > --
> > Robert "robertmeta" Melton
> > lists AT robertmelton.com
> >
> >

--



Archive powered by MHonArc 2.6.19+.

Top of Page