annotate lispref/anti.texi @ 7189:c8023bf9c03d

Comment change.
author Richard M. Stallman <rms@gnu.org>
date Fri, 29 Apr 1994 04:59:22 +0000
parents 510a3c16068a
children c5927c75b2b5
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
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 The function @code{string-to-number}, the predicate @code{floatp}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 the variable @code{float-output-format} have all been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 The functions @code{float}, @code{truncate}, @code{floor}, @code{ceil},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 @code{round}, and @code{logb} do not exist; neither do the functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 @code{abs}, @code{cos}, @code{sin}, @code{tan}, @code{acos},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 @code{asin}, @code{atan}, @code{exp}, @code{expt}, @code{log10},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 @code{log}, or @code{sqrt}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 The @code{format} function no longer handles the specifications
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 @samp{%e}, @samp{%f} and @samp{%g} for printing floating point numbers;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 likewise for @code{message}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 @section Changes in Basic Editing Functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 @code{kill-new} and @code{kill-append}, the primitives for putting text
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 in the kill ring, have been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 @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
114 @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
115
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 The variables @code{interprogram-paste-function} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 @code{interprogram-cut-function} have been removed in Emacs 18.
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 In addition, there's no need for @code{mark-active} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 @code{deactivate-mark} because there is no Transient Mark mode. We also
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 removed the hooks @code{activate-mark-hook} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 @code{deactivate-mark-hook}.
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 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 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
127 buffers. The @code{compare-buffer-substrings} and @code{current-kill}
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 functions have been removed.
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 variable @code{overwrite-mode-binary} has been removed.
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
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134 The function @code{move-to-column} allows just one argument,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 @var{column}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 The search functions now just return @code{t} when successful. This
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 affects the functions @code{search-forward}, @code{search-backward},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 @code{word-search-forward}, @code{word-search-backward},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 @code{re-search-forward}, and @code{re-search-backward}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 When you do regular expression searching or matching, there is a fixed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 limit of ten @samp{\(@dots{}\)} pairs that you can get information about
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 with @code{match-beginning} and @code{match-end}. Moreover,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 @code{save-match-data} does not exist; you must use an explicit
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 @code{unwind-protect} to save the match data.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 @code{translate-region} is gone.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 The variables @code{before-change-function},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 @code{after-change-function}, and @code{first-change-hook} have been
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 eliminated.
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 second argument to @code{insert-abbrev-table-description} is no
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 longer optional.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 @section Text Properties
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 We eliminated text properties.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167 @section Features for Files
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169 Many file-related functions have been eliminated or simplified. Here is
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 a basic listing of these functions.
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 The functions @code{file-accessible-directory-p}, @code{file-truename},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
173 @code{make-directory}, @code{delete-directory},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174 @code{set-visited-file-modtime}, @code{directory-abbrev-alist},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
175 @code{abbreviate-file-name}, @code{write-region},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
176 @code{write-contents-hooks}, @code{after-save-hook},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
177 @code{set-default-file-modes}, @code{default-file-modes}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
178 @code{unix-sync} have been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
179
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
180 We got rid of the ``initial file name'' argument to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
181 @code{read-file-name}.
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 Additionally, we removed the 12th element from the list returned by
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184 @code{file-attributes}.
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 @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
187 friendly to process the files in any haphazard order.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
188
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
189 We eliminated the variables @code{write-contents-hooks} and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
190 @code{local-write-file-hooks}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
191
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
192 @section Making Certain File Names ``Magic''
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
193
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
194 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
195 used up.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
196
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
197 @section Frames
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
198
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
199 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
200 been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
202 @section X Window System Features
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 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
205 of creeping featurism.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
206
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
207 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
208 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
209 The functions @code{mouse-position} and @code{set-mouse-position}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210 the special form @code{track-mouse} have been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
211
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
213 Likewise, the functions @code{x-set-selection}, @code{x-set-cut-buffer},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214 @code{x-close-current-connection}, and @code{x-open-connection} have all
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 been removed from Emacs Lisp 18.
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
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218 We removed a series of functions that gave information about the X
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219 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
220 that all servers are equivalent. The names of the removed functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 are: @code{x-display-screens}, @code{x-server-version},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
222 @code{x-server-vendor}, @code{x-display-pixel-height},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
223 @code{x-display-mm-height}, @code{x-display-pixel-width},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 @code{x-display-mm-width}, @code{x-display-backing-store},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225 @code{x-display-save-under}, @code{x-display-planes},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226 @code{x-display-visual-class}, @code{x-display-color-p}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 @code{x-display-color-cells}.
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 Additionally, we removed the variable @code{x-no-window-manager} and the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 functions @code{x-synchronize} and @code{x-get-resource}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
231
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232 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
233 @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
234
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
235 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
236 @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
237
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
238 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
239 We removed both the function @code{x-rebind-key} and the related
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240 function @code{x-rebind-keys}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243 We abolished @code{x-parse-geometry}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
245
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
246 @section Window Actions that Were No Longer Useful
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
247
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
248 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
249 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
250 below.
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 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
253 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 We removed the functions @code{window-at}, @code{window-minibuffer-p},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255 @code{set-window-dedicated-p}, @code{coordinates-in-window-p},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 @code{walk-windows}, @code{window-dedicated-p}, and @code{window-end}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259 We removed the variables @code{pop-up-frames},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
260 @code{pop-up-frame-function}, @code{display-buffer-function}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
261 @code{other-window-scroll-buffer}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
262
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
264 The function @code{minibuffer-window} no longer accepts a frame as
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
265 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
266 returns the window used for minibuffers.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
267
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
268 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
269 The functions @code{next-window} and @code{previous-window} no longer
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
270 accept the @var{all-frames} argument since there is just one frame.
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 The functions @code{get-lru-window}, @code{get-largest-window},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
274 @code{get-buffer-window}, and @code{get-buffer-window} also no longer
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
275 take the optional argument @var{all-frames} because there is just one
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
276 frame to search.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
277 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
278
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
279 @section Display Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
280
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
281 @itemize @bullet
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 There are no overlays, and no faces.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
285 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
286 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
287 to display the current line number. We removed the variables
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288 @code{line-number-mode} and @code{line-number-display-limit}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
289
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
290 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
291 @code{baud-rate} is now a function rather than a variable.
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 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
294 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
295 argument; therefore, you can not reliably make the contents of the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
296 minibuffer visible.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
297
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
298 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
299 The variable @code{temp-buffer-show-function} has been renamed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
300 @code{temp-buffer-show-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
301
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
302 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
303 We removed the function @code{force-mode-line-update}. Use
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
304 the following idiom instead:
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
305
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
306 @example
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
307 (set-buffer-modified-p (buffer-modified-p))
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
308 @end example
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
309
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
310 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
311 Display tables no longer exist. We know what the @sc{ASCII} characters
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
312 should look like, and we made them look that way.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
313 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
314
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
315 @section Working with Input Events
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
316
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
317 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
318 and mouse events. Now the only input events are characters.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
319 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
320 optionally with a meta bit. This makes for big simplifications.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
321
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
322 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
323 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
324 Functions like @code{define-key}, @code{global-set-key},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
325 @code{read-key-sequence}, and @code{local-set-key} used to accept
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
326 strings or vectors in Emacs 19; now they only accept strings.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
327
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
328 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
329 The documentation functions (@code{single-key-description},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
330 @code{key-description}, etc.) also no longer accept vectors, but they do
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
331 accept strings.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
332
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
333 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
334 We removed the @code{read-event}, @code{event-start},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
335 @code{posn-window}, @code{posn-point}, @code{posn-col-row},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
336 @code{posn-timestamp}, @code{scroll-bar-scale}, and @code{event-end}
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
337 functions, since they were only useful for non-character events.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
338
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
339 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
340 We removed the @code{unread-command-events} and @code{last-event-frame}
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
341 variables.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
342
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
344 The functions @code{this-command-keys} and @code{recent-keys} now always
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345 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
346 string, not a vector.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
347
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
348 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
349 We eliminated @samp{e} as an interactive specification since it
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350 was useful only with non-character events.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
351
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
352 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
353 In Emacs 18, we represent Meta characters as character objects with the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
354 same encoding used in strings: 128 plus the corresponding non-Meta
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
355 @sc{ASCII} character.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
356 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
358 @section Menus
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360 You can no longer define menus as keymaps; good system design requires
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
361 crafting a special-purpose interface for each facility, so it can
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 precisely fit the requirements of that facility. We decided that
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 unifying keymaps and menus was simply too much of a strain.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
364
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
365 In Emacs 18, you can only activate menus with the mouse. Using them
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
366 with a keyboard was too confusing for too many users.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
367
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
368 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
369 menu bar have been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
370
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
371 @section Changes in Minibuffer Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
372
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
373 The minibuffer history feature has been eliminated. Thus, we removed
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
374 the optional argument @var{hist} from the minibuffer input functions
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
375 @code{read-from-minibuffer} and @code{completing-read}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
376
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
377 The @var{initial} argument to @code{read-from-minibuffer} and other
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
378 minibuffer input functions can no longer be a cons cell
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
379 @code{(@var{string} . @var{position})}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
380
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
381 In the function @code{read-no-blanks-input}, the @var{initial} argument
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
382 is no longer optional.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
383
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
384 @section New Features for Defining Commands
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
385
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
386 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
387 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
388 The special meaning of @samp{@@} in an interactive specification has
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
389 been eliminated.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
390
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
391 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
392 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
393 prompt strings in interactive specifications.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
394
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
395 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
396 The property @code{enable-recursive-minibuffers} no longer has any
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
397 special meaning.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
398 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
399
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
400 @section Removed Features for Reading Input
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
401
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
402 We removed the third argument (@var{meta}) from the function
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
403 @code{set-input-mode}. Consequently, we added the variable
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
404 @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
405 to @code{nil} to disable it. (Those are the only two alternatives.)
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
406
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
407 We also removed the variable @code{extra-keyboard-modifiers}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
408
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409 We removed the function @code{keyboard-translate} and the variables
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410 @code{num-input-keys} and @code{function-key-map}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
412 @section Removed Syntax Table Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
414 @itemize @bullet
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 We eliminated the functions @code{skip-syntax-forward},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
417 @code{skip-syntax-backward}, @code{forward-comment}.
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 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
421 alternate comment style. Emacs 18 supports only one style of comment
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
422 in any given syntax table.
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 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
425 We abolished the variable @code{words-include-escapes}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
426 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
427
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
428 @section The Case Table
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
429
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
430 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
431 removed the associated functions @code{set-standard-case-table},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
432 @code{standard-case-table}, @code{current-case-table},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
433 @code{set-case-table}, and @code{set-case-syntax-pair}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
434
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
435 @section Features for Dealing with Buffers
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
436
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
437 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
439 We eliminated several functions for dealing with buffers:
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
440 @code{buffer-modified-tick} and @code{generate-new-buffer-name}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
441
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
442 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443 We renamed @code{buffer-disable-undo} to @code{buffer-flush-undo}---a
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
444 more picturesque name, you will agree.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
445
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
446 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
447 The function @code{other-buffer} takes just one argument in Emacs 18.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
448
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
449 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
450 The function @code{rename-buffer} now requires you to specify precisely
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
451 the new name you want.
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 removed the local variable @code{list-buffers-directory}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
455
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
456 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
457 We got rid of the hook @code{kill-buffer-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
458 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
459
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
460 @section Local Variables Features
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
461
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
462 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
463 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
464 The function @code{kill-all-local-variables} always eliminates all
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
465 buffer-local variables of the current buffer. No more exceptions.
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 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
468 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
469 @code{nil}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
470
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
471 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
472 We eliminated the functions @code{default-boundp}, because it is no
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
473 longer possible for the default binding of a variable to be void.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
474
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
475 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
476 The special forms @code{defconst} and @code{defvar} now set the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
477 variable's local value rather than its default value when the variable
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
478 is local in the current buffer.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
479 @end itemize
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 @section Features for Subprocesses
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
482
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
483 @code{call-process} and @code{call-process-region} no longer indicate
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
484 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
485 that the subprocess executed properly.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
486
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
487 @itemize
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 The standard asynchronous subprocess features do not work on VMS;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
490 instead, special VMS asynchronous subprocess functions have been added.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
491 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
492 sorry. Use the source, Luke!
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 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
495 The function @code{signal-process} has been removed.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
496
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
497 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
498 We eliminated the transaction queue feature, and the associated
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
499 functions @code{tq-create}, @code{tq-enqueue}, and @code{tq-close}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
500 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
501
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
502 @section Dealing with Times And Time Delays
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
503
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
504 @itemize @bullet
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
505 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
506 We removed the functions @code{current-time}, @code{current-time-zone},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
507 @code{run-at-time}, and @code{cancel-timer}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
508
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
509 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
510 The function @code{current-time-string} no longer accepts any optional
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
511 arguments.
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 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
514 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
515 optional argument to let you specify the time period in milliseconds;
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
516 just in seconds. Additionally, we took out the optional third argument
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
517 @var{nodisp} from @code{sit-for}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
518
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
519 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
520 We removed the optional second and third arguments from the
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
521 @code{accept-process-output} function. It accepts just one argument,
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
522 the process.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
523 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
524
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
525 @need 3000
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 @section Features not Available for Lisp Debuggers
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
528
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
529 @itemize @bullet
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 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
532 upon encountering certain types of errors. Any non-@code{nil} value for
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
533 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
534 error whatever.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
535
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
536 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
537 We removed the variable @code{command-debug-status} and the function
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
538 @code{backtrace-frame}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
539 @end itemize
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
540
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
541 @section Memory Allocation Changes
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
542
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
543 We removed the function @code{memory-limit}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
544
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
545 The list returned by @code{garbage-collect} no longer contains an
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
546 element to describe floating point numbers, since there aren't any
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
547 floating point numbers in Emacs 18.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
548
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
549 @section Hook Changes
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
550
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
551 @itemize @bullet
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 hooks @code{pre-abbrev-expand-hook},
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
554 @code{pre-command-hook}, @code{post-command-hook}, and
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
555 @code{auto-save-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
556
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
557 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
558 We removed the variable
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
559 @code{revert-buffer-insert-file-contents-function}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
560
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
561 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
562 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
563 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
564 set your hook variables the archaic way: store just one function rather
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
565 than a list of functions. But that is optional.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
566
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
567 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
568 The variable @code{lisp-indent-hook} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
569 @code{lisp-indent-function}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
570
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
571 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
572 The variable @code{auto-fill-function} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
573 @code{auto-fill-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
574
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
575 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
576 The @code{blink-paren-function} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
577 @code{blink-paren-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
578
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
579 @item
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
580 The variable @code{temp-buffer-show-function} has been renamed to
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
581 @code{temp-buffer-show-hook}.
510a3c16068a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
582 @end itemize