Next: Standard Keymaps, Previous: GNU Emacs Internals, Up: Top
Here is a list of the more important error symbols in standard Emacs, grouped by concept. The list includes each symbol's message and a cross reference to a description of how the error can occur.
Each error symbol has a set of parent error conditions that is a
list of symbols. Normally this list includes the error symbol itself
and the symbol error
. Occasionally it includes additional
symbols, which are intermediate classifications, narrower than
error
but broader than a single error symbol. For example, all
the errors in accessing files have the condition file-error
. If
we do not say here that a certain error symbol has additional error
conditions, that means it has none.
As a special exception, the error symbol quit
does not have the
condition error
, because quitting is not considered an error.
Most of these error symbols are defined in C (mainly data.c),
but some are defined in Lisp. For example, the file userlock.el
defines the file-locked
and file-supersession
errors.
Several of the specialized Lisp libraries distributed with Emacs
define their own error symbols. We do not attempt to list of all
those here.
See Errors, for an explanation of how errors are generated and handled.
error
quit
args-out-of-range
arith-error
beginning-of-buffer
buffer-read-only
circular-list
cl-assertion-failed
cl-assert
macro fails a test. See Assertions.
coding-system-error
cyclic-function-indirection
cyclic-variable-indirection
dbus-error
end-of-buffer
end-of-file
file-error
, because it pertains to the
Lisp reader, not to file I/O. See Input Functions.
file-already-exists
file-error
. See Writing to Files.
file-date-error
file-error
. It occurs when
copy-file
tries and fails to set the last-modification time of
the output file. See Changing Files.
file-error
file-error
is present. Thus,
the error-strings are not very relevant. However, these error symbols
do have error-message
properties, and if no data is provided,
the error-message
property is used. See Files.
file-missing
file-error
. It occurs when an
operation attempts to act on a file that is missing. See Changing Files.
compression-error
file-error
, which results from
problems handling a compressed file. See How Programs Do Loading.
file-locked
file-error
. See File Locks.
file-supersession
file-error
. See Modification Time.
file-notify-error
file-error
. It happens, when a file
could not be watched for changes. See File Notifications.
ftp-error
file-error
, which results from
problems in accessing a remote file using ftp. See Remote Files.
invalid-function
invalid-read-syntax
invalid-regexp
mark-inactive
no-catch
scan-error
search-failed
setting-constant
nil
, t
,
most-positive-fixnum
, most-negative-fixnum
, and keyword
symbols. It also happens when attempting to assign values to
enable-multibyte-characters
and some other symbols whose direct
assignment is not allowed for some reason. See Constant Variables.
text-read-only
buffer-read-only
. See Special Properties.
undefined-color
user-error
user-search-failed
void-function
void-variable
wrong-number-of-arguments
wrong-type-argument