Question: Write your own manual. It should include commands along with flags. The syntax as well as an explanation of the flag should be included. Additionally,
Write your own manual. It should include commands along with flags. The syntax as well as an explanation of the flag should be included.
Additionally, you should be able to search this text file for the required command. ie. You should be able to find some grep or sed argument that will print out the entry for each command. This task will involve formatting a text file in emacs. Please see the emacs handout for help on creating this document.
emacs handout


GNU Emacs Reference Card Regular Expressions Registers any single character except a newline insert register contents into buffer save value of point in register jump to point saved in register select another buffer list all buffers eer, or one repeat quote regular expression special character c o alternative ("or) LI board Macros Transposing at word break not at word break start defining a keyboard end keyboard macro definition execute last-defined ers match start match end transpoee transpose tr M-x nane-last-khd-macro M-x insert-kbd-macro insert Lisp definition in buffer Commands Dealing with Emacs Lisp eval sexp before point class of characters match these match others Spelling Check with syntax c check spelling of current word check spelling of all words in region check spelling of entire buffer M-x ispel1-rogion M-x ispell-buffer eval current defun International Character Sets M-x eval-region read and eval minlbuffer Tags load from standard system directoryN-x load-library specify principal language H-x set-language-environment show all input methods enable or disable input method set coding system for next command show all coding systems choose preferred coding system M-x prefer-coding-system M-x 1ist-input-nethods find a tag (a defintion) Simple Custommization customize variables and faces Making global key bindings in Emacs Lisp (examples): global-set-key - goto-line) of tag N-x list-coding-systens specify a new tags file regexp scarch on all files in tags teble M-x tags-search run query-replace on all the files M-x taga-query-replace continue last tags search or query-replace M- M-x visit-taga-table Info (global-set-key "w-#" ,query-replace-regexp) Shells enter the Info documentation reader find specified function or variable in Info Moving within a node: c-h C-i Writing Commands run a shell command on the region filter region through a shell command start a shell in window shell SPC (defun command-name arys) C-u M- M-x shell Cinteractive "template") Moving between nodes: Rectangles (defun thie-line-to-top-of-vindow (line) next node previous node "Raposition line point is on to top of indov C-x r r copy kill yank rectangle to r With ARG, put point on line ARG" select menu item by name select nth menu item by number1-9) T follow cross reference (return with 1) (interactive "P") (recenter (if (null line) rectangle, shifting text right n to lest node you saw (prefix-numeric-value 1ine)))) prefix each line with a string return to directory go to any node by name The interactive spec says how to reed arguments interac- tively. Type C-h f interactive for more details. Abbrevs add global abbrev add mode-local abbre add global expansion for this abbrev add mode-local expansion for this abbrevC-xa i 1 explicitly expand abbrev Copyright O 1097 Frees Software Foundation, Inc. v2.2 for GNU Emacs version 20, June 1997 designed by Stephen Gilds Permiseion 8 granted to make and dietribute ooptee5 of this card pro- vided the copyright notice aad this permission otloe are preseeved on scurch nodes for regexp expand previous word dynamically For copies of the GNU Eracs mAl, write to the Froe Soitware Foun- dation, Ine, Temple Place, Suie 330, Baston, MA 02111-1307 USA GNU Emacs Reference Card Regular Expressions Registers any single character except a newline insert register contents into buffer save value of point in register jump to point saved in register select another buffer list all buffers eer, or one repeat quote regular expression special character c o alternative ("or) LI board Macros Transposing at word break not at word break start defining a keyboard end keyboard macro definition execute last-defined ers match start match end transpoee transpose tr M-x nane-last-khd-macro M-x insert-kbd-macro insert Lisp definition in buffer Commands Dealing with Emacs Lisp eval sexp before point class of characters match these match others Spelling Check with syntax c check spelling of current word check spelling of all words in region check spelling of entire buffer M-x ispel1-rogion M-x ispell-buffer eval current defun International Character Sets M-x eval-region read and eval minlbuffer Tags load from standard system directoryN-x load-library specify principal language H-x set-language-environment show all input methods enable or disable input method set coding system for next command show all coding systems choose preferred coding system M-x prefer-coding-system M-x 1ist-input-nethods find a tag (a defintion) Simple Custommization customize variables and faces Making global key bindings in Emacs Lisp (examples): global-set-key - goto-line) of tag N-x list-coding-systens specify a new tags file regexp scarch on all files in tags teble M-x tags-search run query-replace on all the files M-x taga-query-replace continue last tags search or query-replace M- M-x visit-taga-table Info (global-set-key "w-#" ,query-replace-regexp) Shells enter the Info documentation reader find specified function or variable in Info Moving within a node: c-h C-i Writing Commands run a shell command on the region filter region through a shell command start a shell in window shell SPC (defun command-name arys) C-u M- M-x shell Cinteractive "template") Moving between nodes: Rectangles (defun thie-line-to-top-of-vindow (line) next node previous node "Raposition line point is on to top of indov C-x r r copy kill yank rectangle to r With ARG, put point on line ARG" select menu item by name select nth menu item by number1-9) T follow cross reference (return with 1) (interactive "P") (recenter (if (null line) rectangle, shifting text right n to lest node you saw (prefix-numeric-value 1ine)))) prefix each line with a string return to directory go to any node by name The interactive spec says how to reed arguments interac- tively. Type C-h f interactive for more details. Abbrevs add global abbrev add mode-local abbre add global expansion for this abbrev add mode-local expansion for this abbrevC-xa i 1 explicitly expand abbrev Copyright O 1097 Frees Software Foundation, Inc. v2.2 for GNU Emacs version 20, June 1997 designed by Stephen Gilds Permiseion 8 granted to make and dietribute ooptee5 of this card pro- vided the copyright notice aad this permission otloe are preseeved on scurch nodes for regexp expand previous word dynamically For copies of the GNU Eracs mAl, write to the Froe Soitware Foun- dation, Ine, Temple Place, Suie 330, Baston, MA 02111-1307 USA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
