speechd-discuss
[Top][All Lists]
Advanced

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

No speech with `speechd-speak-function-feedback' when FEEDBACK is an exp


From: Milan Zamazal
Subject: No speech with `speechd-speak-function-feedback' when FEEDBACK is an expression
Date: Mon, 05 Sep 2016 20:46:37 +0200

Hi Alain,

I think this is done the way it is so that you could use any reporting
function in your feedback, not just only speechd-speak-report.  You can
use either string, which is passed to speechd-speak-report, or any sexp,
which is evaluated as it is.  In the latter case it's your
responsibility to send whatever and how you want to the output.

Your example doesn't work, because you just return some value and don't
deliver it to any output.  What you actually want is probably

  (speechd-speak-function-feedback helm-move-selection-common after
    (speechd-speak-report (my-get-helm-selection-string)))

Does it work for you?

And yes, speechd-speak-function-feedback docstring should be clearer
about that.

Regards,
Milan




reply via email to

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