annotate lispref/errors.texi @ 15553:6a77264bef21 libc-960629 libc-960630 libc-960701 libc-960702 libc-960703 libc-960704 libc-960705 libc-960706 libc-960707

(mips:*:*:UMIPS): Fix typo in last change.
author Richard Kenner <kenner@gnu.org>
date Fri, 28 Jun 1996 17:28:58 +0000
parents a6eb5f12b0f3
children 981e116b4ac6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 @c -*-texinfo-*-
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 @c This is part of the GNU Emacs Lisp Reference Manual.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 @c See the file elisp.texi for copying conditions.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 @setfilename ../info/errors
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 @node Standard Errors, Standard Buffer-Local Variables, GNU Emacs Internals, Top
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 @appendix Standard Errors
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 Here is the complete list of the error symbols in standard Emacs,
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 grouped by concept. The list includes each symbol's message (on the
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
11 @code{error-message} property of the symbol) and a cross reference to a
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 description of how the error can occur.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
14 Each error symbol has an @code{error-conditions} property that is a
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
15 list of symbols. Normally this list includes the error symbol itself
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 and the symbol @code{error}. Occasionally it includes additional
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
17 symbols, which are intermediate classifications, narrower than
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
18 @code{error} but broader than a single error symbol. For example, all
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
19 the errors in accessing files have the condition @code{file-error}.
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 As a special exception, the error symbol @code{quit} does not have the
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 condition @code{error}, because quitting is not considered an error.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 @xref{Errors}, for an explanation of how errors are generated and
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 handled.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 @table @code
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 @item @var{symbol}
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 @var{string}; @var{reference}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 @item error
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 @code{"error"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 @xref{Errors}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 @item quit
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 @code{"Quit"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 @xref{Quitting}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 @item args-out-of-range
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 @code{"Args out of range"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 @xref{Sequences Arrays Vectors}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 @item arith-error
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 @code{"Arithmetic error"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 See @code{/} and @code{%} in @ref{Numbers}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 @item beginning-of-buffer
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 @code{"Beginning of buffer"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 @xref{Motion}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 @item buffer-read-only
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 @code{"Buffer is read-only"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 @xref{Read Only Buffers}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
55 @item cyclic-function-indirection
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
56 @code{"Symbol's chain of function indirections contains a loop"}@*
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
57 @xref{Function Indirection}.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
58
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 @item end-of-buffer
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 @code{"End of buffer"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 @xref{Motion}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 @item end-of-file
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 @code{"End of file during parsing"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 This is not a @code{file-error}.@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 @xref{Input Functions}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 @item file-error
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
69 This error and its subcategories do not have error-strings, because the
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
70 error message is constructed from the data items alone when the error
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
71 condition @code{file-error} is present.@*
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 @xref{Files}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 @item file-locked
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 This is a @code{file-error}.@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 @xref{File Locks}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 @item file-already-exists
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 This is a @code{file-error}.@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 @xref{Writing to Files}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 @item file-supersession
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 This is a @code{file-error}.@*
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
84 @xref{Modification Time}.
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 @item invalid-function
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 @code{"Invalid function"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 @xref{Classifying Lists}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 @item invalid-read-syntax
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 @code{"Invalid read syntax"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 @xref{Input Functions}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 @item invalid-regexp
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 @code{"Invalid regexp"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 @xref{Regular Expressions}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 @item no-catch
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 @code{"No catch for tag"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 @xref{Catch and Throw}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 @item search-failed
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 @code{"Search failed"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 @xref{Searching and Matching}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 @item setting-constant
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 @code{"Attempt to set a constant symbol"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 The values of the symbols @code{nil} and @code{t}
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 may not be changed.@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 @xref{Constant Variables, , Variables that Never Change}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
112 @item undefined-color
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
113 @code{"Undefined color"}@*
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
114 @xref{Color Names}.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
115
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 @item void-function
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 @code{"Symbol's function definition is void"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 @xref{Function Cells}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 @item void-variable
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 @code{"Symbol's value as variable is void"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 @xref{Accessing Variables}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 @item wrong-number-of-arguments
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 @code{"Wrong number of arguments"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 @xref{Classifying Lists}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 @item wrong-type-argument
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 @code{"Wrong type argument"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 @xref{Type Predicates}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 @end table
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
132
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
133 These error types, which are all classified as special cases of
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
134 @code{arith-error}, can occur on certain systems for invalid use of
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
135 mathematical functions.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
136
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
137 @table @code
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
138 @item domain-error
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
139 @code{"Arithmetic domain error"}@*
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
140 @xref{Math Functions}.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
141
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
142 @item overflow-error
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
143 @code{"Arithmetic overflow error"}@*
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
144 @xref{Math Functions}.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
145
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
146 @item range-error
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
147 @code{"Arithmetic range error"}@*
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
148 @xref{Math Functions}.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
149
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
150 @item singularity-error
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
151 @code{"Arithmetic singularity error"}@*
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
152 @xref{Math Functions}.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
153
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
154 @item underflow-error
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
155 @code{"Arithmetic underflow error"}@*
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
156 @xref{Math Functions}.
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
157 @end table