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

Setting some Defaults

Hash: RIPEMD160

I'm trying to set up a default speech rate and turn off the split-caps
globally.  Actually, I'm trying to set the speech rate globally too.
First off, it doesn't work for me.  I don't get any errors at this
time but it's like the hook routine is being ignored.  When I evaluate
the two function calls separately in a scratch buffer, I can get them
to work after a faschion.  The dtk-toggle-split-caps seems to work OK
but the dtk-set-predefined-speech-rate keeps prompting me even though
I'm specifying "9" as an argument to the function.  I'm quite sure I
have a problem knowing how to pass a "prefix" to a function in this
manner and since these are listed as having optional arguments, there
is probably something else I'm missing.

What am I doing wrong here?  I will paste in the relevant part of my
.emacs to show you what I've hacked up so far.
- ----- .emacs -----
(add-hook 'dtk-startup-hook '(lambda ()
			      (dtk-toggle-split-caps 4)
			      (dtk-set-default-speech-rate "9")))
- ----- end of emacspeak portion of .emacs -----
Thanks for any help.
Version: GnuPG v1.4.10 (GNU/Linux)


To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".

If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive