diff options
Diffstat (limited to 'doc/lispref/errors.texi')
| -rw-r--r-- | doc/lispref/errors.texi | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/doc/lispref/errors.texi b/doc/lispref/errors.texi index fcf4ec24af7..76ab8b235f5 100644 --- a/doc/lispref/errors.texi +++ b/doc/lispref/errors.texi | |||
| @@ -3,11 +3,11 @@ | |||
| 3 | @c Copyright (C) 1990-1993, 1999, 2001-2012 Free Software Foundation, Inc. | 3 | @c Copyright (C) 1990-1993, 1999, 2001-2012 Free Software Foundation, Inc. |
| 4 | @c See the file elisp.texi for copying conditions. | 4 | @c See the file elisp.texi for copying conditions. |
| 5 | @setfilename ../../info/errors | 5 | @setfilename ../../info/errors |
| 6 | @node Standard Errors, Standard Buffer-Local Variables, GNU Emacs Internals, Top | 6 | @node Standard Errors, Standard Keymaps, GNU Emacs Internals, Top |
| 7 | @appendix Standard Errors | 7 | @appendix Standard Errors |
| 8 | @cindex standard errors | 8 | @cindex standard errors |
| 9 | 9 | ||
| 10 | Here is the complete list of the error symbols in standard Emacs, | 10 | Here is a list of the more important error symbols in standard Emacs, |
| 11 | grouped by concept. The list includes each symbol's message (on the | 11 | grouped by concept. The list includes each symbol's message (on the |
| 12 | @code{error-message} property of the symbol) and a cross reference to a | 12 | @code{error-message} property of the symbol) and a cross reference to a |
| 13 | description of how the error can occur. | 13 | description of how the error can occur. |
| @@ -24,6 +24,15 @@ conditions, that means it has none. | |||
| 24 | As a special exception, the error symbol @code{quit} does not have the | 24 | As a special exception, the error symbol @code{quit} does not have the |
| 25 | condition @code{error}, because quitting is not considered an error. | 25 | condition @code{error}, because quitting is not considered an error. |
| 26 | 26 | ||
| 27 | @c You can grep for "(put 'foo 'error-conditions ...) to find | ||
| 28 | @c examples defined in Lisp. Eg soap-client.el, sasl.el. | ||
| 29 | Most of these error symbols are defined in C (mainly @file{data.c}), | ||
| 30 | but some are defined in Lisp. For example, the file @file{userlock.el} | ||
| 31 | defines the @code{file-locked} and @code{file-supersession} errors. | ||
| 32 | Several of the specialized Lisp libraries distributed with Emacs | ||
| 33 | define their own error symbols. We do not attempt to list of all | ||
| 34 | those here. | ||
| 35 | |||
| 27 | @xref{Errors}, for an explanation of how errors are generated and | 36 | @xref{Errors}, for an explanation of how errors are generated and |
| 28 | handled. | 37 | handled. |
| 29 | 38 | ||
| @@ -54,10 +63,16 @@ sequence or buffer.@* | |||
| 54 | @code{"Buffer is read-only"}@* | 63 | @code{"Buffer is read-only"}@* |
| 55 | @xref{Read Only Buffers}. | 64 | @xref{Read Only Buffers}. |
| 56 | 65 | ||
| 57 | @ignore | ||
| 58 | @item circular-list | 66 | @item circular-list |
| 59 | @code{"List contains a loop"}@* | 67 | @code{"List contains a loop"}@* |
| 60 | @end ignore | 68 | This happens when some operations (e.g. resolving face names) |
| 69 | encounter circular structures.@* | ||
| 70 | @xref{Circular Objects}. | ||
| 71 | |||
| 72 | @item cl-assertion-failed | ||
| 73 | @code{"Assertion failed"}@* | ||
| 74 | This happens when the @code{assert} macro fails a test.@* | ||
| 75 | @xref{Assertions,,, cl, Common Lisp Extensions}. | ||
| 61 | 76 | ||
| 62 | @item coding-system-error | 77 | @item coding-system-error |
| 63 | @code{"Invalid coding system"}@* | 78 | @code{"Invalid coding system"}@* |
| @@ -105,14 +120,23 @@ do have @code{error-message} properties, and if no data is provided, | |||
| 105 | the @code{error-message} property @emph{is} used.@* | 120 | the @code{error-message} property @emph{is} used.@* |
| 106 | @xref{Files}. | 121 | @xref{Files}. |
| 107 | 122 | ||
| 123 | @c jka-compr.el | ||
| 124 | @item compression-error | ||
| 125 | This is a subcategory of @code{file-error}, which results from | ||
| 126 | problems handling a compressed file.@* | ||
| 127 | @xref{How Programs Do Loading}. | ||
| 128 | |||
| 129 | @c userlock.el | ||
| 108 | @item file-locked | 130 | @item file-locked |
| 109 | This is a subcategory of @code{file-error}.@* | 131 | This is a subcategory of @code{file-error}.@* |
| 110 | @xref{File Locks}. | 132 | @xref{File Locks}. |
| 111 | 133 | ||
| 134 | @c userlock.el | ||
| 112 | @item file-supersession | 135 | @item file-supersession |
| 113 | This is a subcategory of @code{file-error}.@* | 136 | This is a subcategory of @code{file-error}.@* |
| 114 | @xref{Modification Time}. | 137 | @xref{Modification Time}. |
| 115 | 138 | ||
| 139 | @c net/ange-ftp.el | ||
| 116 | @item ftp-error | 140 | @item ftp-error |
| 117 | This is a subcategory of @code{file-error}, which results from problems | 141 | This is a subcategory of @code{file-error}, which results from problems |
| 118 | in accessing a remote file using ftp.@* | 142 | in accessing a remote file using ftp.@* |
| @@ -130,6 +154,7 @@ in accessing a remote file using ftp.@* | |||
| 130 | @code{"Invalid regexp"}@* | 154 | @code{"Invalid regexp"}@* |
| 131 | @xref{Regular Expressions}. | 155 | @xref{Regular Expressions}. |
| 132 | 156 | ||
| 157 | @c simple.el | ||
| 133 | @item mark-inactive | 158 | @item mark-inactive |
| 134 | @code{"The mark is not active now"}@* | 159 | @code{"The mark is not active now"}@* |
| 135 | @xref{The Mark}. | 160 | @xref{The Mark}. |
| @@ -139,6 +164,7 @@ in accessing a remote file using ftp.@* | |||
| 139 | @xref{Catch and Throw}. | 164 | @xref{Catch and Throw}. |
| 140 | 165 | ||
| 141 | @ignore | 166 | @ignore |
| 167 | @c Not actually used for anything? Probably definition should be removed. | ||
| 142 | @item protected-field | 168 | @item protected-field |
| 143 | @code{"Attempt to modify a protected field"} | 169 | @code{"Attempt to modify a protected field"} |
| 144 | @end ignore | 170 | @end ignore |
| @@ -160,6 +186,7 @@ and any symbols that start with @samp{:}, | |||
| 160 | may not be changed.@* | 186 | may not be changed.@* |
| 161 | @xref{Constant Variables, , Variables that Never Change}. | 187 | @xref{Constant Variables, , Variables that Never Change}. |
| 162 | 188 | ||
| 189 | @c simple.el | ||
| 163 | @item text-read-only | 190 | @item text-read-only |
| 164 | @code{"Text is read-only"}@* | 191 | @code{"Text is read-only"}@* |
| 165 | This is a subcategory of @code{buffer-read-only}.@* | 192 | This is a subcategory of @code{buffer-read-only}.@* |