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

Re: Possible bug in customize



In your original message, you said that this caused Emacspeak to
fall silent -- is that because Pulse killed your TTS?
>>>>> "Tim" == Tim Cross <theophilusx@xxxxxxxxxxx> writes:
    Tim> Hi Raman, found the problem.
    Tim> 
    Tim> The problem is with using paplay. If you set
    Tim> emacspeak-play-args to nil as suggested in the docs,
    Tim> start-process throws a wrong type argument - seems it
    Tim> expects all program args to be stringp. If you set
    Tim> emacspeak-play-args to an empty string i.e. "", then
    Tim> that works, but paplay throws a too many arguments
    Tim> error.
    Tim> 
    Tim> My fix was very basic - test emacspeak-play-args and if
    Tim> it is not nil, call as normal. If it is nil, call
    Tim> without referencing emacpeak-play-args.
    Tim> 
    Tim> I also found a minor issue with the defcustom for
    Tim> emacspeak-play-args. Because it is defined as having to
    Tim> be a string, you cannot actually set it to nil using the
    Tim> custom interface. I have fixed this by changing the
    Tim> definition for the defcustom to use a 'choice options,
    Tim> with one choice being string and the other const.
    Tim> 
    Tim> I've committed my changes to my fork of the emacspeak
    Tim> repo on github. You should be able to do a pull merge. I
    Tim> also added a pull request to the issues, but I don't
    Tim> think your using that, but thought it might send you an
    Tim> email.
    Tim> 
    Tim> My repo is at http://github.com/theophilusx/emacspeak
    Tim> 
    Tim> Tim
    Tim> 
    Tim> 
    Tim> On 21 August 2015 at 10:31, raman <raman@xxxxxxxxxxx>
    Tim> wrote:
    Tim> 
    >> Actually I just tried it on a whim and it does not crash
    >> for me.
    >> --
    >> 
    >> 
    >> -----------------------------------------------------------------------------
    >> To unsubscribe from the emacspeak list or change your
    >> address on the emacspeak list send mail to
    >> "emacspeak-request@xxxxxxxxxxx" with a subject of
    >> "unsubscribe" or "help".
    >> 
    >> 
    Tim> 
    Tim> 
    Tim> -- regards,
    Tim> 
    Tim> Tim
    Tim> 
    Tim> -- Tim Cross



|All Past Years |Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page