diff options
| author | Chong Yidong | 2012-09-30 17:18:38 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-09-30 17:18:38 +0800 |
| commit | 48de8b12215e22390db1bc822e809708070ab938 (patch) | |
| tree | 125595be25583796bec86a019f75c8049164133e /doc/lispref/errors.texi | |
| parent | 5938d5196d09aff887aa74603c102b1f303a613a (diff) | |
| download | emacs-48de8b12215e22390db1bc822e809708070ab938.tar.gz emacs-48de8b12215e22390db1bc822e809708070ab938.zip | |
Update docs for a bunch of 24.3 changes.
* doc/emacs/killing.texi (Rectangles): Document copy-rectangle-as-kill.
* doc/emacs/search.texi (Special Isearch): Document the lax space search
feature and M-s SPC.
(Regexp Search): Move main search-whitespace-regexp description to
Special Isearch.
(Replace): Document replace-lax-whitespace.
* doc/emacs/basic.texi (Position Info): Document C-u M-=.
(Moving Point): Document move-to-column.
* doc/emacs/display.texi (Useless Whitespace): Add delete-trailing-lines.
* doc/emacs/misc.texi (emacsclient Options): Document the effect of
initial-buffer-choice on client frames. Document server-auth-dir.
Do not document server-host, which is bad security practice.
* doc/emacs/building.texi (Lisp Libraries): Docstring lookups can trigger
autoloading. Document help-enable-auto-load.
* doc/emacs/mini.texi (Yes or No Prompts): New node.
* doc/emacs/ack.texi (Acknowledgments): Remove obsolete packages.
* doc/lispref/commands.texi (Click Events): Define "mouse position list".
Remove mention of unimplemented horizontal scroll bars.
(Drag Events, Motion Events): Refer to "mouse position list".
(Accessing Mouse): Document posnp.
* doc/lispref/errors.texi (Standard Errors): Tweak arith-error description.
Tweak markup. Remove domain-error and friends, which seem to be
unused after the floating-point code revamp.
* doc/lispref/functions.texi (Obsolete Functions): Obsolescence also affects
documentation commands. Various clarifications.
(Declare Form): New node.
* doc/lispref/loading.texi (Autoload):
* doc/lispref/help.texi (Documentation Basics): The special sequences can
trigger autoloading.
* doc/lispref/macros.texi (Defining Macros): Move description of `declare' to
Declare Form node.
* doc/lispref/numbers.texi (Integer Basics): Copyedits.
(Float Basics): Consider IEEE floating point always available.
(Random Numbers): Document actual limits.
(Arithmetic Operations): Clarify division by zero. Don't mention
the machine-independence of negative division since it does not
happen in practice.
* doc/lispref/os.texi (Idle Timers): Minor clarifications.
(User Identification): Add system-users and system-groups.
* doc/lispref/strings.texi (String Basics): Copyedits.
* lisp/minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
* lisp/server.el (server-host): Document the security implications.
(server-auth-key): Doc fix.
* lisp/startup.el (initial-buffer-choice): Doc fix.
* src/fns.c (Frandom): Doc fix.
Diffstat (limited to 'doc/lispref/errors.texi')
| -rw-r--r-- | doc/lispref/errors.texi | 160 |
1 files changed, 69 insertions, 91 deletions
diff --git a/doc/lispref/errors.texi b/doc/lispref/errors.texi index a822a2d9608..b7b26c8708c 100644 --- a/doc/lispref/errors.texi +++ b/doc/lispref/errors.texi | |||
| @@ -37,78 +37,69 @@ handled. | |||
| 37 | 37 | ||
| 38 | @table @code | 38 | @table @code |
| 39 | @item error | 39 | @item error |
| 40 | @code{"error"}@* | 40 | The message is @samp{error}. @xref{Errors}. |
| 41 | @xref{Errors}. | ||
| 42 | 41 | ||
| 43 | @item quit | 42 | @item quit |
| 44 | @code{"Quit"}@* | 43 | The message is @samp{Quit}. @xref{Quitting}. |
| 45 | @xref{Quitting}. | ||
| 46 | 44 | ||
| 47 | @item args-out-of-range | 45 | @item args-out-of-range |
| 48 | @code{"Args out of range"}@* | 46 | The message is @samp{Args out of range}. This happens when trying to |
| 49 | This happens when trying to access an element beyond the range of a | 47 | access an element beyond the range of a sequence, buffer, or other |
| 50 | sequence or buffer.@* | 48 | container-like object. @xref{Sequences Arrays Vectors}, and |
| 51 | @xref{Sequences Arrays Vectors}, @xref{Text}. | 49 | @xref{Text}. |
| 52 | 50 | ||
| 53 | @item arith-error | 51 | @item arith-error |
| 54 | @code{"Arithmetic error"}@* | 52 | The message is @samp{Arithmetic error}. This occurs when trying to |
| 53 | perform integer division by zero. @xref{Numeric Conversions}, and | ||
| 55 | @xref{Arithmetic Operations}. | 54 | @xref{Arithmetic Operations}. |
| 56 | 55 | ||
| 57 | @item beginning-of-buffer | 56 | @item beginning-of-buffer |
| 58 | @code{"Beginning of buffer"}@* | 57 | The message is @samp{Beginning of buffer}. @xref{Character Motion}. |
| 59 | @xref{Character Motion}. | ||
| 60 | 58 | ||
| 61 | @item buffer-read-only | 59 | @item buffer-read-only |
| 62 | @code{"Buffer is read-only"}@* | 60 | The message is @samp{Buffer is read-only}. @xref{Read Only Buffers}. |
| 63 | @xref{Read Only Buffers}. | ||
| 64 | 61 | ||
| 65 | @item circular-list | 62 | @item circular-list |
| 66 | @code{"List contains a loop"}@* | 63 | The message is @samp{List contains a loop}. This happens when a |
| 67 | This happens when some operations (e.g. resolving face names) | 64 | circular structure is encountered. @xref{Circular Objects}. |
| 68 | encounter circular structures.@* | ||
| 69 | @xref{Circular Objects}. | ||
| 70 | 65 | ||
| 71 | @item cl-assertion-failed | 66 | @item cl-assertion-failed |
| 72 | @code{"Assertion failed"}@* | 67 | The message is @samp{Assertion failed}. This happens when the |
| 73 | This happens when the @code{assert} macro fails a test.@* | 68 | @code{assert} macro fails a test. @xref{Assertions,,, cl, Common Lisp |
| 74 | @xref{Assertions,,, cl, Common Lisp Extensions}. | 69 | Extensions}. |
| 75 | 70 | ||
| 76 | @item coding-system-error | 71 | @item coding-system-error |
| 77 | @code{"Invalid coding system"}@* | 72 | The message is @samp{Invalid coding system}. @xref{Lisp and Coding |
| 78 | @xref{Lisp and Coding Systems}. | 73 | Systems}. |
| 79 | 74 | ||
| 80 | @item cyclic-function-indirection | 75 | @item cyclic-function-indirection |
| 81 | @code{"Symbol's chain of function indirections contains a loop"}@* | 76 | The message is @samp{Symbol's chain of function indirections contains |
| 82 | @xref{Function Indirection}. | 77 | a loop}. @xref{Function Indirection}. |
| 83 | 78 | ||
| 84 | @item cyclic-variable-indirection | 79 | @item cyclic-variable-indirection |
| 85 | @code{"Symbol's chain of variable indirections contains a loop"}@* | 80 | The message is @samp{Symbol's chain of variable indirections contains |
| 86 | @xref{Variable Aliases}. | 81 | a loop}. @xref{Variable Aliases}. |
| 87 | 82 | ||
| 88 | @item dbus-error | 83 | @item dbus-error |
| 89 | @code{"D-Bus error"}@* | 84 | The message is @samp{D-Bus error}. This is only defined if Emacs was |
| 90 | This is only defined if Emacs was compiled with D-Bus support.@* | 85 | compiled with D-Bus support. @xref{Errors and Events,,, dbus, D-Bus |
| 91 | @xref{Errors and Events,,, dbus, D-Bus integration in Emacs}. | 86 | integration in Emacs}. |
| 92 | 87 | ||
| 93 | @item end-of-buffer | 88 | @item end-of-buffer |
| 94 | @code{"End of buffer"}@* | 89 | The message is @samp{End of buffer}. @xref{Character Motion}. |
| 95 | @xref{Character Motion}. | ||
| 96 | 90 | ||
| 97 | @item end-of-file | 91 | @item end-of-file |
| 98 | @code{"End of file during parsing"}@* | 92 | The message is @samp{End of file during parsing}. Note that this is |
| 99 | Note that this is not a subcategory of @code{file-error}, | 93 | not a subcategory of @code{file-error}, because it pertains to the |
| 100 | because it pertains to the Lisp reader, not to file I/O.@* | 94 | Lisp reader, not to file I/O. @xref{Input Functions}. |
| 101 | @xref{Input Functions}. | ||
| 102 | 95 | ||
| 103 | @item file-already-exists | 96 | @item file-already-exists |
| 104 | This is a subcategory of @code{file-error}.@* | 97 | This is a subcategory of @code{file-error}. @xref{Writing to Files}. |
| 105 | @xref{Writing to Files}. | ||
| 106 | 98 | ||
| 107 | @item file-date-error | 99 | @item file-date-error |
| 108 | This is a subcategory of @code{file-error}. It occurs when | 100 | This is a subcategory of @code{file-error}. It occurs when |
| 109 | @code{copy-file} tries and fails to set the last-modification time of | 101 | @code{copy-file} tries and fails to set the last-modification time of |
| 110 | the output file.@* | 102 | the output file. @xref{Changing Files}. |
| 111 | @xref{Changing Files}. | ||
| 112 | 103 | ||
| 113 | @item file-error | 104 | @item file-error |
| 114 | We do not list the error-strings of this error and its subcategories, | 105 | We do not list the error-strings of this error and its subcategories, |
| @@ -116,122 +107,109 @@ because the error message is normally constructed from the data items | |||
| 116 | alone when the error condition @code{file-error} is present. Thus, | 107 | alone when the error condition @code{file-error} is present. Thus, |
| 117 | the error-strings are not very relevant. However, these error symbols | 108 | the error-strings are not very relevant. However, these error symbols |
| 118 | do have @code{error-message} properties, and if no data is provided, | 109 | do have @code{error-message} properties, and if no data is provided, |
| 119 | the @code{error-message} property @emph{is} used.@* | 110 | the @code{error-message} property @emph{is} used. @xref{Files}. |
| 120 | @xref{Files}. | ||
| 121 | 111 | ||
| 122 | @c jka-compr.el | 112 | @c jka-compr.el |
| 123 | @item compression-error | 113 | @item compression-error |
| 124 | This is a subcategory of @code{file-error}, which results from | 114 | This is a subcategory of @code{file-error}, which results from |
| 125 | problems handling a compressed file.@* | 115 | problems handling a compressed file. @xref{How Programs Do Loading}. |
| 126 | @xref{How Programs Do Loading}. | ||
| 127 | 116 | ||
| 128 | @c userlock.el | 117 | @c userlock.el |
| 129 | @item file-locked | 118 | @item file-locked |
| 130 | This is a subcategory of @code{file-error}.@* | 119 | This is a subcategory of @code{file-error}. @xref{File Locks}. |
| 131 | @xref{File Locks}. | ||
| 132 | 120 | ||
| 133 | @c userlock.el | 121 | @c userlock.el |
| 134 | @item file-supersession | 122 | @item file-supersession |
| 135 | This is a subcategory of @code{file-error}.@* | 123 | This is a subcategory of @code{file-error}. @xref{Modification Time}. |
| 136 | @xref{Modification Time}. | ||
| 137 | 124 | ||
| 138 | @c net/ange-ftp.el | 125 | @c net/ange-ftp.el |
| 139 | @item ftp-error | 126 | @item ftp-error |
| 140 | This is a subcategory of @code{file-error}, which results from problems | 127 | This is a subcategory of @code{file-error}, which results from |
| 141 | in accessing a remote file using ftp.@* | 128 | problems in accessing a remote file using ftp. @xref{Remote Files,,, |
| 142 | @xref{Remote Files,,, emacs, The GNU Emacs Manual}. | 129 | emacs, The GNU Emacs Manual}. |
| 143 | 130 | ||
| 144 | @item invalid-function | 131 | @item invalid-function |
| 145 | @code{"Invalid function"}@* | 132 | The message is @samp{Invalid function}. @xref{Function Indirection}. |
| 146 | @xref{Function Indirection}. | ||
| 147 | 133 | ||
| 148 | @item invalid-read-syntax | 134 | @item invalid-read-syntax |
| 149 | @code{"Invalid read syntax"}@* | 135 | The message is @samp{Invalid read syntax}. @xref{Printed |
| 150 | @xref{Printed Representation}. | 136 | Representation}. |
| 151 | 137 | ||
| 152 | @item invalid-regexp | 138 | @item invalid-regexp |
| 153 | @code{"Invalid regexp"}@* | 139 | The message is @samp{Invalid regexp}. @xref{Regular Expressions}. |
| 154 | @xref{Regular Expressions}. | ||
| 155 | 140 | ||
| 156 | @c simple.el | 141 | @c simple.el |
| 157 | @item mark-inactive | 142 | @item mark-inactive |
| 158 | @code{"The mark is not active now"}@* | 143 | The message is @samp{The mark is not active now}. @xref{The Mark}. |
| 159 | @xref{The Mark}. | ||
| 160 | 144 | ||
| 161 | @item no-catch | 145 | @item no-catch |
| 162 | @code{"No catch for tag"}@* | 146 | The message is @samp{No catch for tag}. @xref{Catch and Throw}. |
| 163 | @xref{Catch and Throw}. | ||
| 164 | 147 | ||
| 165 | @ignore | 148 | @ignore |
| 166 | @c Not actually used for anything? Probably definition should be removed. | 149 | @c Not actually used for anything? Probably definition should be removed. |
| 167 | @item protected-field | 150 | @item protected-field |
| 168 | @code{"Attempt to modify a protected field"} | 151 | The message is @samp{Attempt to modify a protected fiel. |
| 169 | @end ignore | 152 | @end ignore |
| 170 | 153 | ||
| 171 | @item scan-error | 154 | @item scan-error |
| 172 | @code{"Scan error"}@* | 155 | The message is @samp{Scan error}. This happens when certain |
| 173 | This happens when certain syntax-parsing functions | 156 | syntax-parsing functions find invalid syntax or mismatched |
| 174 | find invalid syntax or mismatched parentheses.@* | 157 | parentheses. @xref{List Motion}, and @xref{Parsing Expressions}. |
| 175 | @xref{List Motion}, and @ref{Parsing Expressions}. | ||
| 176 | 158 | ||
| 177 | @item search-failed | 159 | @item search-failed |
| 178 | @code{"Search failed"}@* | 160 | The message is @samp{Search failed}. @xref{Searching and Matching}. |
| 179 | @xref{Searching and Matching}. | ||
| 180 | 161 | ||
| 181 | @item setting-constant | 162 | @item setting-constant |
| 182 | @code{"Attempt to set a constant symbol"}@* | 163 | The message is @samp{Attempt to set a constant symbol}. This happens |
| 183 | The values of the symbols @code{nil} and @code{t}, | 164 | when attempting to assign values to @code{nil}, @code{t}, and keyword |
| 184 | and any symbols that start with @samp{:}, | 165 | symbols. @xref{Constant Variables}. |
| 185 | may not be changed.@* | ||
| 186 | @xref{Constant Variables, , Variables that Never Change}. | ||
| 187 | 166 | ||
| 188 | @c simple.el | 167 | @c simple.el |
| 189 | @item text-read-only | 168 | @item text-read-only |
| 190 | @code{"Text is read-only"}@* | 169 | The message is @samp{Text is read-only}. This is a subcategory of |
| 191 | This is a subcategory of @code{buffer-read-only}.@* | 170 | @code{buffer-read-only}. @xref{Special Properties}. |
| 192 | @xref{Special Properties}. | ||
| 193 | 171 | ||
| 194 | @item undefined-color | 172 | @item undefined-color |
| 195 | @code{"Undefined color"}@* | 173 | The message is @samp{Undefined color}. @xref{Color Names}. |
| 196 | @xref{Color Names}. | ||
| 197 | 174 | ||
| 198 | @item void-function | 175 | @item void-function |
| 199 | @code{"Symbol's function definition is void"}@* | 176 | The message is @samp{Symbol's function definition is void}. |
| 200 | @xref{Function Cells}. | 177 | @xref{Function Cells}. |
| 201 | 178 | ||
| 202 | @item void-variable | 179 | @item void-variable |
| 203 | @code{"Symbol's value as variable is void"}@* | 180 | The message is @samp{Symbol's value as variable is void}. |
| 204 | @xref{Accessing Variables}. | 181 | @xref{Accessing Variables}. |
| 205 | 182 | ||
| 206 | @item wrong-number-of-arguments | 183 | @item wrong-number-of-arguments |
| 207 | @code{"Wrong number of arguments"}@* | 184 | The message is @samp{Wrong number of arguments}. @xref{Classifying |
| 208 | @xref{Classifying Lists}. | 185 | Lists}. |
| 209 | 186 | ||
| 210 | @item wrong-type-argument | 187 | @item wrong-type-argument |
| 211 | @code{"Wrong type argument"}@* | 188 | The message is @samp{Wrong type argument}. @xref{Type Predicates}. |
| 212 | @xref{Type Predicates}. | ||
| 213 | @end table | 189 | @end table |
| 214 | 190 | ||
| 191 | @ignore The following seem to be unused now. | ||
| 215 | The following kinds of error, which are classified as special cases of | 192 | The following kinds of error, which are classified as special cases of |
| 216 | @code{arith-error}, can occur on certain systems for invalid use of | 193 | @code{arith-error}, can occur on certain systems for invalid use of |
| 217 | mathematical functions. @xref{Math Functions}. | 194 | mathematical functions. @xref{Math Functions}. |
| 218 | 195 | ||
| 219 | @table @code | 196 | @table @code |
| 220 | @item domain-error | 197 | @item domain-error |
| 221 | @code{"Arithmetic domain error"} | 198 | The message is @samp{Arithmetic domain error}. |
| 222 | 199 | ||
| 223 | @item overflow-error | 200 | @item overflow-error |
| 224 | @code{"Arithmetic overflow error"}@* | 201 | The message is @samp{Arithmetic overflow error}. This is a subcategory |
| 225 | This is a subcategory of @code{domain-error}. | 202 | of @code{domain-error}. |
| 226 | 203 | ||
| 227 | @item range-error | 204 | @item range-error |
| 228 | @code{"Arithmetic range error"} | 205 | The message is @code{Arithmetic range error}. |
| 229 | 206 | ||
| 230 | @item singularity-error | 207 | @item singularity-error |
| 231 | @code{"Arithmetic singularity error"}@* | 208 | The mssage is @samp{Arithmetic singularity error}. This is a |
| 232 | This is a subcategory of @code{domain-error}. | 209 | subcategory of @code{domain-error}. |
| 233 | 210 | ||
| 234 | @item underflow-error | 211 | @item underflow-error |
| 235 | @code{"Arithmetic underflow error"}@* | 212 | The message is @samp{Arithmetic underflow error}. This is a |
| 236 | This is a subcategory of @code{domain-error}. | 213 | subcategory of @code{domain-error}. |
| 237 | @end table | 214 | @end table |
| 215 | @end ignore | ||