The Slackware setup script for Emacspeak should create the needed
environment variables and install a script
emacspeak that starts
emacs with emacspeak. This is your fourth option for learning Emacs.
This is the first time you will be able to actually use Emacspeak. A
short tutorial appears below. Within Emacs, you may type C-h C-e to
get a list of the commands. To search for a command, use C-h a. To
get an explanation for a key sequence, use C-h k. There is also an
info file which is part of the Emacspeak distribution. Within emacs,
you may type C-h i to open the directory to the info pages. Search
for the emacspeak menu item by typing C-s emacspeak, then two carriage
returns (one to terminate the search, and a second one to go to the
info page. If you have the standalone info program installed, you can
consult the info file with the command
All of the normal Emacs movement commands will speak the relevant information after moving. Here are some of the cursor movement functions that have been speech enabled. Note that this list only enumerates a few of these speech enabled commands; the purpose of emacspeak is to speech-enable all of emacs and provide you spoken feedback as you work. Thus, this list is here only as a representative example of the kind of speech-enabling extensions Emacspeak provides.
Moves the cursor to the next line and speaks it.
Moves the cursor to the previous line and speaks it.
Moves the cursor to the next word and speaks it. Places point on the first character of the next work, rather than on the space preceding it (This is my personal preference).
Moves the cursor to the previous word and speaks it.
Moves the cursor to the previous sexp and speaks it. If the sexp spans more than a line, only the first line is spoken.
Speaks line moved to.
Speaks line moved to.
Speaks entire current line. A useful way of hearing the current line.
Emacspeak provides a number of commands for reading portions of the current buffer, getting status information, and modifying Emacspeak's state.
All of the commands are documented in the subsequent sections. They can be classified into types:
Emacspeak commands for listening to chunks of information. The names of these commands all start with the common prefix `emacspeak-'. All Emacspeak commands are bound to the keymap EMACSPEAK-KEYMAP and are accessed with the key `Control e'. Thus, the Emacspeak command "emacspeak-speak-line" is bound to `l' in keymap EMACSPEAK-KEYMAP and can be accessed with the keystroke `Control-e l'.
Here are some of the commands for reading text:
Speak current character, using the phonetic alphabet.
Speak current word.
Speak current line. With prefix `C-u', speaks the rest of the line from point. With negative prefix `C-u -', speaks from start of line to point. Voicifies if voice-lock-mode is on. Indicates indentation with a tone if audio indentation is in use. Indicates position of point with an aural highlight if option emacspeak-show-point is turned on --see command `M-x emacspeak-show-point'.
Speak the current sentence.
Speak everything in the current window.
State the column where point is.
The second category of commands provided by Emacspeak manipulate the state of the speech device. The names of these commands start with the common prefix `dtk-'. You can access these commands via the prefix `Control-e d'. Thus, the command "dtk-set-rate" is bound to `r' in keymap EMACSPEAK-DTK-SUBMAP and can be executed by pressing `Control e d r'.
Stop speech now. In addition, any command that causes speech output will discard anything in the speech buffer.
Toggle state of variable dtk-stop-immediately-while-typing. As the name implies, if true then speech flushes immediately as you type.
Toggle state of Emacspeak audio indentation. Specifying the method of indentation as `tone' results in the DECtalk producing a tone whose length is a function of the line's indentation. Specifying `speak' results in the number of initial spaces being spoken.
Toggle state of Emacspeak character echo (that is, whether typed characters are echoed).
Toggle state of Emacspeak word echo (initially on).
Toggle state of Emacspeak line echo (that is, whether typed text is echoed after typing enter).
Set punctuation state. Possible values are `some', `all', or `none'.
Toggle state of the speech device between being quiet and talkative. Useful if you want to continue using an emacs session that has emacspeak loaded but wish to make the speech shut up.
Restore sanity to the Dectalk. Typically used after the Dectalk has been power cycled.
Toggle state of emacspeak that decides if we split text purely by clause boundaries, or also include whitespace.
Set speaking rate for the dectalk.
Toggle split caps mode. In split caps mode, a transition from lower case to upper case is treated like the beginning of a new word. This is useful when reading Hungarian notation in program source code.
Toggle Voice Lock mode (initially off). When Voice Lock mode is enabled, text is voiceified as you type it, as follows:
voice-lock-comment-personality; (That is a variable whose value should be a personality name.)
Use this to find out which version of the Dectalk firmware you have.
When you press C-h to get the help index, the screen will appear, but Emacspeak will not speak the window. The only thing spoken is "Type one of the options listed or Space to scroll:".
Here is the menu that Emacspeak is not speaking:
-- begin quote
You have typed C-h, the help character. Type a Help option: (Use SPC or DEL to scroll through this text. Type q to exit the Help command.)
a command-apropos. Give a substring, and see a list of commands (functions interactively callable) that contain that substring. See also the apropos command. b describe-bindings. Display table of all key bindings. c describe-key-briefly. Type a command key sequence; it prints the function name that sequence runs. f describe-function. Type a function name and get documentation of it. C-f Info-goto-emacs-command-node. Type a function name; it takes you to the Info node for that command. F view-emacs-FAQ. Shows emacs frequently asked questions file. i info. The info documentation reader. k describe-key. Type a command key sequence; it displays the full documentation. C-k Info-goto-emacs-key-command-node. Type a command key sequence; it takes you to the Info node for the command bound to that key. l view-lossage. Shows last 100 characters you typed. m describe-mode. Print documentation of current major mode, which describes the commands peculiar to it. n view-emacs-news. Shows emacs news file. p finder-by-keyword. Find packages matching a given topic keyword. s describe-syntax. Display contents of syntax table, plus explanations t help-with-tutorial. Select the Emacs learn-by-doing tutorial. v describe-variable. Type name of a variable; it displays the variable's documentation and value. w where-is. Type command name; it prints which keystrokes invoke that command. C-c print Emacs copying permission (General Public License). C-d print Emacs ordering information. C-n print news of recent Emacs changes. C-p print information about the GNU project. C-w print information on absence of warranty for GNU Emacs.
-- end quote
Suppose you type "a", for command-apropos.
The next spoken prompt is "Apropos command (regexp):"
Now you type some word you think is part of an emacs command, like "visit".
The help system will display the first section of the help, but will leave the cursor in the other window. The spoken text is "Type C-x 1 to remove help window. M-C-v to scroll the help." At this point, I think it's more helpful to move point to the other window with C-x o, then you can use regular navigation commands to speak the help text. You can delete the help window with C-x 0, which will also put point back where it was.
The complete menu displayed by help-for-help is also visible if you do a describe function on help-for-help. In a future version of Emacspeak, Raman plans to add a message to that effect when the user presses C-h ?