annotate lispref/errors.texi @ 9190:4e66c15e2d6c

(gud-overload-functions): Function deleted. (gud-massage-args, gud-marker-filter, gud-find-file): New vars. Mark them as permanent locals. (gud-massage-args, gud-marker-filter, gud-find-file): In these functions, use those variables. (gud-common-init): 3 new args give values for those variables. (gdb, sdb, dbx, xdb, perldb): Pass new args to gud-common-init. (gud-gdb-complete-command): Bind gud-marker-filter. (gud-find-file): Condense multiple slashes to single slashes.
author Richard M. Stallman <rms@gnu.org>
date Fri, 30 Sep 1994 09:11:36 +0000
parents 8bf07ff6a929
children a6eb5f12b0f3
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
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 @item end-of-buffer
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 @code{"End of buffer"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 @xref{Motion}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 @item end-of-file
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 @code{"End of file during parsing"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 This is not a @code{file-error}.@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 @xref{Input Functions}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 @item file-error
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
65 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
66 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
67 condition @code{file-error} is present.@*
2899
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 @xref{Files}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 @item file-locked
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 This is a @code{file-error}.@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 @xref{File Locks}.
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-already-exists
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{Writing to Files}.
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-supersession
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 This is a @code{file-error}.@*
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 2899
diff changeset
80 @xref{Modification Time}.
2899
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 invalid-function
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 @code{"Invalid function"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 @xref{Classifying Lists}.
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-read-syntax
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 @code{"Invalid read syntax"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 @xref{Input Functions}.
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-regexp
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 @code{"Invalid regexp"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 @xref{Regular Expressions}.
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 no-catch
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 @code{"No catch for tag"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 @xref{Catch and Throw}.
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 search-failed
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 @code{"Search failed"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 @xref{Searching and Matching}.
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 setting-constant
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 @code{"Attempt to set a constant symbol"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 The values of the symbols @code{nil} and @code{t}
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 may not be changed.@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 @xref{Constant Variables, , Variables that Never Change}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 @item void-function
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 @code{"Symbol's function definition is void"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 @xref{Function Cells}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 @item void-variable
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 @code{"Symbol's value as variable is void"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 @xref{Accessing Variables}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 @item wrong-number-of-arguments
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 @code{"Wrong number of arguments"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 @xref{Classifying Lists}.
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 wrong-type-argument
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 @code{"Wrong type argument"}@*
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 @xref{Type Predicates}.
462fc7e81e6e Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 @end table