Actually, it looks like there's an issue with specifying initial-value
in the definition of voice-lock-mode (the non-globalized version).
If I set initial-value to nil in the definition of the non-global
voice-lock minor mode, then the globalized voice lock minor mode
appropriately toggles the minor mode for all buffers.
Based on purely anecdotal evidence, it seems that emacs gives the
minor mode toggle precedence over the global minor mode toggle and
somehow doesn't handle the 4 possible boolean states correctly.
>> http://code.google.com/p/**aspenmud <http://code.google.com/p/aspenmud>
On 12/16/12, Tim Cross <email@example.com> wrote:
> Let me just check I understand the problem
> You want to turn off voice lock mode, but you do want emacspeak o continue
> to vocalize text?
> The help text for global-voice-lock-mode states
> Toggle Voice-Lock mode in all buffers.
> With prefix ARG, enable Global-Voice-Lock mode if ARG is positive;
> otherwise, disable it. If called from Lisp, enable the mode if
> ARG is omitted or nil.
> Note the last sentence. "If called from lisp, enable the mode if ARG is
> omitted or nil".
> This means, if you have something like any of the following three
> statements in your .emacs file
> (global-voice-locak-mode nil)
> (global-voice-locak-mode 1)
> you will ENABLE global-voice-lock-mode. If you want to disable it, you need
> to use
> (global-voice-lock-mode -1)
> Although I have not tried it, I would probably put this at the end of my
> emacspeak-startup-hook definition or at the very least, put it at the end
> of my .emacs file so that I can be sure this is run last.
> On 17 December 2012 12:05, Littlefield, Tyler <firstname.lastname@example.org> wrote:
>> this is the same sissue I was having. he wants it to be done within
>> startup so he doesn't have to do it every time he turns on emacspeak.
>> global change does not save IIRC.
>> On 12/16/2012 6:04 PM, T.V. Raman wrote:
>>> The following on my Linux box just verified that things work as
>>> 1. Go to the scratch buffer
>>> 2. type global-voice-lock-mode and evaluate it by pressing C-x
>>> C-e if it is on it'll diplay T in the minibuffer.
>>> 3. Now, Type "testing" on the next line and confirm that
>>> voice-lock is taking effect -- you should hear the voice change;
>>> pressing C-e M-v will show the personality and face at point --
>>> do this with the cursor within the string you just typed.
>>> 4. Turn off voice lock -- M-x global-voice-lock-mode should
>>> display an appropriate message in the minibuffer
>>> 5. Cursor back to the line with "testing"and on my Linux box the
>>> personality property goes away and you dont hear a voice change.
>> Take care,
>> The aspen project: a barebones light-weight mud engine:
>> He that will not reason is a bigot; he that cannot reason is a fool; he>> ------------------------------**------------------------------**
>> that dares not reason is a slave.
>> ----------------->> "email@example.com.**edu<firstname.lastname@example.org>"
>> To unsubscribe from the emacspeak list or change your address on the
>> emacspeak list send mail to
>> with a
>> subject of "unsubscribe" or "help".
> Tim Cross
If you have questions about this archive or had problems using it, please send mail to:email@example.com No Soliciting!
Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998
Emacspeak Files | Emacspeak Blog | Search the archive