annotate etc/OOOOONEWS @ 29263:167d236e633b

Correct a typo in a comment.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 28 May 2000 13:25:33 +0000
parents e96ffe544684
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
1 Old GNU Emacs NEWS -- history of user-visible changes thru version 15.
Dave Love <fx@gnu.org>
parents:
diff changeset
2 Copyright (C) 1985 Richard M. Stallman.
Dave Love <fx@gnu.org>
parents:
diff changeset
3 See the end for copying conditions.
Dave Love <fx@gnu.org>
parents:
diff changeset
4
Dave Love <fx@gnu.org>
parents:
diff changeset
5 Changes in Emacs 15
Dave Love <fx@gnu.org>
parents:
diff changeset
6
Dave Love <fx@gnu.org>
parents:
diff changeset
7 * Emacs now runs on Sun and Megatest 68000 systems;
Dave Love <fx@gnu.org>
parents:
diff changeset
8 also on at least one 16000 system running 4.2.
Dave Love <fx@gnu.org>
parents:
diff changeset
9
Dave Love <fx@gnu.org>
parents:
diff changeset
10 * Emacs now alters the output-start and output-stop characters
Dave Love <fx@gnu.org>
parents:
diff changeset
11 to prevent C-s and C-q from being considered as flow control
Dave Love <fx@gnu.org>
parents:
diff changeset
12 by cretinous rlogin software in 4.2.
Dave Love <fx@gnu.org>
parents:
diff changeset
13
Dave Love <fx@gnu.org>
parents:
diff changeset
14 * It is now possible convert Mocklisp code (for Gosling Emacs) to Lisp code
Dave Love <fx@gnu.org>
parents:
diff changeset
15 that can run in GNU Emacs. M-x convert-mocklisp-buffer
Dave Love <fx@gnu.org>
parents:
diff changeset
16 converts the contents of the current buffer from Mocklisp to
Dave Love <fx@gnu.org>
parents:
diff changeset
17 GNU Emacs Lisp. You should then save the converted buffer with C-x C-w
Dave Love <fx@gnu.org>
parents:
diff changeset
18 under a name ending in ".el"
Dave Love <fx@gnu.org>
parents:
diff changeset
19
Dave Love <fx@gnu.org>
parents:
diff changeset
20 There are probably some Mocklisp constructs that are not handled.
Dave Love <fx@gnu.org>
parents:
diff changeset
21 If you encounter one, feel free to report the failure as a bug.
Dave Love <fx@gnu.org>
parents:
diff changeset
22 The construct will be handled in a future Emacs release, if that is not
Dave Love <fx@gnu.org>
parents:
diff changeset
23 not too hard to do.
Dave Love <fx@gnu.org>
parents:
diff changeset
24
Dave Love <fx@gnu.org>
parents:
diff changeset
25 Note that lisp code converted from Mocklisp code will not necessarily
Dave Love <fx@gnu.org>
parents:
diff changeset
26 run as fast as code specifically written for GNU Emacs, nor will it use
Dave Love <fx@gnu.org>
parents:
diff changeset
27 the many features of GNU Emacs which are not present in Gosling's emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
28 (In particular, the byte-compiler (m-x byte-compile-file) knows little
Dave Love <fx@gnu.org>
parents:
diff changeset
29 about compilation of code directly converted from mocklisp.)
Dave Love <fx@gnu.org>
parents:
diff changeset
30 It is envisaged that old mocklisp code will be incrementally converted
Dave Love <fx@gnu.org>
parents:
diff changeset
31 to GNU lisp code, with M-x convert-mocklisp-buffer being the first
Dave Love <fx@gnu.org>
parents:
diff changeset
32 step in this process.
Dave Love <fx@gnu.org>
parents:
diff changeset
33
Dave Love <fx@gnu.org>
parents:
diff changeset
34 * Control-x n (narrow-to-region) is now by default a disabled command.
Dave Love <fx@gnu.org>
parents:
diff changeset
35
Dave Love <fx@gnu.org>
parents:
diff changeset
36 This means that, if you issue this command, it will ask whether
Dave Love <fx@gnu.org>
parents:
diff changeset
37 you really mean it. You have the opportunity to enable the
Dave Love <fx@gnu.org>
parents:
diff changeset
38 command permanently at that time, so you will not be asked again.
Dave Love <fx@gnu.org>
parents:
diff changeset
39 This will place the form "(put 'narrow-to-region 'disabled nil)" in your
Dave Love <fx@gnu.org>
parents:
diff changeset
40 .emacs file.
Dave Love <fx@gnu.org>
parents:
diff changeset
41
Dave Love <fx@gnu.org>
parents:
diff changeset
42 * Tags now prompts for the tag table file name to use.
Dave Love <fx@gnu.org>
parents:
diff changeset
43
Dave Love <fx@gnu.org>
parents:
diff changeset
44 All the tags commands ask for the tag table file name
Dave Love <fx@gnu.org>
parents:
diff changeset
45 if you have not yet specified one.
Dave Love <fx@gnu.org>
parents:
diff changeset
46
Dave Love <fx@gnu.org>
parents:
diff changeset
47 Also, the command M-x visit-tag-table can now be used to
Dave Love <fx@gnu.org>
parents:
diff changeset
48 specify the tag table file name initially, or to switch
Dave Love <fx@gnu.org>
parents:
diff changeset
49 to a new tag table.
Dave Love <fx@gnu.org>
parents:
diff changeset
50
Dave Love <fx@gnu.org>
parents:
diff changeset
51 * If truncate-partial-width-windows is non-nil (as it intially is),
Dave Love <fx@gnu.org>
parents:
diff changeset
52 all windows less than the full screen width (that is,
Dave Love <fx@gnu.org>
parents:
diff changeset
53 made by side-by-side splitting) truncate lines rather than continuing
Dave Love <fx@gnu.org>
parents:
diff changeset
54 them.
Dave Love <fx@gnu.org>
parents:
diff changeset
55
Dave Love <fx@gnu.org>
parents:
diff changeset
56 * Emacs now checks for Lisp stack overflow to avoid fatal errors.
Dave Love <fx@gnu.org>
parents:
diff changeset
57 The depth in eval, apply and funcall may not exceed max-lisp-eval-depth.
Dave Love <fx@gnu.org>
parents:
diff changeset
58 The depth in variable bindings and unwind-protects may not exceed
Dave Love <fx@gnu.org>
parents:
diff changeset
59 max-specpdl-size. If either limit is exceeded, an error occurs.
Dave Love <fx@gnu.org>
parents:
diff changeset
60 You can set the limits to larger values if you wish, but if you make them
Dave Love <fx@gnu.org>
parents:
diff changeset
61 too large, you are vulnerable to a fatal error if you invoke
Dave Love <fx@gnu.org>
parents:
diff changeset
62 Lisp code that does infinite recursion.
Dave Love <fx@gnu.org>
parents:
diff changeset
63
Dave Love <fx@gnu.org>
parents:
diff changeset
64 * New hooks find-file-hook and write-file-hook.
Dave Love <fx@gnu.org>
parents:
diff changeset
65 Both of these variables if non-nil should be functions of no arguments.
Dave Love <fx@gnu.org>
parents:
diff changeset
66 At the time they are called (current-buffer) will be the buffer being
Dave Love <fx@gnu.org>
parents:
diff changeset
67 read or written respectively.
Dave Love <fx@gnu.org>
parents:
diff changeset
68
Dave Love <fx@gnu.org>
parents:
diff changeset
69 find-file-hook is called whenever a file is read into its own buffer,
Dave Love <fx@gnu.org>
parents:
diff changeset
70 such as by calling find-file, revert-buffer, etc. It is not called by
Dave Love <fx@gnu.org>
parents:
diff changeset
71 functions such as insert-file which do not read the file into a buffer of
Dave Love <fx@gnu.org>
parents:
diff changeset
72 its own.
Dave Love <fx@gnu.org>
parents:
diff changeset
73 find-file-hook is called after the file has been read in and its
Dave Love <fx@gnu.org>
parents:
diff changeset
74 local variables (if any) have been processed.
Dave Love <fx@gnu.org>
parents:
diff changeset
75
Dave Love <fx@gnu.org>
parents:
diff changeset
76 write-file-hook is called just before writing out a file from a buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
77
Dave Love <fx@gnu.org>
parents:
diff changeset
78 * The initial value of shell-prompt-pattern is now "^[^#$%>]*[#$%>] *"
Dave Love <fx@gnu.org>
parents:
diff changeset
79
Dave Love <fx@gnu.org>
parents:
diff changeset
80 * If the .emacs file sets inhibit-startup-message to non-nil,
Dave Love <fx@gnu.org>
parents:
diff changeset
81 the messages normally printed by Emacs at startup time
Dave Love <fx@gnu.org>
parents:
diff changeset
82 are inhibited.
Dave Love <fx@gnu.org>
parents:
diff changeset
83
Dave Love <fx@gnu.org>
parents:
diff changeset
84 * Facility for run-time conditionalization on the basis of emacs features.
Dave Love <fx@gnu.org>
parents:
diff changeset
85
Dave Love <fx@gnu.org>
parents:
diff changeset
86 The new variable features is a list of symbols which represent "features"
Dave Love <fx@gnu.org>
parents:
diff changeset
87 of the executing emacs, for use in run-time conditionalization.
Dave Love <fx@gnu.org>
parents:
diff changeset
88
Dave Love <fx@gnu.org>
parents:
diff changeset
89 The function featurep of one argument may be used to test for the
Dave Love <fx@gnu.org>
parents:
diff changeset
90 presence of a feature. It is just the same as
Dave Love <fx@gnu.org>
parents:
diff changeset
91 (not (null (memq FEATURE features))) where FEATURE is its argument.
Dave Love <fx@gnu.org>
parents:
diff changeset
92 For example, (if (featurep 'magic-window-hack)
Dave Love <fx@gnu.org>
parents:
diff changeset
93 (transmogrify-window 'vertical)
Dave Love <fx@gnu.org>
parents:
diff changeset
94 (split-window-vertically))
Dave Love <fx@gnu.org>
parents:
diff changeset
95
Dave Love <fx@gnu.org>
parents:
diff changeset
96 The function provide of one argument "announces" that FEATURE is present.
Dave Love <fx@gnu.org>
parents:
diff changeset
97 It is much the same as (if (not (featurep FEATURE))
Dave Love <fx@gnu.org>
parents:
diff changeset
98 (setq features (cons FEATURE features)))
Dave Love <fx@gnu.org>
parents:
diff changeset
99
Dave Love <fx@gnu.org>
parents:
diff changeset
100 The function require with arguments FEATURE and FILE-NAME loads FILE-NAME
Dave Love <fx@gnu.org>
parents:
diff changeset
101 (which should contain the form (provide FEATURE)) unless FEATURE is present.
Dave Love <fx@gnu.org>
parents:
diff changeset
102 It is much the same as (if (not (featurep FEATURE))
Dave Love <fx@gnu.org>
parents:
diff changeset
103 (progn (load FILE-NAME)
Dave Love <fx@gnu.org>
parents:
diff changeset
104 (if (not featurep FEATURE) (error ...))))
Dave Love <fx@gnu.org>
parents:
diff changeset
105 FILE-NAME is optional and defaults to FEATURE.
Dave Love <fx@gnu.org>
parents:
diff changeset
106
Dave Love <fx@gnu.org>
parents:
diff changeset
107 * New function load-average.
Dave Love <fx@gnu.org>
parents:
diff changeset
108
Dave Love <fx@gnu.org>
parents:
diff changeset
109 This returns a list of three integers, which are
Dave Love <fx@gnu.org>
parents:
diff changeset
110 the current 1 minute, 5 minute and 15 minute load averages,
Dave Love <fx@gnu.org>
parents:
diff changeset
111 each multiplied by a hundred (since normally they are floating
Dave Love <fx@gnu.org>
parents:
diff changeset
112 point numbers).
Dave Love <fx@gnu.org>
parents:
diff changeset
113
Dave Love <fx@gnu.org>
parents:
diff changeset
114 * Per-terminal libraries loaded automatically.
Dave Love <fx@gnu.org>
parents:
diff changeset
115
Dave Love <fx@gnu.org>
parents:
diff changeset
116 Emacs when starting up on terminal type T automatically loads
Dave Love <fx@gnu.org>
parents:
diff changeset
117 a library named term-T. T is the value of the TERM environment variable.
Dave Love <fx@gnu.org>
parents:
diff changeset
118 Thus, on terminal type vt100, Emacs would do (load "term-vt100" t t).
Dave Love <fx@gnu.org>
parents:
diff changeset
119 Such libraries are good places to set the character translation table.
Dave Love <fx@gnu.org>
parents:
diff changeset
120
Dave Love <fx@gnu.org>
parents:
diff changeset
121 It is a bad idea to redefine lots of commands in a per-terminal library,
Dave Love <fx@gnu.org>
parents:
diff changeset
122 since this affects all users. Instead, define a command to do the
Dave Love <fx@gnu.org>
parents:
diff changeset
123 redefinitions and let the user's init file, which is loaded later,
Dave Love <fx@gnu.org>
parents:
diff changeset
124 call that command or not, as the user prefers.
Dave Love <fx@gnu.org>
parents:
diff changeset
125
Dave Love <fx@gnu.org>
parents:
diff changeset
126 * Programmer's note: detecting killed buffers.
Dave Love <fx@gnu.org>
parents:
diff changeset
127
Dave Love <fx@gnu.org>
parents:
diff changeset
128 Buffers are eliminated by explicitly killing them, using
Dave Love <fx@gnu.org>
parents:
diff changeset
129 the function kill-buffer. This does not eliminate or affect
Dave Love <fx@gnu.org>
parents:
diff changeset
130 the pointers to the buffer which may exist in list structure.
Dave Love <fx@gnu.org>
parents:
diff changeset
131 If you have a pointer to a buffer and wish to tell whether
Dave Love <fx@gnu.org>
parents:
diff changeset
132 the buffer has been killed, use the function buffer-name.
Dave Love <fx@gnu.org>
parents:
diff changeset
133 It returns nil on a killed buffer, and a string on a live buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
134
Dave Love <fx@gnu.org>
parents:
diff changeset
135 * New ways to access the last command input character.
Dave Love <fx@gnu.org>
parents:
diff changeset
136
Dave Love <fx@gnu.org>
parents:
diff changeset
137 The function last-key-struck, which used to return the last
Dave Love <fx@gnu.org>
parents:
diff changeset
138 input character that was read by command input, is eliminated.
Dave Love <fx@gnu.org>
parents:
diff changeset
139 Instead, you can find this information as the value of the
Dave Love <fx@gnu.org>
parents:
diff changeset
140 variable last-command-char. (This variable used to be called
Dave Love <fx@gnu.org>
parents:
diff changeset
141 last-key).
Dave Love <fx@gnu.org>
parents:
diff changeset
142
Dave Love <fx@gnu.org>
parents:
diff changeset
143 Another new variable, last-input-char, holds the last character
Dave Love <fx@gnu.org>
parents:
diff changeset
144 read from the command input stream regardless of what it was
Dave Love <fx@gnu.org>
parents:
diff changeset
145 read for. last-input-char and last-command-char are different
Dave Love <fx@gnu.org>
parents:
diff changeset
146 only inside a command that has called read-char to read input.
Dave Love <fx@gnu.org>
parents:
diff changeset
147
Dave Love <fx@gnu.org>
parents:
diff changeset
148 * The new switch -kill causes Emacs to exit after processing the
Dave Love <fx@gnu.org>
parents:
diff changeset
149 preceding command line arguments. Thus,
Dave Love <fx@gnu.org>
parents:
diff changeset
150 emacs -l lib data -e do-it -kill
Dave Love <fx@gnu.org>
parents:
diff changeset
151 means to load lib, find file data, call do-it on no arguments,
Dave Love <fx@gnu.org>
parents:
diff changeset
152 and then exit.
Dave Love <fx@gnu.org>
parents:
diff changeset
153
Dave Love <fx@gnu.org>
parents:
diff changeset
154 * The config.h file has been modularized.
Dave Love <fx@gnu.org>
parents:
diff changeset
155
Dave Love <fx@gnu.org>
parents:
diff changeset
156 Options that depend on the machine you are running on are defined
Dave Love <fx@gnu.org>
parents:
diff changeset
157 in a file whose name starts with "m-", such as m-vax.h.
Dave Love <fx@gnu.org>
parents:
diff changeset
158 Options that depend on the operating system software version you are
Dave Love <fx@gnu.org>
parents:
diff changeset
159 running on are defined in a file whose name starts with "s-",
Dave Love <fx@gnu.org>
parents:
diff changeset
160 such as s-bsd4.2.h.
Dave Love <fx@gnu.org>
parents:
diff changeset
161
Dave Love <fx@gnu.org>
parents:
diff changeset
162 config.h includes one m- file and one s- file. It also defines a
Dave Love <fx@gnu.org>
parents:
diff changeset
163 few other options whose values do not follow from the machine type
Dave Love <fx@gnu.org>
parents:
diff changeset
164 and system type being used. Installers normally will have to
Dave Love <fx@gnu.org>
parents:
diff changeset
165 select the correct m- and s- files but will never have to change their
Dave Love <fx@gnu.org>
parents:
diff changeset
166 contents.
Dave Love <fx@gnu.org>
parents:
diff changeset
167
Dave Love <fx@gnu.org>
parents:
diff changeset
168 * Termcap AL and DL strings are understood.
Dave Love <fx@gnu.org>
parents:
diff changeset
169
Dave Love <fx@gnu.org>
parents:
diff changeset
170 If the termcap entry defines AL and DL strings, for insertion
Dave Love <fx@gnu.org>
parents:
diff changeset
171 and deletion of multiple lines in one blow, Emacs now uses them.
Dave Love <fx@gnu.org>
parents:
diff changeset
172 This matters most on certain bit map display terminals for which
Dave Love <fx@gnu.org>
parents:
diff changeset
173 scrolling is comparatively slow.
Dave Love <fx@gnu.org>
parents:
diff changeset
174
Dave Love <fx@gnu.org>
parents:
diff changeset
175 * Bias against scrolling screen far on fast terminals.
Dave Love <fx@gnu.org>
parents:
diff changeset
176
Dave Love <fx@gnu.org>
parents:
diff changeset
177 Emacs now prefers to redraw a few lines rather than
Dave Love <fx@gnu.org>
parents:
diff changeset
178 shift them a long distance on the screen, when the terminal is fast.
Dave Love <fx@gnu.org>
parents:
diff changeset
179
Dave Love <fx@gnu.org>
parents:
diff changeset
180 * New major mode, mim-mode.
Dave Love <fx@gnu.org>
parents:
diff changeset
181
Dave Love <fx@gnu.org>
parents:
diff changeset
182 This major mode is for editing MDL code. Perhaps a MDL
Dave Love <fx@gnu.org>
parents:
diff changeset
183 user can explain why it is not called mdl-mode.
Dave Love <fx@gnu.org>
parents:
diff changeset
184 You must load the library mim-mode explicitly to use this.
Dave Love <fx@gnu.org>
parents:
diff changeset
185
Dave Love <fx@gnu.org>
parents:
diff changeset
186 * GNU documentation formatter `texinfo'.
Dave Love <fx@gnu.org>
parents:
diff changeset
187
Dave Love <fx@gnu.org>
parents:
diff changeset
188 The `texinfo' library defines a format for documentation
Dave Love <fx@gnu.org>
parents:
diff changeset
189 files which can be passed through Tex to make a printed manual
Dave Love <fx@gnu.org>
parents:
diff changeset
190 or passed through texinfo to make an Info file. Texinfo is
Dave Love <fx@gnu.org>
parents:
diff changeset
191 documented fully by its own Info file; compare this file
Dave Love <fx@gnu.org>
parents:
diff changeset
192 with its source, texinfo.texinfo, for additional guidance.
Dave Love <fx@gnu.org>
parents:
diff changeset
193
Dave Love <fx@gnu.org>
parents:
diff changeset
194 All documentation files for GNU utilities should be written
Dave Love <fx@gnu.org>
parents:
diff changeset
195 in texinfo input format.
Dave Love <fx@gnu.org>
parents:
diff changeset
196
Dave Love <fx@gnu.org>
parents:
diff changeset
197 Tex processing of texinfo files requires the Botex macro package.
Dave Love <fx@gnu.org>
parents:
diff changeset
198 This is not ready for distribution yet, but will appear at
Dave Love <fx@gnu.org>
parents:
diff changeset
199 a later time.
Dave Love <fx@gnu.org>
parents:
diff changeset
200
Dave Love <fx@gnu.org>
parents:
diff changeset
201 * New function read-from-string (emacs 15.29)
Dave Love <fx@gnu.org>
parents:
diff changeset
202
Dave Love <fx@gnu.org>
parents:
diff changeset
203 read-from-string takes three arguments: a string to read from,
Dave Love <fx@gnu.org>
parents:
diff changeset
204 and optionally start and end indices which delimit a substring
Dave Love <fx@gnu.org>
parents:
diff changeset
205 from which to read. (They default to 0 and the length of the string,
Dave Love <fx@gnu.org>
parents:
diff changeset
206 respectively.)
Dave Love <fx@gnu.org>
parents:
diff changeset
207
Dave Love <fx@gnu.org>
parents:
diff changeset
208 This function returns a cons cell whose car is the object produced
Dave Love <fx@gnu.org>
parents:
diff changeset
209 by reading from the string and whose cdr is a number giving the
Dave Love <fx@gnu.org>
parents:
diff changeset
210 index in the string of the first character not read. That index may
Dave Love <fx@gnu.org>
parents:
diff changeset
211 be passed as the second argument to a later call to read-from-string
Dave Love <fx@gnu.org>
parents:
diff changeset
212 to read the next form represented by the string.
Dave Love <fx@gnu.org>
parents:
diff changeset
213
Dave Love <fx@gnu.org>
parents:
diff changeset
214 In addition, the function read now accepts a string as its argument.
Dave Love <fx@gnu.org>
parents:
diff changeset
215 In this case, it calls read-from-string on the whole string, and
Dave Love <fx@gnu.org>
parents:
diff changeset
216 returns the car of the result. (ie the actual object read.)
Dave Love <fx@gnu.org>
parents:
diff changeset
217
Dave Love <fx@gnu.org>
parents:
diff changeset
218 Changes in Emacs 14
Dave Love <fx@gnu.org>
parents:
diff changeset
219
Dave Love <fx@gnu.org>
parents:
diff changeset
220 * Completion now prints various messages such as [Sole Completion]
Dave Love <fx@gnu.org>
parents:
diff changeset
221 or [Next Character Not Unique] to describe the results obtained.
Dave Love <fx@gnu.org>
parents:
diff changeset
222 These messages appear after the text in the minibuffer, and remain
Dave Love <fx@gnu.org>
parents:
diff changeset
223 on the screen until a few seconds go by or you type a key.
Dave Love <fx@gnu.org>
parents:
diff changeset
224
Dave Love <fx@gnu.org>
parents:
diff changeset
225 * The buffer-read-only flag is implemented.
Dave Love <fx@gnu.org>
parents:
diff changeset
226 Setting or binding this per-buffer variable to a non-nil value
Dave Love <fx@gnu.org>
parents:
diff changeset
227 makes illegal any operation which would modify the textual content of
Dave Love <fx@gnu.org>
parents:
diff changeset
228 the buffer. (Such operations signal a buffer-read-only error)
Dave Love <fx@gnu.org>
parents:
diff changeset
229 The read-only state of a buffer may be altered using toggle-read-only
Dave Love <fx@gnu.org>
parents:
diff changeset
230 (C-x C-q)
Dave Love <fx@gnu.org>
parents:
diff changeset
231 The buffers used by Rmail, Dired, Rnews, and Info are now read-only
Dave Love <fx@gnu.org>
parents:
diff changeset
232 by default to prevent accidental damage to the information in those
Dave Love <fx@gnu.org>
parents:
diff changeset
233 buffers.
Dave Love <fx@gnu.org>
parents:
diff changeset
234
Dave Love <fx@gnu.org>
parents:
diff changeset
235 * Functions car-safe and cdr-safe.
Dave Love <fx@gnu.org>
parents:
diff changeset
236 These functions are like car and cdr when the argument is a cons.
Dave Love <fx@gnu.org>
parents:
diff changeset
237 Given an argument not a cons, car-safe always returns nil, with
Dave Love <fx@gnu.org>
parents:
diff changeset
238 no error; the same for cdr-safe.
Dave Love <fx@gnu.org>
parents:
diff changeset
239
Dave Love <fx@gnu.org>
parents:
diff changeset
240 * The new function user-real-login-name returns the name corresponding
Dave Love <fx@gnu.org>
parents:
diff changeset
241 to the real uid of the Emacs process. This is usually the same
Dave Love <fx@gnu.org>
parents:
diff changeset
242 as what user-login-name returns; however, when Emacs is invoked
Dave Love <fx@gnu.org>
parents:
diff changeset
243 from su, user-real-login-name returns "root" but user-login-name
Dave Love <fx@gnu.org>
parents:
diff changeset
244 returns the name of the user who invoked su.
Dave Love <fx@gnu.org>
parents:
diff changeset
245
Dave Love <fx@gnu.org>
parents:
diff changeset
246 Changes in Emacs 13
Dave Love <fx@gnu.org>
parents:
diff changeset
247
Dave Love <fx@gnu.org>
parents:
diff changeset
248 * There is a new version numbering scheme.
Dave Love <fx@gnu.org>
parents:
diff changeset
249
Dave Love <fx@gnu.org>
parents:
diff changeset
250 What used to be the first version number, which was 1,
Dave Love <fx@gnu.org>
parents:
diff changeset
251 has been discarded since it does not seem that I need three
Dave Love <fx@gnu.org>
parents:
diff changeset
252 levels of version number.
Dave Love <fx@gnu.org>
parents:
diff changeset
253
Dave Love <fx@gnu.org>
parents:
diff changeset
254 However, a new third version number has been added to represent
Dave Love <fx@gnu.org>
parents:
diff changeset
255 changes by user sites. This number will always be zero in
Dave Love <fx@gnu.org>
parents:
diff changeset
256 Emacs when I distribute it; it will be incremented each time
Dave Love <fx@gnu.org>
parents:
diff changeset
257 Emacs is built at another site.
Dave Love <fx@gnu.org>
parents:
diff changeset
258
Dave Love <fx@gnu.org>
parents:
diff changeset
259 * There is now a reader syntax for Meta characters:
Dave Love <fx@gnu.org>
parents:
diff changeset
260 \M-CHAR means CHAR or'ed with the Meta bit. For example:
Dave Love <fx@gnu.org>
parents:
diff changeset
261
Dave Love <fx@gnu.org>
parents:
diff changeset
262 ?\M-x is (+ ?x 128)
Dave Love <fx@gnu.org>
parents:
diff changeset
263 ?\M-\n is (+ ?\n 128)
Dave Love <fx@gnu.org>
parents:
diff changeset
264 ?\M-\^f is (+ ?\^f 128)
Dave Love <fx@gnu.org>
parents:
diff changeset
265
Dave Love <fx@gnu.org>
parents:
diff changeset
266 This syntax can be used in strings too. Note, however, that
Dave Love <fx@gnu.org>
parents:
diff changeset
267 Meta characters are not meaningful in key sequences being passed
Dave Love <fx@gnu.org>
parents:
diff changeset
268 to define-key or lookup-key; you must use ESC characters (\e)
Dave Love <fx@gnu.org>
parents:
diff changeset
269 in them instead.
Dave Love <fx@gnu.org>
parents:
diff changeset
270
Dave Love <fx@gnu.org>
parents:
diff changeset
271 ?\C- can be used likewise for control characters. (13.9)
Dave Love <fx@gnu.org>
parents:
diff changeset
272
Dave Love <fx@gnu.org>
parents:
diff changeset
273 * Installation change
Dave Love <fx@gnu.org>
parents:
diff changeset
274 The string "../lisp" now adds to the front of the load-path
Dave Love <fx@gnu.org>
parents:
diff changeset
275 used for searching for Lisp files during Emacs initialization.
Dave Love <fx@gnu.org>
parents:
diff changeset
276 It used to replace the path specified in paths.h entirely.
Dave Love <fx@gnu.org>
parents:
diff changeset
277 Now the directory ../lisp is searched first and the directoris
Dave Love <fx@gnu.org>
parents:
diff changeset
278 specified in paths.h are searched afterward.
Dave Love <fx@gnu.org>
parents:
diff changeset
279
Dave Love <fx@gnu.org>
parents:
diff changeset
280 Changes in Emacs 1.12
Dave Love <fx@gnu.org>
parents:
diff changeset
281
Dave Love <fx@gnu.org>
parents:
diff changeset
282 * There is a new installation procedure.
Dave Love <fx@gnu.org>
parents:
diff changeset
283 See the file INSTALL that comes in the top level
Dave Love <fx@gnu.org>
parents:
diff changeset
284 directory in the tar file or tape.
Dave Love <fx@gnu.org>
parents:
diff changeset
285
Dave Love <fx@gnu.org>
parents:
diff changeset
286 * The Meta key is now supported on terminals that have it.
Dave Love <fx@gnu.org>
parents:
diff changeset
287 This is a shift key which causes the high bit to be turned on
Dave Love <fx@gnu.org>
parents:
diff changeset
288 in all input characters typed while it is held down.
Dave Love <fx@gnu.org>
parents:
diff changeset
289
Dave Love <fx@gnu.org>
parents:
diff changeset
290 read-char now returns a value in the range 128-255 if
Dave Love <fx@gnu.org>
parents:
diff changeset
291 a Meta character is typed. When interpreted as command
Dave Love <fx@gnu.org>
parents:
diff changeset
292 input, a Meta character is equivalent to a two character
Dave Love <fx@gnu.org>
parents:
diff changeset
293 sequence, the meta prefix character followed by the un-metized
Dave Love <fx@gnu.org>
parents:
diff changeset
294 character (Meta-G unmetized is G).
Dave Love <fx@gnu.org>
parents:
diff changeset
295
Dave Love <fx@gnu.org>
parents:
diff changeset
296 The meta prefix character
Dave Love <fx@gnu.org>
parents:
diff changeset
297 is specified by the value of the variable meta-prefix-char.
Dave Love <fx@gnu.org>
parents:
diff changeset
298 If this character (normally Escape) has been redefined locally
Dave Love <fx@gnu.org>
parents:
diff changeset
299 with a non-prefix definition (such as happens in completing
Dave Love <fx@gnu.org>
parents:
diff changeset
300 minibuffers) then the local redefinition is suppressed when
Dave Love <fx@gnu.org>
parents:
diff changeset
301 the character is not the last one in a key sequence.
Dave Love <fx@gnu.org>
parents:
diff changeset
302 So the local redefinition is effective if you type the character
Dave Love <fx@gnu.org>
parents:
diff changeset
303 explicitly, but not effective if the character comes from
Dave Love <fx@gnu.org>
parents:
diff changeset
304 the use of the Meta key.
Dave Love <fx@gnu.org>
parents:
diff changeset
305
Dave Love <fx@gnu.org>
parents:
diff changeset
306 * `-' is no longer a completion command in the minibuffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
307 It is an ordinary self-inserting character.
Dave Love <fx@gnu.org>
parents:
diff changeset
308
Dave Love <fx@gnu.org>
parents:
diff changeset
309 * The list load-path of directories load to search for Lisp files
Dave Love <fx@gnu.org>
parents:
diff changeset
310 is now controlled by the EMACSLOADPATH environment variable
Dave Love <fx@gnu.org>
parents:
diff changeset
311 [[ Note this was originally EMACS-LOAD-PATH and has been changed
Dave Love <fx@gnu.org>
parents:
diff changeset
312 again; sh does not deal properly with hyphens in env variable names]]
Dave Love <fx@gnu.org>
parents:
diff changeset
313 rather than the EPATH environment variable. This is to avoid
Dave Love <fx@gnu.org>
parents:
diff changeset
314 conflicts with other Emacses.
Dave Love <fx@gnu.org>
parents:
diff changeset
315
Dave Love <fx@gnu.org>
parents:
diff changeset
316 While Emacs is being built initially, the load-path
Dave Love <fx@gnu.org>
parents:
diff changeset
317 is now just ("../lisp"), ignoring paths.h. It does not
Dave Love <fx@gnu.org>
parents:
diff changeset
318 ignore EMACSLOADPATH, however; you should avoid having
Dave Love <fx@gnu.org>
parents:
diff changeset
319 this variable set while building Emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
320
Dave Love <fx@gnu.org>
parents:
diff changeset
321 * You can now specify a translation table for keyboard
Dave Love <fx@gnu.org>
parents:
diff changeset
322 input characters, as a way of exchanging or substituting
Dave Love <fx@gnu.org>
parents:
diff changeset
323 keys on the keyboard.
Dave Love <fx@gnu.org>
parents:
diff changeset
324
Dave Love <fx@gnu.org>
parents:
diff changeset
325 If the value of keyboard-translate-table is a string,
Dave Love <fx@gnu.org>
parents:
diff changeset
326 every character received from the keyboard is used as an
Dave Love <fx@gnu.org>
parents:
diff changeset
327 index in that string, and the character at that index in
Dave Love <fx@gnu.org>
parents:
diff changeset
328 the string is used as input instead of what was actually
Dave Love <fx@gnu.org>
parents:
diff changeset
329 typed. If the actual input character is >= the length of
Dave Love <fx@gnu.org>
parents:
diff changeset
330 the string, it is used unchanged.
Dave Love <fx@gnu.org>
parents:
diff changeset
331
Dave Love <fx@gnu.org>
parents:
diff changeset
332 One way this feature can be used is to fix bad keyboard
Dave Love <fx@gnu.org>
parents:
diff changeset
333 designes. For example, on some terminals, Delete is
Dave Love <fx@gnu.org>
parents:
diff changeset
334 Shift-Underscore. Since Delete is a more useful character
Dave Love <fx@gnu.org>
parents:
diff changeset
335 than Underscore, it is an improvement to make the unshifted
Dave Love <fx@gnu.org>
parents:
diff changeset
336 character Delete and the shifted one Underscore. This can
Dave Love <fx@gnu.org>
parents:
diff changeset
337 be done with
Dave Love <fx@gnu.org>
parents:
diff changeset
338
Dave Love <fx@gnu.org>
parents:
diff changeset
339 ;; First make a translate table that does the identity translation.
Dave Love <fx@gnu.org>
parents:
diff changeset
340 (setq keyboard-translate-table (make-string 128 0))
Dave Love <fx@gnu.org>
parents:
diff changeset
341 (let ((i 0))
Dave Love <fx@gnu.org>
parents:
diff changeset
342 (while (< i 128)
Dave Love <fx@gnu.org>
parents:
diff changeset
343 (aset keyboard-translate-table i i)
Dave Love <fx@gnu.org>
parents:
diff changeset
344 (setq i (1+ i))))
Dave Love <fx@gnu.org>
parents:
diff changeset
345
Dave Love <fx@gnu.org>
parents:
diff changeset
346 ;; Now alter translations of some characters.
Dave Love <fx@gnu.org>
parents:
diff changeset
347 (aset keyboard-translate-table ?\_ ?\^?)
Dave Love <fx@gnu.org>
parents:
diff changeset
348 (aset keyboard-translate-table ?\^? ?\_)
Dave Love <fx@gnu.org>
parents:
diff changeset
349
Dave Love <fx@gnu.org>
parents:
diff changeset
350 If your terminal has a Meta key and can therefore send
Dave Love <fx@gnu.org>
parents:
diff changeset
351 codes up to 255, Meta characters are translated through
Dave Love <fx@gnu.org>
parents:
diff changeset
352 elements 128 through 255 of the translate table, and therefore
Dave Love <fx@gnu.org>
parents:
diff changeset
353 are translated independently of the corresponding non-Meta
Dave Love <fx@gnu.org>
parents:
diff changeset
354 characters. You must therefore establish translations
Dave Love <fx@gnu.org>
parents:
diff changeset
355 independently for the Meta characters if you want them too:
Dave Love <fx@gnu.org>
parents:
diff changeset
356
Dave Love <fx@gnu.org>
parents:
diff changeset
357 ;; First make a translate table that does the identity translation.
Dave Love <fx@gnu.org>
parents:
diff changeset
358 (setq keyboard-translate-table (make-string 256 0))
Dave Love <fx@gnu.org>
parents:
diff changeset
359 (let ((i 0))
Dave Love <fx@gnu.org>
parents:
diff changeset
360 (while (< i 256)
Dave Love <fx@gnu.org>
parents:
diff changeset
361 (aset keyboard-translate-table i i)
Dave Love <fx@gnu.org>
parents:
diff changeset
362 (setq i (1+ i))))
Dave Love <fx@gnu.org>
parents:
diff changeset
363
Dave Love <fx@gnu.org>
parents:
diff changeset
364 ;; Now alter translations of some characters.
Dave Love <fx@gnu.org>
parents:
diff changeset
365 (aset keyboard-translate-table ?\_ ?\^?)
Dave Love <fx@gnu.org>
parents:
diff changeset
366 (aset keyboard-translate-table ?\^? ?\_)
Dave Love <fx@gnu.org>
parents:
diff changeset
367
Dave Love <fx@gnu.org>
parents:
diff changeset
368 ;; Now alter translations of some Meta characters.
Dave Love <fx@gnu.org>
parents:
diff changeset
369 (aset keyboard-translate-table (+ 128 ?\_) (+ 128 ?\^?))
Dave Love <fx@gnu.org>
parents:
diff changeset
370 (aset keyboard-translate-table (+ 128 ?\^?) (+ 128 ?\_))
Dave Love <fx@gnu.org>
parents:
diff changeset
371
Dave Love <fx@gnu.org>
parents:
diff changeset
372 * (process-kill-without-query PROCESS)
Dave Love <fx@gnu.org>
parents:
diff changeset
373
Dave Love <fx@gnu.org>
parents:
diff changeset
374 This marks the process so that, when you kill Emacs,
Dave Love <fx@gnu.org>
parents:
diff changeset
375 you will not on its account be queried about active subprocesses.
Dave Love <fx@gnu.org>
parents:
diff changeset
376
Dave Love <fx@gnu.org>
parents:
diff changeset
377 Changes in Emacs 1.11
Dave Love <fx@gnu.org>
parents:
diff changeset
378
Dave Love <fx@gnu.org>
parents:
diff changeset
379 * The commands C-c and C-z have been interchanged,
Dave Love <fx@gnu.org>
parents:
diff changeset
380 for greater compatibility with normal Unix usage.
Dave Love <fx@gnu.org>
parents:
diff changeset
381 C-z now runs suspend-emacs and C-c runs exit-recursive-edit.
Dave Love <fx@gnu.org>
parents:
diff changeset
382
Dave Love <fx@gnu.org>
parents:
diff changeset
383 * The value returned by file-name-directory now ends
Dave Love <fx@gnu.org>
parents:
diff changeset
384 with a slash. (file-name-directory "foo/bar") => "foo/".
Dave Love <fx@gnu.org>
parents:
diff changeset
385 This avoids confusing results when dealing with files
Dave Love <fx@gnu.org>
parents:
diff changeset
386 in the root directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
387
Dave Love <fx@gnu.org>
parents:
diff changeset
388 The value of the per-buffer variable default-directory
Dave Love <fx@gnu.org>
parents:
diff changeset
389 is also supposed to have a final slash now.
Dave Love <fx@gnu.org>
parents:
diff changeset
390
Dave Love <fx@gnu.org>
parents:
diff changeset
391 * There are now variables to control the switches passed to
Dave Love <fx@gnu.org>
parents:
diff changeset
392 `ls' by the C-x C-d command (list-directory).
Dave Love <fx@gnu.org>
parents:
diff changeset
393 list-directory-brief-switches is a string, initially "-CF",
Dave Love <fx@gnu.org>
parents:
diff changeset
394 used for brief listings, and list-directory-verbose-switches
Dave Love <fx@gnu.org>
parents:
diff changeset
395 is a string, initially "-l", used for verbose ones.
Dave Love <fx@gnu.org>
parents:
diff changeset
396
Dave Love <fx@gnu.org>
parents:
diff changeset
397 * For Ann Arbor Ambassador terminals, the termcap "ti" string
Dave Love <fx@gnu.org>
parents:
diff changeset
398 is now used to initialize the screen geometry on entry to Emacs,
Dave Love <fx@gnu.org>
parents:
diff changeset
399 and the "te" string is used to set it back on exit.
Dave Love <fx@gnu.org>
parents:
diff changeset
400 If the termcap entry does not define the "ti" or "te" string,
Dave Love <fx@gnu.org>
parents:
diff changeset
401 Emacs does what it used to do.
Dave Love <fx@gnu.org>
parents:
diff changeset
402
Dave Love <fx@gnu.org>
parents:
diff changeset
403 Changes in Emacs 1.10
Dave Love <fx@gnu.org>
parents:
diff changeset
404
Dave Love <fx@gnu.org>
parents:
diff changeset
405 * GNU Emacs has been made almost 1/3 smaller.
Dave Love <fx@gnu.org>
parents:
diff changeset
406 It now dumps out as only 530kbytes on Vax 4.2bsd.
Dave Love <fx@gnu.org>
parents:
diff changeset
407
Dave Love <fx@gnu.org>
parents:
diff changeset
408 * The term "checkpoint" has been replaced by "auto save"
Dave Love <fx@gnu.org>
parents:
diff changeset
409 throughout the function names, variable names and documentation
Dave Love <fx@gnu.org>
parents:
diff changeset
410 of GNU Emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
411
Dave Love <fx@gnu.org>
parents:
diff changeset
412 * The function load now tries appending ".elc" and ".el"
Dave Love <fx@gnu.org>
parents:
diff changeset
413 to the specified filename BEFORE it tries the filename
Dave Love <fx@gnu.org>
parents:
diff changeset
414 without change.
Dave Love <fx@gnu.org>
parents:
diff changeset
415
Dave Love <fx@gnu.org>
parents:
diff changeset
416 * rmail now makes the mode line display the total number
Dave Love <fx@gnu.org>
parents:
diff changeset
417 of messages and the current message number.
Dave Love <fx@gnu.org>
parents:
diff changeset
418 The "f" command now means forward a message to another user.
Dave Love <fx@gnu.org>
parents:
diff changeset
419 The command to search through all messages for a string is now "F".
Dave Love <fx@gnu.org>
parents:
diff changeset
420 The "u" command now means to move back to the previous
Dave Love <fx@gnu.org>
parents:
diff changeset
421 message and undelete it. To undelete the selected message, use Meta-u.
Dave Love <fx@gnu.org>
parents:
diff changeset
422
Dave Love <fx@gnu.org>
parents:
diff changeset
423 * The hyphen character is now equivalent to a Space while
Dave Love <fx@gnu.org>
parents:
diff changeset
424 in completing minibuffers. Both mean to complete an additional word.
Dave Love <fx@gnu.org>
parents:
diff changeset
425
Dave Love <fx@gnu.org>
parents:
diff changeset
426 * The Lisp function error now takes args like format
Dave Love <fx@gnu.org>
parents:
diff changeset
427 which are used to construct the error message.
Dave Love <fx@gnu.org>
parents:
diff changeset
428
Dave Love <fx@gnu.org>
parents:
diff changeset
429 * Redisplay will refuse to start its display at the end of the buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
430 It will pick a new place to display from, rather than use that.
Dave Love <fx@gnu.org>
parents:
diff changeset
431
Dave Love <fx@gnu.org>
parents:
diff changeset
432 * The value returned by garbage-collect has been changed.
Dave Love <fx@gnu.org>
parents:
diff changeset
433 Its first element is no longer a number but a cons,
Dave Love <fx@gnu.org>
parents:
diff changeset
434 whose car is the number of cons cells now in use,
Dave Love <fx@gnu.org>
parents:
diff changeset
435 and whose cdr is the number of cons cells that have been
Dave Love <fx@gnu.org>
parents:
diff changeset
436 made but are now free.
Dave Love <fx@gnu.org>
parents:
diff changeset
437 The second element is similar but describes symbols rather than cons cells.
Dave Love <fx@gnu.org>
parents:
diff changeset
438 The third element is similar but describes markers.
Dave Love <fx@gnu.org>
parents:
diff changeset
439
Dave Love <fx@gnu.org>
parents:
diff changeset
440 * The variable buffer-name has been eliminated.
Dave Love <fx@gnu.org>
parents:
diff changeset
441 The function buffer-name still exists. This is to prevent
Dave Love <fx@gnu.org>
parents:
diff changeset
442 user programs from changing buffer names without going
Dave Love <fx@gnu.org>
parents:
diff changeset
443 through the rename-buffer function.
Dave Love <fx@gnu.org>
parents:
diff changeset
444
Dave Love <fx@gnu.org>
parents:
diff changeset
445 Changes in Emacs 1.9
Dave Love <fx@gnu.org>
parents:
diff changeset
446
Dave Love <fx@gnu.org>
parents:
diff changeset
447 * When a fill prefix is in effect, paragraphs are started
Dave Love <fx@gnu.org>
parents:
diff changeset
448 or separated by lines that do not start with the fill prefix.
Dave Love <fx@gnu.org>
parents:
diff changeset
449 Also, a line which consists of the fill prefix followed by
Dave Love <fx@gnu.org>
parents:
diff changeset
450 white space separates paragraphs.
Dave Love <fx@gnu.org>
parents:
diff changeset
451
Dave Love <fx@gnu.org>
parents:
diff changeset
452 * C-x C-v runs the new function find-alternate-file.
Dave Love <fx@gnu.org>
parents:
diff changeset
453 It finds the specified file, switches to that buffer,
Dave Love <fx@gnu.org>
parents:
diff changeset
454 and kills the previous current buffer. (It requires
Dave Love <fx@gnu.org>
parents:
diff changeset
455 confirmation if that buffer had changes.) This is
Dave Love <fx@gnu.org>
parents:
diff changeset
456 most useful after you find the wrong file due to a typo.
Dave Love <fx@gnu.org>
parents:
diff changeset
457
Dave Love <fx@gnu.org>
parents:
diff changeset
458 * Exiting the minibuffer moves the cursor to column 0,
Dave Love <fx@gnu.org>
parents:
diff changeset
459 to show you that it has really been exited.
Dave Love <fx@gnu.org>
parents:
diff changeset
460
Dave Love <fx@gnu.org>
parents:
diff changeset
461 * Meta-g (fill-region) now fills each paragraph in the
Dave Love <fx@gnu.org>
parents:
diff changeset
462 region individually. To fill the region as if it were
Dave Love <fx@gnu.org>
parents:
diff changeset
463 a single paragraph (for when the paragraph-delimiting mechanism
Dave Love <fx@gnu.org>
parents:
diff changeset
464 does the wrong thing), use fill-region-as-paragraph.
Dave Love <fx@gnu.org>
parents:
diff changeset
465
Dave Love <fx@gnu.org>
parents:
diff changeset
466 * Tab in text mode now runs the function tab-to-tab-stop.
Dave Love <fx@gnu.org>
parents:
diff changeset
467 A new mode called indented-text-mode is like text-mode
Dave Love <fx@gnu.org>
parents:
diff changeset
468 except that in it Tab runs the function indent-relative,
Dave Love <fx@gnu.org>
parents:
diff changeset
469 which indents the line under the previous line.
Dave Love <fx@gnu.org>
parents:
diff changeset
470 If auto fill is enabled while in indented-text-mode,
Dave Love <fx@gnu.org>
parents:
diff changeset
471 the new lines that it makes are indented.
Dave Love <fx@gnu.org>
parents:
diff changeset
472
Dave Love <fx@gnu.org>
parents:
diff changeset
473 * Functions kill-rectangle and yank-rectangle.
Dave Love <fx@gnu.org>
parents:
diff changeset
474 kill-rectangle deletes the rectangle specified by dot and mark
Dave Love <fx@gnu.org>
parents:
diff changeset
475 (or by two arguments) and saves it in the variable killed-rectangle.
Dave Love <fx@gnu.org>
parents:
diff changeset
476 yank-rectangle inserts the rectangle in that variable.
Dave Love <fx@gnu.org>
parents:
diff changeset
477
Dave Love <fx@gnu.org>
parents:
diff changeset
478 Tab characters in a rectangle being saved are replaced
Dave Love <fx@gnu.org>
parents:
diff changeset
479 by spaces in such a way that their appearance will
Dave Love <fx@gnu.org>
parents:
diff changeset
480 not be changed if the rectangle is later reinserted
Dave Love <fx@gnu.org>
parents:
diff changeset
481 at a different column position.
Dave Love <fx@gnu.org>
parents:
diff changeset
482
Dave Love <fx@gnu.org>
parents:
diff changeset
483 * `+' in a regular expression now means
Dave Love <fx@gnu.org>
parents:
diff changeset
484 to repeat the previous expression one or more times.
Dave Love <fx@gnu.org>
parents:
diff changeset
485 `?' means to repeat it zero or one time.
Dave Love <fx@gnu.org>
parents:
diff changeset
486 They are in all regards like `*' except for the
Dave Love <fx@gnu.org>
parents:
diff changeset
487 number of repetitions they match.
Dave Love <fx@gnu.org>
parents:
diff changeset
488
Dave Love <fx@gnu.org>
parents:
diff changeset
489 \< in a regular expression now matches the null string
Dave Love <fx@gnu.org>
parents:
diff changeset
490 when it is at the beginning of a word; \> matches
Dave Love <fx@gnu.org>
parents:
diff changeset
491 the null string at the end of a word.
Dave Love <fx@gnu.org>
parents:
diff changeset
492
Dave Love <fx@gnu.org>
parents:
diff changeset
493 * C-x p narrows the buffer so that only the current page
Dave Love <fx@gnu.org>
parents:
diff changeset
494 is visible.
Dave Love <fx@gnu.org>
parents:
diff changeset
495
Dave Love <fx@gnu.org>
parents:
diff changeset
496 * C-x ) with argument repeats the kbd macro just
Dave Love <fx@gnu.org>
parents:
diff changeset
497 defined that many times, counting the definition
Dave Love <fx@gnu.org>
parents:
diff changeset
498 as one repetition.
Dave Love <fx@gnu.org>
parents:
diff changeset
499
Dave Love <fx@gnu.org>
parents:
diff changeset
500 * C-x ( with argument begins defining a kbd macro
Dave Love <fx@gnu.org>
parents:
diff changeset
501 starting with the last one defined. It executes that
Dave Love <fx@gnu.org>
parents:
diff changeset
502 previous kbd macro initially, just as if you began
Dave Love <fx@gnu.org>
parents:
diff changeset
503 by typing it over again.
Dave Love <fx@gnu.org>
parents:
diff changeset
504
Dave Love <fx@gnu.org>
parents:
diff changeset
505 * C-x q command queries the user during kbd macro execution.
Dave Love <fx@gnu.org>
parents:
diff changeset
506 With prefix argument, enters recursive edit,
Dave Love <fx@gnu.org>
parents:
diff changeset
507 reading keyboard commands even within a kbd macro.
Dave Love <fx@gnu.org>
parents:
diff changeset
508 You can give different commands each time the macro executes.
Dave Love <fx@gnu.org>
parents:
diff changeset
509 Without prefix argument, reads a character. Your options are:
Dave Love <fx@gnu.org>
parents:
diff changeset
510 Space -- execute the rest of the macro.
Dave Love <fx@gnu.org>
parents:
diff changeset
511 Delete -- skip the rest of the macro; start next repetition.
Dave Love <fx@gnu.org>
parents:
diff changeset
512 C-d -- skip rest of the macro and don't repeat it any more.
Dave Love <fx@gnu.org>
parents:
diff changeset
513 C-r -- enter a recursive edit, then on exit ask again for a character
Dave Love <fx@gnu.org>
parents:
diff changeset
514 C-l -- redisplay screen and ask again."
Dave Love <fx@gnu.org>
parents:
diff changeset
515
Dave Love <fx@gnu.org>
parents:
diff changeset
516 * write-kbd-macro and append-kbd-macro are used to save
Dave Love <fx@gnu.org>
parents:
diff changeset
517 a kbd macro definition in a file (as Lisp code to
Dave Love <fx@gnu.org>
parents:
diff changeset
518 redefine the macro when the file is loaded).
Dave Love <fx@gnu.org>
parents:
diff changeset
519 These commands differ in that write-kbd-macro
Dave Love <fx@gnu.org>
parents:
diff changeset
520 discards the previous contents of the file.
Dave Love <fx@gnu.org>
parents:
diff changeset
521 If given a prefix argument, both commands
Dave Love <fx@gnu.org>
parents:
diff changeset
522 record the keys which invoke the macro as well as the
Dave Love <fx@gnu.org>
parents:
diff changeset
523 macro's definition.
Dave Love <fx@gnu.org>
parents:
diff changeset
524
Dave Love <fx@gnu.org>
parents:
diff changeset
525 * The variable global-minor-modes is used to display
Dave Love <fx@gnu.org>
parents:
diff changeset
526 strings in the mode line of all buffers. It should be
Dave Love <fx@gnu.org>
parents:
diff changeset
527 a list of elements thaht are conses whose cdrs are strings
Dave Love <fx@gnu.org>
parents:
diff changeset
528 to be displayed. This complements the variable
Dave Love <fx@gnu.org>
parents:
diff changeset
529 minor-modes, which has the same effect but has a separate
Dave Love <fx@gnu.org>
parents:
diff changeset
530 value in each buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
531
Dave Love <fx@gnu.org>
parents:
diff changeset
532 * C-x = describes horizontal scrolling in effect, if any.
Dave Love <fx@gnu.org>
parents:
diff changeset
533
Dave Love <fx@gnu.org>
parents:
diff changeset
534 * Return now auto-fills the line it is ending, in auto fill mode.
Dave Love <fx@gnu.org>
parents:
diff changeset
535 Space with zero as argument auto-fills the line before it
Dave Love <fx@gnu.org>
parents:
diff changeset
536 just like Space without an argument.
Dave Love <fx@gnu.org>
parents:
diff changeset
537
Dave Love <fx@gnu.org>
parents:
diff changeset
538 Changes in Emacs 1.8
Dave Love <fx@gnu.org>
parents:
diff changeset
539
Dave Love <fx@gnu.org>
parents:
diff changeset
540 This release mostly fixes bugs. There are a few new features:
Dave Love <fx@gnu.org>
parents:
diff changeset
541
Dave Love <fx@gnu.org>
parents:
diff changeset
542 * apropos now sorts the symbols before displaying them.
Dave Love <fx@gnu.org>
parents:
diff changeset
543 Also, it returns a list of the symbols found.
Dave Love <fx@gnu.org>
parents:
diff changeset
544
Dave Love <fx@gnu.org>
parents:
diff changeset
545 apropos now accepts a second arg PRED which should be a function
Dave Love <fx@gnu.org>
parents:
diff changeset
546 of one argument; if PRED is non-nil, each symbol is tested
Dave Love <fx@gnu.org>
parents:
diff changeset
547 with PRED and only symbols for which PRED returns non-nil
Dave Love <fx@gnu.org>
parents:
diff changeset
548 appear in the output or the returned list.
Dave Love <fx@gnu.org>
parents:
diff changeset
549
Dave Love <fx@gnu.org>
parents:
diff changeset
550 If the third argument to apropos is non-nil, apropos does not
Dave Love <fx@gnu.org>
parents:
diff changeset
551 display anything; it merely returns the list of symbols found.
Dave Love <fx@gnu.org>
parents:
diff changeset
552
Dave Love <fx@gnu.org>
parents:
diff changeset
553 C-h a now runs the new function command-apropos rather than
Dave Love <fx@gnu.org>
parents:
diff changeset
554 apropos, and shows only symbols with definitions as commands.
Dave Love <fx@gnu.org>
parents:
diff changeset
555
Dave Love <fx@gnu.org>
parents:
diff changeset
556 * M-x shell sends the command
Dave Love <fx@gnu.org>
parents:
diff changeset
557 if (-f ~/.emacs_NAME)source ~/.emacs_NAME
Dave Love <fx@gnu.org>
parents:
diff changeset
558 invisibly to the shell when it starts. Here NAME
Dave Love <fx@gnu.org>
parents:
diff changeset
559 is replaced by the name of shell used,
Dave Love <fx@gnu.org>
parents:
diff changeset
560 as it came from your ESHELL or SHELL environment variable
Dave Love <fx@gnu.org>
parents:
diff changeset
561 but with directory name, if any, removed.
Dave Love <fx@gnu.org>
parents:
diff changeset
562
Dave Love <fx@gnu.org>
parents:
diff changeset
563 * M-, now runs the command tags-loop-continue, which is used
Dave Love <fx@gnu.org>
parents:
diff changeset
564 to resume a terminated tags-search or tags-query-replace.
Dave Love <fx@gnu.org>
parents:
diff changeset
565
Dave Love <fx@gnu.org>
parents:
diff changeset
566 Changes in Emacs 1.7
Dave Love <fx@gnu.org>
parents:
diff changeset
567
Dave Love <fx@gnu.org>
parents:
diff changeset
568 It's Beat CCA Week.
Dave Love <fx@gnu.org>
parents:
diff changeset
569
Dave Love <fx@gnu.org>
parents:
diff changeset
570 * The initial buffer is now called "*scratch*" instead of "scratch",
Dave Love <fx@gnu.org>
parents:
diff changeset
571 so that all buffer names used automatically by Emacs now have *'s.
Dave Love <fx@gnu.org>
parents:
diff changeset
572
Dave Love <fx@gnu.org>
parents:
diff changeset
573 * Undo information is now stored separately for each buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
574 The Undo command (C-x u) always applies to the current
Dave Love <fx@gnu.org>
parents:
diff changeset
575 buffer only.
Dave Love <fx@gnu.org>
parents:
diff changeset
576
Dave Love <fx@gnu.org>
parents:
diff changeset
577 C-_ is now a synonym for C-x u.
Dave Love <fx@gnu.org>
parents:
diff changeset
578
Dave Love <fx@gnu.org>
parents:
diff changeset
579 (buffer-flush-undo BUFFER) causes undo information not to
Dave Love <fx@gnu.org>
parents:
diff changeset
580 be kept for BUFFER, and frees the space that would have
Dave Love <fx@gnu.org>
parents:
diff changeset
581 been used to hold it. In any case, no undo information is
Dave Love <fx@gnu.org>
parents:
diff changeset
582 kept for buffers whose names start with spaces. (These
Dave Love <fx@gnu.org>
parents:
diff changeset
583 buffers also do not appear in the C-x C-b display.)
Dave Love <fx@gnu.org>
parents:
diff changeset
584
Dave Love <fx@gnu.org>
parents:
diff changeset
585 * Rectangle operations are now implemented.
Dave Love <fx@gnu.org>
parents:
diff changeset
586 C-x r stores the rectangle described by dot and mark
Dave Love <fx@gnu.org>
parents:
diff changeset
587 into a register; it reads the register name from the keyboard.
Dave Love <fx@gnu.org>
parents:
diff changeset
588 C-x g, the command to insert the contents of a register,
Dave Love <fx@gnu.org>
parents:
diff changeset
589 can be used to reinsert the rectangle elsewhere.
Dave Love <fx@gnu.org>
parents:
diff changeset
590
Dave Love <fx@gnu.org>
parents:
diff changeset
591 Other rectangle commands include
Dave Love <fx@gnu.org>
parents:
diff changeset
592 open-rectangle:
Dave Love <fx@gnu.org>
parents:
diff changeset
593 insert a blank rectangle in the position and size
Dave Love <fx@gnu.org>
parents:
diff changeset
594 described by dot and mark, at its corners;
Dave Love <fx@gnu.org>
parents:
diff changeset
595 the existing text is pushed to the right.
Dave Love <fx@gnu.org>
parents:
diff changeset
596 clear-rectangle:
Dave Love <fx@gnu.org>
parents:
diff changeset
597 replace the rectangle described by dot ane mark
Dave Love <fx@gnu.org>
parents:
diff changeset
598 with blanks. The previous text is deleted.
Dave Love <fx@gnu.org>
parents:
diff changeset
599 delete-rectangle:
Dave Love <fx@gnu.org>
parents:
diff changeset
600 delete the text of the specified rectangle,
Dave Love <fx@gnu.org>
parents:
diff changeset
601 moving the text beyond it on each line leftward.
Dave Love <fx@gnu.org>
parents:
diff changeset
602
Dave Love <fx@gnu.org>
parents:
diff changeset
603 * Side-by-side windows are allowed. Use C-x 5 to split the
Dave Love <fx@gnu.org>
parents:
diff changeset
604 current window into two windows side by side.
Dave Love <fx@gnu.org>
parents:
diff changeset
605 C-x } makes the selected window ARG columns wider at the
Dave Love <fx@gnu.org>
parents:
diff changeset
606 expense of the windows at its sides. C-x { makes the selected
Dave Love <fx@gnu.org>
parents:
diff changeset
607 window ARG columns narrower. An argument to C-x 5 specifies
Dave Love <fx@gnu.org>
parents:
diff changeset
608 how many columns to give to the leftmost of the two windows made.
Dave Love <fx@gnu.org>
parents:
diff changeset
609
Dave Love <fx@gnu.org>
parents:
diff changeset
610 C-x 2 now accepts a numeric argument to specify the number of
Dave Love <fx@gnu.org>
parents:
diff changeset
611 lines to give to the uppermost of the two windows it makes.
Dave Love <fx@gnu.org>
parents:
diff changeset
612
Dave Love <fx@gnu.org>
parents:
diff changeset
613 * Horizontal scrolling of the lines in a window is now implemented.
Dave Love <fx@gnu.org>
parents:
diff changeset
614 C-x < (scroll-left) scrolls all displayed lines left,
Dave Love <fx@gnu.org>
parents:
diff changeset
615 with the numeric argument (default 1) saying how far to scroll.
Dave Love <fx@gnu.org>
parents:
diff changeset
616 When the window is scrolled left, some amount of the beginning
Dave Love <fx@gnu.org>
parents:
diff changeset
617 of each nonempty line is replaced by an "$".
Dave Love <fx@gnu.org>
parents:
diff changeset
618 C-x > scrolls right. If a window has no text hidden at the left
Dave Love <fx@gnu.org>
parents:
diff changeset
619 margin, it cannot be scrolled any farther right than that.
Dave Love <fx@gnu.org>
parents:
diff changeset
620 When nonzero leftwards scrolling is in effect in a window.
Dave Love <fx@gnu.org>
parents:
diff changeset
621 lines are automatically truncated at the window's right margin
Dave Love <fx@gnu.org>
parents:
diff changeset
622 regardless of the value of the variable truncate-lines in the
Dave Love <fx@gnu.org>
parents:
diff changeset
623 buffer being displayed.
Dave Love <fx@gnu.org>
parents:
diff changeset
624
Dave Love <fx@gnu.org>
parents:
diff changeset
625 * C-x C-d now uses the default output format of `ls',
Dave Love <fx@gnu.org>
parents:
diff changeset
626 which gives just file names in multiple columns.
Dave Love <fx@gnu.org>
parents:
diff changeset
627 C-u C-x C-d passes the -l switch to `ls'.
Dave Love <fx@gnu.org>
parents:
diff changeset
628
Dave Love <fx@gnu.org>
parents:
diff changeset
629 * C-t at the end of a line now exchanges the two preceding characters.
Dave Love <fx@gnu.org>
parents:
diff changeset
630
Dave Love <fx@gnu.org>
parents:
diff changeset
631 All the transpose commands now interpret zero as an argument
Dave Love <fx@gnu.org>
parents:
diff changeset
632 to mean to transpose the textual unit after or around dot
Dave Love <fx@gnu.org>
parents:
diff changeset
633 with the one after or around the mark.
Dave Love <fx@gnu.org>
parents:
diff changeset
634
Dave Love <fx@gnu.org>
parents:
diff changeset
635 * M-! executes a shell command in an inferior shell
Dave Love <fx@gnu.org>
parents:
diff changeset
636 and displays the output from it. With a prefix argument,
Dave Love <fx@gnu.org>
parents:
diff changeset
637 it inserts the output in the current buffer after dot
Dave Love <fx@gnu.org>
parents:
diff changeset
638 and sets the mark after the output. The shell command
Dave Love <fx@gnu.org>
parents:
diff changeset
639 gets /dev/null as its standard input.
Dave Love <fx@gnu.org>
parents:
diff changeset
640
Dave Love <fx@gnu.org>
parents:
diff changeset
641 M-| is like M-! but passes the contents of the region
Dave Love <fx@gnu.org>
parents:
diff changeset
642 as input to the shell command. A prefix argument makes
Dave Love <fx@gnu.org>
parents:
diff changeset
643 the output from the command replace the contents of the region.
Dave Love <fx@gnu.org>
parents:
diff changeset
644
Dave Love <fx@gnu.org>
parents:
diff changeset
645 * The mode line will now say "Def" after the major mode
Dave Love <fx@gnu.org>
parents:
diff changeset
646 while a keyboard macro is being defined.
Dave Love <fx@gnu.org>
parents:
diff changeset
647
Dave Love <fx@gnu.org>
parents:
diff changeset
648 * The variable fill-prefix is now used by Meta-q.
Dave Love <fx@gnu.org>
parents:
diff changeset
649 Meta-q removes the fill prefix from lines that start with it
Dave Love <fx@gnu.org>
parents:
diff changeset
650 before filling, and inserts the fill prefix on each line
Dave Love <fx@gnu.org>
parents:
diff changeset
651 after filling.
Dave Love <fx@gnu.org>
parents:
diff changeset
652
Dave Love <fx@gnu.org>
parents:
diff changeset
653 The command C-x . sets the fill prefix equal to the text
Dave Love <fx@gnu.org>
parents:
diff changeset
654 on the current line before dot.
Dave Love <fx@gnu.org>
parents:
diff changeset
655
Dave Love <fx@gnu.org>
parents:
diff changeset
656 * The new command Meta-j (indent-new-comment-line),
Dave Love <fx@gnu.org>
parents:
diff changeset
657 is like Linefeed (indent-new-line) except when dot is inside a comment;
Dave Love <fx@gnu.org>
parents:
diff changeset
658 in that case, Meta-j inserts a comment starter on the new line,
Dave Love <fx@gnu.org>
parents:
diff changeset
659 indented under the comment starter above. It also inserts
Dave Love <fx@gnu.org>
parents:
diff changeset
660 a comment terminator at the end of the line above,
Dave Love <fx@gnu.org>
parents:
diff changeset
661 if the language being edited calls for one.
Dave Love <fx@gnu.org>
parents:
diff changeset
662
Dave Love <fx@gnu.org>
parents:
diff changeset
663 * Rmail should work correctly now, and has some C-h m documentation.
Dave Love <fx@gnu.org>
parents:
diff changeset
664
Dave Love <fx@gnu.org>
parents:
diff changeset
665 Changes in Emacs 1.6
Dave Love <fx@gnu.org>
parents:
diff changeset
666
Dave Love <fx@gnu.org>
parents:
diff changeset
667 * save-buffers-kill-emacs is now on C-x C-c
Dave Love <fx@gnu.org>
parents:
diff changeset
668 while C-x C-z does suspend-emacs. This is to make
Dave Love <fx@gnu.org>
parents:
diff changeset
669 C-x C-c like the normal Unix meaning of C-c
Dave Love <fx@gnu.org>
parents:
diff changeset
670 and C-x C-z linke the normal Unix meaning of C-z.
Dave Love <fx@gnu.org>
parents:
diff changeset
671
Dave Love <fx@gnu.org>
parents:
diff changeset
672 * M-ESC (eval-expression) is now a disabled command by default.
Dave Love <fx@gnu.org>
parents:
diff changeset
673 This prevents users who type ESC ESC accidentally from
Dave Love <fx@gnu.org>
parents:
diff changeset
674 getting confusing results. Put
Dave Love <fx@gnu.org>
parents:
diff changeset
675 (put 'eval-expression 'disabled nil)
Dave Love <fx@gnu.org>
parents:
diff changeset
676 in your ~/.emacs file to enable the command.
Dave Love <fx@gnu.org>
parents:
diff changeset
677
Dave Love <fx@gnu.org>
parents:
diff changeset
678 * Self-inserting text is grouped into bunches for undoing.
Dave Love <fx@gnu.org>
parents:
diff changeset
679 Each C-x u command undoes up to 20 consecutive self-inserting
Dave Love <fx@gnu.org>
parents:
diff changeset
680 characters.
Dave Love <fx@gnu.org>
parents:
diff changeset
681
Dave Love <fx@gnu.org>
parents:
diff changeset
682 * Help f now uses as a default the function being called
Dave Love <fx@gnu.org>
parents:
diff changeset
683 in the innermost Lisp expression that dot is in.
Dave Love <fx@gnu.org>
parents:
diff changeset
684 This makes it more convenient to use while writing
Dave Love <fx@gnu.org>
parents:
diff changeset
685 Lisp code to run in Emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
686 (If the text around dot does not appear to be a call
Dave Love <fx@gnu.org>
parents:
diff changeset
687 to a Lisp function, there is no default.)
Dave Love <fx@gnu.org>
parents:
diff changeset
688
Dave Love <fx@gnu.org>
parents:
diff changeset
689 Likewise, Help v uses the symbol around or before dot
Dave Love <fx@gnu.org>
parents:
diff changeset
690 as a default, if that is a variable name.
Dave Love <fx@gnu.org>
parents:
diff changeset
691
Dave Love <fx@gnu.org>
parents:
diff changeset
692 * Commands that read filenames now insert the default
Dave Love <fx@gnu.org>
parents:
diff changeset
693 directory in the minibuffer, to become part of your input.
Dave Love <fx@gnu.org>
parents:
diff changeset
694 This allows you to see what the default is.
Dave Love <fx@gnu.org>
parents:
diff changeset
695 You may type a filename which goes at the end of the
Dave Love <fx@gnu.org>
parents:
diff changeset
696 default directory, or you may edit the default directory
Dave Love <fx@gnu.org>
parents:
diff changeset
697 as you like to create the input you want to give.
Dave Love <fx@gnu.org>
parents:
diff changeset
698 You may also type an absolute pathname (starting with /)
Dave Love <fx@gnu.org>
parents:
diff changeset
699 or refer to a home directory (input starting with ~)
Dave Love <fx@gnu.org>
parents:
diff changeset
700 after the default; the presence of // or /~ causes
Dave Love <fx@gnu.org>
parents:
diff changeset
701 everything up through the slash that precedes your
Dave Love <fx@gnu.org>
parents:
diff changeset
702 type-in to be ignored.
Dave Love <fx@gnu.org>
parents:
diff changeset
703
Dave Love <fx@gnu.org>
parents:
diff changeset
704 Returning the default directory without change,
Dave Love <fx@gnu.org>
parents:
diff changeset
705 including the terminating slash, requests the use
Dave Love <fx@gnu.org>
parents:
diff changeset
706 of the default file name (usually the visited file's name).
Dave Love <fx@gnu.org>
parents:
diff changeset
707
Dave Love <fx@gnu.org>
parents:
diff changeset
708 Set the variable insert-default-directory to nil
Dave Love <fx@gnu.org>
parents:
diff changeset
709 to turn off this feature.
Dave Love <fx@gnu.org>
parents:
diff changeset
710
Dave Love <fx@gnu.org>
parents:
diff changeset
711 * M-x shell now uses the environment variable ESHELL,
Dave Love <fx@gnu.org>
parents:
diff changeset
712 if it exists, as the file name of the shell to run.
Dave Love <fx@gnu.org>
parents:
diff changeset
713 If there is no ESHELL variable, the SHELL variable is used.
Dave Love <fx@gnu.org>
parents:
diff changeset
714 This is because some shells do not work properly as inferiors
Dave Love <fx@gnu.org>
parents:
diff changeset
715 of Emacs (or anything like Emacs).
Dave Love <fx@gnu.org>
parents:
diff changeset
716
Dave Love <fx@gnu.org>
parents:
diff changeset
717 * A new variable minor-modes now exists, with a separate value
Dave Love <fx@gnu.org>
parents:
diff changeset
718 in each buffer. Its value should be an alist of elements
Dave Love <fx@gnu.org>
parents:
diff changeset
719 (MODE-FUNCTION-SYMBOL . PRETTY-NAME-STRING), one for each
Dave Love <fx@gnu.org>
parents:
diff changeset
720 minor mode that is turned on in the buffer. The pretty
Dave Love <fx@gnu.org>
parents:
diff changeset
721 name strings are displayed in the mode line after the name of the
Dave Love <fx@gnu.org>
parents:
diff changeset
722 major mode (with spaces between them). The mode function
Dave Love <fx@gnu.org>
parents:
diff changeset
723 symbols should be symbols whose function definitions will
Dave Love <fx@gnu.org>
parents:
diff changeset
724 turn on the minor mode if given 1 as an argument; they are present
Dave Love <fx@gnu.org>
parents:
diff changeset
725 so that Help m can find their documentation strings.
Dave Love <fx@gnu.org>
parents:
diff changeset
726
Dave Love <fx@gnu.org>
parents:
diff changeset
727 * The format of tag table files has been changed.
Dave Love <fx@gnu.org>
parents:
diff changeset
728 The new format enables Emacs to find tags much faster.
Dave Love <fx@gnu.org>
parents:
diff changeset
729
Dave Love <fx@gnu.org>
parents:
diff changeset
730 A new program, etags, exists to make the kind of
Dave Love <fx@gnu.org>
parents:
diff changeset
731 tag table that Emacs wants. etags is invoked just
Dave Love <fx@gnu.org>
parents:
diff changeset
732 like ctags; in fact, if you give it any switches,
Dave Love <fx@gnu.org>
parents:
diff changeset
733 it does exactly what ctags would do. Give it the
Dave Love <fx@gnu.org>
parents:
diff changeset
734 empty switch ("-") to make it act like ctags with no switches.
Dave Love <fx@gnu.org>
parents:
diff changeset
735
Dave Love <fx@gnu.org>
parents:
diff changeset
736 etags names the tag table file "TAGS" rather than "tags",
Dave Love <fx@gnu.org>
parents:
diff changeset
737 so that these tag tables and the standard Unix ones
Dave Love <fx@gnu.org>
parents:
diff changeset
738 can coexist.
Dave Love <fx@gnu.org>
parents:
diff changeset
739
Dave Love <fx@gnu.org>
parents:
diff changeset
740 The tags library can no longer use standard ctags-style
Dave Love <fx@gnu.org>
parents:
diff changeset
741 tag tables files.
Dave Love <fx@gnu.org>
parents:
diff changeset
742
Dave Love <fx@gnu.org>
parents:
diff changeset
743 * The file of Lisp code Emacs reads on startup is now
Dave Love <fx@gnu.org>
parents:
diff changeset
744 called ~/.emacs rather than ~/.emacs_pro.
Dave Love <fx@gnu.org>
parents:
diff changeset
745
Dave Love <fx@gnu.org>
parents:
diff changeset
746 * copy-file now gives the copied file the same mode bits
Dave Love <fx@gnu.org>
parents:
diff changeset
747 as the original file.
Dave Love <fx@gnu.org>
parents:
diff changeset
748
Dave Love <fx@gnu.org>
parents:
diff changeset
749 * Output from a process inserted into the process's buffer
Dave Love <fx@gnu.org>
parents:
diff changeset
750 no longer sets the buffer's mark. Instead it sets a
Dave Love <fx@gnu.org>
parents:
diff changeset
751 marker associated with the process to point to the end
Dave Love <fx@gnu.org>
parents:
diff changeset
752 of the inserted text. You can access this marker with
Dave Love <fx@gnu.org>
parents:
diff changeset
753 (process-mark PROCESS)
Dave Love <fx@gnu.org>
parents:
diff changeset
754 and then either examine its position with marker-position
Dave Love <fx@gnu.org>
parents:
diff changeset
755 or set its position with set-marker.
Dave Love <fx@gnu.org>
parents:
diff changeset
756
Dave Love <fx@gnu.org>
parents:
diff changeset
757 * completing-read takes a new optional fifth argument which,
Dave Love <fx@gnu.org>
parents:
diff changeset
758 if non-nil, should be a string of text to insert into
Dave Love <fx@gnu.org>
parents:
diff changeset
759 the minibuffer before reading user commands.
Dave Love <fx@gnu.org>
parents:
diff changeset
760
Dave Love <fx@gnu.org>
parents:
diff changeset
761 * The Lisp function elt now exists:
Dave Love <fx@gnu.org>
parents:
diff changeset
762 (elt ARRAY N) is like (aref ARRAY N),
Dave Love <fx@gnu.org>
parents:
diff changeset
763 (elt LIST N) is like (nth N LIST).
Dave Love <fx@gnu.org>
parents:
diff changeset
764
Dave Love <fx@gnu.org>
parents:
diff changeset
765 * rplaca is now a synonym for setcar, and rplacd for setcdr.
Dave Love <fx@gnu.org>
parents:
diff changeset
766 eql is now a synonym for eq; it turns out that the Common Lisp
Dave Love <fx@gnu.org>
parents:
diff changeset
767 distinction between eq and eql is insignificant in Emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
768 numberp is a new synonym for integerp.
Dave Love <fx@gnu.org>
parents:
diff changeset
769
Dave Love <fx@gnu.org>
parents:
diff changeset
770 * auto-save has been renamed to auto-save-mode.
Dave Love <fx@gnu.org>
parents:
diff changeset
771
Dave Love <fx@gnu.org>
parents:
diff changeset
772 * Auto save file names for buffers are now created by the
Dave Love <fx@gnu.org>
parents:
diff changeset
773 function make-auto-save-file-name. This is so you can
Dave Love <fx@gnu.org>
parents:
diff changeset
774 redefine that function to change the way auto save file names
Dave Love <fx@gnu.org>
parents:
diff changeset
775 are chosen.
Dave Love <fx@gnu.org>
parents:
diff changeset
776
Dave Love <fx@gnu.org>
parents:
diff changeset
777 * expand-file-name no longer discards a final slash.
Dave Love <fx@gnu.org>
parents:
diff changeset
778 (expand-file-name "foo" "/lose") => "/lose/foo"
Dave Love <fx@gnu.org>
parents:
diff changeset
779 (expand-file-name "foo/" "/lose") => "/lose/foo/"
Dave Love <fx@gnu.org>
parents:
diff changeset
780
Dave Love <fx@gnu.org>
parents:
diff changeset
781 Also, expand-file-name no longer substitutes $ constructs.
Dave Love <fx@gnu.org>
parents:
diff changeset
782 A new function substitute-in-file-name does this. Reading
Dave Love <fx@gnu.org>
parents:
diff changeset
783 a file name with read-file-name or the `f' or`F' option
Dave Love <fx@gnu.org>
parents:
diff changeset
784 of interactive calling uses substitute-in-file-name
Dave Love <fx@gnu.org>
parents:
diff changeset
785 on the file name that was read and returns the result.
Dave Love <fx@gnu.org>
parents:
diff changeset
786
Dave Love <fx@gnu.org>
parents:
diff changeset
787 All I/O primitives including insert-file-contents and
Dave Love <fx@gnu.org>
parents:
diff changeset
788 delete-file call expand-file-name on the file name supplied.
Dave Love <fx@gnu.org>
parents:
diff changeset
789 This change makes them considerably faster in the usual case.
Dave Love <fx@gnu.org>
parents:
diff changeset
790
Dave Love <fx@gnu.org>
parents:
diff changeset
791 * Interactive calling spec strings allow the new code letter 'D'
Dave Love <fx@gnu.org>
parents:
diff changeset
792 which means to read a directory name. It is like 'f' except
Dave Love <fx@gnu.org>
parents:
diff changeset
793 that the default if the user makes no change in the minibuffer
Dave Love <fx@gnu.org>
parents:
diff changeset
794 is to return the current default directory rather than the
Dave Love <fx@gnu.org>
parents:
diff changeset
795 current visited file name.
Dave Love <fx@gnu.org>
parents:
diff changeset
796
Dave Love <fx@gnu.org>
parents:
diff changeset
797 Changes in Emacs 1.5
Dave Love <fx@gnu.org>
parents:
diff changeset
798
Dave Love <fx@gnu.org>
parents:
diff changeset
799 * suspend-emacs now accepts an optional argument
Dave Love <fx@gnu.org>
parents:
diff changeset
800 which is a string to be stuffed as terminal input
Dave Love <fx@gnu.org>
parents:
diff changeset
801 to be read by Emacs's superior shell after Emacs exits.
Dave Love <fx@gnu.org>
parents:
diff changeset
802
Dave Love <fx@gnu.org>
parents:
diff changeset
803 A library called ledit exists which uses this feature
Dave Love <fx@gnu.org>
parents:
diff changeset
804 to transmit text to a Lisp job running as a sibling of
Dave Love <fx@gnu.org>
parents:
diff changeset
805 Emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
806
Dave Love <fx@gnu.org>
parents:
diff changeset
807 * If find-file is given the name of a directory,
Dave Love <fx@gnu.org>
parents:
diff changeset
808 it automatically invokes dired on that directory
Dave Love <fx@gnu.org>
parents:
diff changeset
809 rather than reading in the binary data that make up
Dave Love <fx@gnu.org>
parents:
diff changeset
810 the actual contents of the directory according to Unix.
Dave Love <fx@gnu.org>
parents:
diff changeset
811
Dave Love <fx@gnu.org>
parents:
diff changeset
812 * Saving an Emacs buffer now preserves the file modes
Dave Love <fx@gnu.org>
parents:
diff changeset
813 of any previously existing file with the same name.
Dave Love <fx@gnu.org>
parents:
diff changeset
814 This works using new Lisp functions file-modes and
Dave Love <fx@gnu.org>
parents:
diff changeset
815 set-file-modes, which can be used to read or set the mode
Dave Love <fx@gnu.org>
parents:
diff changeset
816 bits of any file.
Dave Love <fx@gnu.org>
parents:
diff changeset
817
Dave Love <fx@gnu.org>
parents:
diff changeset
818 * The Lisp function cond now exists, with its traditional meaning.
Dave Love <fx@gnu.org>
parents:
diff changeset
819
Dave Love <fx@gnu.org>
parents:
diff changeset
820 * defvar and defconst now permit the documentation string
Dave Love <fx@gnu.org>
parents:
diff changeset
821 to be omitted. defvar also permits the initial value
Dave Love <fx@gnu.org>
parents:
diff changeset
822 to be omitted; then it acts only as a comment.
Dave Love <fx@gnu.org>
parents:
diff changeset
823
Dave Love <fx@gnu.org>
parents:
diff changeset
824 Changes in Emacs 1.4
Dave Love <fx@gnu.org>
parents:
diff changeset
825
Dave Love <fx@gnu.org>
parents:
diff changeset
826 * Auto-filling now normally indents the new line it creates
Dave Love <fx@gnu.org>
parents:
diff changeset
827 by calling indent-according-to-mode. This function, meanwhile,
Dave Love <fx@gnu.org>
parents:
diff changeset
828 has in Fundamental and Text modes the effect of making the line
Dave Love <fx@gnu.org>
parents:
diff changeset
829 have an indentation of the value of left-margin, a per-buffer variable.
Dave Love <fx@gnu.org>
parents:
diff changeset
830
Dave Love <fx@gnu.org>
parents:
diff changeset
831 Tab no longer precisely does indent-according-to-mode;
Dave Love <fx@gnu.org>
parents:
diff changeset
832 it does that in all modes that supply their own indentation routine,
Dave Love <fx@gnu.org>
parents:
diff changeset
833 but in Fundamental, Text and allied modes it inserts a tab character.
Dave Love <fx@gnu.org>
parents:
diff changeset
834
Dave Love <fx@gnu.org>
parents:
diff changeset
835 * The command M-x grep now invokes grep (on arguments
Dave Love <fx@gnu.org>
parents:
diff changeset
836 supplied by the user) and reads the output from grep
Dave Love <fx@gnu.org>
parents:
diff changeset
837 asynchronously into a buffer. The command C-x ` can
Dave Love <fx@gnu.org>
parents:
diff changeset
838 be used to move to the lines that grep has found.
Dave Love <fx@gnu.org>
parents:
diff changeset
839 This is an adaptation of the mechanism used for
Dave Love <fx@gnu.org>
parents:
diff changeset
840 running compilations and finding the loci of error messages.
Dave Love <fx@gnu.org>
parents:
diff changeset
841
Dave Love <fx@gnu.org>
parents:
diff changeset
842 You can now use C-x ` even while grep or compilation
Dave Love <fx@gnu.org>
parents:
diff changeset
843 is proceeding; as more matches or error messages arrive,
Dave Love <fx@gnu.org>
parents:
diff changeset
844 C-x ` will parse them and be able to find them.
Dave Love <fx@gnu.org>
parents:
diff changeset
845
Dave Love <fx@gnu.org>
parents:
diff changeset
846 * M-x mail now provides a command to send the message
Dave Love <fx@gnu.org>
parents:
diff changeset
847 and "exit"--that is, return to the previously selected
Dave Love <fx@gnu.org>
parents:
diff changeset
848 buffer. It is C-z C-z.
Dave Love <fx@gnu.org>
parents:
diff changeset
849
Dave Love <fx@gnu.org>
parents:
diff changeset
850 * Tab in C mode now tries harder to adapt to all indentation styles.
Dave Love <fx@gnu.org>
parents:
diff changeset
851 If the line being indented is a statement that is not the first
Dave Love <fx@gnu.org>
parents:
diff changeset
852 one in the containing compound-statement, it is aligned under
Dave Love <fx@gnu.org>
parents:
diff changeset
853 the beginning of the first statement.
Dave Love <fx@gnu.org>
parents:
diff changeset
854
Dave Love <fx@gnu.org>
parents:
diff changeset
855 * The functions screen-width and screen-height return the
Dave Love <fx@gnu.org>
parents:
diff changeset
856 total width and height of the screen as it is now being used.
Dave Love <fx@gnu.org>
parents:
diff changeset
857 set-screen-width and set-screen-height tell Emacs how big
Dave Love <fx@gnu.org>
parents:
diff changeset
858 to assume the screen is; they each take one argument,
Dave Love <fx@gnu.org>
parents:
diff changeset
859 an integer.
Dave Love <fx@gnu.org>
parents:
diff changeset
860
Dave Love <fx@gnu.org>
parents:
diff changeset
861 * The Lisp function 'function' now exists. function is the
Dave Love <fx@gnu.org>
parents:
diff changeset
862 same as quote, except that it serves as a signal to the
Dave Love <fx@gnu.org>
parents:
diff changeset
863 Lisp compiler that the argument should be compiled as
Dave Love <fx@gnu.org>
parents:
diff changeset
864 a function. Example:
Dave Love <fx@gnu.org>
parents:
diff changeset
865 (mapcar (function (lambda (x) (+ x 5))) list)
Dave Love <fx@gnu.org>
parents:
diff changeset
866
Dave Love <fx@gnu.org>
parents:
diff changeset
867 * The function set-key has been renamed to global-set-key.
Dave Love <fx@gnu.org>
parents:
diff changeset
868 undefine-key and local-undefine-key has been renamed to
Dave Love <fx@gnu.org>
parents:
diff changeset
869 global-unset-key and local-unset-key.
Dave Love <fx@gnu.org>
parents:
diff changeset
870
Dave Love <fx@gnu.org>
parents:
diff changeset
871 * Emacs now collects input from asynchronous subprocesses
Dave Love <fx@gnu.org>
parents:
diff changeset
872 while waiting in the functions sleep-for and sit-for.
Dave Love <fx@gnu.org>
parents:
diff changeset
873
Dave Love <fx@gnu.org>
parents:
diff changeset
874 * Shell mode's Newline command attempts to distinguish subshell
Dave Love <fx@gnu.org>
parents:
diff changeset
875 prompts from user input when issued in the middle of the buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
876 It no longer reexecutes from dot to the end of the line;
Dave Love <fx@gnu.org>
parents:
diff changeset
877 it reeexecutes the entire line minus any prompt.
Dave Love <fx@gnu.org>
parents:
diff changeset
878 The prompt is recognized by searching for the value of
Dave Love <fx@gnu.org>
parents:
diff changeset
879 shell-prompt-pattern, starting from the beginning of the line.
Dave Love <fx@gnu.org>
parents:
diff changeset
880 Anything thus skipped is not reexecuted.
Dave Love <fx@gnu.org>
parents:
diff changeset
881
Dave Love <fx@gnu.org>
parents:
diff changeset
882 Changes in Emacs 1.3
Dave Love <fx@gnu.org>
parents:
diff changeset
883
Dave Love <fx@gnu.org>
parents:
diff changeset
884 * An undo facility exists now. Type C-x u to undo a batch of
Dave Love <fx@gnu.org>
parents:
diff changeset
885 changes (usually one command's changes, but some commands
Dave Love <fx@gnu.org>
parents:
diff changeset
886 such as query-replace divide their changes into multiple
Dave Love <fx@gnu.org>
parents:
diff changeset
887 batches. You can repeat C-x u to undo further. As long
Dave Love <fx@gnu.org>
parents:
diff changeset
888 as no commands other than C-x u intervene, each one undoes
Dave Love <fx@gnu.org>
parents:
diff changeset
889 another batch. A numeric argument to C-x u acts as a repeat
Dave Love <fx@gnu.org>
parents:
diff changeset
890 count.
Dave Love <fx@gnu.org>
parents:
diff changeset
891
Dave Love <fx@gnu.org>
parents:
diff changeset
892 If you keep on undoing, eventually you may be told that
Dave Love <fx@gnu.org>
parents:
diff changeset
893 you have used up all the recorded undo information.
Dave Love <fx@gnu.org>
parents:
diff changeset
894 Some actions, such as reading in files, discard all
Dave Love <fx@gnu.org>
parents:
diff changeset
895 undo information.
Dave Love <fx@gnu.org>
parents:
diff changeset
896
Dave Love <fx@gnu.org>
parents:
diff changeset
897 The undo information is not currently stored separately
Dave Love <fx@gnu.org>
parents:
diff changeset
898 for each buffer, so it is mainly good if you do something
Dave Love <fx@gnu.org>
parents:
diff changeset
899 totally spastic. [This has since been fixed.]
Dave Love <fx@gnu.org>
parents:
diff changeset
900
Dave Love <fx@gnu.org>
parents:
diff changeset
901 * A learn-by-doing tutorial introduction to Emacs now exists.
Dave Love <fx@gnu.org>
parents:
diff changeset
902 Type C-h t to enter it.
Dave Love <fx@gnu.org>
parents:
diff changeset
903
Dave Love <fx@gnu.org>
parents:
diff changeset
904 * An Info documentation browser exists. Do M-x info to enter it.
Dave Love <fx@gnu.org>
parents:
diff changeset
905 It contains a tutorial introduction so that no more documentation
Dave Love <fx@gnu.org>
parents:
diff changeset
906 is needed here. As of now, the only documentation in it
Dave Love <fx@gnu.org>
parents:
diff changeset
907 is that of Info itself.
Dave Love <fx@gnu.org>
parents:
diff changeset
908
Dave Love <fx@gnu.org>
parents:
diff changeset
909 * Help k and Help c are now different. Help c prints just the
Dave Love <fx@gnu.org>
parents:
diff changeset
910 name of the function which the specified key invokes. Help k
Dave Love <fx@gnu.org>
parents:
diff changeset
911 prints the documentation of the function as well.
Dave Love <fx@gnu.org>
parents:
diff changeset
912
Dave Love <fx@gnu.org>
parents:
diff changeset
913 * A document of the differences between GNU Emacs and Twenex Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
914 now exists. It is called DIFF, in the same directory as this file.
Dave Love <fx@gnu.org>
parents:
diff changeset
915
Dave Love <fx@gnu.org>
parents:
diff changeset
916 * C mode can now indent comments better, including multi-line ones.
Dave Love <fx@gnu.org>
parents:
diff changeset
917 Meta-Control-q now reindents comment lines within the expression
Dave Love <fx@gnu.org>
parents:
diff changeset
918 being aligned.
Dave Love <fx@gnu.org>
parents:
diff changeset
919
Dave Love <fx@gnu.org>
parents:
diff changeset
920 * Insertion of a close-parenthesis now shows the matching open-parenthesis
Dave Love <fx@gnu.org>
parents:
diff changeset
921 even if it is off screen, by printing the text following it on its line
Dave Love <fx@gnu.org>
parents:
diff changeset
922 in the minibuffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
923
Dave Love <fx@gnu.org>
parents:
diff changeset
924 * A file can now contain a list of local variable values
Dave Love <fx@gnu.org>
parents:
diff changeset
925 to be in effect when the file is edited. See the file DIFF
Dave Love <fx@gnu.org>
parents:
diff changeset
926 in the same directory as this file for full details.
Dave Love <fx@gnu.org>
parents:
diff changeset
927
Dave Love <fx@gnu.org>
parents:
diff changeset
928 * A function nth is defined. It means the same thing as in Common Lisp.
Dave Love <fx@gnu.org>
parents:
diff changeset
929
Dave Love <fx@gnu.org>
parents:
diff changeset
930 * The function install-command has been renamed to set-key.
Dave Love <fx@gnu.org>
parents:
diff changeset
931 It now takes the key sequence as the first argument
Dave Love <fx@gnu.org>
parents:
diff changeset
932 and the definition for it as the second argument.
Dave Love <fx@gnu.org>
parents:
diff changeset
933 Likewise, local-install-command has been renamed to local-set-key.
Dave Love <fx@gnu.org>
parents:
diff changeset
934
Dave Love <fx@gnu.org>
parents:
diff changeset
935 Changes in Emacs 1.2
Dave Love <fx@gnu.org>
parents:
diff changeset
936
Dave Love <fx@gnu.org>
parents:
diff changeset
937 * A Lisp single-stepping and debugging facility exists.
Dave Love <fx@gnu.org>
parents:
diff changeset
938 To cause the debugger to be entered when an error
Dave Love <fx@gnu.org>
parents:
diff changeset
939 occurs, set the variable debug-on-error non-nil.
Dave Love <fx@gnu.org>
parents:
diff changeset
940
Dave Love <fx@gnu.org>
parents:
diff changeset
941 To cause the debugger to be entered whenever function foo
Dave Love <fx@gnu.org>
parents:
diff changeset
942 is called, do (debug-on-entry 'foo). To cancel this,
Dave Love <fx@gnu.org>
parents:
diff changeset
943 do (cancel-debug-on-entry 'foo). debug-on-entry does
Dave Love <fx@gnu.org>
parents:
diff changeset
944 not work for primitives (written in C), only functions
Dave Love <fx@gnu.org>
parents:
diff changeset
945 written in Lisp. Most standard Emacs commands are in Lisp.
Dave Love <fx@gnu.org>
parents:
diff changeset
946
Dave Love <fx@gnu.org>
parents:
diff changeset
947 When the debugger is entered, the selected window shows
Dave Love <fx@gnu.org>
parents:
diff changeset
948 a buffer called " *Backtrace" which displays a series
Dave Love <fx@gnu.org>
parents:
diff changeset
949 of stack frames, most recently entered first. For each
Dave Love <fx@gnu.org>
parents:
diff changeset
950 frame, the function name called is shown, usually followed
Dave Love <fx@gnu.org>
parents:
diff changeset
951 by the argument values unless arguments are still being
Dave Love <fx@gnu.org>
parents:
diff changeset
952 calculated. At the beginning of the buffer is a description
Dave Love <fx@gnu.org>
parents:
diff changeset
953 of why the debugger was entered: function entry, function exit,
Dave Love <fx@gnu.org>
parents:
diff changeset
954 error, or simply that the user called the function `debug'.
Dave Love <fx@gnu.org>
parents:
diff changeset
955
Dave Love <fx@gnu.org>
parents:
diff changeset
956 To exit the debugger and return to top level, type `q'.
Dave Love <fx@gnu.org>
parents:
diff changeset
957
Dave Love <fx@gnu.org>
parents:
diff changeset
958 In the debugger, you can evaluate Lisp expressions by
Dave Love <fx@gnu.org>
parents:
diff changeset
959 typing `e'. This is equivalent to `M-ESC'.
Dave Love <fx@gnu.org>
parents:
diff changeset
960
Dave Love <fx@gnu.org>
parents:
diff changeset
961 When the debugger is entered due to an error, that is
Dave Love <fx@gnu.org>
parents:
diff changeset
962 all you can do. When it is entered due to function entry
Dave Love <fx@gnu.org>
parents:
diff changeset
963 (such as, requested by debug-on-entry), you have two
Dave Love <fx@gnu.org>
parents:
diff changeset
964 options:
Dave Love <fx@gnu.org>
parents:
diff changeset
965 Continue execution and reenter debugger after the
Dave Love <fx@gnu.org>
parents:
diff changeset
966 completion of the function being entered. Type `c'.
Dave Love <fx@gnu.org>
parents:
diff changeset
967 Continue execution but enter the debugger before
Dave Love <fx@gnu.org>
parents:
diff changeset
968 the next subexpression. Type `d'.
Dave Love <fx@gnu.org>
parents:
diff changeset
969
Dave Love <fx@gnu.org>
parents:
diff changeset
970 You will see that some stack frames are marked with *.
Dave Love <fx@gnu.org>
parents:
diff changeset
971 This means the debugger will be entered when those
Dave Love <fx@gnu.org>
parents:
diff changeset
972 frames exit. You will see the value being returned
Dave Love <fx@gnu.org>
parents:
diff changeset
973 in the first line of the backtrace buffer. Your options:
Dave Love <fx@gnu.org>
parents:
diff changeset
974 Continue execution, and return that value. Type `c'.
Dave Love <fx@gnu.org>
parents:
diff changeset
975 Continue execution, and return a specified value. Type `r'.
Dave Love <fx@gnu.org>
parents:
diff changeset
976
Dave Love <fx@gnu.org>
parents:
diff changeset
977 You can mark a frame to enter the debugger on exit
Dave Love <fx@gnu.org>
parents:
diff changeset
978 with the `b' command, or clear such a mark with `u'.
Dave Love <fx@gnu.org>
parents:
diff changeset
979
Dave Love <fx@gnu.org>
parents:
diff changeset
980 * Lisp macros now exist.
Dave Love <fx@gnu.org>
parents:
diff changeset
981 For example, you can write
Dave Love <fx@gnu.org>
parents:
diff changeset
982 (defmacro cadr (arg) (list 'car (list 'cdr arg)))
Dave Love <fx@gnu.org>
parents:
diff changeset
983 and then the expression
Dave Love <fx@gnu.org>
parents:
diff changeset
984 (cadr foo)
Dave Love <fx@gnu.org>
parents:
diff changeset
985 will expand into
Dave Love <fx@gnu.org>
parents:
diff changeset
986 (car (cdr foo))
Dave Love <fx@gnu.org>
parents:
diff changeset
987
Dave Love <fx@gnu.org>
parents:
diff changeset
988 Changes in Emacs 1.1
Dave Love <fx@gnu.org>
parents:
diff changeset
989
Dave Love <fx@gnu.org>
parents:
diff changeset
990 * The initial buffer is now called "scratch" and is in a
Dave Love <fx@gnu.org>
parents:
diff changeset
991 new major mode, Lisp Interaction mode. This mode is
Dave Love <fx@gnu.org>
parents:
diff changeset
992 intended for typing Lisp expressions, evaluating them,
Dave Love <fx@gnu.org>
parents:
diff changeset
993 and having the values printed into the buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
994
Dave Love <fx@gnu.org>
parents:
diff changeset
995 Type Linefeed after a Lisp expression, to evaluate the
Dave Love <fx@gnu.org>
parents:
diff changeset
996 expression and have its value printed into the buffer,
Dave Love <fx@gnu.org>
parents:
diff changeset
997 advancing dot.
Dave Love <fx@gnu.org>
parents:
diff changeset
998
Dave Love <fx@gnu.org>
parents:
diff changeset
999 The other commands of Lisp mode are available.
Dave Love <fx@gnu.org>
parents:
diff changeset
1000
Dave Love <fx@gnu.org>
parents:
diff changeset
1001 * The C-x C-e command for evaluating the Lisp expression
Dave Love <fx@gnu.org>
parents:
diff changeset
1002 before dot has been changed to print the value in the
Dave Love <fx@gnu.org>
parents:
diff changeset
1003 minibuffer line rather than insert it in the buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
1004 A numeric argument causes the printed value to appear
Dave Love <fx@gnu.org>
parents:
diff changeset
1005 in the buffer instead.
Dave Love <fx@gnu.org>
parents:
diff changeset
1006
Dave Love <fx@gnu.org>
parents:
diff changeset
1007 * In Lisp mode, the command M-C-x evaluates the defun
Dave Love <fx@gnu.org>
parents:
diff changeset
1008 containing or following dot. The value is printed in
Dave Love <fx@gnu.org>
parents:
diff changeset
1009 the minibuffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
1010
Dave Love <fx@gnu.org>
parents:
diff changeset
1011 * The value of a Lisp expression evaluated using M-ESC
Dave Love <fx@gnu.org>
parents:
diff changeset
1012 is now printed in the minibuffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
1013
Dave Love <fx@gnu.org>
parents:
diff changeset
1014 * M-q now runs fill-paragraph, independent of major mode.
Dave Love <fx@gnu.org>
parents:
diff changeset
1015
Dave Love <fx@gnu.org>
parents:
diff changeset
1016 * C-h m now prints documentation on the current buffer's
Dave Love <fx@gnu.org>
parents:
diff changeset
1017 major mode. What it prints is the documentation of the
Dave Love <fx@gnu.org>
parents:
diff changeset
1018 major mode name as a function. All major modes have been
Dave Love <fx@gnu.org>
parents:
diff changeset
1019 equipped with documentation that describes all commands
Dave Love <fx@gnu.org>
parents:
diff changeset
1020 peculiar to the major mode, for this purpose.
Dave Love <fx@gnu.org>
parents:
diff changeset
1021
Dave Love <fx@gnu.org>
parents:
diff changeset
1022 * You can display a Unix manual entry with
Dave Love <fx@gnu.org>
parents:
diff changeset
1023 the M-x manual-entry command.
Dave Love <fx@gnu.org>
parents:
diff changeset
1024
Dave Love <fx@gnu.org>
parents:
diff changeset
1025 * You can run a shell, displaying its output in a buffer,
Dave Love <fx@gnu.org>
parents:
diff changeset
1026 with the M-x shell command. The Return key sends input
Dave Love <fx@gnu.org>
parents:
diff changeset
1027 to the subshell. Output is printed inserted automatically
Dave Love <fx@gnu.org>
parents:
diff changeset
1028 in the buffer. Commands C-c, C-d, C-u, C-w and C-z are redefined
Dave Love <fx@gnu.org>
parents:
diff changeset
1029 for controlling the subshell and its subjobs.
Dave Love <fx@gnu.org>
parents:
diff changeset
1030 "cd", "pushd" and "popd" commands are recognized as you
Dave Love <fx@gnu.org>
parents:
diff changeset
1031 enter them, so that the default directory of the Emacs buffer
Dave Love <fx@gnu.org>
parents:
diff changeset
1032 always remains the same as that of the subshell.
Dave Love <fx@gnu.org>
parents:
diff changeset
1033
Dave Love <fx@gnu.org>
parents:
diff changeset
1034 * C-x $ (that's a real dollar sign) controls line-hiding based
Dave Love <fx@gnu.org>
parents:
diff changeset
1035 on indentation. With a numeric arg N > 0, it causes all lines
Dave Love <fx@gnu.org>
parents:
diff changeset
1036 indented by N or more columns to become invisible.
Dave Love <fx@gnu.org>
parents:
diff changeset
1037 They are, effectively, tacked onto the preceding line, where
Dave Love <fx@gnu.org>
parents:
diff changeset
1038 they are represented by " ..." on the screen.
Dave Love <fx@gnu.org>
parents:
diff changeset
1039 (The end of the preceding visible line corresponds to a
Dave Love <fx@gnu.org>
parents:
diff changeset
1040 screen cursor position before the "...". Anywhere in the
Dave Love <fx@gnu.org>
parents:
diff changeset
1041 invisible lines that follow appears on the screen as a cursor
Dave Love <fx@gnu.org>
parents:
diff changeset
1042 position after the "...".)
Dave Love <fx@gnu.org>
parents:
diff changeset
1043 Currently, all editing commands treat invisible lines just
Dave Love <fx@gnu.org>
parents:
diff changeset
1044 like visible ones, except for C-n and C-p, which have special
Dave Love <fx@gnu.org>
parents:
diff changeset
1045 code to count visible lines only.
Dave Love <fx@gnu.org>
parents:
diff changeset
1046 C-x $ with no argument turns off this mode, which in any case
Dave Love <fx@gnu.org>
parents:
diff changeset
1047 is remembered separately for each buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
1048
Dave Love <fx@gnu.org>
parents:
diff changeset
1049 * Outline mode is another form of selective display.
Dave Love <fx@gnu.org>
parents:
diff changeset
1050 It is a major mode invoked with M-x outline-mode.
Dave Love <fx@gnu.org>
parents:
diff changeset
1051 It is intended for editing files that are structured as
Dave Love <fx@gnu.org>
parents:
diff changeset
1052 outlines, with heading lines (lines that begin with one
Dave Love <fx@gnu.org>
parents:
diff changeset
1053 or more asterisks) and text lines (all other lines).
Dave Love <fx@gnu.org>
parents:
diff changeset
1054 The number of asterisks in a heading line are its level;
Dave Love <fx@gnu.org>
parents:
diff changeset
1055 the subheadings of a heading line are all following heading
Dave Love <fx@gnu.org>
parents:
diff changeset
1056 lines at higher levels, until but not including the next
Dave Love <fx@gnu.org>
parents:
diff changeset
1057 heading line at the same or a lower level, regardless
Dave Love <fx@gnu.org>
parents:
diff changeset
1058 of intervening text lines.
Dave Love <fx@gnu.org>
parents:
diff changeset
1059
Dave Love <fx@gnu.org>
parents:
diff changeset
1060 In outline mode, you have commands to hide (remove from display)
Dave Love <fx@gnu.org>
parents:
diff changeset
1061 or show the text or subheadings under each heading line
Dave Love <fx@gnu.org>
parents:
diff changeset
1062 independently. Hidden text or subheadings are invisibly
Dave Love <fx@gnu.org>
parents:
diff changeset
1063 attached to the end of the preceding heading line, so that
Dave Love <fx@gnu.org>
parents:
diff changeset
1064 if you kill the hading line and yank it back elsewhere
Dave Love <fx@gnu.org>
parents:
diff changeset
1065 all the invisible lines accompany it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1066
Dave Love <fx@gnu.org>
parents:
diff changeset
1067 All editing commands treat hidden outline-mode lines
Dave Love <fx@gnu.org>
parents:
diff changeset
1068 as part of the preceding visible line.
Dave Love <fx@gnu.org>
parents:
diff changeset
1069
Dave Love <fx@gnu.org>
parents:
diff changeset
1070 * C-x C-z runs save-buffers-kill-emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
1071 offers to save each file buffer, then exits.
Dave Love <fx@gnu.org>
parents:
diff changeset
1072
Dave Love <fx@gnu.org>
parents:
diff changeset
1073 * C-c's function is now called suspend-emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
1074
Dave Love <fx@gnu.org>
parents:
diff changeset
1075 * The command C-x m runs mail, which switches to a buffer *mail*
Dave Love <fx@gnu.org>
parents:
diff changeset
1076 and lets you compose a message to send. C-x 4 m runs mail in
Dave Love <fx@gnu.org>
parents:
diff changeset
1077 another window. Type C-z C-s in the mail buffer to send the
Dave Love <fx@gnu.org>
parents:
diff changeset
1078 message according to what you have entered in the buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
1079
Dave Love <fx@gnu.org>
parents:
diff changeset
1080 You must separate the headers from the message text with
Dave Love <fx@gnu.org>
parents:
diff changeset
1081 an empty line.
Dave Love <fx@gnu.org>
parents:
diff changeset
1082
Dave Love <fx@gnu.org>
parents:
diff changeset
1083 * You can now dired partial directories (specified with names
Dave Love <fx@gnu.org>
parents:
diff changeset
1084 containing *'s, etc, all processed by the shell). Also, you
Dave Love <fx@gnu.org>
parents:
diff changeset
1085 can dired more than one directory; dired names the buffer
Dave Love <fx@gnu.org>
parents:
diff changeset
1086 according to the filespec or directory name. Reinvoking
Dave Love <fx@gnu.org>
parents:
diff changeset
1087 dired on a directory already direded just switches back to
Dave Love <fx@gnu.org>
parents:
diff changeset
1088 the same directory used last time; do M-x revert if you want
Dave Love <fx@gnu.org>
parents:
diff changeset
1089 to read in the current contents of the directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
1090
Dave Love <fx@gnu.org>
parents:
diff changeset
1091 C-x d runs dired, and C-x 4 d runs dired in another window.
Dave Love <fx@gnu.org>
parents:
diff changeset
1092
Dave Love <fx@gnu.org>
parents:
diff changeset
1093 C-x C-d (list-directory) also allows partial directories now.
Dave Love <fx@gnu.org>
parents:
diff changeset
1094
Dave Love <fx@gnu.org>
parents:
diff changeset
1095 Lisp programming changes
Dave Love <fx@gnu.org>
parents:
diff changeset
1096
Dave Love <fx@gnu.org>
parents:
diff changeset
1097 * t as an output stream now means "print to the minibuffer".
Dave Love <fx@gnu.org>
parents:
diff changeset
1098 If there is already text in the minibuffer printed via t
Dave Love <fx@gnu.org>
parents:
diff changeset
1099 as an output stream, the new text is appended to the old
Dave Love <fx@gnu.org>
parents:
diff changeset
1100 (or is truncated and lost at the margin). If the minibuffer
Dave Love <fx@gnu.org>
parents:
diff changeset
1101 contains text put there for some other reason, it is cleared
Dave Love <fx@gnu.org>
parents:
diff changeset
1102 first.
Dave Love <fx@gnu.org>
parents:
diff changeset
1103
Dave Love <fx@gnu.org>
parents:
diff changeset
1104 t is now the top-level value of standard-output.
Dave Love <fx@gnu.org>
parents:
diff changeset
1105
Dave Love <fx@gnu.org>
parents:
diff changeset
1106 t as an input stream now means "read via the minibuffer".
Dave Love <fx@gnu.org>
parents:
diff changeset
1107 The minibuffer is used to read a line of input, with editing,
Dave Love <fx@gnu.org>
parents:
diff changeset
1108 and this line is then parsed. Any excess not used by `read'
Dave Love <fx@gnu.org>
parents:
diff changeset
1109 is ignored; each `read' from t reads fresh input.
Dave Love <fx@gnu.org>
parents:
diff changeset
1110 t is now the top-level value of standard-input.
Dave Love <fx@gnu.org>
parents:
diff changeset
1111
Dave Love <fx@gnu.org>
parents:
diff changeset
1112 * A marker may be used as an input stream or an output stream.
Dave Love <fx@gnu.org>
parents:
diff changeset
1113 The effect is to grab input from where the marker points,
Dave Love <fx@gnu.org>
parents:
diff changeset
1114 advancing it over the characters read, or to insert output
Dave Love <fx@gnu.org>
parents:
diff changeset
1115 at the marker and advance it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1116
Dave Love <fx@gnu.org>
parents:
diff changeset
1117 * Output from an asynchronous subprocess is now inserted at
Dave Love <fx@gnu.org>
parents:
diff changeset
1118 the end of the associated buffer, not at the buffer's dot,
Dave Love <fx@gnu.org>
parents:
diff changeset
1119 and the buffer's mark is set to the end of the inserted output
Dave Love <fx@gnu.org>
parents:
diff changeset
1120 each time output is inserted.
Dave Love <fx@gnu.org>
parents:
diff changeset
1121
Dave Love <fx@gnu.org>
parents:
diff changeset
1122 * (pos-visible-in-window-p POS WINDOW)
Dave Love <fx@gnu.org>
parents:
diff changeset
1123 returns t if position POS in WINDOW's buffer is in the range
Dave Love <fx@gnu.org>
parents:
diff changeset
1124 that is being displayed in WINDOW; nil if it is scrolled
Dave Love <fx@gnu.org>
parents:
diff changeset
1125 vertically out of visibility.
Dave Love <fx@gnu.org>
parents:
diff changeset
1126
Dave Love <fx@gnu.org>
parents:
diff changeset
1127 If display in WINDOW is not currently up to date, this function
Dave Love <fx@gnu.org>
parents:
diff changeset
1128 calculates carefully whether POS would appear if display were
Dave Love <fx@gnu.org>
parents:
diff changeset
1129 done immediately based on the current (window-start WINDOW).
Dave Love <fx@gnu.org>
parents:
diff changeset
1130
Dave Love <fx@gnu.org>
parents:
diff changeset
1131 POS defaults to (dot), and WINDOW to (selected-window).
Dave Love <fx@gnu.org>
parents:
diff changeset
1132
Dave Love <fx@gnu.org>
parents:
diff changeset
1133 * Variable buffer-alist replaced by function (buffer-list).
Dave Love <fx@gnu.org>
parents:
diff changeset
1134 The actual alist of buffers used internally by Emacs is now
Dave Love <fx@gnu.org>
parents:
diff changeset
1135 no longer accessible, to prevent the user from crashing Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
1136 by modifying it. The function buffer-list returns a list
Dave Love <fx@gnu.org>
parents:
diff changeset
1137 of all existing buffers. Modifying this list cannot hurt anything
Dave Love <fx@gnu.org>
parents:
diff changeset
1138 as a new list is constructed by each call to buffer-list.
Dave Love <fx@gnu.org>
parents:
diff changeset
1139
Dave Love <fx@gnu.org>
parents:
diff changeset
1140 * load now takes an optional third argument NOMSG which, if non-nil,
Dave Love <fx@gnu.org>
parents:
diff changeset
1141 prevents load from printing a message when it starts and when
Dave Love <fx@gnu.org>
parents:
diff changeset
1142 it is done.
Dave Love <fx@gnu.org>
parents:
diff changeset
1143
Dave Love <fx@gnu.org>
parents:
diff changeset
1144 * byte-recompile-directory is a new function which finds all
Dave Love <fx@gnu.org>
parents:
diff changeset
1145 the .elc files in a directory, and regenerates each one which
Dave Love <fx@gnu.org>
parents:
diff changeset
1146 is older than the corresponding .el (Lisp source) file.
Dave Love <fx@gnu.org>
parents:
diff changeset
1147
Dave Love <fx@gnu.org>
parents:
diff changeset
1148 ----------------------------------------------------------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
1149 Copyright information:
Dave Love <fx@gnu.org>
parents:
diff changeset
1150
Dave Love <fx@gnu.org>
parents:
diff changeset
1151 Copyright (C) 1985 Richard M. Stallman
Dave Love <fx@gnu.org>
parents:
diff changeset
1152
Dave Love <fx@gnu.org>
parents:
diff changeset
1153 Permission is granted to anyone to make or distribute verbatim copies
Dave Love <fx@gnu.org>
parents:
diff changeset
1154 of this document as received, in any medium, provided that the
Dave Love <fx@gnu.org>
parents:
diff changeset
1155 copyright notice and this permission notice are preserved,
Dave Love <fx@gnu.org>
parents:
diff changeset
1156 thus giving the recipient permission to redistribute in turn.
Dave Love <fx@gnu.org>
parents:
diff changeset
1157
Dave Love <fx@gnu.org>
parents:
diff changeset
1158 Permission is granted to distribute modified versions
Dave Love <fx@gnu.org>
parents:
diff changeset
1159 of this document, or of portions of it,
Dave Love <fx@gnu.org>
parents:
diff changeset
1160 under the above conditions, provided also that they
Dave Love <fx@gnu.org>
parents:
diff changeset
1161 carry prominent notices stating who last changed them.
Dave Love <fx@gnu.org>
parents:
diff changeset
1162
Dave Love <fx@gnu.org>
parents:
diff changeset
1163 Local variables:
Dave Love <fx@gnu.org>
parents:
diff changeset
1164 mode: text
Dave Love <fx@gnu.org>
parents:
diff changeset
1165 end: