In 2015, I started diving deeper into GNU Emacs because I saw its potential as an assistive technology. Not only as a way of providing better access to books and code for my students and clients, many of whom are blind, but also as a tool for creating more accessible content. Regular expressions and modes like Org, Markdown, and AucTex are extremely useful in the production of alternate formats.
Although I had used Emacs as a vanilla text editor off and on since the 90's, I didn't learn anything about the underlying Emacs Lisp (elisp) programming language until the end of 2015, when I got a hardcopy Emacs manual, quit my day job, and grew the requisite "LISP" beard.
Emacs and Emacspeak have since become everyday tools for me. From editing documents and drafting email, to reading feeds and posting to social media, I do all of it from within the accessible Emacs interface that is created with Emacspeak and my own custom elisp.
- Make source code repositories available to apt by uncommenting
sudo sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list
- Update sources list
sudo apt update
- Upgrade any packages that are out-of-date
sudo apt upgrade -y
- Install some dependencies
sudo apt install git tclx8.4-dev -y && sudo apt-get build-dep emacs25 emacspeak -y
- Fetch GNU Emacs source code with git
cd ~
git clone -b master https://git.savannah.gnu.org/git/emacs.git
- Fetch Emacspeak source code with git
cd ~
git clone https://github.com/tvraman/emacspeak
- Build and install GNU Emacs
cd ~/emacs
./autogen.sh && ./configure && make && sudo make install
- Build Emacspeak and install site-lisp
cd ~/emacspeak make && sudo make install
- Build optional speech server (I use IBM ViaVoice Outloud which gets installed before this)
cd ~/emacspeak
make outloud && sudo make install
- Add an environment variable to your shell config file for the speech synthesizer you want to use (change espeak to outloud if you want to use outloud)
sed -e "\$aexport DTK_PROGRAM" ~/.bashrc
sed -e "\$aDTK_PROGRAM=espeak" ~/.bashrc
- Source the config file so the shell recognizes the changes (or logout and login again)
source ~/.bashrc
- Add emacspeak setup to your Emacs init file
sed -e "\$a(load-file "~/emacspeak/lisp/emacspeak-setup.el")" ~/.emacs
- Run Emacs
emacs