* anti.texi (Antinews): Copyedits. Rearrange some entries.
[bpt/emacs.git] / doc / lispref / anti.texi
CommitLineData
0a9482c5
RS
1@c -*-texinfo-*-
2@c This is part of the GNU Emacs Lisp Reference Manual.
ceb4c4d3 3@c Copyright (C) 1999, 2002, 2003, 2004, 2005,
6ed161e1 4@c 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
0a9482c5 5@c See the file elisp.texi for copying conditions.
46600ab1
GM
6
7@c This node must have no pointers.
8
e23a63a5 9@node Antinews, GNU Free Documentation License, System Interface, Top
17ecd7af 10@appendix Emacs 22 Antinews
0a9482c5
RS
11
12For those users who live backwards in time, here is information about
17ecd7af 13downgrading to Emacs version 22.3. We hope you will enjoy the greater
0b3a2969
LK
14simplicity that results from the absence of many Emacs @value{EMACSVER}
15features.
0a9482c5 16
17ecd7af 17@section Old Lisp Features in Emacs 22
0a9482c5
RS
18
19@itemize @bullet
20@item
734b5e3b
CY
21The internal character representation used by Emacs is not longer
22based on Unicode. In this representation, called @code{emacs-mule},
23each character belongs to one and only one script. Emacs makes no
24attempt to distinguish between ``similar'' characters occurring in
25different scripts.
0a9482c5 26
bd04e7de 27@item
734b5e3b
CY
28The @code{^} interactive spec code, the function
29@code{handle-shift-selection}, and the variable
30@code{this-command-keys-shift-translated} have all been removed.
31Shift-translated keys are no longer treated specially, making Emacs'
32handling of keybindings much more consistent.
33
34@item
35Temporarily-active regions are not created by giving the variable
36@code{transient-mark-mode} values of the form @code{(only
37. @var{oldvar})}. We instead use a more more complicated scheme:
38setting @code{transient-mark-mode} to @code{only} enables Transient
39Mark mode for the following command only, during which the value of
40@code{transient-mark-mode} is set to @code{identity}; if it is still
41@code{identity} at the end of the command, Transient Mark mode is
42disabled.
43
44@item
45Many minibuffer functions, such as @code{read-file-name} and
46@code{minibuffer-complete}, have been rewritten in C for greater
47speed. The completion code has been considerably simplified; the
48completion style can no longer be changed via
49@code{completion-styles-alist}, and @code{completing-read} no longer
50recognizes the special values @code{confirm-only} and
51@code{confirm-after-completion} for its @var{require-match} argument.
52
53@item
54Emacs no longer supports explicitly-numbered groups in regular
55expressions.
bd04e7de 56
0a9482c5 57@item
734b5e3b
CY
58The @code{permanent-local-hook} function property has no special
59meaning.
0a9482c5 60
0a9482c5 61@item
734b5e3b
CY
62The @code{functionp} function now returns @code{t} for special forms.
63
64@item
65The @code{interactive-form} symbol property has no special meaning.
17ecd7af
CY
66Once you supply a function with an interactive form, the only way to
67change it is to redefine the function.
0a9482c5 68
6b5c0a2e 69@item
734b5e3b
CY
70The @code{ignore-errors} macro has been moved into the @code{cl}
71package.
6b5c0a2e 72
0a9482c5 73@item
734b5e3b
CY
74Variables can now be both buffer-local and frame-local; buffer-local
75bindings take precedence over frame-local bindings.
0a9482c5 76
4b878354 77@item
734b5e3b 78Faces can no longer be remapped.
0a9482c5 79
4b878354 80@item
734b5e3b
CY
81Lisp programs now specify fonts by their names, which are strings
82following the XLFD (X logical font descriptor) format. Fonts are no
83longer represented using a special set of ``font'' data types. The
84various functions that act on these data types, such as @code{fontp},
85@code{font-spec}, and @code{list-fonts}, have all been deleted.
0a9482c5 86
8241495d 87@item
734b5e3b
CY
88Emacs does not recognize the @code{FontBackend} X resource and the
89@code{font-backend} frame parameter. On the X Window System, fonts
90are always drawn using the X core font driver.
6b5c0a2e 91
1dffc5db 92@item
17ecd7af 93Display terminals are no longer represented using a ``terminal'' data
734b5e3b 94type; this is not necessary, because we have removed the ability to
17ecd7af
CY
95display on graphical and text-only terminals simultaneously. For the
96same reason, the @code{window-system} variable is no longer
97frame-local, and the @code{window-system} function has been removed.
1dffc5db 98
6b5c0a2e 99@item
17ecd7af
CY
100The functions @code{list-system-processes} and
101@code{process-attributes} have been removed. To get information about
102system processes, call an external program, such as @command{ps}.
0a9482c5 103
0a9482c5 104@item
17ecd7af 105The function @code{locate-user-emacs-file} and the variable
734b5e3b
CY
106@code{user-emacs-directory} have been removed. Instead, use
107hard-coded values pointing to @file{~/.emacs.d}.
0a9482c5
RS
108
109@item
17ecd7af
CY
110@code{vertical-motion} can no longer be told to move to a specific
111column; it always puts point on the first column of a line.
0a9482c5
RS
112
113@item
734b5e3b 114Windows no longer have parameters.
0a9482c5 115
1dffc5db 116@item
734b5e3b
CY
117The @code{display-buffer} function has been rewritten in C. Its
118window-splitting heuristics are a little less sophisticated, and a
119little less documented. Window-splitting is handled internally,
120instead of using @code{split-window-preferred-function} (which has
121been removed). Windows are never split horizontally; the variable
122@code{split-width-threshold} has been removed.
0a9482c5 123
a40d4712 124@item
17ecd7af
CY
125The @code{mode-name} variable now accepts only string values, and
126cannot take the form of a mode-line construct.
4b878354
RS
127
128@item
734b5e3b
CY
129The behavior of @code{map-char-table} has changed. It calls the
130mapping function for every single character in the table, instead of
131using cons cells to represent contiguous character code ranges.
132
133@item
134Several keymaps have been eliminated: @code{input-decode-map},
17ecd7af
CY
135@code{local-function-key-map}, @code{search-map},
136@code{multi-query-replace-map}, and
137@code{minibuffer-local-shell-command-map}.
0a9482c5
RS
138
139@item
17ecd7af 140Many functions have been removed, including @code{emacs-init-time},
734b5e3b 141@code{emacs-uptime}, @code{buffer-swap-text}, @code{use-region-p},
17ecd7af
CY
142@code{region-active-p}, @code{start-file-process},
143@code{process-lines}, @code{image-refresh},
144@code{match-substitute-replacement}, @code{word-search-forward-lax},
145and @code{word-search-backward-lax}.
0a9482c5
RS
146
147@item
17ecd7af
CY
148Many variables have been removed, including @code{read-circle},
149@code{before-init-time} and @code{after-init-time},
150@code{generate-autoload-cookie}, @code{file-local-variables-alist},
151@code{replace-search-function} and @code{replace-re-search-function},
734b5e3b 152@code{inhibit-changing-match-data}, @code{wrap-prefix}, and
17ecd7af 153@code{line-prefix},
0a9482c5 154@end itemize
ab5796a9
MB
155
156@ignore
157 arch-tag: 1d0ef137-2bad-430e-ae8e-d820d569b5a6
158@end ignore