1994-03-16 18:30:13 +00:00
|
|
|
@c -*-texinfo-*-
|
|
|
|
@c This is part of the GNU Emacs Lisp Reference Manual.
|
2006-02-06 12:31:40 +00:00
|
|
|
@c Copyright (C) 1999, 2002, 2003, 2004, 2005,
|
|
|
|
@c 2006 Free Software Foundation, Inc.
|
1994-03-16 18:30:13 +00:00
|
|
|
@c See the file elisp.texi for copying conditions.
|
2000-05-23 12:22:28 +00:00
|
|
|
|
|
|
|
@c This node must have no pointers.
|
|
|
|
|
2000-08-17 11:14:01 +00:00
|
|
|
@node Antinews, GNU Free Documentation License, System Interface, Top
|
2005-03-17 23:16:11 +00:00
|
|
|
@appendix Emacs 21 Antinews
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
For those users who live backwards in time, here is information about
|
2005-03-17 23:16:11 +00:00
|
|
|
downgrading to Emacs version 21.4. We hope you will enjoy the greater
|
2005-06-10 10:11:22 +00:00
|
|
|
simplicity that results from the absence of many Emacs @value{EMACSVER}
|
|
|
|
features.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@section Old Lisp Features in Emacs 21
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@itemize @bullet
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Many unnecessary features of redisplay have been eliminated. (The
|
|
|
|
earlier major release, Emacs 20, will have a completely rewritten
|
|
|
|
redisplay engine, which will be even simpler.)
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@itemize @minus
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{force-window-update} has been removed. It
|
|
|
|
shouldn't be needed, since changes in window contents are detected
|
|
|
|
automatically. In case they aren't, call @code{redraw-display} to
|
|
|
|
redraw everything.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Point no longer moves out from underneath invisible text at the end of
|
|
|
|
each command. This allows the user to detect invisible text by moving
|
|
|
|
the cursor around---if the cursor gets stuck, there is something
|
|
|
|
invisible in the way. If you really want cursor motion to ignore the
|
|
|
|
text, try marking it as intangible.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1999-10-27 10:42:06 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Support for image maps and image slices has been removed. Emacs was
|
|
|
|
always meant for editing text, anyway.
|
1999-10-27 10:42:06 +00:00
|
|
|
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The mode line now accepts all text properties, as well as
|
|
|
|
@code{:propertize} and @code{:eval} forms, regardless of the
|
|
|
|
@code{risky-local-variable} property.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@item
|
|
|
|
The @code{line-height} and @code{line-spacing} properties no longer
|
|
|
|
have any meaning for newline characters. Such properties wouldn't
|
|
|
|
make sense, since newlines are not really characters; they just tell
|
|
|
|
you where to break a line.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@item
|
|
|
|
Considerable simplifications have been made to the display
|
|
|
|
specification @code{(space . @var{props})}, which is used for
|
|
|
|
displaying a space of specified width and height. Pixel-based
|
|
|
|
specifications and Lisp expressions are no longer accepted.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1999-09-17 06:59:04 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Many features associated with the fringe areas have been removed, to
|
|
|
|
encourage people to concentrate on the main editing area (the fringe
|
|
|
|
will be completely removed in Emacs 20.) Arbitrary bitmaps can no
|
|
|
|
longer be displayed in the fringe; an overlay arrow can still be
|
|
|
|
displayed, but there can only be one overlay arrow at a time (any more
|
|
|
|
would be confusing.) The fringe widths cannot be adjusted, and
|
|
|
|
individual windows cannot have their own fringe settings. A mouse
|
|
|
|
click on the fringe no longer generates a special event.
|
1999-10-27 10:42:06 +00:00
|
|
|
|
2000-02-09 23:54:58 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Individual windows cannot have their own scroll-bar settings.
|
2000-02-09 23:54:58 +00:00
|
|
|
|
1999-10-27 10:42:06 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
You can no longer use @samp{default} in a @code{defface} to specify
|
|
|
|
defaults for subsequent faces.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2000-02-09 23:54:58 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{display-supports-face-attributes-p} has been
|
|
|
|
removed. In @code{defface} specifications, the @code{supports}
|
|
|
|
predicate is no longer supported.
|
2000-02-09 23:54:58 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
@code{face-attribute-relative-p} and @code{merge-face-attribute} have
|
|
|
|
been removed.
|
2000-02-09 23:54:58 +00:00
|
|
|
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The priority of faces in a list supplied by the @code{:inherit} face
|
|
|
|
attribute has been reversed. We like to make changes like this once
|
|
|
|
in a while, to keep Emacs Lisp programmers on their toes.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The @code{min-colors} face attribute, used for tailoring faces to
|
|
|
|
limited-color displays, does not exist. If in doubt, use colors like
|
|
|
|
``white'' and ``black'', which ought to be defined everywhere.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The @code{tty-color-mode} frame parameter does not exist. You should
|
|
|
|
just trust the terminal capabilities database.
|
|
|
|
@end itemize
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Several simplifications have been made to mouse support:
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@itemize @minus
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Clicking @kbd{mouse-1} won't follow links, as that is alien to the
|
|
|
|
spirit of Emacs. Therefore, the @code{follow-link} property doesn't
|
|
|
|
has any special meaning, and the function @code{mouse-on-link-p} has
|
|
|
|
been removed.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2000-02-09 23:54:58 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The variable @code{void-text-area-pointer} has been removed, so the
|
|
|
|
mouse pointer shape remains unchanged when moving between valid text
|
|
|
|
areas and void text areas. The @code{pointer} image and text
|
|
|
|
properties are no longer supported.
|
2000-02-09 23:54:58 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Mouse events will no longer specify the timestamp, the object clicked,
|
|
|
|
equivalent buffer positions (for marginal or fringe areas), glyph
|
|
|
|
coordinates, or relative pixel coordinates.
|
|
|
|
@end itemize
|
2000-02-09 23:54:58 +00:00
|
|
|
|
1999-10-27 10:42:06 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Simplifications have also been made to the way Emacs handles keymaps
|
|
|
|
and key sequences:
|
1999-10-27 10:42:06 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@itemize @minus
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The @code{kbd} macro has been removed. It isn't that difficult to
|
|
|
|
write key sequences using the string and vector representations, and
|
|
|
|
we want to encourage users to learn.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Emacs no longer supports key remapping. You can do pretty much the
|
|
|
|
same thing with @code{substitute-key-definition}, or by advising the
|
|
|
|
relevant command.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The @code{keymap} text and overlay property is now overridden by minor
|
|
|
|
mode keymaps, and will not work at the ends of text properties and
|
|
|
|
overlays.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The functions @code{map-keymap}, @code{keymap-prompt}, and
|
|
|
|
@code{current-active-maps} have been removed.
|
|
|
|
@end itemize
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1999-09-17 06:59:04 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Process support has been pared down to a functional minimum. The
|
|
|
|
functions @code{call-process-shell-command} and @code{process-file}
|
|
|
|
have been deleted. Processes no longer maintain property lists, and
|
|
|
|
they won't ask any questions when the user tries to exit Emacs (which
|
|
|
|
would simply be rude.) The function @code{signal-process} won't
|
|
|
|
accept a process object, only the process id; determining the process
|
|
|
|
id from a process object is left as an exercise to the programmer.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-21 02:28:15 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Networking has also been simplified: @code{make-network-process} and
|
|
|
|
its various associated function have all been replaced with a single
|
|
|
|
easy-to-use function, @code{open-network-stream}, which can't use UDP,
|
|
|
|
can't act as a server, and can't set up non-blocking connections.
|
|
|
|
Also, deleting a network process with @code{delete-process} won't call
|
|
|
|
the sentinel.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2000-02-09 23:54:58 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Many programming shortcuts have been deleted, to provide you with the
|
|
|
|
enjoyment of ``rolling your own''. The macros @code{while-no-input},
|
2005-06-18 13:40:30 +00:00
|
|
|
@code{with-local-quit}, and @code{with-selected-window}, along with
|
|
|
|
@code{dynamic-completion-table} and @code{lazy-completion-table} no
|
|
|
|
longer exist. Also, there are no built-in progress reporters;
|
|
|
|
with Emacs, you can take progress for granted.
|
2000-02-09 23:54:58 +00:00
|
|
|
|
1994-05-21 02:28:15 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Variable aliases are no longer supported. Aliases are for functions,
|
|
|
|
not for variables.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-21 02:28:15 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The variables @code{most-positive-fixnum} and
|
|
|
|
@code{most-negative-fixnum} do not exist. On 32 bit machines, the
|
|
|
|
most positive integer is probably 134217727, and the most negative
|
|
|
|
integer is probably -134217728.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The functions @code{eql} and @code{macroexpand-all} are no longer
|
|
|
|
available. However, you can find similar functions in the @code{cl}
|
|
|
|
package.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1999-10-05 23:26:05 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The list returned by @code{split-string} won't include null substrings
|
|
|
|
for separators at the beginning or end of a string. If you want to
|
|
|
|
check for such separators, do it separately.
|
1999-10-05 23:26:05 +00:00
|
|
|
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{assoc-string} has been removed. Use
|
|
|
|
@code{assoc-ignore-case} or @code{assoc-ignore-representation} (which
|
|
|
|
are no longer obsolete.)
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The escape sequence @samp{\s} is always interpreted as a super
|
|
|
|
modifier, never a space.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-28 14:52:37 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The variable @code{buffer-save-without-query} has been removed, to
|
|
|
|
prevent Emacs from sneakily saving buffers. Also, the hook
|
|
|
|
@code{before-save-hook} has been removed, so if you want something to
|
|
|
|
be done before saving, advise or redefine @code{basic-save-buffer}.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-28 14:52:37 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The variable @code{buffer-auto-save-file-format} has been renamed to
|
|
|
|
@code{auto-save-file-format}, and is no longer a permanent local.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1999-12-13 04:42:21 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{visited-file-modtime} now returns a cons, instead
|
|
|
|
of a list of two integers. The primitive @code{set-file-times} has
|
|
|
|
been eliminated.
|
1999-12-13 04:42:21 +00:00
|
|
|
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{file-remote-p} is no longer available.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
When determining the filename extension, a leading dot in a filename
|
|
|
|
is no longer ignored. Thus, @file{.emacs} is considered to have
|
|
|
|
extension @file{emacs}, rather than being extensionless.
|
1999-12-08 18:45:56 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Emacs looks for special file handlers in a more efficient manner: it
|
|
|
|
will choose the first matching handler in
|
|
|
|
@code{file-name-handler-alist}, rather than trying to figure out which
|
|
|
|
provides the closest match.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1998-04-20 17:43:57 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The @code{predicate} argument for @code{read-file-name} has been
|
|
|
|
removed, and so have the variables @code{read-file-name-function} and
|
|
|
|
@code{read-file-name-completion-ignore-case}. The function
|
|
|
|
@code{read-directory-name} has also been removed.
|
1998-04-20 17:43:57 +00:00
|
|
|
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The functions @code{all-completions} and @code{try-completion} will no
|
|
|
|
longer accept lists of strings or hash tables (it will still accept
|
|
|
|
alists, obarrays, and functions.) In addition, the function
|
|
|
|
@code{test-completion} is no longer available.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-28 21:11:16 +00:00
|
|
|
@item
|
|
|
|
The @samp{G} interactive code character is no longer supported.
|
|
|
|
Use @samp{F} instead.
|
|
|
|
|
1994-03-16 18:30:13 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Arbitrary Lisp functions can no longer be recorded into
|
|
|
|
@code{buffer-undo-list}. As a consequence, @code{yank-undo-function}
|
|
|
|
is obsolete, and has been removed.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Emacs will never complain about commands that accumulate too much undo
|
|
|
|
information, so you no longer have to worry about binding
|
|
|
|
@code{buffer-undo-list} to @code{t} for such commands (though you may
|
|
|
|
want to do that anyway, to avoid taking up unnecessary memory space.)
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@item
|
|
|
|
Atomic change groups are no longer supported.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@item
|
|
|
|
The list returned by @code{(match-data t)} no longer records the
|
|
|
|
buffer as a final element.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
2005-03-17 23:16:11 +00:00
|
|
|
@item
|
|
|
|
The function @code{looking-back} has been removed, so we no longer
|
|
|
|
have the benefit of hindsight.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The variable @code{search-spaces-regexp} does not exist. Spaces
|
|
|
|
always stand for themselves in regular expression searches.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The functions @code{skip-chars-forward} and @code{skip-chars-backward}
|
|
|
|
no longer accepts character classes such as @samp{[:alpha:]}. All
|
|
|
|
characters are created equal.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The @code{yank-handler} text property no longer has any meaning.
|
|
|
|
Also, @code{yank-excluded-properties}, @code{insert-for-yank}, and
|
|
|
|
@code{insert-buffer-substring-as-yank} have all been removed.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The variable @code{char-property-alias-alist} has been deleted.
|
|
|
|
Aliases are for functions, not for properties.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{get-char-property-and-overlay} has been deleted.
|
|
|
|
If you want the properties at a point, find the text properties at the
|
|
|
|
point; then, find the overlays at the point, and find the properties
|
|
|
|
on those overlays.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
Font Lock mode only manages @code{face} properties; you can't use
|
|
|
|
font-lock keywords to specify arbitrary text properties for it to
|
|
|
|
manage. After all, it is called Font Lock mode, not Arbitrary
|
|
|
|
Properties Lock mode.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-21 02:28:15 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The arguments to @code{remove-overlays} are no longer optional.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-21 02:28:15 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
In @code{replace-match}, the replacement text now inherits properties
|
|
|
|
from the surrounding text.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-21 02:28:15 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
@code{mode-line-format} no longer supports the @code{:propertize},
|
|
|
|
@code{%i}, and @code{%I} constructs. The function
|
|
|
|
@code{format-mode-line} has been removed.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
1994-05-21 02:28:15 +00:00
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The functions @code{window-inside-edges} and @code{window-body-height}
|
|
|
|
have been removed. You should do the relevant calculations yourself,
|
|
|
|
starting with @code{window-width} and @code{window-height}.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The functions @code{window-pixel-edges} and
|
|
|
|
@code{window-inside-pixel-edges} have been removed. We prefer to
|
|
|
|
think in terms of lines and columns, not pixel coordinates. (Sometime
|
|
|
|
in the distant past, we will do away with graphical terminals
|
|
|
|
entirely, in favor of text terminals.) For similar reasons, the
|
|
|
|
functions @code{posn-at-point}, @code{posn-at-x-y}, and
|
|
|
|
@code{pos-visible-in-window-p} have been removed.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The macro @code{save-selected-window} only saves the selected window
|
|
|
|
of the selected frame, so don't try selecting windows in other frames.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{minibufferp} is no longer available.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The function @code{modify-all-frames-parameters} has been removed (we
|
|
|
|
always suspected the name was ungrammatical, anyway.)
|
|
|
|
|
|
|
|
@item
|
|
|
|
The @code{line-spacing} variable no longer accepts float values.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The function @code{tool-bar-local-item-from-menu} has been deleted.
|
|
|
|
If you need to make an entry in the tool bar, you can still use
|
|
|
|
@code{tool-bar-add-item-from-menu}, but that modifies the binding in
|
|
|
|
the source keymap instead of copying it into the local keymap.
|
|
|
|
|
|
|
|
@item
|
|
|
|
When determining the major mode, the file name takes precedence over
|
|
|
|
the interpreter magic line. The variable @code{magic-mode-alist},
|
|
|
|
which associates certain buffer beginnings with major modes, has been
|
|
|
|
eliminated.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The hook @code{after-change-major-mode-hook} is not defined, and
|
|
|
|
neither are @code{run-mode-hooks} and @code{delay-mode-hooks}.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The variable @code{minor-mode-list} has been removed.
|
|
|
|
|
|
|
|
@item
|
|
|
|
@code{define-derived-mode} will copy abbrevs from the parent mode's
|
|
|
|
abbrev table, instead of creating a new, empty abbrev table.
|
|
|
|
|
|
|
|
@item
|
|
|
|
There are no ``system'' abbrevs. When the user saves into the abbrevs
|
|
|
|
file, all abbrevs are saved.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The Warnings facility has been removed. Just use @code{error}.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Several hook variables have been renamed to flout the Emacs naming
|
|
|
|
conventions. We feel that consistency is boring, and having
|
|
|
|
non-standard hook names encourages users to check the documentation
|
|
|
|
before using a hook. For instance, the normal hook
|
|
|
|
@code{find-file-hook} has been renamed to @code{find-file-hooks}, and
|
|
|
|
the abnormal hook @code{delete-frame-functions} has been renamed to
|
|
|
|
@code{delete-frame-hook}.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The function @code{symbol-file} does not exist. If you want to know
|
|
|
|
which file defined a function or variable, try grepping for it.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The variable @code{load-history} records function definitions just
|
|
|
|
like variable definitions, instead of indicating which functions were
|
|
|
|
previously autoloaded.
|
|
|
|
|
|
|
|
@item
|
|
|
|
There is a new variable, @code{recursive-load-depth-limit}, which
|
|
|
|
specifies how many times files can recursively load themselves; it is
|
2005-06-21 20:09:25 +00:00
|
|
|
50 by default, and @code{nil} means infinity. Previously, Emacs signaled an
|
2005-03-17 23:16:11 +00:00
|
|
|
error after just 3 recursive loads, which was boring.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Byte-compiler warnings and error messages will leave out the line and
|
|
|
|
character positions, in order to exercise your debugging skills.
|
|
|
|
Also, there is no @code{with-no-warnings} macro---instead of
|
|
|
|
suppressing compiler warnings, fix your code to avoid them!
|
|
|
|
|
|
|
|
@item
|
|
|
|
The function @code{unsafep} has been removed.
|
|
|
|
|
|
|
|
@item
|
|
|
|
File local variables can now specify a string with text properties.
|
|
|
|
Since arbitrary Lisp expressions can be embedded in text properties,
|
|
|
|
this can provide you with a great deal of flexibility and power. On
|
|
|
|
the other hand, @code{safe-local-eval-forms} and the
|
|
|
|
@code{safe-local-eval-function} function property have no special
|
1999-09-17 06:59:04 +00:00
|
|
|
meaning.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
You can no longer use @code{char-displayable-p} to test if Emacs can
|
|
|
|
display a certain character.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The function @code{string-to-multibyte} is no longer available.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The @code{translation-table-for-input} translation table has been
|
|
|
|
removed. Also, translation hash tables are no longer available, so we
|
|
|
|
don't need the functions @code{lookup-character} and
|
|
|
|
@code{lookup-integer}.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The @code{table} argument to @code{translate-region} can no longer be
|
|
|
|
a char-table; it has to be a string.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The functions @code{merge-coding-systems} and
|
|
|
|
@code{decode-coding-inserted-region}, and the variable
|
|
|
|
@code{auto-coding-functions}, have been deleted. The
|
|
|
|
@code{mime-text-unsuitable} coding system property no longer has any
|
|
|
|
special meaning.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
If pure storage overflows while dumping, Emacs won't tell you how much
|
|
|
|
additional pure storage it needs. Try adding in increments of 20000,
|
|
|
|
until you have enough.
|
1994-03-16 18:30:13 +00:00
|
|
|
|
|
|
|
@item
|
2005-03-17 23:16:11 +00:00
|
|
|
The variables @code{gc-elapsed}, @code{gcs-done}, and
|
|
|
|
@code{post-gc-hook} have been garbage-collected.
|
1994-03-16 18:30:13 +00:00
|
|
|
@end itemize
|
2003-09-01 15:45:59 +00:00
|
|
|
|
|
|
|
@ignore
|
|
|
|
arch-tag: 1d0ef137-2bad-430e-ae8e-d820d569b5a6
|
|
|
|
@end ignore
|