Mercurial > emacs
annotate doc/lispref/anti.texi @ 103222:dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 13 May 2009 05:13:36 +0000 |
parents | cb5d2387102c |
children | c406b7a043e4 |
rev | line source |
---|---|
84048 | 1 @c -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | |
3 @c Copyright (C) 1999, 2002, 2003, 2004, 2005, | |
100974 | 4 @c 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
84048 | 5 @c See the file elisp.texi for copying conditions. |
6 | |
7 @c This node must have no pointers. | |
8 | |
9 @node Antinews, GNU Free Documentation License, System Interface, Top | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
10 @appendix Emacs 22 Antinews |
84048 | 11 |
12 For those users who live backwards in time, here is information about | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
13 downgrading to Emacs version 22.3. We hope you will enjoy the greater |
84048 | 14 simplicity that results from the absence of many Emacs @value{EMACSVER} |
15 features. | |
16 | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
17 @section Old Lisp Features in Emacs 22 |
84048 | 18 |
19 @itemize @bullet | |
20 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
21 The internal character representation in Emacs is no longer |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
22 Unicode-based; it is known as @code{emacs-mule}. This representation |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
23 can handle several different variants of the same character, each one |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
24 belonging to its own script. It marks each character with its script, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
25 to better discern them from one another. |
84048 | 26 |
27 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
28 The @code{functionp} function now returns @code{t} for special forms. |
84048 | 29 |
30 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
31 The @code{^} interactive spec code has been removed, together with the |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
32 function @code{handle-shift-selection} and the variable |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
33 @code{this-command-keys-shift-translated}. Shift-translated keys are |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
34 no longer treated specially, making Emacs' handling of keybindings |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
35 that much more consistent. |
84048 | 36 |
37 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
38 The @code{interactive-form} symbol property is no longer recognized. |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
39 Once you supply a function with an interactive form, the only way to |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
40 change it is to redefine the function. |
84048 | 41 |
42 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
43 Emacs no longer creates temporarily-active regions by giving the |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
44 variable @code{transient-mark-mode} values of the form @code{(only |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
45 . @var{oldvar})}. Instead, it uses a more slightly more complicated |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
46 scheme: setting @code{transient-mark-mode} to @code{only} enables |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
47 Transient Mark mode for the following command only, during which the |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
48 value of @code{transient-mark-mode} is set to @code{identity}; if it |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
49 is still @code{identity} at the end of the command, Transient Mark |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
50 mode is disabled. |
84048 | 51 |
52 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
53 Many minibuffer functions, such as @code{read-file-name} and |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
54 @code{minibuffer-complete}, have been rewritten in C. The completion |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
55 code has been considerably simplified; for instance, the completion |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
56 style cannot be changed via @code{completion-styles-alist}, and |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
57 @code{completing-read} no longer recognizes the special values |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
58 @code{confirm-only} and @code{confirm-after-completion} for its |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
59 @var{require-match} argument. |
84048 | 60 |
61 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
62 Explicitly numbered groups in regular expressions are no longer |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
63 supported. |
84048 | 64 |
65 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
66 Faces can no longer be remapped. |
84048 | 67 |
68 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
69 Fonts are no longer represented using a special set of ``font'' data |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
70 types. Lisp programs may only specify fonts by name, as strings |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
71 following the XLFD (X logical font descriptor) format. |
84048 | 72 |
73 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
74 Display terminals are no longer represented using a ``terminal'' data |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
75 type. This data type is not necessary, because Emacs can no longer |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
76 display on graphical and text-only terminals simultaneously. For the |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
77 same reason, the @code{window-system} variable is no longer |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
78 frame-local, and the @code{window-system} function has been removed. |
84048 | 79 |
80 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
81 The functions @code{list-system-processes} and |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
82 @code{process-attributes} have been removed. To get information about |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
83 system processes, call an external program, such as @command{ps}. |
84048 | 84 |
85 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
86 Variables can now be both buffer-local and frame-local; buffer-local |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
87 bindings take precedence over frame-local bindings. |
84048 | 88 |
89 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
90 Windows no longer have parameters. |
84048 | 91 |
92 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
93 The function @code{locate-user-emacs-file} and the variable |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
94 @code{user-emacs-directory} have been removed. Programs can instead |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
95 use hard-coded values pointing to @file{~/.emacs.d}. |
84048 | 96 |
97 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
98 @code{vertical-motion} can no longer be told to move to a specific |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
99 column; it always puts point on the first column of a line. |
84048 | 100 |
101 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
102 Emacs no longer recognizes the @code{permanent-local-hook} property of |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
103 local hook functions. |
84048 | 104 |
105 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
106 The @code{ignore-errors} macro has been moved into the @code{cl} |
84048 | 107 package. |
108 | |
109 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
110 The @code{mode-name} variable now accepts only string values, and |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
111 cannot take the form of a mode-line construct. |
84048 | 112 |
113 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
114 Several keymap have been eliminated: @code{input-decode-map}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
115 @code{local-function-key-map}, @code{search-map}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
116 @code{multi-query-replace-map}, and |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
117 @code{minibuffer-local-shell-command-map}. |
84048 | 118 |
119 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
120 Many functions have been removed, including @code{emacs-init-time}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
121 @code{emacs-uptime}, @code{buffer-swap-text}, @code{use-region-p} and |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
122 @code{region-active-p}, @code{start-file-process}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
123 @code{process-lines}, @code{image-refresh}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
124 @code{match-substitute-replacement}, @code{word-search-forward-lax}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
125 and @code{word-search-backward-lax}. |
84048 | 126 |
127 @item | |
103222
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
128 Many variables have been removed, including @code{read-circle}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
129 @code{before-init-time} and @code{after-init-time}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
130 @code{generate-autoload-cookie}, @code{file-local-variables-alist}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
131 @code{replace-search-function} and @code{replace-re-search-function}, |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
132 @code{inhibit-changing-match-data}, @code{wrap-prefix} and |
dc13afe10986
* anti.texi (Antinews): Rewrite for Emacs 22.
Chong Yidong <cyd@stupidchicken.com>
parents:
100974
diff
changeset
|
133 @code{line-prefix}, |
84048 | 134 @end itemize |
135 | |
136 @ignore | |
137 arch-tag: 1d0ef137-2bad-430e-ae8e-d820d569b5a6 | |
138 @end ignore |