Mercurial > hg > xemacs-beta
comparison man/lispref/abbrevs.texi @ 5791:9fae6227ede5
Silence texinfo 5.2 warnings, primarily by adding next, prev, and up
pointers to all nodes. See xemacs-patches message with ID
<5315f7bf.sHpFD7lXYR05GH6E%james@xemacs.org>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Thu, 27 Mar 2014 08:59:03 -0600 |
parents | 1ccc32a20af4 |
children |
comparison
equal
deleted
inserted
replaced
5790:dcf9067f26bb | 5791:9fae6227ede5 |
---|---|
39 * Files: Abbrev Files. Saving abbrevs in files. | 39 * Files: Abbrev Files. Saving abbrevs in files. |
40 * Expansion: Abbrev Expansion. Controlling expansion; expansion subroutines. | 40 * Expansion: Abbrev Expansion. Controlling expansion; expansion subroutines. |
41 * Standard Abbrev Tables:: Abbrev tables used by various major modes. | 41 * Standard Abbrev Tables:: Abbrev tables used by various major modes. |
42 @end menu | 42 @end menu |
43 | 43 |
44 @node Abbrev Mode | 44 @node Abbrev Mode, Abbrev Tables, Abbrevs, Abbrevs |
45 @section Setting Up Abbrev Mode | 45 @section Setting Up Abbrev Mode |
46 | 46 |
47 Abbrev mode is a minor mode controlled by the value of the variable | 47 Abbrev mode is a minor mode controlled by the value of the variable |
48 @code{abbrev-mode}. | 48 @code{abbrev-mode}. |
49 | 49 |
59 @defvar default-abbrev-mode | 59 @defvar default-abbrev-mode |
60 This is the value of @code{abbrev-mode} for buffers that do not override it. | 60 This is the value of @code{abbrev-mode} for buffers that do not override it. |
61 This is the same as @code{(default-value 'abbrev-mode)}. | 61 This is the same as @code{(default-value 'abbrev-mode)}. |
62 @end defvar | 62 @end defvar |
63 | 63 |
64 @node Abbrev Tables | 64 @node Abbrev Tables, Defining Abbrevs, Abbrev Mode, Abbrevs |
65 @section Abbrev Tables | 65 @section Abbrev Tables |
66 | 66 |
67 This section describes how to create and manipulate abbrev tables. | 67 This section describes how to create and manipulate abbrev tables. |
68 | 68 |
69 @defun make-abbrev-table | 69 @defun make-abbrev-table |
98 Otherwise the description is a Lisp expression---a call to | 98 Otherwise the description is a Lisp expression---a call to |
99 @code{define-abbrev-table} that would define @var{name} exactly as it | 99 @code{define-abbrev-table} that would define @var{name} exactly as it |
100 is currently defined. | 100 is currently defined. |
101 @end defun | 101 @end defun |
102 | 102 |
103 @node Defining Abbrevs | 103 @node Defining Abbrevs, Abbrev Files, Abbrev Tables, Abbrevs |
104 @section Defining Abbrevs | 104 @section Defining Abbrevs |
105 | 105 |
106 These functions define an abbrev in a specified abbrev table. | 106 These functions define an abbrev in a specified abbrev table. |
107 @code{define-abbrev} is the low-level basic function, while | 107 @code{define-abbrev} is the low-level basic function, while |
108 @code{add-abbrev} is used by commands that ask for information from the | 108 @code{add-abbrev} is used by commands that ask for information from the |
145 abbrevs to define global ones instead. This variable does not alter the | 145 abbrevs to define global ones instead. This variable does not alter the |
146 behavior of the functions in this section; it is examined by their | 146 behavior of the functions in this section; it is examined by their |
147 callers. | 147 callers. |
148 @end defopt | 148 @end defopt |
149 | 149 |
150 @node Abbrev Files | 150 @node Abbrev Files, Abbrev Expansion, Defining Abbrevs, Abbrevs |
151 @section Saving Abbrevs in Files | 151 @section Saving Abbrevs in Files |
152 | 152 |
153 A file of saved abbrev definitions is actually a file of Lisp code. | 153 A file of saved abbrev definitions is actually a file of Lisp code. |
154 The abbrevs are saved in the form of a Lisp program to define the same | 154 The abbrevs are saved in the form of a Lisp program to define the same |
155 abbrev tables with the same contents. Therefore, you can load the file | 155 abbrev tables with the same contents. Therefore, you can load the file |
190 Save all abbrev definitions, in all abbrev tables, in the file | 190 Save all abbrev definitions, in all abbrev tables, in the file |
191 @var{filename}, in the form of a Lisp program that when loaded will | 191 @var{filename}, in the form of a Lisp program that when loaded will |
192 define the same abbrevs. This function returns @code{nil}. | 192 define the same abbrevs. This function returns @code{nil}. |
193 @end deffn | 193 @end deffn |
194 | 194 |
195 @node Abbrev Expansion | 195 @node Abbrev Expansion, Standard Abbrev Tables, Abbrev Files, Abbrevs |
196 @section Looking Up and Expanding Abbreviations | 196 @section Looking Up and Expanding Abbreviations |
197 | 197 |
198 Abbrevs are usually expanded by commands for interactive use, | 198 Abbrevs are usually expanded by commands for interactive use, |
199 including @code{self-insert-command}. This section describes the | 199 including @code{self-insert-command}. This section describes the |
200 subroutines used in writing such functions, as well as the variables | 200 subroutines used in writing such functions, as well as the variables |
302 (if (/= ?\ (preceding-char)) | 302 (if (/= ?\ (preceding-char)) |
303 (if (not (y-or-n-p "Do you want to expand this abbrev? ")) | 303 (if (not (y-or-n-p "Do you want to expand this abbrev? ")) |
304 (error "Not expanding this abbrev")))) | 304 (error "Not expanding this abbrev")))) |
305 @end smallexample | 305 @end smallexample |
306 | 306 |
307 @node Standard Abbrev Tables | 307 @node Standard Abbrev Tables, , Abbrev Expansion, Abbrevs |
308 @section Standard Abbrev Tables | 308 @section Standard Abbrev Tables |
309 | 309 |
310 Here we list the variables that hold the abbrev tables for the | 310 Here we list the variables that hold the abbrev tables for the |
311 preloaded major modes of XEmacs. | 311 preloaded major modes of XEmacs. |
312 | 312 |