annotate lispref/anti.texi @ 26070:c83405930bcb

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Mon, 18 Oct 1999 02:01:56 +0000
parents 7a5095e7e171
children 361231427b8b
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.
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
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.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 @node Antinews, Index, Standard Hooks, Top
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
6 @appendix Emacs 20 Antinews
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 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
9 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
10 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
11 the following section, we carry this information back to Emacs
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
12 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
13
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
14 @section Old Lisp Features in Emacs 20
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 @item
25909
7a5095e7e171 Add item for bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents: 25875
diff changeset
18 The function @code{bitmap-spec-p} has been renamed to
7a5095e7e171 Add item for bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents: 25875
diff changeset
19 @code{pixmap-spec-p} to encourage users to practice Emacs' help system
7a5095e7e171 Add item for bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents: 25875
diff changeset
20 while trying to find it.
7a5095e7e171 Add item for bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents: 25875
diff changeset
21
7a5095e7e171 Add item for bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents: 25875
diff changeset
22 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
23 The @code{push} and @code{pop} macros are not defined.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
24
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
25 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
26 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
27 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
28
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
29 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
30 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
31 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
32 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
33
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
34 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
35 Faces have fewer attributes. The attributes @code{:family},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
36 @code{:height}, @code{:width}, @code{:weight}, and @code{:slant},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
37 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
38 ``italic'' flag.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
39
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
40 The attributes @code{:overline}, @code{:strike-through}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
41 and @code{:box} have been eliminated too.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
42
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
43 With fewer font attributes, there are no functions
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
44 @code{set-face-attribute} and @code{face-attribute}. Instead, you
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
45 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
46 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
47 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
48
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
49 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
50 There are no facilities for playing sound. This means Emacs will
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
51 respect your peace and quiet, aside from occasional beeps.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
52
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
53 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
54 Regular expressions do not support the POSIX character classes
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
55 such as @samp{[:alpha:]}. All characters are created equal.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
57 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
58 Hash tables have been eliminated; use alists instead.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
59
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
60 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
61 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
62 ok, because the Lisp reader cannot recreate circular structure anyway.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
63 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
64 circular structure.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
65
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
66 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
67 Emacs provides its own implementation of scroll bars, instead
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
68 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
69 and background colors, so you cannot specify different colors for
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
70 the scroll bars.
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
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
73 For simplicity, all ASCII characters now have the same height and width.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
74 (Certain characters, such as Chinese characters, always have have twice
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
75 the standard width.) All characters are created equal.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
76
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
77 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
78 Tooltips operate using ordinary Emacs frames.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
79
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
80 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
81 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
82 commands are available for the mode line as a whole.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
83
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
84 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
85 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
86 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
87
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
88 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
89 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
90
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
92 Vertical fractional scrolling does not exist.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
93
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
94 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
95 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
96 properties.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
97
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
98 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
99 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
100 So the support functions for colors on text-only terminals are
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
101 not needed.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
102
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
103 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
104 The functions @code{color-values}, @code{color-defined-p} and
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
105 @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
106 @code{x-color-defined-p} and @code{x-defined-colors}.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
107
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
108 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
109 Windows cannot be made fixed-width or fixed-height;
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
110 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
111
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
112 @item
25875
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
113 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
114 @code{after-string} property must contain only characters that display
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
115 as a single column---control characters, including tabs and newlines,
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
116 will give strange results.
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
117
6a17c48b52ef *** empty log message ***
Phillip Rulon <pjr@gnu.org>
parents: 25751
diff changeset
118 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
119 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
120 minibuffer; it is displayed specially in the minibuffer window.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
121
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
122 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
123 The ``exclusive open'' feature of @code{write-region}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
124 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
125 argument now means to ask the user for confirmation.
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 The function @code{buffer-size} always reports on the
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
129 current buffer.
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 The function @code{assoc-delete-all} has itself been deleted.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
133 So there!
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
134
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
135 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
136 The variable @code{small-temporary-file-directory} has no special
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
137 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
138 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
139 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
140 variable, and some use the @code{TMPDIR} environment variable.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
141
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
142 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
143 The variable @code{inhibit-modification-hooks}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
144 has no special meaning.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
145
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
146 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
147 The hook @code{fontification-functions} has been eliminated,
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
148 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
149 that you can use to do a similar job.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
150
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
151 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
152 The variable @code{redisplay-dont-pause}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
153 has no special meaning.
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 The hook @code{calendar-move-hook} has been deleted.
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
157
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
158 @item
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
159 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
160 second argument just like @code{t}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
163 @section Old Lisp Features in Emacs 20.3
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
164
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
165 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
166 to do without in Emacs 20.3:
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
167
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
168 Here are changes in the Lisp language itself:
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
172 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
173 have been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
175 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
176 The functions @code{directory-files-and-attributes},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
177 @code{file-attributes-lessp}, and @code{file-expand-wildcards}, have
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
178 been eliminated.
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
179
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
180 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
181 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
182 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
183 any sense, though.)
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
185 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
186 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
187 been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
188
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
189 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
190 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
191 modifiable by default, and use Fundamental mode rather than Help mode.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
192
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
193 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
194 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
195 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
196 @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
197 character occupies.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
198
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
199 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
200 The function @code{process-running-child-p} has been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
202 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
203 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
204 anything special when the second argument is @code{lambda}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
205
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
206 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
207 The function @code{define-prefix-command} accepts only two arguments.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
208
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
209 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
210 The meaning of the second argument to @code{read-char},
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
211 @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
212 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
213
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
215 The function @code{with-temp-message} has been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
218 The function @code{clear-this-command-keys} has been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
221 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
222
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
223 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
224 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
225 meaning.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
228 The base64 conversion functions have been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
231 Wildcard support has been eliminated from @code{find-file}
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
232 and allied functions.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
234 @item
25751
467b88fab665 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22252
diff changeset
235 @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
236 only as a simple integer.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
237 @end itemize