annotate doc/lispref/anti.texi @ 101169:39077981fbed

*** empty log message ***
author Martin Rudalics <rudalics@gmx.at>
date Wed, 14 Jan 2009 10:14:40 +0000
parents cb5d2387102c
children dc13afe10986
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84048
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 @c -*-texinfo-*-
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 @c This is part of the GNU Emacs Lisp Reference Manual.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 @c Copyright (C) 1999, 2002, 2003, 2004, 2005,
100974
cb5d2387102c Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
4 @c 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
84048
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 @c See the file elisp.texi for copying conditions.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 @c This node must have no pointers.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 @node Antinews, GNU Free Documentation License, System Interface, Top
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 @appendix Emacs 21 Antinews
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 For those users who live backwards in time, here is information about
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 downgrading to Emacs version 21.4. We hope you will enjoy the greater
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 simplicity that results from the absence of many Emacs @value{EMACSVER}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 features.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 @section Old Lisp Features in Emacs 21
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 @itemize @bullet
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 Many unnecessary features of redisplay have been eliminated. (The
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 earlier major release, Emacs 20, will have a completely rewritten
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 redisplay engine, which will be even simpler.)
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 @itemize @minus
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 The function @code{redisplay} has been removed. To update the display
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 without delay, call @code{(sit-for 0)}. Since it is generally
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 considered wasteful to update the display if there are any pending
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 input events, no replacement for @code{(redisplay t)} is provided.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 The function @code{force-window-update} has been removed. It
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 shouldn't be needed, since changes in window contents are detected
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 automatically. In case they aren't, call @code{redraw-display} to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 redraw everything.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 Point no longer moves out from underneath invisible text at the end of
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 each command. This allows the user to detect invisible text by moving
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 the cursor around---if the cursor gets stuck, there is something
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 invisible in the way. If you really want cursor motion to ignore the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 text, try marking it as intangible.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 Support for image maps and image slices has been removed. Emacs was
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 always meant for editing text, anyway.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 The mode line now accepts all text properties, as well as
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 @code{:propertize} and @code{:eval} forms, regardless of the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 @code{risky-local-variable} property.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 The @code{line-height} and @code{line-spacing} properties no longer
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 have any meaning for newline characters. Such properties wouldn't
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 make sense, since newlines are not really characters; they just tell
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 you where to break a line.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 Considerable simplifications have been made to the display
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 specification @code{(space . @var{props})}, which is used for
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 displaying a space of specified width and height. Pixel-based
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 specifications and Lisp expressions are no longer accepted.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 Many features associated with the fringe areas have been removed, to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 encourage people to concentrate on the main editing area (the fringe
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 will be completely removed in Emacs 20.) Arbitrary bitmaps can no
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 longer be displayed in the fringe; an overlay arrow can still be
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 displayed, but there can only be one overlay arrow at a time (any more
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 would be confusing.) The fringe widths cannot be adjusted, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 individual windows cannot have their own fringe settings. A mouse
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 click on the fringe no longer generates a special event.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 Individual windows cannot have their own scroll-bar settings.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 You can no longer use @samp{default} in a @code{defface} to specify
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 defaults for subsequent faces.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 The function @code{display-supports-face-attributes-p} has been
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 removed. In @code{defface} specifications, the @code{supports}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 predicate is no longer supported.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 The functions @code{merge-face-attribute} and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 @code{face-attribute-relative-p} have been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 The priority of faces in a list supplied by the @code{:inherit} face
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 attribute has been reversed. We like to make changes like this once
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 in a while, to keep Emacs Lisp programmers on their toes.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 The @code{min-colors} face attribute, used for tailoring faces to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 limited-color displays, does not exist. If in doubt, use colors like
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 ``white'' and ``black,'' which ought to be defined everywhere.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 The @code{tty-color-mode} frame parameter does not exist. You should
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 just trust the terminal capabilities database.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 @end itemize
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 Several simplifications have been made to mouse support:
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 @itemize @minus
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 Clicking @kbd{mouse-1} won't follow links, as that is alien to the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 spirit of Emacs. Therefore, the @code{follow-link} property doesn't
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 have any special meaning, and the function @code{mouse-on-link-p} has
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 The variable @code{void-text-area-pointer} has been removed, so the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 mouse pointer shape remains unchanged when moving between valid text
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 areas and void text areas. The @code{pointer} image and text
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 properties are no longer supported.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 Mouse events will no longer specify the timestamp, the object clicked,
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 equivalent buffer positions (for marginal or fringe areas), glyph
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 coordinates, or relative pixel coordinates.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 @end itemize
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 Simplifications have also been made to the way Emacs handles keymaps
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 and key sequences:
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 @itemize @minus
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 The @code{kbd} macro is now obsolete and is no longer documented.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 It isn't that difficult to write key sequences using the string and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 vector representations, and we want to encourage users to learn.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 Emacs no longer supports key remapping. You can do pretty much the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 same thing with @code{substitute-key-definition}, or by advising the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 relevant command.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 The @code{keymap} text and overlay property is now overridden by minor
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 mode keymaps, and will not work at the ends of text properties and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 overlays.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 The functions @code{map-keymap}, @code{keymap-prompt}, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 @code{current-active-maps} have been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152 @end itemize
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 Process support has been pared down to a functional minimum. The
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156 functions @code{call-process-shell-command} and @code{process-file}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 have been deleted. Processes no longer maintain property lists, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 they won't ask any questions when the user tries to exit Emacs (which
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 would simply be rude.) The function @code{signal-process} won't
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 accept a process object, only the process id; determining the process
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161 id from a process object is left as an exercise to the programmer.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 Networking has also been simplified: @code{make-network-process} and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 its various associated function have all been replaced with a single
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 easy-to-use function, @code{open-network-stream}, which can't use UDP,
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 can't act as a server, and can't set up non-blocking connections.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 Also, deleting a network process with @code{delete-process} won't call
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169 the sentinel.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172 Many programming shortcuts have been deleted, to provide you with the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173 enjoyment of ``rolling your own.'' The macros @code{while-no-input},
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 @code{with-local-quit}, and @code{with-selected-window}, along with
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 @code{dynamic-completion-table} and @code{lazy-completion-table} no
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 longer exist. Also, there are no built-in progress reporters;
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177 with Emacs, you can take progress for granted.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 Variable aliases are no longer supported. Aliases are for functions,
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181 not for variables.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184 The variables @code{most-positive-fixnum} and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185 @code{most-negative-fixnum} do not exist. On 32 bit machines, the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 most positive integer is probably 134217727, and the most negative
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187 integer is probably -134217728.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 The functions @code{eql} and @code{macroexpand-all} are no longer
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 available. However, you can find similar functions in the @code{cl}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192 package.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 The list returned by @code{split-string} won't include null substrings
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196 for separators at the beginning or end of a string. If you want to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 check for such separators, do it separately.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200 The function @code{assoc-string} has been removed. Use
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201 @code{assoc-ignore-case} or @code{assoc-ignore-representation} (which
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202 are no longer obsolete.)
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205 The escape sequence @samp{\s} is always interpreted as a super
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 modifier, never a space.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 The variable @code{buffer-save-without-query} has been removed, to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210 prevent Emacs from sneakily saving buffers. Also, the hook
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211 @code{before-save-hook} has been removed, so if you want something to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 be done before saving, advise or redefine @code{basic-save-buffer}.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215 The variable @code{buffer-auto-save-file-format} has been renamed to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216 @code{auto-save-file-format}, and is no longer a permanent local.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 The function @code{visited-file-modtime} now returns a cons, instead
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220 of a list of two integers. The primitive @code{set-file-times} has
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 been eliminated.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224 The function @code{file-remote-p} is no longer available.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227 When determining the filename extension, a leading dot in a filename
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228 is no longer ignored. Thus, @file{.emacs} is considered to have
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229 extension @file{emacs}, rather than being extensionless.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232 Emacs looks for special file handlers in a more efficient manner: it
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233 will choose the first matching handler in
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234 @code{file-name-handler-alist}, rather than trying to figure out which
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235 provides the closest match.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 The @code{predicate} argument for @code{read-file-name} has been
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 removed, and so have the variables @code{read-file-name-function} and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240 @code{read-file-name-completion-ignore-case}. The function
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 @code{read-directory-name} has also been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 The functions @code{all-completions} and @code{try-completion} will no
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245 longer accept lists of strings or hash tables (it will still accept
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246 alists, obarrays, and functions.) In addition, the function
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 @code{test-completion} is no longer available.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 The @samp{G} interactive code character is no longer supported.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 Use @samp{F} instead.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 Arbitrary Lisp functions can no longer be recorded into
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255 @code{buffer-undo-list}. As a consequence, @code{yank-undo-function}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 is obsolete, and has been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 Emacs will never complain about commands that accumulate too much undo
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260 information, so you no longer have to worry about binding
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 @code{buffer-undo-list} to @code{t} for such commands (though you may
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 want to do that anyway, to avoid taking up unnecessary memory space.)
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 Atomic change groups are no longer supported.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268 The list returned by @code{(match-data t)} no longer records the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 buffer as a final element.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272 The function @code{looking-back} has been removed, so we no longer
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273 have the benefit of hindsight.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 The variable @code{search-spaces-regexp} does not exist. Spaces
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277 always stand for themselves in regular expression searches.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
280 The functions @code{skip-chars-forward} and @code{skip-chars-backward}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281 no longer accepts character classes such as @samp{[:alpha:]}. All
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 characters are created equal.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285 The @code{yank-handler} text property no longer has any meaning.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286 Also, @code{yank-excluded-properties}, @code{insert-for-yank}, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 @code{insert-buffer-substring-as-yank} have all been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290 The variable @code{char-property-alias-alist} has been deleted.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291 Aliases are for functions, not for properties.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294 The function @code{get-char-property-and-overlay} has been deleted.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295 If you want the properties at a point, find the text properties at the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296 point; then, find the overlays at the point, and find the properties
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297 on those overlays.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300 Font Lock mode only manages @code{face} properties; you can't use
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301 font-lock keywords to specify arbitrary text properties for it to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 manage. After all, it is called Font Lock mode, not Arbitrary
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 Properties Lock mode.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 The arguments to @code{remove-overlays} are no longer optional.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 In @code{replace-match}, the replacement text now inherits properties
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
310 from the surrounding text.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313 The variable @code{mode-line-format} no longer supports the @code{:propertize},
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 @code{%i}, and @code{%I} constructs. The function
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
315 @code{format-mode-line} has been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318 The functions @code{window-inside-edges} and @code{window-body-height}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 have been removed. You should do the relevant calculations yourself,
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320 starting with @code{window-width} and @code{window-height}.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323 The functions @code{window-pixel-edges} and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 @code{window-inside-pixel-edges} have been removed. We prefer to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325 think in terms of lines and columns, not pixel coordinates. (Sometime
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 in the distant past, we will do away with graphical terminals
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
327 entirely, in favor of text terminals.) For similar reasons, the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328 functions @code{posn-at-point}, @code{posn-at-x-y}, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 @code{window-line-height} have been removed, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
330 @code{pos-visible-in-window-p} no longer worries about partially
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331 visible rows.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334 The macro @code{save-selected-window} only saves the selected window
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335 of the selected frame, so don't try selecting windows in other frames.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
336
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338 The function @code{minibufferp} is no longer available.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 The function @code{modify-all-frames-parameters} has been removed (we
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342 always suspected the name was ungrammatical, anyway.)
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345 The @code{line-spacing} variable no longer accepts float values.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 The function @code{tool-bar-local-item-from-menu} has been deleted.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 If you need to make an entry in the tool bar, you can still use
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 @code{tool-bar-add-item-from-menu}, but that modifies the binding in
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 the source keymap instead of copying it into the local keymap.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 When determining the major mode, the file name takes precedence over
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355 the interpreter magic line. The variable @code{magic-mode-alist},
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 which associates certain buffer beginnings with major modes, has been
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 eliminated.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
360 The hook @code{after-change-major-mode-hook} is not defined, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361 neither are @code{run-mode-hooks} and @code{delay-mode-hooks}.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 The variable @code{minor-mode-list} has been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
366 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367 @code{define-derived-mode} will copy abbrevs from the parent mode's
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 abbrev table, instead of creating a new, empty abbrev table.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371 There are no ``system'' abbrevs. When the user saves into the abbrevs
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372 file, all abbrevs are saved.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375 The Warnings facility has been removed. Just use @code{error}.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
376
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
378 Several hook variables have been renamed to flout the Emacs naming
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
379 conventions. We feel that consistency is boring, and having
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 non-standard hook names encourages users to check the documentation
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381 before using a hook. For instance, the normal hook
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 @code{find-file-hook} has been renamed to @code{find-file-hooks}, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383 the abnormal hook @code{delete-frame-functions} has been renamed to
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384 @code{delete-frame-hook}.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
386 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387 The function @code{symbol-file} does not exist. If you want to know
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388 which file defined a function or variable, try grepping for it.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391 The variable @code{load-history} records function definitions just
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 like variable definitions, instead of indicating which functions were
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393 previously autoloaded.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
395 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
396 There is a new variable, @code{recursive-load-depth-limit}, which
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 specifies how many times files can recursively load themselves; it is
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
398 50 by default, and @code{nil} means infinity. Previously, Emacs signaled an
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399 error after just 3 recursive loads, which was boring.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
400
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402 Byte-compiler warnings and error messages will leave out the line and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
403 character positions, in order to exercise your debugging skills.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 Also, there is no @code{with-no-warnings} macro---instead of
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405 suppressing compiler warnings, fix your code to avoid them!
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
407 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 The function @code{unsafep} has been removed.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
409
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411 File local variables can now specify a string with text properties.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412 Since arbitrary Lisp expressions can be embedded in text properties,
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 this can provide you with a great deal of flexibility and power. On
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414 the other hand, @code{safe-local-eval-forms} and the
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 @code{safe-local-eval-function} function property have no special
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
416 meaning.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
417
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
419 You can no longer use @code{char-displayable-p} to test if Emacs can
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
420 display a certain character.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
421
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
422 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
423 The function @code{string-to-multibyte} is no longer available.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
424
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
425 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
426 The @code{translation-table-for-input} translation table has been
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
427 removed. Also, translation hash tables are no longer available, so we
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
428 don't need the functions @code{lookup-character} and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
429 @code{lookup-integer}.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 The @code{table} argument to @code{translate-region} can no longer be
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433 a char-table; it has to be a string.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
435 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
436 The variable @code{auto-coding-functions} and the two functions
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437 @code{merge-coding-systems} and @code{decode-coding-inserted-region}
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
438 have been deleted. The coding system property
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439 @code{mime-text-unsuitable} no longer has any special meaning.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
441 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
442 If pure storage overflows while dumping, Emacs won't tell you how much
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
443 additional pure storage it needs. Try adding in increments of 20000,
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444 until you have enough.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
445
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
446 @item
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
447 The variables @code{gc-elapsed}, @code{gcs-done}, and
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
448 @code{post-gc-hook} have been garbage-collected.
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
449 @end itemize
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
450
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
451 @ignore
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
452 arch-tag: 1d0ef137-2bad-430e-ae8e-d820d569b5a6
266b1e7c0906 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
453 @end ignore