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

Re: Setting some Defaults



-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Thanks robert for the suggestions below.  I did as you showed and used
the dtk-set-rate function instead.  Both options are getting set now.
One thing I notice is I have to do a reset of the synth (c-e c-s) I
think because the introductry message is speaking at the default rates
and modes and my settings don't seem to take effect until I reset but
if that's all I have to do, I won't be too bothered about it.  I just
want to get the Capital Capital Capital verbage stopped and I have
faster speech now so it's shaping up here.

Thanks again for the help.

On Tue, Nov 24, 2009 at 06:33:44AM -0600, Robert D. Crawford wrote:
> Steve Holmes <steve@holmesgrown.com> writes:
> 
> > 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")))
> 
> Someone else can tell you why this does not work but I can tell you what
> will.  Calling the function in this way:
> 
> (dtk-toggle-split-caps 1)
> 
> on a line by itself in your .emacs file will set this globally.  As
> concerns the default speech rate, I can't comment on this specific
> line.  I don't have this loaded so I cannot tell you about the
> function.  However, I do have this in my .emacs from my use of flite:
> 
> (add-hook  'dtk-startup-hook
>          (function (lambda ()
>                      (dtk-set-rate 350)
> ;;;;;add other personal settings here 
>                      )))
> 
> The things I notice are the addition of function before the call to
> lambda and the lack of quoting for dtk-set-rate.  It has been a long
> time since I've used this particular code, though.
> 
> rdc
> -- 
> Robert D. Crawford                                     robdcraw@gmail.com
> 
> Do what thou wilt shall be the whole of the Law.
> 		-- Aleister Crowley
> 
> -----------------------------------------------------------------------------
> 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".
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREDAAYFAksPYIEACgkQWSjv55S0LfGVxwCdEmHCZzp1fyqI9JM6m/66OgBV
HLEAoJCBFwVqndFUb8tSTvj0o9EFLoOo
=V/JF
-----END PGP SIGNATURE-----

-----------------------------------------------------------------------------
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