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