speechd-discuss
[Top][All Lists]
Advanced

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

Re: [Speechd] speechd-el - what am I doing wrong


From: Milan Zamazal
Subject: Re: [Speechd] speechd-el - what am I doing wrong
Date: Wed, 21 Aug 2019 19:36:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

>>>>> "TC" == Tim Cross <address@hidden> writes:

    TC> I want to add some feedback to mu4e. I have put the following in my init
    TC> file

    TC>   (add-hook 'speechd-speak-hook
    TC>     (lambda ()
    TC>       (speechd-speak-command-feedback mu4e-headers-next after 
(speechd-speak-read-line))
    TC>       (speechd-speak-command-feedback mu4e-headers-prev after 
(speechd-speak-read-line)))                                  
    TC>      (speechd-set-rate 70)))

    TC>   (speechd-speak)

    TC> The two mu4e functions are the ones called when you hit 'n' or 'p' to
    TC> move to the next/previous message in the message summary view. Without
    TC> them, hitting n or p does not generate any speech. My hope was that by
    TC> defining the above, hitting n or move to the next summary line and speak
    TC> the line. Unfortunately, I get no output.

Hi, do you get absolutely no output?  I'd try to replace

  (speechd-speak-command-feedback mu4e-headers-next after 
(speechd-speak-read-line))

with

  (speechd-speak-command-feedback mu4e-headers-next after
    (let ((speechd-default-text-priority 'important)
          (speechd-speak-whole-line t)) 
      (speechd-speak-read-line)))

Does it help?

Regards,
Milan



reply via email to

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