Skip to content

Instantly share code, notes, and snippets.

@jameslmartin
Last active February 8, 2016 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameslmartin/33067ef7f4253dded4b6 to your computer and use it in GitHub Desktop.
Save jameslmartin/33067ef7f4253dded4b6 to your computer and use it in GitHub Desktop.
Emacspeak Installation

Following these instructions. Note that emacspeak does not work with the Apple shipped version of emacs, so we install emacs local to the user with brew.

Use brew, note that --cocoa is deprecated, use --with-cocoa instead. This step will take a while, as emacs is installed.
brew install emacs --HEAD --use-git-head --with-cocoa --srgb
brew linkapps emacs
mkdir -p ~/Sources
cd ~/Sources
git clone https://github.com/tvraman/emacspeak.git
cd ~/Sources/emacspeak
make config
make emacspeak
If this command fails, check to see if your bash profile is using the correct installation of Emacs. If you execute which emacs, it should respond /usr/local/bin/emacs. If it does not, prepend /usr/local/bin to your path and try again.
cd ~/Sources
svn checkout http://e-mac-speak.googlecode.com/svn/trunk/ e-mac-speak
cp e-mac-speak/servers/mac emacspeak/servers/
chmod +x emacspeak/servers/mac

Created a new file, init.el under ~/.emacs.d/

;; Emacspeak
(setq load-path (cons "~/Sources/emacspeak/lisp" load-path))
(setq emacspeak-directory "~/Sources/emacspeak")
(setq dtk-program "mac")
(load-file "~/Sources/emacspeak/lisp/mac-voices.el")
;;; Voice rate:
(setq mac-default-speech-rate 450)
(load-file "~/Sources/emacspeak/lisp/emacspeak-setup.el")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment