[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
speechd-el customization
From: |
Peter Vágner |
Subject: |
speechd-el customization |
Date: |
Wed, 15 Jun 2016 09:24:08 +0200 |
Hello,
I have understood nconc the way it is a bit more efficient as append as
it edits the first list in place.
Anyway I have now figured out what I was doing wrong. I have put all the
function names inside the quotes and those quotes should not be there.
Also I have finally learned how I can do the same thing by using easy
customizations.
There are several ways to open the buffer with corresponding settings so
I can either do:
M-x customize <ret>
Then I can browse to Enviromment and then to speechd-el and finally to
speechd-speak
M-x customize-group <ret> speechd-el <ret>
Then browse to speechd-speak
M-x customize-group <ret> speechd-speak <ret>
All these paths lead to the same customization group buffer.
Using the customization buffer is mostly intuitive i.e. the text in
square brackets corresponds to the buttons, we can press return on these
buttons, some of them reveal more content in the buffer. When editing
values, it is usually possible to edit them in place using standard
emacs editing commands.
Of course there's also an info page on easy-customization .
Thanks and greetings
Peter
On 14.06.2016 at 06:45 Lubos Pintes wrote:
> I am not sure but perhaps you have a list in list?
>
> I would consider an append function, because the doc of nconc says:
>
> Concatenate any number of lists by altering them.
> Only the last argument is not altered, and need not be a list.
> And your last argument is a list and it is not altered... Perhaps I
> wrongly understood this, sorry then.
>
>
> D?a 13. 6. 2016 o 21:44 Peter V?gner nap?sal(a):
>> Hello,
>>
>> Speechd-el has a functionality where it allows us to add list of
>> function names which we don't want to have command keys spoken as
>> these are pressed for.
>> By default pressing C-f C-b and many others works as intended.
>> However when pressing M-f M-b command-keys are spoken.
>> What is a proper method to add more functions to the
>> speechd-speak-ignore-command-keys
>> variable?
>>
>> I've tried to append the following to my ~/.emacs however I must be
>> doing something wrong as I am still getting command-keys announced
>> when pressing M-f M-b.
>>
>> (setq speechd-speak-ignore-command-keys (nconc
>> speechd-speak-ignore-command-keys
>> '("forward-word" "backward-word" "forward-sentence"
>> "backward-sentence" )))
>>
>> By doing
>> (message "%s" speechd-speak-ignore-command-keys) C-j
>> in the scratch buffer prints out all the functions even the ones I've
>> attempted to add.
>>
>> What might I be doing wrong please?
>>
>> Greetings
>>
>> Peter
>>
>>
>> _______________________________________________
>> Speechd mailing list
>> Speechd at lists.freebsoft.org
>> http://lists.freebsoft.org/mailman/listinfo/speechd
>>
>