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

emacspeak 27 + emacs 22.1 + global-set-key - does not work.



Hallo Group Members.

in my simple configuration global-set-key does not work. Neither the one from first line (before emacspeake init) nor the one from last line (after emacspeak init).

this is my ~/.emacs:
(global-set-key  [C-down] 'other-window) ;;. redefining Ctrl+down arrow.

(setenv "DTK_PROGRAM" (substitute-env-vars "${HOME}/sp_srv/eflite_alsa"))
(load-file "/usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
(global-set-key "\C-ez" 'emacspeak-speak-sentence);)

;; end of ~/.emacs file.

*Messages* buffer contents:
("/usr/local/bin/emacs")
Loading /usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el (source)...
Loading cl-macs...done
Note: file is write protected
Loading emacspeak...
Loading cl-extra...done
Loading /usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-loaddefs.el (source)...
Note: file is write protected
Loading /usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-loaddefs.el (source)...done
Loading /usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-cus-load.el (source)...done
Loading /usr/local/share/emacs/site-lisp/emacspeak/lisp/g-client/g-loaddefs.el (source)...done
Loading /usr/local/share/emacs/site-lisp/emacspeak/lisp/g-client/g-cus-load.el (source)...done
Loading emacspeak-fix-interactive...done
Loading cl-seq...done
Loading emacspeak...done
Loading byte-opt...done
Loading voice-setup...done
Loading voice-setup...done
Loading voice-setup...done
If printed I am sure that emacspeak passed here.
Loading replace...
ad-handle-definition: `occur-mode-goto-occurrence' got redefined
ad-handle-definition: `occur-next' got redefined
ad-handle-definition: `occur-prev' got redefined
Loading replace...done
Loading /usr/local/share/emacs/site-lisp/emacspeak/sounds/default-8k/define-theme.el (source)...done
Loading /usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el (source)...done
Loading emacspeak-keymap...done
Not auto-advicing global-set-key

--- end of *Messages* buffer

In *Messages buffer there is a line:
"If printed I am sure that emacspeak passed here."

It comes from my modified /usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-advice.el file. My changes affect commenting out advice to global-set-key.

(message "If printed I am sure that emacspeak passed here.")
;; (defadvice global-set-key (before  emacspeak pre act)
;;   "Provide spoken prompts."
;;   (interactive
;;    (list
;;     (read-key-sequence "Globally  bind key:")
;;     (read-command "To command:" ))))


I did so according to https://www.emacspeak.org/VCCS-archive/2007/msg00289.html.

I didn't touch /usr/local/share/emacs/site-lisp/emacspeak/lisp/emacspeak-fix-interactive.el.

My emacs-version is:
GNU Emacs 22.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-02-23 on localhost.localdomain

My emacspeak-version is:
26.0 Revision 5376:5384

One thing is worth of notion. When I comment out emacspeak initialization in ~/.emacs, the global-set-key invocation from first line of my ~/.emacs file does its job.

Have You got idea what might be the problem and how to solve it?

Best Regards,
Michal

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

Emacspeak Files | Emacspeak Blog