annotate lispref/anti.texi @ 18367:f4682a047be1

(custom-magic-value-create): In `links' style, don't indent the member groups. (custom-group-value-create): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Jun 1997 18:20:23 +0000
parents 2d4db32cccd5
children 66d807bdc5b4
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.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 @c Copyright (C) 1993 Free Software Foundation, Inc.
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
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 @appendix Emacs 18 Antinews
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
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 downgrading to Emacs version 18. We hope you will enjoy the greater
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 simplicity that results from the absence of many Emacs 19 features.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 @section Old Features in the Lisp Language
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 The following functions are missing or different in Emacs version 18.
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
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 The functions @code{delete}, @code{member}, @code{indirect-function},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 @code{map-y-or-n-p}, and @code{invocation-name} have been removed.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 The function @code{read} now skips a terminator character that
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 terminates a symbol when reading from a buffer. Thus, if you use
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 @code{read} on a buffer containing @samp{foo(bar)} following point, it
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 returns @code{foo} and leaves point after the open-parenthesis. This
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 means there's no way you can properly read the list @samp{(bar)}, but
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 that's the way the cookie crumbles.
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 Because of this simplification, it's no longer necessary for an input
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 stream function to accept an optional argument. In Emacs 18, an input
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 stream is always called with no arguments, and should always return
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 the next character of input.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 The function @code{documentation} takes just one argument;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 @code{documentation-property} takes just two.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 @code{random} no longer has the optional argument @var{n}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 You can no longer arrange to run a hook if a particular Lisp library is
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 loaded. The variable @code{after-load-alist} and the function
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 @code{eval-after-load} have been removed.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 The function @code{autoload} no longer supports autoloading a keymap.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 ``Magic'' comments of the form @samp{;;;###autoload} are now just
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 comments. They don't do anything in particular except look pretty.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 If you want a function to be autoloaded by default, edit @file{loaddefs.h}
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 by hand. What do you think editors are for?
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 We took out the @samp{%S} from the @code{format} function, and the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 optional argument @var{noescap} from @code{prin1-to-string}. We removed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 the @code{print-level} variable.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 @section Compilation Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 Inline functions are nonexistent in Emacs 18. We find they make the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 calling function unnecessarily large. (Small size is one of the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 features of Emacs 18.)
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 We eliminated the two special forms, @code{eval-when-compile} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 @code{eval-and-compile}, as well as the @code{compile-defun} command.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 When you load a Lisp file or library, you will no longer receive a
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 warning if the directory contains both a @samp{.elc} file and a new
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 @samp{.el} file that is newer. So be on your toes.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 We removed the special data type for byte-code functions. Compiled
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 functions now work by means of an interpreted function which calls
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 the function @code{bytecode}. That function runs the byte code
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 interpreter.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 @section Floating Point Numbers
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 Emacs 18 doesn't have or need floating point arithmetic built in.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 It has a handy Lisp program that allows you to emulate floating point.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 You'll have to write programs specially to use it, though.
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 As a result, certain macros, functions, and predicates no longer handle
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 specifications for floating point numbers.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
94 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
95 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 The function @code{string-to-number}, the predicate @code{floatp}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 the variable @code{float-output-format} have all been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
99 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 The functions @code{float}, @code{truncate}, @code{floor}, @code{ceil},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 @code{round}, and @code{logb} do not exist; neither do the functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 @code{abs}, @code{cos}, @code{sin}, @code{tan}, @code{acos},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 @code{asin}, @code{atan}, @code{exp}, @code{expt}, @code{log10},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 @code{log}, or @code{sqrt}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
106 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 The @code{format} function no longer handles the specifications
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 @samp{%e}, @samp{%f} and @samp{%g} for printing floating point numbers;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 likewise for @code{message}.
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
110 @end itemize
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 @section Changes in Basic Editing Functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 @code{kill-new} and @code{kill-append}, the primitives for putting text
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 in the kill ring, have been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 @c @code{kill-append} seems to exist as a non-documented (no doc string)
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119 @c primitive in emacs 18. but news.texi said it was new for 19.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 The variables @code{interprogram-paste-function} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 @code{interprogram-cut-function} have been removed in Emacs 18.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 In addition, there's no need for @code{mark-active} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 @code{deactivate-mark} because there is no Transient Mark mode. We also
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 removed the hooks @code{activate-mark-hook} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 @code{deactivate-mark-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 The @code{kill-region} function can no longer be used in read-only
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 buffers. The @code{compare-buffer-substrings} and @code{current-kill}
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 functions have been removed.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 The variable @code{overwrite-mode-binary} has been removed.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 The function @code{move-to-column} allows just one argument,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 @var{column}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 The search functions now just return @code{t} when successful. This
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 affects the functions @code{search-forward}, @code{search-backward},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 @code{word-search-forward}, @code{word-search-backward},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 @code{re-search-forward}, and @code{re-search-backward}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 When you do regular expression searching or matching, there is a fixed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 limit of ten @samp{\(@dots{}\)} pairs that you can get information about
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 with @code{match-beginning} and @code{match-end}. Moreover,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 @code{save-match-data} does not exist; you must use an explicit
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 @code{unwind-protect} to save the match data.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 @code{translate-region} is gone.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 The variables @code{before-change-function},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 @code{after-change-function}, and @code{first-change-hook} have been
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 The second argument to @code{insert-abbrev-table-description} is no
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 longer optional.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 @section Text Properties
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 We eliminated text properties.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
172 @section Features for Files
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
173
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174 Many file-related functions have been eliminated or simplified. Here is
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
175 a basic listing of these functions.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
176
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
177 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
178 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
179 The functions @code{file-accessible-directory-p}, @code{file-truename},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
180 @code{make-directory}, @code{delete-directory},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
181 @code{set-visited-file-modtime}, @code{directory-abbrev-alist},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
182 @code{abbreviate-file-name}, @code{write-region},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 @code{write-contents-hooks}, @code{after-save-hook},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184 @code{set-default-file-modes}, @code{default-file-modes}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
185 @code{unix-sync} have been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
186
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
187 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
188 We got rid of the ``initial file name'' argument to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
189 @code{read-file-name}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
190
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
191 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
192 Additionally, we removed the 12th element from the list returned by
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
193 @code{file-attributes}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
194
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
195 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
196 @code{directory-files} always sorts the list of files. It's not user
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
197 friendly to process the files in any haphazard order.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
198
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
199 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
200 We eliminated the variables @code{write-contents-hooks} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201 @code{local-write-file-hooks}.
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
202 @end itemize
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
203
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
204 @section Making Certain File Names ``Magic''
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
205
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
206 There are no more magic filenames. Sorry, but all the mana has been
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
207 used up.
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 @section Frames
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
211 There is only one frame in Emacs 18, so all of the frame functions have
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212 been eliminated.
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 @section X Window System Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216 We have simplified the way Emacs and X interact by removing a great deal
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 of creeping featurism.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 The functions @code{mouse-position} and @code{set-mouse-position}, and
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
222 the special form @code{track-mouse}, have been eliminated.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
223
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225 Likewise, the functions @code{x-set-selection}, @code{x-set-cut-buffer},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226 @code{x-close-current-connection}, and @code{x-open-connection} have all
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 been removed from Emacs Lisp 18.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
228
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 We removed a series of functions that gave information about the X
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
231 server and the screen you were using; after all, the whole point of X is
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232 that all servers are equivalent. The names of the removed functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233 are: @code{x-display-screens}, @code{x-server-version},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
234 @code{x-server-vendor}, @code{x-display-pixel-height},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
235 @code{x-display-mm-height}, @code{x-display-pixel-width},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
236 @code{x-display-mm-width}, @code{x-display-backing-store},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
237 @code{x-display-save-under}, @code{x-display-planes},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
238 @code{x-display-visual-class}, @code{x-display-color-p}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
239 @code{x-display-color-cells}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
241 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242 Additionally, we removed the variable @code{x-no-window-manager} and the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243 functions @code{x-synchronize} and @code{x-get-resource}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
245 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
246 We didn't abolish @code{x-display-color-p}, but we renamed it to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
247 @code{x-color-display-p}. We did abolish @code{x-color-defined-p}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
248
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
249 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250 @code{x-popup-menu} no longer accepts a keymap for its first argument.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
252 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
253 We removed both the function @code{x-rebind-key} and the related
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 function @code{x-rebind-keys}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 We abolished @code{x-parse-geometry}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
260 @section Window Actions that Were No Longer Useful
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
261
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
262 Various behaviors of windows in Emacs 19 were obsolete by the time Emacs
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263 18 was due to come out. We have removed them. These changes are listed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
264 below.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
265
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
266 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
267 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
268 We removed the functions @code{window-at}, @code{window-minibuffer-p},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
269 @code{set-window-dedicated-p}, @code{coordinates-in-window-p},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
270 @code{walk-windows}, @code{window-dedicated-p}, and @code{window-end}.
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
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
273 We removed the variables @code{pop-up-frames},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
274 @code{pop-up-frame-function}, @code{display-buffer-function}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
275 @code{other-window-scroll-buffer}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
276
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
277 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
278 The function @code{minibuffer-window} no longer accepts a frame as
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
279 argument, since frames as objects do not exist in Emacs version 18. It
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
280 returns the window used for minibuffers.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
281
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
282 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
283 The functions @code{next-window} and @code{previous-window} no longer
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284 accept the @var{all-frames} argument since there is just one frame.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
285
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
286 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
287 The functions @code{get-lru-window}, @code{get-largest-window},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288 @code{get-buffer-window}, and @code{get-buffer-window} also no longer
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
289 take the optional argument @var{all-frames} because there is just one
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
290 frame to search.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
291 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
292
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
293 @section Display Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
294
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
295 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
296 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
297 There are no overlays, and no faces.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
298
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
299 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
300 We eliminated the mode line spec @samp{%l} that in later versions used
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
301 to display the current line number. We removed the variables
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
302 @code{line-number-mode} and @code{line-number-display-limit}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
303
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
304 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
305 @code{baud-rate} is now a function rather than a variable.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
306
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
307 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
308 You can no longer call @code{message} with @code{nil} as the only
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
309 argument; therefore, you can not reliably make the contents of the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
310 minibuffer visible.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
311
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
312 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
313 The variable @code{temp-buffer-show-function} has been renamed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
314 @code{temp-buffer-show-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
315
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
316 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
317 We removed the function @code{force-mode-line-update}. Use
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
318 the following idiom instead:
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
319
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
320 @example
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
321 (set-buffer-modified-p (buffer-modified-p))
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
322 @end example
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
323
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
324 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
325 Display tables no longer exist. We know what the @sc{ASCII} characters
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
326 should look like, and we made them look that way.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
327 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
328
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
329 @section Working with Input Events
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
330
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
331 The big news about input events is that we got rid of function key
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
332 and mouse events. Now the only input events are characters.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
333 What's more, these characters now have to be in the range of 0 to 127,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
334 optionally with a meta bit. This makes for big simplifications.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
335
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
336 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
337 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
338 Functions like @code{define-key}, @code{global-set-key},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
339 @code{read-key-sequence}, and @code{local-set-key} used to accept
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
340 strings or vectors in Emacs 19; now they only accept strings.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
341
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
342 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 The documentation functions (@code{single-key-description},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
344 @code{key-description}, etc.) also no longer accept vectors, but they do
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345 accept strings.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
346
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
347 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
348 We removed the @code{read-event}, @code{event-start},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
349 @code{posn-window}, @code{posn-point}, @code{posn-col-row},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350 @code{posn-timestamp}, @code{scroll-bar-scale}, and @code{event-end}
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
351 functions, since they were useful only for non-character events.
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
352
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
353 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
354 We removed the @code{unread-command-events} and @code{last-event-frame}
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
355 variables.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
356
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
358 The functions @code{this-command-keys} and @code{recent-keys} now always
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359 return a string. Likewise, a keyboard macro's definition can only be a
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360 string, not a vector.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
361
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 We eliminated @samp{e} as an interactive specification since it
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
364 was useful only with non-character events.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
365
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
366 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
367 In Emacs 18, we represent Meta characters as character objects with the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
368 same encoding used in strings: 128 plus the corresponding non-Meta
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
369 @sc{ASCII} character.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
370 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
371
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
372 @section Menus
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
373
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
374 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
375 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
376 You can no longer define menus as keymaps; good system design requires
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
377 crafting a special-purpose interface for each facility, so it can
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
378 precisely fit the requirements of that facility. We decided that
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
379 unifying keymaps and menus was simply too much of a strain.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
380
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
381 @item
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
382 In Emacs 18, you can activate menus only with the mouse. Using them
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
383 with a keyboard was too confusing for too many users.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
384
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
385 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
386 Emacs 18 has no menu bars. All functions and variables related to the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
387 menu bar have been eliminated.
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
388 @end itemize
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
389
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
390 @section Changes in Minibuffer Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
391
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
392 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
393 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
394 The minibuffer history feature has been eliminated. Thus, we removed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
395 the optional argument @var{hist} from the minibuffer input functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
396 @code{read-from-minibuffer} and @code{completing-read}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
397
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
398 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
399 The @var{initial} argument to @code{read-from-minibuffer} and other
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
400 minibuffer input functions can no longer be a cons cell
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
401 @code{(@var{string} . @var{position})}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
402
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
403 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
404 In the function @code{read-no-blanks-input}, the @var{initial} argument
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
405 is no longer optional.
7734
2d4db32cccd5 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 7601
diff changeset
406 @end itemize
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
407
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
408 @section New Features for Defining Commands
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
412 The special meaning of @samp{@@} in an interactive specification has
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413 been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
414
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
415 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
416 Emacs 18 does not support use of format-style @samp{%}-sequences in the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
417 prompt strings in interactive specifications.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
418
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
419 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
420 The property @code{enable-recursive-minibuffers} no longer has any
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
421 special meaning.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
422 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
423
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
424 @section Removed Features for Reading Input
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
425
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
426 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
427 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
428 We removed the third argument (@var{meta}) from the function
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
429 @code{set-input-mode}. Consequently, we added the variable
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
430 @code{meta-flag}; set it to @code{t} to enable use of a Meta key, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
431 to @code{nil} to disable it. (Those are the only two alternatives.)
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
432
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
433 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
434 We also removed the variable @code{extra-keyboard-modifiers}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
435
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
436 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
437 We removed the function @code{keyboard-translate} and the variables
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438 @code{num-input-keys} and @code{function-key-map}.
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
439 @end itemize
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
440
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
441 @section Removed Syntax Table Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
442
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
444 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
445 We eliminated the functions @code{skip-syntax-forward},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
446 @code{skip-syntax-backward}, @code{forward-comment}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
447
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
448 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
449 We removed the syntax flag for ``prefix syntax'' and the flag for the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
450 alternate comment style. Emacs 18 supports only one style of comment
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
451 in any given syntax table.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
452
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
453 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
454 We abolished the variable @code{words-include-escapes}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
455 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
456
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
457 @section The Case Table
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
458
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
459 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
460 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
461 Case tables do not exist in Emacs 18. Due to this change, we have
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
462 removed the associated functions @code{set-standard-case-table},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
463 @code{standard-case-table}, @code{current-case-table},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
464 @code{set-case-table}, and @code{set-case-syntax-pair}.
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
465 @end itemize
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
466
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
467 @section Features for Dealing with Buffers
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
468
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
469 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
470 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
471 We eliminated several functions for dealing with buffers:
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
472 @code{buffer-modified-tick} and @code{generate-new-buffer-name}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
473
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
474 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
475 We renamed @code{buffer-disable-undo} to @code{buffer-flush-undo}---a
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
476 more picturesque name, you will agree.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
477
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
478 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
479 The function @code{other-buffer} takes just one argument in Emacs 18.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
480
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
481 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
482 The function @code{rename-buffer} now requires you to specify precisely
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
483 the new name you want.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
484
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
485 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
486 We removed the local variable @code{list-buffers-directory}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
487
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
488 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
489 We got rid of the hook @code{kill-buffer-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
490 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
491
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
492 @section Local Variables Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
493
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
494 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
495 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
496 The function @code{kill-all-local-variables} always eliminates all
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
497 buffer-local variables of the current buffer. No more exceptions.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
498
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
499 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
500 Making a variable buffer-local when it is void now sets it to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
501 @code{nil}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
502
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
503 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
504 We eliminated the functions @code{default-boundp}, because it is no
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
505 longer possible for the default binding of a variable to be void.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
506
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
507 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
508 The special forms @code{defconst} and @code{defvar} now set the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
509 variable's local value rather than its default value when the variable
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
510 is local in the current buffer.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
511 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
512
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
513 @section Features for Subprocesses
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
514
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
515 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
516 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
517 @code{call-process} and @code{call-process-region} no longer indicate
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
518 the termination status of the subprocess. We call on users to have faith
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
519 that the subprocess executed properly.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
520
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
521 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
522 The standard asynchronous subprocess features do not work on VMS;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
523 instead, special VMS asynchronous subprocess functions have been added.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
524 Since they are only for VMS, we can't be bothered documenting them;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
525 sorry. Use the source, Luke!
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
526
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
527 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
528 The function @code{signal-process} has been removed.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
529
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
530 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
531 We eliminated the transaction queue feature, and the associated
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
532 functions @code{tq-create}, @code{tq-enqueue}, and @code{tq-close}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
533 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
534
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
535 @section Dealing with Times And Time Delays
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
536
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
537 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
538 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
539 We removed the functions @code{current-time}, @code{current-time-zone},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
540 @code{run-at-time}, and @code{cancel-timer}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
541
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
542 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
543 The function @code{current-time-string} no longer accepts any optional
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
544 arguments.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
545
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
546 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
547 The functions @code{sit-for} and @code{sleep-for} no longer allow an
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
548 optional argument to let you specify the time period in milliseconds;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
549 just in seconds. Additionally, we took out the optional third argument
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
550 @var{nodisp} from @code{sit-for}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
551
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
552 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
553 We removed the optional second and third arguments from the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
554 @code{accept-process-output} function. It accepts just one argument,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
555 the process.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
556 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
557
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
558 @need 3000
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
559
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
560 @section Features not Available for Lisp Debuggers
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
561
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
562 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
563 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
564 In Emacs 18, you can no longer specify to invoke the Lisp debugger only
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
565 upon encountering certain types of errors. Any non-@code{nil} value for
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
566 the variable @code{debug-on-error} says to invoke the debugger for any
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
567 error whatever.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
568
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
569 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
570 We removed the variable @code{command-debug-status} and the function
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
571 @code{backtrace-frame}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
572 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
573
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
574 @section Memory Allocation Changes
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
575
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
576 @itemize @bullet
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
577 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
578 We removed the function @code{memory-limit}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
579
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
580 @item
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
581 The list returned by @code{garbage-collect} no longer contains an
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
582 element to describe floating point numbers, since there aren't any
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
583 floating point numbers in Emacs 18.
7601
c5927c75b2b5 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6380
diff changeset
584 @end itemize
6380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
585
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
586 @section Hook Changes
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
587
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
588 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
589 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
590 We removed the hooks @code{pre-abbrev-expand-hook},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
591 @code{pre-command-hook}, @code{post-command-hook}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
592 @code{auto-save-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
593
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
594 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
595 We removed the variable
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
596 @code{revert-buffer-insert-file-contents-function}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
597
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
598 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
599 We also removed the new function @code{add-hook}; you will have to set
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
600 your hooks by hand. If you want to get really into the swing of things,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
601 set your hook variables the archaic way: store just one function rather
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
602 than a list of functions. But that is optional.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
603
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
604 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
605 The variable @code{lisp-indent-hook} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
606 @code{lisp-indent-function}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
607
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
608 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
609 The variable @code{auto-fill-function} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
610 @code{auto-fill-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
611
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
612 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
613 The @code{blink-paren-function} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
614 @code{blink-paren-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
615
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
616 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
617 The variable @code{temp-buffer-show-function} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
618 @code{temp-buffer-show-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
619 @end itemize