dont use setq. Use (global-set-key <my-key> 'emacspeak-prefix-command) If you absolutely *want* to free up C-e from being the emacspeak prefix, then do a (global-set-key "\C-e" 'end-of-line) to get its default meaning. >>>>> "Robert" == Robert D Crawford <rdc1x@xxxxxxxxxxx> writes: Robert> Steve Holmes <steve@xxxxxxxxxxx> writes: >> OK, I looked over that info page but am still confused. >> It mentions a variable, not a keymap. Robert> Robert> It is, in fact, a variable. Robert> >> I tried variants of global-setkey but to no avail. A >> couple times, I got an error saying non prefix assigned or >> something. I also tried doing a (setq "M-s" to the >> variable emacspeak-prefix) but the variable got updated >> but no key assignment. Robert> Robert> I did the same thing with setq. This is, I believe, Robert> how it should be done. I did it in a running emacs Robert> session and am not sure why it did not work. I had a Robert> look at the source file that sets the variable and Robert> here is what I found: Robert> Robert> (defvar emacspeak-prefix "\C-e" "Default prefix key Robert> used for emacspeak. ") Robert> Robert> (global-set-key emacspeak-prefix Robert> 'emacspeak-prefix-command) Robert> Robert> ;;; fix what we just broke:- (define-key Robert> emacspeak-keymap "e" 'end-of-line) (define-key Robert> emacspeak-keymap "\C-e" 'end-of-line) Robert> Robert> I did cut a bit of source here but the lines are very Robert> close. Robert> Robert> What I did, but did not work: Robert> Robert> I did a setq on the emacspeak-prefix and then Robert> evaluated the global-set-key command. This seemed to Robert> make it so that _both_ prefixes were active (in my Robert> case, both C-e and C-a). Robert> Robert> I was hoping that this would be the quick fix as I Robert> had to leave. This was not the case so I had to exit Robert> and restart emacs to get back a correctly working Robert> session. (there is probably a better way but I did Robert> not have time to search it out.) Robert> Robert> Sorry I was not of help. I am really behind right Robert> now and cannot search out anything else. Maybe Robert> someone else on list will see your plight and give Robert> their advice. Robert> Robert> Again, I am sorry I was not much help, rdc -- Robert Robert> D. Crawford rdc1x@xxxxxxxxxxx Robert> Robert> We all dream of being the darling of everybody's Robert> darling. Robert> Robert> ----------------------------------------------------------------------------- Robert> To unsubscribe from the emacspeak list or change your Robert> address on the emacspeak list send mail to Robert> "emacspeak-request@xxxxxxxxxxx" with a subject of Robert> "unsubscribe" or "help" -- Best Regards, --raman Email: raman@xxxxxxxxxxx WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@xxxxxxxxxxx PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs ----------------------------------------------------------------------------- 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"
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998