annotate lispref/anti.texi @ 52474:10551947af24

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 11 Sep 2003 22:22:11 +0000
parents 695cf19ef79e
children 1a5c50faf357 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 @c -*-texinfo-*-
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 @c This is part of the GNU Emacs Lisp Reference Manual.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36900
diff changeset
3 @c Copyright (C) 1999 Free Software Foundation, Inc.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 @c See the file elisp.texi for copying conditions.
29110
c06ae9d8e6b0 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27654
diff changeset
5
c06ae9d8e6b0 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27654
diff changeset
6 @c This node must have no pointers.
c06ae9d8e6b0 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27654
diff changeset
7
30904
a0af1af4aabf * .cvsignore: New file.
Werner LEMBERG <wl@gnu.org>
parents: 29110
diff changeset
8 @node Antinews, GNU Free Documentation License, System Interface, Top
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
9 @appendix Emacs 20 Antinews
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 For those users who live backwards in time, here is information about
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
12 downgrading to Emacs version 20.4. We hope you will enjoy the greater
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
13 simplicity that results from the absence of many Emacs 21 features. In
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
14 the following section, we carry this information back to Emacs
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
15 20.3, for which the previous printed edition of this manual was made.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
17 @section Old Lisp Features in Emacs 20
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
21 The @code{push} and @code{pop} macros are not defined.
27654
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
22 Neither are @code{dolist} and @code{dotimes}.
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
23
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
24 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
25 You can't display images in buffers. (Emacs is meant for editing text.)
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
26 With no images, there are no display margins, and no tool bars.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
27
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
28 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
29 The @code{display} text property has no special meaning; you can use it
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
30 freely in Lisp programs, with no effects except what you implement for
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
31 yourself. With no images, who needs the @code{display} text property?
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
32
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
33 @item
26770
2d8554ed8748 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26769
diff changeset
34 The @code{field} text property has no special meaning; buffers are no
2d8554ed8748 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26769
diff changeset
35 longer subdivided into fields. (The division of information into
2d8554ed8748 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26769
diff changeset
36 fields is always rather arbitrary.)
26216
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
37
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
38 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
39 Faces have fewer attributes. The attributes @code{:family},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
40 @code{:height}, @code{:width}, @code{:weight}, and @code{:slant},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
41 have been replaced with a font name, a ``bold'' flag, and an
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
42 ``italic'' flag.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
43
26216
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
44 The attributes @code{:overline}, @code{:strike-through} and @code{:box}
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
45 have been eliminated too. Underlining now always has the same color as
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
46 the text---using any other color would be bad taste.
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
47
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
48 With fewer font attributes, there are no functions
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
49 @code{set-face-attribute} and @code{face-attribute}. Instead, you
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
50 access these attributes using functions such as @code{face-font}, and
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
51 set them with functions such as @code{set-face-font}. (These functions
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
52 were available in Emacs 21, but are not as useful there.)
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
53
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
54 @item
26216
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
55 The standard faces @code{scroll-bar}, @code{menu}, @code{border},
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
56 @code{cursor}, and @code{mouse} have been eliminated. They are rather
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
57 strange, as faces, and therefore shouldn't really exist. You can use
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
58 @code{set-border-color}, @code{set-cursor-color} and
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
59 @code{set-mouse-color} to specify the colors for the frame border, the
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
60 text cursor, and the mouse cursor. To specify menu colors, use X
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
61 resources.
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
62
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
63 @item
27654
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
64 Colors and other face attributes are no longer supported on character
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
65 terminals, so you no longer have to worry about terminals making faces
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
66 at you.
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
67
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
68 @item
26216
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
69 Emacs will respect your peace and quiet, aside from occasional beeps,
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
70 because there are no facilities for playing sounds.
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
71
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
72 @item
27654
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
73 Emacs 20 provides a complex and badly designed method for handling
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
74 character composition for languages such as Thai that display several
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
75 letters as a single combined image. We are too ashamed of it to tell
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
76 you any more than that.
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
77
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
78 @item
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
79 @code{delete-and-extract-region} has been deleted; instead, use
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
80 @code{buffer-substring} to extract the text, then use
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
81 @code{delete-region} to delete it.
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
82
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
83 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
84 Regular expressions do not support the POSIX character classes
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
85 such as @samp{[:alpha:]}. All characters are created equal.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
87 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
88 Hash tables have been eliminated; use alists instead.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
89
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
90 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
91 The Lisp printer does not detect and report circular structure. That is
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
92 ok, because the Lisp reader cannot recreate circular structure anyway.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
93 However, there is a library @samp{cust-print.el} which can report
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
94 circular structure.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
95
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
96 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
97 Emacs provides its own implementation of scroll bars, instead
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
98 of using those of the X toolkit. They always use the frame foreground
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
99 and background colors, so you cannot specify different colors for
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
100 the scroll bars.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
101
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
102 @item
27374
0f5edee5242b *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27301
diff changeset
103 For simplicity, all @sc{ascii} characters now have the same height and width.
27301
8c79b30d8475 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26826
diff changeset
104 (Certain characters, such as Chinese characters, always have twice
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
105 the standard width.) All characters are created equal.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
106
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
107 @item
27654
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
108 You can now resize any Emacs window, and size changes in one window can
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
109 propagate to all others. Windows can no longer use
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
110 @code{window-size-fixed} to get special privileges.
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
111
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
112 @item
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
113 The function @code{intern-soft} no longer accepts a symbol as argument.
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
114
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
115 @item
26216
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
116 The function @code{bitmap-spec-p} has been renamed to
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
117 @code{pixmap-spec-p} to encourage users to practice Emacs' help system
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
118 while trying to find it.
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
119
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
120 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
121 Tooltips operate using ordinary Emacs frames.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
122
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
123 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
124 Areas of the mode line are not mouse-sensitive; however, some mouse
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
125 commands are available for the mode line as a whole.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
126
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
127 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
128 Windows cannot have header lines. Conversely, there is no way to turn
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
129 off the mode line of a window unless it is a minibuffer.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
130
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
131 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
132 Plain dashes are the only separators you can use in a menu.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
135 Vertical fractional scrolling does not exist.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
136
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
137 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
138 The functions @code{format} and @code{message} ignore and discard text
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
139 properties.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
140
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
141 @item
27654
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
142 The function @code{propertize} does not exist;
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
143 you can get the job done using @code{set-text-properties}.
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
144
cabb1b4c4424 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 27374
diff changeset
145 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
146 Colors are supported only on window systems, not on text-only terminals.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
147 So the support functions for colors on text-only terminals are
26216
361231427b8b Patch by rms.
Gerd Moellmann <gerd@gnu.org>
parents: 25909
diff changeset
148 not needed, and have been eliminated.
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
149
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
150 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
151 The functions @code{color-values}, @code{color-defined-p} and
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
152 @code{defined-colors} have been renamed to @code{x-color-values},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
153 @code{x-color-defined-p} and @code{x-defined-colors}.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
154
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
155 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
156 Windows cannot be made fixed-width or fixed-height;
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
157 Emacs will adjust the size of all windows when it needs to.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
158
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
159 @item
25875
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
160 The string used as the value of the @code{before-string} or
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
161 @code{after-string} property must contain only characters that display
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
162 as a single column---control characters, including tabs and newlines,
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
163 will give strange results.
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
164
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
165 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
166 The minibuffer prompt does not actually appear in content of the
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
167 minibuffer; it is displayed specially in the minibuffer window.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
168
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
169 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
170 The ``exclusive open'' feature of @code{write-region}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
171 has been eliminated; any non-@code{nil} value for the seventh
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
172 argument now means to ask the user for confirmation.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
173
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
174 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
175 The function @code{buffer-size} always reports on the
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
176 current buffer.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
177
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
178 @item
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36900
diff changeset
179 The function @code{assq-delete-all} has itself been deleted.
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
180 So there!
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
181
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
182 @item
26826
8f36e5feb992 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26770
diff changeset
183 The keyword @code{:set-after} no longer does anything in
8f36e5feb992 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26770
diff changeset
184 @code{defcustom}.
8f36e5feb992 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26770
diff changeset
185
8f36e5feb992 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26770
diff changeset
186 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
187 The variable @code{small-temporary-file-directory} has no special
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
188 meaning. There's only one variable for specifying which directory to
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
189 use for temporary files, @code{temporary-file-directory}, but not all
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
190 Emacs features use it anyway. Some use the @code{TMP} environment
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
191 variable, and some use the @code{TMPDIR} environment variable.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
192
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
193 @item
26769
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
194 If the second argument of @code{save-some-buffers}, @var{pred}, is not
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
195 @code{nil}, then the precise value no longer matters. Any
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
196 non-@code{nil} value means the same as @code{t}: offer to save each
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
197 non-file buffer that has a non-@code{nil} value for
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
198 @code{buffer-offer-save}.
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
199
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
200 @item
6059a830d589 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 26697
diff changeset
201 The variable @code{inhibit-modification-hooks}
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
202 has no special meaning.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
203
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
204 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
205 The hook @code{fontification-functions} has been eliminated,
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
206 but there are other hooks, such as @code{window-scroll-functions},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
207 that you can use to do a similar job.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
208
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
209 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
210 The variable @code{redisplay-dont-pause}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
211 has no special meaning.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
212
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
213 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
214 The hook @code{calendar-move-hook} has been deleted.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
215
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
216 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
217 The function @code{move-to-column} treats any non-@code{nil}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
218 second argument just like @code{t}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
221 @section Old Lisp Features in Emacs 20.3
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
222
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
223 Here are the most important of the features that you will learn
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
224 to do without in Emacs 20.3:
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
225
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
226 Here are changes in the Lisp language itself:
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
228 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
230 The functions @code{line-beginning-position} and @code{line-end-position}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
231 have been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
233 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
234 The functions @code{directory-files-and-attributes},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
235 @code{file-attributes-lessp}, and @code{file-expand-wildcards}, have
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
236 been eliminated.
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
237
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
238 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
239 The functions @code{decode-coding-region} and @code{encode-coding-region}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
240 leave text properties untouched, in case that is useful. (It rarely makes
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
241 any sense, though.)
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
243 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
244 The functions @code{position-bytes} and @code{byte-to-position} have
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
245 been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
246
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
247 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
248 Temporary buffers made with @code{with-output-to-temp-buffer} are now
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
249 modifiable by default, and use Fundamental mode rather than Help mode.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
252 The functions @code{sref} interprets its @var{index} argument as a
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
253 number of bytes, not a number of characters. And the function
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
254 @code{char-bytes} actually tries to report on the number of bytes that a
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
255 character occupies.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
258 The function @code{process-running-child-p} has been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
260 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
261 The function @code{interrupt-process} and similar functions no longer do
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
262 anything special when the second argument is @code{lambda}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
264 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
265 The function @code{define-prefix-command} accepts only two arguments.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
266
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
267 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
268 The meaning of the second argument to @code{read-char},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
269 @code{read-event}, and @code{read-char-exclusive} has been reversed:
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
270 they use the current input method if the argument is if @code{nil}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
271
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
272 @item
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36900
diff changeset
273 The function @code{with-temp-message} has been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
274
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
275 @item
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36900
diff changeset
276 The function @code{clear-this-command-keys} has been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
277
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
278 @item
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 36900
diff changeset
279 The functions @code{gap-position} and @code{gap-size} have been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
280
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
281 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
282 In @code{modify-face}, an argument of @code{(nil)} has no special
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
283 meaning.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
285 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
286 The base64 conversion functions have been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
287
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
289 Wildcard support has been eliminated from @code{find-file}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
290 and allied functions.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
291
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
292 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
293 @code{file-attributes} returns the file size and the file inode number
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
294 only as a simple integer.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
295 @end itemize
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
296
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
297 @ignore
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
298 arch-tag: 1d0ef137-2bad-430e-ae8e-d820d569b5a6
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
299 @end ignore