annotate lispref/anti.texi @ 22562:ddb3fd464b77

(get_doc_string): 2nd arg is now DEFINITION; if non-nil, read a dynamic function definition. (read_doc_string): Don't call read here.
author Richard M. Stallman <rms@gnu.org>
date Wed, 24 Jun 1998 04:11:00 +0000
parents 40089afa2b1d
children 467b88fab665
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.
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
3 @c Copyright (C) 1998 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
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
6 @appendix Emacs 19 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
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
9 downgrading to Emacs version 19.34. We hope you will enjoy the greater
22138
d4ac295a98b3 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21682
diff changeset
10 simplicity that results from the absence of many Emacs 20 features. In
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
11 the following section, we carry this information back as far as Emacs
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
12 19.29, 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
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
14 @section Old Lisp Features in Emacs 19
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
16 Here are the most important of the features that you will learn
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
17 to do without in Emacs 19:
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
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
21 In a great simplification, Emacs 19 supports ASCII characters only.
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
22 There are no multibyte characters, character sets, language
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
23 environments, coding systems, or input methods; all the functions that
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
24 specifically relate to them are gone as well.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
26 Valid character codes for text must be in the range 0 through 255.
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
27 Within this range, there are no invalid character codes.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
30 The Custom facility has been replaced with a much simpler and more
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
31 general method of defining user option variables. Instead of
22138
d4ac295a98b3 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21682
diff changeset
32 @code{defcustom}, which requires you to specify each user option's data
d4ac295a98b3 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21682
diff changeset
33 type and classify options into groups, all you have to do is write a
d4ac295a98b3 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21682
diff changeset
34 @code{defvar}. You should still start the documentation string with
d4ac295a98b3 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21682
diff changeset
35 @samp{*}, though.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
38 Here are changes in the Lisp language itself:
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
42 Symbols whose names start with @samp{:} are no longer special
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
43 in any way. They start out void, like most other symbols.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
46 The macros @code{when} and @code{unless} have been deleted.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
49 The functions @code{caar}, @code{cadr}, @code{cdar} and @code{cddr}
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
50 no longer exist.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
53 The function @code{functionp} is now gone. If you don't know
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
54 by now whether something is a function, Emacs can't tell you.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
57 Here are changes in handling strings and text.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
59 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
60 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
61 The function @code{substring} works only on strings, not on vectors.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
63 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
64 There are no more character categories.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
66 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
67 When you compare strings with @code{equal}, it now compares
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
68 their string properties as well as their text. All must match,
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
69 or the strings are not equal.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
72 @code{format-time-string} no longer supports specified field width
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
73 or specified padding.
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
74
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
75 @item
22252
40089afa2b1d *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 22138
diff changeset
76 The functions @code{split-string} and @code{string} no longer exist.
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
77 Neither does @code{store-substring} or @code{sref}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
80 All printing characters have the same width. Therefore, we have deleted
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
81 @code{char-width}, @code{string-width} and
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
82 @code{truncate-string-to-width}.
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
83
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
84 @item
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
85 We have eliminated the functions @code{next-char-property-change} and
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
86 @code{previous-char-property-change} also.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
88 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
89 Syntax parsing now determines the syntax of each character from the
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
90 syntax table alone---not from text properties. This makes the syntax
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
91 codes @samp{|} and @samp{!}, which were meant for use with text
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
92 properties, useless; so we have deleted them.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
95 In the function @code{parse-partial-sexp}, passing @code{syntax-table}
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
96 as the sixth argument @var{commentstop} no longer has any special meaning.
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
97 And the return value has only eight elements.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
100 Here are changes in other areas of Emacs Lisp:
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
104 The macros @code{save-current-buffer}, @code{with-current-buffer},
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
105 @code{with-temp-buffer}, @code{with-temp-file}, @code{save-selected-window},
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
106 and @code{with-output-to-string} are gone.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
109 The easy-mmode facility for defining minor modes is gone too.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
112 Process filters and sentinels must explicitly save the match data, with
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
113 @code{save-match-data}, or they will clobber the match data and
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
114 something horrible will happen.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
117 As part of our effort to loosen up, @code{batch-byte-compile-file} no
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
118 longer returns a nonzero status code if there is a compilation error.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
121 The ``mail user agent'' feature is gone.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
124 We have removed the functions @code{add-to-invisibility-spec} and
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
125 @code{remove-from-invisibility-spec}, so you should manipulate
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
126 the value of @code{buffer-invisibility-spec} by hand.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
129 The functions @code{face-documentation}, @code{face-bold-p},
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
130 @code{face-italic-p}, @code{set-face-bold-p}, @code{set-face-italic-p}
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
131 are gone. Instead, use @code{make-face-bold} and friends.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
134 All the functions that operate on a file now discard an extra redundant
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
135 directory name from the beginning of the file name---just like
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
136 @code{substitute-in-file-name}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
138 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
139 We have got rid of the function @code{access-file}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
141 @item
22138
d4ac295a98b3 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21682
diff changeset
142 Most of the minibuffer input functions no longer take a default value as
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
143 an argument. Also, they do not discard text properties from the result.
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
144 This means that if you insert text with text properties into the minibuffer,
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
145 the minibuffer value really will contain text properties.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
147 @item
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21007
diff changeset
148 Only the simple menu item format is supported (@pxref{Simple Menu Items}).
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21007
diff changeset
149
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21007
diff changeset
150 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
151 You can still bind @code{x-resource-class} around a call to
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
152 @code{x-get-resource}, but it won't do anything special.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
155 Wave goodbye to the hooks @code{before-make-frame-hook},
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
156 @code{after-make-frame-functions}, and
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
157 @code{window-configuration-change-hook},
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
160 The functions and variables that deal with MS Windows NT/95
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
161 have been renamed to start with @samp{win32-} instead of @samp{w32-}.
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
162 This is because we admire Microsoft more each day as we go back
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
163 into the past.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
166 @section Onward into the Past!
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
168 Here we go even further back, as far as Emacs 19.29, for which the
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
169 previous printed edition of the Emacs Lisp manual was made.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
172 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
173 There are no char-tables or bool-vectors. Syntax tables, display
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
174 tables, and case tables are all vectors now, and the value of
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
175 @code{keyboard-translate-table} should be a vector or a string.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
176
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
177 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
178 There is only one kind of marker. When you insert text at the place
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
179 where a marker points, the marker always ends up before that text,
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
180 unless you use @code{insert-before-markers}, which puts all the markers
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
181 after the inserted text.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
182
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
184 There is no function @code{overlays-in}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
185
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
186 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
187 The variable @code{print-length} applies only to lists, not to
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
188 vectors or strings.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
189
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
190 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
191 The function @code{convert-standard-filename} no longer exists, so each
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
192 Lisp package must independently figure out which file names to use for
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
193 its initialization files on each kind of operating system.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
194
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
195 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
196 The macro @code{with-timeout} has been eliminated, along with the
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
197 function @code{y-or-n-p-with-timeout}. Idle timers don't exist at all;
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
198 instead, maybe you can use @code{post-command-idle-hook} to do some of
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
199 the same job.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
200
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
202 The functions @code{keymap-parent} and @code{set-keymap-parent} are
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
203 gone. We expect keymaps to recognize their own parents.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
204
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
205 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
206 When you delete text and then undo a deletion, markers that were
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
207 originally inside the deleted text end up either at the beginning
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
208 or the end of it---not back in their original places.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
209
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
211 The interactive specification @samp{N} is gone now.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
213 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
214 There is no more @code{safe-length}. Don't try to be so safe! Did you
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
215 expect to live forever?
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
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
218 We got rid of @code{insert-file-contents-literally}, because
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
219 programmers are too literal-minded anyway.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
222 As part of our continuing effort to help Lisp programmers to relax, we
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
223 threw out the function @code{error-message-string}. Don't worry so much
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
224 about errors! We all make mistakes.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
227 The keymap @code{special-event-map} is gone, because Emacs has no more
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
228 special events. If you want to hold a party in Emacs, please let us
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
229 know.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
231 @item
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 21007
diff changeset
232 You can't do date arithmetic with @code{encode-time} any more.
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
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
235 The functions @code{command-execute} and @code{call-interactively} no
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
236 longer accept the optional argument @var{keys}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
237
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
238 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
239 @code{get-buffer-window-list} is gone as well.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
242 With the function @code{replace-match}, you can only replace the whole
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
243 match, not a subexpression of it.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
245 @item
21007
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
246 We eliminated the hooks @code{buffer-access-fontify-functions},
66d807bdc5b4 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7734
diff changeset
247 @code{window-scroll-functions}, and @code{redisplay-end-trigger-functions}.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
248 @end itemize