annotate etc/NEWS.2 @ 32092:b0a117b99837

(yow): Don't display multi-line quotations in a *Help* buffer, since the echo area will now grow to accommodate them. [Note -- I thought I already checked this change, but it seems to have mysteriously disappeared]
author Miles Bader <miles@gnu.org>
date Tue, 03 Oct 2000 07:06:41 +0000
parents 6c3081f54e62
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30922
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1 GNU Emacs NEWS -- history of user-visible changes. 26-Mar-1986
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2 Copyright (C) 1986 Richard M. Stallman.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3 See the end for copying conditions.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5 For older news, see the file NEWS.1.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7 Changes in Emacs 17
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9 * Frustrated?
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11 Try M-x doctor.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
13 * Bored?
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
14
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
15 Try M-x hanoi.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
16
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
17 * Brain-damaged?
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
18
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
19 Try M-x yow.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
20
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
21 * Sun3, Tahoe, Apollo, HP9000s300, Celerity, NCR Tower 32,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
22 Sequent, Stride, Encore, Plexus and AT&T 7300 machines supported.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
23
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24 The Tahoe, Sun3, Sequent and Celerity use 4.2. In regard to the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
25 Apollo, see the file APOLLO in this directory. NCR Tower32,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
26 HP9000s300, Stride and Nu run forms of System V. System V rel 2 also
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
27 works on Vaxes now. See etc/MACHINES.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29 * System V Unix supported, including subprocesses.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
30
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
31 It should be possible now to bring up Emacs on a machine running
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
32 mere unameliorated system V Unix with no major work; just possible bug
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
33 fixes. But you can expect to find a handful of those on any machine
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34 that Emacs has not been run on before.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
36 * Berkeley 4.1 Unix supported.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
37
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38 See etc/MACHINES.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40 * Portable `alloca' provided.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42 Emacs can now run on machines that do not and cannot support the library
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43 subroutine `alloca' in the canonical fashion, using an `alloca' emulation
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 written in C.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46 * On-line manual.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48 Info now contains an Emacs manual, with essentially the same text
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
49 as in the printed manual.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
50
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51 The manual can now be printed with a standard TeX.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
52
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53 Nicely typeset and printed copies of the manual are available
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
54 from the Free Software Foundation.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56 * Backup file version numbers.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58 Emacs now supports version numbers in backup files.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60 The first time you save a particular file in one editing session,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
61 the old file is copied or renamed to serve as a backup file.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 In the past, the name for the backup file was made by appending `~'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63 to the end of the original file name.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65 Now the backup file name can instead be made by appending ".~NN~" to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66 the original file name, where NN stands for a numeric version. Each
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67 time this is done, the new version number is one higher than the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 highest previously used.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
69
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70 Thus, the active, current file does not have a version number.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 Only the backups have them.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73 This feature is controlled by the variable `version-control'. If it
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74 is `nil', as normally, then numbered backups are made only for files
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75 that already have numbered backups. Backup names with just `~' are
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76 used for files that have no numbered backups.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78 If `version-control' is `never', then the backup file's name is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 made with just `~' in any case.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81 If `version-control' is not `nil' or `never', numbered backups are
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 made unconditionally.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84 To prevent unlimited consumption of disk space, Emacs can delete
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85 old backup versions automatically. Generally Emacs keeps the first
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86 few backups and the latest few backups, deleting any in between.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87 This happens every time a new backup is made. The two variables that
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88 control the deletion are `kept-old-versions' and `kept-new-versions'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89 Their values are, respectively, the number of oldest backups to keep
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90 and the number of newest ones to keep, each time a new backup is made.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91 The value of `kept-new-versions' includes the backup just created.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92 By default, both values are 2.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94 If `trim-versions-without-asking' is non-`nil', the excess middle versions
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95 are deleted without a murmur. If it is `nil', the default, then you
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96 are asked whether the excess middle versions should really be deleted.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98 Dired has a new command `.' which marks for deletion all but the latest
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99 and oldest few of every numeric series of backups. `kept-old-versions'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
100 controls the number of oldest versions to keep, and `dired-kept-versions'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 controls the number of latest versions to keep. A numeric argument to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102 the `.' command, if positive, specifies the number of latest versions
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103 to keep, overriding `dired-kept-versions'. A negative argument specifies
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104 the number of oldest versions to keep, using minus the argument to override
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105 `kept-old-versions'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
107 * Immediate conflict detection.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
108
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
109 Emacs now locks the files it is modifying, so that if
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110 you start to modify within Emacs a file that is being
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111 modified in another Emacs, you get an immediate warning.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
112
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
113 The warning gives you three choices:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114 1. Give up, and do not make any changes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115 2. Make changes anyway at your own risk.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116 3. Make changes anyway, and record yourself as
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117 the person locking the file (instead of whoever
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
118 was previously recorded.)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
120 Just visiting a file does not lock it. It is locked
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121 when you try to change the buffer that is visiting the file.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 Saving the file unlocks it until you make another change.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124 Locking is done by writing a lock file in a special designated
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 directory. If such a directory is not provided and told to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126 Emacs as part of configuring it for your machine, the lock feature
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127 is turned off.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129 * M-x recover-file.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131 This command is used to get a file back from an auto-save
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132 (after a system crash, for example). It takes a file name
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
133 as argument and visits that file, but gets the data from the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134 file's last auto save rather than from the file itself.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
136 * M-x normal-mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 This command resets the current buffer's major mode and local
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139 variables to be as specified by the visit filename, the -*- line
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140 and/or the Local Variables: block at the end of the buffer.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141 It is the same thing normally done when a file is first visited.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143 * Echo area messages disappear shortly if minibuffer is in use.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 Any message in the echo area disappears after 2 seconds
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146 if the minibuffer is active. This allows the minibuffer
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 to become visible again.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149 * C-z on System V runs a subshell.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
151 On systems which do not allow programs to be suspended, the C-z command
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
152 forks a subshell that talks directly to the terminal, and then waits
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 for the subshell to exit. This gets almost the effect of suspending
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
154 in that you can run other programs and then return to Emacs. However,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
155 you cannot log out from the subshell.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157 * C-c is always a prefix character.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
158
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 Also, subcommands of C-c which are letters are always
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
160 reserved for the user. No standard Emacs major mode
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161 defines any of them.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
163 * Picture mode C-c commands changed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
164
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
165 The old C-c k command is now C-c C-w.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
166 The old C-c y command is now C-c C-x.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
167
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168 * Shell mode commands changed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
170 All the special commands of Shell mode are now moved onto
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171 the C-c prefix. Most are not changed aside from that.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172 Thus, the old Shell mode C-c command (kill current job)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173 is now C-c C-c; the old C-z (suspend current job) is now C-c C-z,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174 etc.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 The old C-x commands are now C-c commands. C-x C-k (kill output)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
177 is now C-c C-o, and C-x C-v (show output) is now C-c C-r.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
178
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
179 The old M-= (copy previous input) command is now C-c C-y.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181 * Shell mode recognizes aliases for `pushd', `popd' and `cd'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 Shell mode now uses the variable `shell-pushd-regexp' as a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 regular expression to recognize any command name that is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185 equivalent to a `pushd' command. By default it is set up
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186 to recognize just `pushd' itself. If you use aliases for
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
187 `pushd', change the regexp to recognize them as well.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
188
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189 There are also `shell-popd-regexp' to recognize commands
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
190 with the effect of a `popd', and `shell-cd-regexp' to recognize
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
191 commands with the effect of a `cd'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
192
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
193 * "Exit" command in certain modes now C-c C-c.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
194
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
195 These include electric buffer menu mode, electric command history
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
196 mode, Info node edit mode, and Rmail edit mode. In all these
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
197 modes, the command to exit used to be just C-c.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
198
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
199 * Outline mode changes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
200
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
201 Lines that are not heading lines are now called "body" lines.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
202 The command `hide-text' is renamed to `hide-body'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
203 The key M-H is renamed to C-c C-h.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
204 The key M-S is renamed to C-c C-s.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
205 The key M-s is renamed to C-c C-i.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
206
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
207 Changes of line visibility are no longer undoable. As a result,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
208 they no longer use up undo memory and no longer interfere with
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
209 undoing earlier commands.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
210
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
211 * Rmail changes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
212
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
213 The s and q commands now both expunge deleted messages before saving;
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
214 use C-x C-s to save without expunging.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
215
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
216 The u command now undeletes the current message if it is deleted;
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
217 otherwise, it backs up as far as necessary to reach a deleted message,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
218 and undeletes that one. The u command in the summary behaves likewise,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
219 but considers only messages listed in the summary. The M-u command
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
220 has been eliminated.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
221
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
222 The o and C-o keys' meanings are interchanged.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
223 o now outputs to an Rmail file, and C-o to a Unix mail file.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
224
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
225 The F command (rmail-find) is renamed to M-s (rmail-search).
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
226 Various new commands and features exist; see the Emacs manual.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
227
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
228 * Local bindings described first in describe-bindings.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
229
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
230 * [...], {...} now balance in Fundamental mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
231
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
232 * Nroff mode and TeX mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
233
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
234 The are two new major modes for editing nroff input and TeX input.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
235 See the Emacs manual for full information.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
236
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
237 * New C indentation style variable `c-brace-imaginary-offset'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
238
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
239 The value of `c-brace-imaginary-offset', normally zero, controls the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
240 indentation of a statement inside a brace-group where the open-brace
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
241 is not the first thing on a line. The value says where the open-brace
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
242 is imagined to be, relative to the first nonblank character on the line.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
243
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
244 * Dired improvements.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
245
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
246 Dired now normally keeps the cursor at the beginning of the file name,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
247 not at the beginning of the line. The most used motion commands are
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
248 redefined in Dired to position the cursor this way.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
249
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
250 `n' and `p' are now equivalent in dired to `C-n' and `C-p'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
251
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
252 If any files to be deleted cannot be deleted, their names are
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
253 printed in an error message.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
254
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
255 If the `v' command is invoked on a file which is a directory,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
256 dired is run on that directory.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
257
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
258 * `visit-tag-table' renamed `visit-tags-table'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
259
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
260 This is so apropos of `tags' finds everything you need to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
261 know about in connection with Tags.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
262
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
263 * `mh-e' library uses C-c as prefix.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
264
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
265 All the special commands of `mh-rmail' now are placed on a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266 C-c prefix rather than on the C-x prefix. This is for
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
267 consistency with other special modes with their own commands.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
268
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
269 * M-$ or `spell-word' checks word before point.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
270
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
271 It used to check the word after point.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
272
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
273 * Quitting during autoloading no longer causes trouble.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
274
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
275 Now, when a file is autoloaded, all function redefinitions
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
276 and `provide' calls are recorded and are undone if you quit
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
277 before the file is finished loading.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
278
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
279 As a result, it no longer happens that some of the entry points
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
280 which are normally autoloading have been defined already, but the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
281 entire file is not really present to support them.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
282
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
283 * `else' can now be indented correctly in C mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
284
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
285 TAB in C mode now knows which `if' statement an `else' matches
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
286 up with, and can indent the `else' correctly under the `if',
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
287 even if the `if' contained such things as another `if' statement,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
288 or a `while' or `for' statement, with no braces around it.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
289
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
290 * `batch-byte-compile'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
291
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
292 Runs byte-compile-file on the files specified on the command line.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
293 All the rest of the command line arguments are taken as files to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
294 compile (or, if directories, to do byte-recompile-directory on).
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
295 Must be used only with -batch, and kills emacs on completion.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
296 Each file will be processed even if an error occurred previously.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
297 For example, invoke `emacs -batch -f batch-byte-compile *.el'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
298
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
299 * `-batch' changes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
300
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
301 `-batch' now implies `-q': no init file is loaded by Emacs when
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
302 `-batch' is used. Also, no `term/TERMTYPE.el' file is loaded. Auto
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
303 saving is not done except in buffers in which it is explicitly
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
304 requested. Also, many echo-area printouts describing what is going on
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
305 are inhibited in batch mode, so that the only output you get is the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
306 output you program specifically.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
307
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
308 One echo-area message that is not suppressed is the one that says
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
309 that a file is being loaded. That is because you can prevent this
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
310 message by passing `t' as the third argument to `load'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
311
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
312 * Display of search string in incremental search.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
313
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
314 Now, when you type C-s or C-r to reuse the previous search
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
315 string, that search string is displayed immediately in the echo area.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
316
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
317 Three dots are displayed after the search string while search
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
318 is actually going on.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
319
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
320 * View commands.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
321
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
322 The commands C-x ], C-x [, C-x /, C-x j and C-x o are now
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
323 available inside `view-buffer' and `view-file', with their
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
324 normal meanings.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
325
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
326 * Full-width windows preferred.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
327
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
328 The ``other-window'' commands prefer other full width windows,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
329 and will split only full width windows.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
330
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
331 * M-x rename-file can copy if necessary.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
332
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
333 When used between different file systems, since actual renaming does
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
334 not work, the old file will be copied and deleted.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
335
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
336 * Within C-x ESC, you can pick the command to repeat.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
337
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
338 While editing a previous command to be repeated, inside C-x ESC,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
339 you can now use the commands M-p and M-n to pick an earlier or
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
340 later command to repeat. M-n picks the next earlier command
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
341 and M-p picks the next later one. The new command appears in
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
342 the minibuffer, and you can go ahead and edit it, and repeat it
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
343 when you exit the minibuffer.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
344
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
345 Using M-n or M-p within C-x ESC is like having used a different
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
346 numeric argument when you ran C-x ESC in the first place.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
347
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
348 The command you finally execute using C-x ESC is added to the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
349 front of the command history, unless it is identical with the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
350 first thing in the command history.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
351
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
352 * Use C-c C-c to exit from editing within Info.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
353
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
354 It used to be C-z for this. Somehow this use of C-z was
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
355 left out when all the others were moved. The intention is that
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
356 C-z should always suspend Emacs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
357
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
358 * Default arg to C-x < and C-x > now window width minus 2.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
359
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
360 These commands, which scroll the current window horizontally
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
361 by a specified number of columns, now scroll a considerable
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
362 distance rather than a single column if used with no argument.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
363
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
364 * Auto Save Files Deleted.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
365
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
366 The default value of `delete-auto-save-files' is now `t', so that
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
367 when you save a file for real, its auto save file is deleted.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
368
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
369 * Rnews changes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
370
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371 The N, P and J keys in Rnews are renamed to M-n, M-p and M-j.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
372 These keys move among newsgroups.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
373
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
374 The n and p keys for moving sequentially between news articles now
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
375 accept repeat count arguments, and the + and - keys, made redundant by
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
376 this change, are eliminated.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
377
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
378 The s command for outputting the current article to a file
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
379 is renamed as o, to be compatible with Rmail.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
380
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
381 * Sendmail changes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
382
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
383 If you have a ~/.mailrc file, Emacs searches it for mailing address
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
384 aliases, and these aliases are expanded when you send mail in Emacs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
385
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
386 Fcc fields can now be used in the headers in the *mail* buffer
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
387 to specify files in which copies of the message should be put.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
388 The message is written into those files in Unix mail file format.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
389 The message as sent does not contain any Fcc fields in its header.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
390 You can use any number of Fcc fields, but only one file name in each one.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
391 The variable `mail-archive-file-name', if non-`nil', can be a string
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
392 which is a file name; an Fcc to that file will be inserted in every
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
393 message when you begin to compose it.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
394
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
395 A new command C-c q now exists in Mail mode. It fills the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
396 paragraphs of an old message that had been inserted with C-c y.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
397
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
398 When the *mail* buffer is put in Mail mode, text-mode-hook
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
399 is now run in addition to mail-mode-hook. text-mode-hook
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
400 is run first.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
401
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
402 The new variable `mail-header-separator' now specifies the string
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
403 to use on the line that goes between the headers and the message text.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
404 By default it is still "--text follows this line--".
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
405
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
406 * Command history truncated automatically.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
407
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
408 Just before each garbage collection, all but the last 30 elements
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
409 of the command history are discarded.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
410
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
411 Incompatible Lisp Programming Changes in Emacs 17
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
412
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
413 * `&quote' no longer supported.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
414
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
415 This feature, which allowed Lisp functions to take arguments
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
416 that were not evaluated, has been eliminated, because it is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
417 inescapably hard to make the compiler work properly with such
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
418 functions.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
419
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
420 You should use macros instead. A simple way to change any
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
421 code that uses `&quote' is to replace
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
422
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
423 (defun foo (&quote x y z) ...
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
424
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
425 with
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
426
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
427 (defmacro foo (x y z)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
428 (list 'foo-1 (list 'quote x) (list 'quote y) (list 'quote z)))
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
429
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
430 (defun foo-1 (x y z) ...
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
431
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
432 * Functions `region-to-string' and `region-around-match' removed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
433
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
434 These functions were made for compatibility with Gosling Emacs, but it
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
435 turns out to be undesirable to use them in GNU Emacs because they use
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
436 the mark. They have been eliminated from Emacs proper, but are
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
437 present in mlsupport.el for the sake of converted mocklisp programs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
438
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
439 If you were using `region-to-string', you should instead use
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
440 `buffer-substring'; then you can pass the bounds as arguments and
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
441 can avoid setting the mark.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
442
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
443 If you were using `region-around-match', you can use instead
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
444 the two functions `match-beginning' and `match-end'. These give
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
445 you one bound at a time, as a numeric value, without changing
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
446 point or the mark.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
447
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
448 * Function `function-type' removed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
449
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
450 This just appeared not to be very useful. It can easily be written in
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
451 Lisp if you happen to want it. Just use `symbol-function' to get the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
452 function definition of a symbol, and look at its data type or its car
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
453 if it is a list.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
454
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
455 * Variable `buffer-number' removed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
456
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
457 You can still use the function `buffer-number' to find out
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
458 a buffer's unique number (assigned in order of creation).
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
459
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
460 * Variable `executing-macro' renamed `executing-kbd-macro'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
461
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
462 This variable is the currently executing keyboard macro, as
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
463 a string, or `nil' when no keyboard macro is being executed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
464
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
465 * Loading term/$TERM.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
466
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
467 The library term/$TERM (where $TERM get replaced by your terminal
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
468 type), which is done by Emacs automatically when it starts up, now
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
469 happens after the user's .emacs file is loaded.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
470
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
471 In previous versions of Emacs, these files had names of the form
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
472 term-$TERM; thus, for example, term-vt100.el, but now they live
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
473 in a special subdirectory named term, and have names like
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
474 term/vt100.el.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
475
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
476 * `command-history' format changed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
477
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
478 The elements of this list are now Lisp expressions which can
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
479 be evaluated directly to repeat a command.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
480
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
481 * Unused editing commands removed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
482
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
483 The functions `forward-to-word', `backward-to-word',
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
484 `upcase-char', `mark-beginning-of-buffer' and `mark-end-of-buffer'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
485 have been removed. Their definitions can be found in file
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
486 lisp/unused.el if you need them.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
487
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
488 Upward Compatible Lisp Programming Changes in Emacs 17
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
489
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
490 * You can now continue after errors and quits.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
491
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
492 When the debugger is entered because of a C-g, due to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
493 a non-`nil' value of `debug-on-quit', the `c' command in the debugger
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
494 resumes execution of the code that was running when the quit happened.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
495 Use the `q' command to go ahead and quit.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
496
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
497 The same applies to some kinds of errors, but not all. Errors
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
498 signaled with the Lisp function `signal' can be continued; the `c'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
499 command causes `signal' to return. The `r' command causes `signal' to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
500 return the value you specify. The `c' command is equivalent to `r'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
501 with the value `nil'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
502
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
503 For a `wrong-type-argument' error, the value returned with the `r'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
504 command is used in place of the invalid argument. If this new value
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
505 is not valid, another error occurs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
506
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
507 Errors signaled with the function `error' cannot be continued.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
508 If you try to continue, the error just happens again.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
509
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
510 * `dot' renamed `point'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
511
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
512 The word `dot' has been replaced with `point' in all
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
513 function and variable names, including:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
514
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
515 point, point-min, point-max,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
516 point-marker, point-min-marker, point-max-marker,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
517 window-point, set-window-point,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
518 point-to-register, register-to-point,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
519 exchange-point-and-mark.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
520
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
521 The old names are still supported, for now.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
522
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
523 * `string-match' records position of end of match.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
524
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
525 After a successful call to `string-match', `(match-end 0)' will
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
526 return the index in the string of the first character after the match.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
527 Also, `match-begin' and `match-end' with nonzero arguments can be
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
528 used to find the indices of beginnings and ends of substrings matched
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
529 by subpatterns surrounded by parentheses.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
530
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
531 * New function `insert-before-markers'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
532
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
533 This function is just like `insert' except in the handling of any
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
534 relocatable markers that are located at the point of insertion.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
535 With `insert', such markers end up pointing before the inserted text.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
536 With `insert-before-markers', they end up pointing after the inserted
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
537 text.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
538
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
539 * New function `copy-alist'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
540
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
541 This function takes one argument, a list, and makes a disjoint copy
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
542 of the alist structure. The list itself is copied, and each element
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
543 that is a cons cell is copied, but the cars and cdrs of elements
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
544 remain shared with the original argument.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
545
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
546 This is what it takes to get two alists disjoint enough that changes
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
547 in one do not change the result of `assq' on the other.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
548
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
549 * New function `copy-keymap'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
550
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
551 This function takes a keymap as argument and returns a new keymap
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
552 containing initially the same bindings. Rebindings in either one of
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
553 them will not alter the bindings in the other.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
554
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
555 * New function `copy-syntax-table'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
556
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
557 This function takes a syntax table as argument and returns a new
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
558 syntax table containing initially the same syntax settings. Changes
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
559 in either one of them will not alter the other.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
560
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
561 * Randomizing the random numbers.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
562
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
563 `(random t)' causes the random number generator's seed to be set
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
564 based on the current time and Emacs's process id.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
565
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
566 * Third argument to `modify-syntax-entry'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
567
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
568 The optional third argument to `modify-syntax-entry', if specified
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
569 should be a syntax table. The modification is made in that syntax table
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
570 rather than in the current syntax table.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
571
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
572 * New function `run-hooks'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
573
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
574 This function takes any number of symbols as arguments.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
575 It processes the symbols in order. For each symbol which
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
576 has a value (as a variable) that is non-nil, the value is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
577 called as a function, with no arguments.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
578
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
579 This is useful in major mode commands.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
580
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
581 * Second arg to `switch-to-buffer'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
582
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
583 If this function is given a non-`nil' second argument, then the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
584 selection being done is not recorded on the selection history.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
585 The buffer's position in the history remains unchanged. This
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
586 feature is used by the view commands, so that the selection history
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
587 after exiting from viewing is the same as it was before.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
588
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
589 * Second arg to `display-buffer' and `pop-to-buffer'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
590
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
591 These two functions both accept an optional second argument which
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
592 defaults to `nil'. If the argument is not `nil', it means that
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
593 another window (not the selected one) must be found or created to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
594 display the specified buffer in, even if it is already shown in
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
595 the selected window.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
596
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
597 This feature is used by `switch-to-buffer-other-window'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
598
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
599 * New variable `completion-ignore-case'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
600
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
601 If this variable is non-`nil', completion allows strings
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
602 in different cases to be considered matching. The global value
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
603 is `nil'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
604
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
605 This variable exists for the sake of commands that are completing
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
606 an argument in which case is not significant. It is possible
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
607 to change the value globally, but you might not like the consequences
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
608 in the many situations (buffer names, command names, file names)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
609 where case makes a difference.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
610
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
611 * Major modes related to Text mode call text-mode-hook, then their own hooks.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
612
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
613 For example, turning on Outline mode first calls the value of
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
614 `text-mode-hook' as a function, if it exists and is non-`nil',
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
615 and then does likewise for the variable `outline-mode-hook'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
616
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
617 * Defining new command line switches.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
618
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
619 You can define a new command line switch in your .emacs file
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
620 by putting elements on the value of `command-switch-alist'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
621 Each element of this list should look like
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
622 (SWITCHSTRING . FUNCTION)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
623 where SWITCHSTRING is a string containing the switch to be
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
624 defined, such as "-foo", and FUNCTION is a function to be called
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
625 if such an argument is found in the command line. FUNCTION
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
626 receives the command line argument, a string, as its argument.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
627
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
628 To implement a switch that uses up one or more following arguments,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
629 use the fact that the remaining command line arguments are kept
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
630 as a list in the variable `command-line-args'. FUNCTION can
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
631 examine this variable, and do
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
632 (setq command-line-args (cdr command-line-args)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
633 to "use up" an argument.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
634
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
635 * New variable `load-in-progress'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
636
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
637 This variable is non-`nil' when a file of Lisp code is being read
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
638 and executed by `load'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
639
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
640 * New variable `print-length'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
641
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
642 The value of this variable is normally `nil'. It may instead be
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
643 a number; in that case, when a list is printed by `prin1' or
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
644 `princ' only that many initial elements are printed; the rest are
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
645 replaced by `...'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
646
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
647 * New variable `find-file-not-found-hook'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
648
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
649 If `find-file' or any of its variants is used on a nonexistent file,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
650 the value of `find-file-not-found-hook' is called (if it is not `nil')
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
651 with no arguments, after creating an empty buffer. The file's name
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
652 can be found as the value of `buffer-file-name'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
653
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
654 * Processes without buffers.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
655
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
656 In the function `start-process', you can now specify `nil' as
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
657 the process's buffer. You can also set a process's buffer to `nil'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
658 using `set-process-buffer'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
659
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
660 The reason you might want to do this is to prevent the process
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
661 from being killed because any particular buffer is killed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
662 When a process has a buffer, killing that buffer kills the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
663 process too.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
664
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
665 When a process has no buffer, its output is lost unless it has a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
666 filter, and no indication of its being stopped or killed is given
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
667 unless it has a sentinel.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
668
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
669 * New function `user-variable-p'. `v' arg prompting changed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
670
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
671 This function takes a symbol as argument and returns `t' if
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
672 the symbol is defined as a user option variable. This means
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
673 that it has a `variable-documentation' property whose value is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
674 a string starting with `*'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
675
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
676 Code `v' in an interactive arg reading string now accepts
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
677 user variables only, and completion is limited to the space of
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
678 user variables.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
679
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
680 The function `read-variable' also now accepts and completes
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
681 over user variables only.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
682
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
683 * CBREAK mode input is the default in Unix 4.3 bsd.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
684
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
685 In Berkeley 4.3 Unix, there are sufficient features for Emacs to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
686 work fully correctly using CBREAK mode and not using SIGIO.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
687 Therefore, this mode is the default when running under 4.3.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
688 This mode corresponds to `nil' as the first argument to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
689 `set-input-mode'. You can still select either mode by calling
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
690 that function.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
691
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
692 * Information on memory usage.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
693
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
694 The new variable `data-bytes-used' contains the number
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
695 of bytes of impure space allocated in Emacs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
696 `data-bytes-free' contains the number of additional bytes
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
697 Emacs could allocate. Note that space formerly allocated
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
698 and freed again still counts as `used', since it is still
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
699 in Emacs's address space.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
700
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
701 * No limit on size of output from `format'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
702
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
703 The string output from `format' used to be truncated to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
704 100 characters in length. Now it can have any length.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
705
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
706 * New errors `void-variable' and `void-function' replace `void-symbol'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
707
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
708 This change makes it possible to have error messages that
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
709 clearly distinguish undefined variables from undefined functions.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
710 It also allows `condition-case' to handle one case without the other.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
711
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
712 * `replace-match' handling of `\'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
713
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
714 In `replace-match', when the replacement is not literal,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
715 `\' in the replacement string is always treated as an
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
716 escape marker. The only two special `\' constructs
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
717 are `\&' and `\DIGIT', so `\' followed by anything other than
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
718 `&' or a digit has no effect. `\\' is necessary to include
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
719 a `\' in the replacement text.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
720
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
721 This level of escaping is comparable with what goes on in
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
722 a regular expression. It is over and above the level of `\'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
723 escaping that goes on when strings are read in Lisp syntax.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
724
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
725 * New error `invalid-regexp'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
726
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
727 A regexp search signals this type of error if the argument does
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
728 not meet the rules for regexp syntax.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
729
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
730 * `kill-emacs' with argument.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
731
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
732 If the argument is a number, it is returned as the exit status code
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
733 of the Emacs process. If the argument is a string, its contents
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
734 are stuffed as pending terminal input, to be read by another program
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
735 after Emacs is dead.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
736
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
737 * New fifth argument to `subst-char-in-region'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
738
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
739 This argument is optional and defaults to `nil'. If it is not `nil',
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
740 then the substitutions made by this function are not recorded
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
741 in the Undo mechanism.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
742
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
743 This feature should be used with great care. It is now used
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
744 by Outline mode to make lines visible or invisible.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
745
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
746 * ` *Backtrace*' buffer renamed to `*Backtrace*'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
747
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
748 As a result, you can now reselect this buffer easily if you switch to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
749 another while in the debugger.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
750
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
751 Exiting from the debugger kills the `*Backtrace*' buffer, so you will
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
752 not try to give commands in it when no longer really in the debugger.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
753
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
754 * New function `switch-to-buffer-other-window'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
755
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
756 This is the new primitive to select a specified buffer (the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
757 argument) in another window. It is not quite the same as
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
758 `pop-to-buffer', because it is guaranteed to create another
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
759 window (assuming there is room on the screen) so that it can
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
760 leave the current window's old buffer displayed as well.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
761
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
762 All functions to select a buffer in another window should
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
763 do so by calling this new function.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
764
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
765 * New variable `minibuffer-help-form'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
766
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
767 At entry to the minibuffer, the variable `help-form' is bound
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
768 to the value of `minibuffer-help-form'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
769
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
770 `help-form' is expected at all times to contain either `nil'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
771 or an expression to be executed when C-h is typed (overriding
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
772 teh definition of C-h as a command). `minibuffer-help-form'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
773 can be used to provide a different default way of handling
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
774 C-h while in the minibuffer.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
775
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
776 * New \{...} documentation construct.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
777
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
778 It is now possible to set up the documentation string for
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
779 a major mode in such a way that it always describes the contents
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
780 of the major mode's keymap, as it has been customized.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
781 To do this, include in the documentation string the characters `\{'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
782 followed by the name of the variable containing the keymap,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
783 terminated with `}'. (The `\' at the beginning probably needs to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
784 be quoted with a second `\', to include it in the doc string.)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
785 This construct is normally used on a line by itself, with no blank
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
786 lines before or after.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
787
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
788 For example, the documentation string for the function `c-mode' contains
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
789 ...
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
790 Paragraphs are separated by blank lines only.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
791 Delete converts tabs to spaces as it moves back.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
792 \\{c-mode-map}
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
793 Variables controlling indentation style:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
794 ...
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
795
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
796 * New character syntax class "punctuation".
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
797
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
798 Punctuation characters behave like whitespace in word and
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
799 list parsing, but can be distinguished in regexps and in the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
800 function `char-syntax'. Punctuation syntax is represented by
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
801 a period in `modify-syntax-entry'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
802
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
803 * `auto-mode-alist' no longer needs entries for backup-file names,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
804
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
805 Backup suffixes of all kinds are now stripped from a file's name
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
806 before searching `auto-mode-alist'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
807
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
808 Changes in Emacs 16
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
809
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
810 * No special code for Ambassadors, VT-100's and Concept-100's.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
811
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
812 Emacs now controls these terminals based on the termcap entry, like
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
813 all other terminals. Formerly it did not refer to the termcap entries
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
814 for those terminal types, and often the termcap entries for those
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
815 terminals are wrong or inadequate. If you experience worse behavior
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
816 on these terminals than in version 15, you can probably correct it by
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
817 fixing up the termcap entry. See ./TERMS for more info.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
818
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
819 See ./TERMS in any case if you find that some terminal does not work
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
820 right with Emacs now.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
821
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
822 * Minibuffer default completion character is TAB (and not ESC).
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
823
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
824 So that ESC can be used in minibuffer for more useful prefix commands.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
825
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
826 * C-z suspends Emacs in all modes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
827
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
828 Formerly, C-z was redefined for other purposes by certain modes,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
829 such as Buffer Menu mode. Now other keys are used for those purposes,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
830 to keep the meaning of C-z uniform.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
831
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
832 * C-x ESC (repeat-complex-command) allows editing the command it repeats.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
833
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
834 Instead of asking for confirmation to re-execute a command from the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
835 command history, the command is placed, in its Lisp form, into the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
836 minibuffer for editing. You can confirm by typing RETURN, change some
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
837 arguments and then confirm, or abort with C-g.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
838
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
839 * Incremental search does less redisplay on slow terminals.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
840
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
841 If the terminal baud rate is <= the value of `isearch-slow-speed',
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
842 incremental searching outside the text on the screen creates
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
843 a single-line window and uses that to display the line on which
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
844 a match has been found. Exiting or quitting the search restores
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
845 the previous window configuration and redisplays the window you
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
846 were searching in.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
847
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
848 The initial value of `isearch-slow-speed' is 1200.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
849
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
850 This feature is courtesy of crl@purdue.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
851
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
852 * Recursive minibuffers not allowed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
853
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
854 If the minibuffer window is selected, most commands that would
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
855 use the minibuffer gets an error instead. (Specific commands
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
856 may override this feature and therefore still be allowed.)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
857
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
858 Strictly speaking, recursive entry to the minibuffer is still
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
859 possible, because you can switch to another window after
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
860 entering the minibuffer, and then minibuffer-using commands
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
861 are allowed. This is still allowed by a deliberate decision:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
862 if you know enough to switch windows while in the minibuffer,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
863 you can probably understand recursive minibuffers.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
864
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
865 This may be overridden by binding the variable
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
866 `enable-recursive-minibuffers' to t.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
867
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
868 * New major mode Emacs-Lisp mode, for editing Lisp code to run in Emacs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
869
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
870 The mode in which emacs lisp files is edited is now called emacs-lisp-mode
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
871 and is distinct from lisp-mode. The latter is intended for use with
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
872 lisps external to emacs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
873
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
874 The hook which is funcalled (if non-nil) on entry to elisp-mode is now
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
875 called emacs-lisp-mode-hook. A consequence of this changes is that
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
876 .emacs init files which set the value of lisp-mode-hook may need to be
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
877 changed to use the new names.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
878
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
879 * Correct matching of parentheses is checked on insertion.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
880
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
881 When you insert a close-paren, the matching open-paren
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
882 is checked for validity. The close paren must be the kind
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
883 of close-paren that the open-paren says it should match.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
884 Otherwise, a warning message is printed. close-paren immediately
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
885 preceded by quoting backslash syntax character is not matched.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
886
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
887 This feature was originally written by shane@mit-ajax.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
888
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
889 * M-x list-command-history
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
890 * M-x command-history-mode
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
891 * M-x electric-command-history
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
892
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
893 `list-command-history' displays forms from the command history subject
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
894 to user controlled filtering and limit on number of forms. It leaves
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
895 the buffer in `command-history-mode'. M-x command-history-mode
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
896 recomputes the command history each time it is invoked via
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
897 `list-command-history'. It is like Emacs-Lisp mode except that characters
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
898 don't insert themselves and provision is made for re-evaluating an
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
899 expression from the list. `electric-command-history' pops up a type
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
900 out window with the command history displayed. If the very next
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
901 character is Space, the window goes away and the previous window
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
902 configuration is restored. Otherwise you can move around in the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
903 history and select an expression for evaluation *inside* the buffer
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
904 which invoked `electric-command-history'. The original window
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
905 configuration is restored on exit unless the command selected changes
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
906 it.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
907
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
908 * M-x edit-picture
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
909
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
910 Enters a temporary major mode (the previous major mode is remembered
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
911 and can is restored on exit) designed for editing pictures and tables.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
912 Printing characters replace rather than insert themselves with motion
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
913 afterwards that is user controlled (you can specify any of the 8
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
914 compass directions). Special commands for movement are provided.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
915 Special commands for hacking tabs and tab stops are provided. Special
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
916 commands for killing rectangles and overlaying them are provided. See
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
917 the documentation of function edit-picture for more details.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
918
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
919 Calls value of `edit-picture-hook' on entry if non-nil.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
920
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
921 * Stupid C-s/C-q `flow control' supported.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
922
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
923 Do (set-input-mode nil t) to tell Emacs to use CBREAK mode and interpret
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
924 C-s and C-q as flow control commands. (set-input-mode t nil) switches
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
925 back to interrupt-driven input. (set-input-mode nil nil) uses CBREAK
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
926 mode but no `flow control'; this may make it easier to run Emacs under
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
927 certain debuggers that have trouble dealing with inferiors that use SIGIO.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
928
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
929 CBREAK mode has certain inherent disadvantages, which are why it is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
930 not the default:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
931
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
932 Meta-keys are ignored; CBREAK mode discards the 8th bit of
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
933 input characters.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
934
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
935 Control-G as keyboard input discards buffered output,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
936 and therefore can cause incorrect screen updating.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
937
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
938 The use of `flow control' has its own additional disadvantage: the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
939 characters C-s and C-q are not available as editing commands. You can
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
940 partially compensate for this by setting up a keyboard-translate-table
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
941 (see file ONEWS) that maps two other characters (such as C-^ and C-\) into
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
942 C-s and C-q. Of course, C-^ and C-\ are commonly used as escape
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
943 characters in remote-terminal programs. You really can't win except
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
944 by getting rid of this sort of `flow control.'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
945
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
946 The configuration switch CBREAK_INPUT is now eliminated.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
947 INTERRUPT_INPUT exists only to specify the default mode of operation;
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
948 #define it to make interrupt-driven input the default.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
949
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
950 * Completion of directory names provides a slash.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
951
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
952 If file name completion yields the name of a directory,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
953 a slash is appended to it.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
954
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
955 * Undo can clear modified-flag.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
956
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
957 If you undo changes in a buffer back to a state in which the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
958 buffer was not considered "modified", then it is labelled as
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
959 once again "unmodified".
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
960
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
961 * M-x run-lisp.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
962
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
963 This command creates an inferior Lisp process whose input and output
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
964 appear in the Emacs buffer named `*lisp*'. That buffer uses a major mode
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
965 called inferior-lisp-mode, which has many of the commands of lisp-mode
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
966 and those of shell-mode. Calls the value of shell-mode-hook and
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
967 lisp-mode-hook, in that order, if non-nil.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
968
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
969 Meanwhile, in lisp-mode, the command C-M-x is defined to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
970 send the current defun as input to the `*lisp*' subprocess.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
971
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
972 * Mode line says `Narrow' when buffer is clipped.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
973
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
974 If a buffer has a clipping restriction (made by `narrow-to-region')
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
975 then its mode line contains the word `Narrow' after the major and
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
976 minor modes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
977
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
978 * Mode line says `Abbrev' when abbrev mode is on.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
979
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
980 * add-change-log-entry takes prefix argument
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
981
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
982 Giving a prefix argument makes it prompt for login name, full name,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
983 and site name, with defaults. Otherwise the defaults are used
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
984 with no confirmation.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
985
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
986 * M-x view-buffer and M-x view-file
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
987
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
988 view-buffer selects the named buffer, view-file finds the named file; the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
989 resulting buffer is placed into view-mode (a recursive edit). The normal
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
990 emacs commands are not available. Instead a set of special commands is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
991 provided which faclitate moving around in the buffer, searching and
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
992 scrolling by screenfuls. Exiting view-mode returns to the buffer in which
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
993 the view-file or view-buffer command was given.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
994 Type ? or h when viewing for a complete list of view commands.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
995 Each calls value of `view-hook' if non-nil on entry.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
996
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
997 written by shane@mit-ajax.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
998
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
999 * New key commands in dired.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1000
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1001 `v' views (like more) the file on the current line.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1002 `#' marks auto-save files for deletion.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1003 `~' marks backup files for deletion.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1004 `r' renames a file and updates the directory listing if the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1005 file is renamed to same directory.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1006 `c' copies a file and updates the directory listing if the file is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1007 copied to the same directory.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1008
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1009 * New function `electric-buffer-list'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1010
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1011 This pops up a buffer describing the set of emacs buffers.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1012 Immediately typing space makes the buffer list go away and returns
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1013 to the buffer and window which were previously selected.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1014
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1015 Otherwise one may use the c-p and c-n commands to move around in the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1016 buffer-list buffer and type Space or C-z to select the buffer on the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1017 cursor's line. There are a number of other commands which are the same
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1018 as those of buffer-menu-mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1019
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1020 This is a useful thing to bind to c-x c-b in your `.emacs' file if the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1021 rather non-standard `electric' behaviour of the buffer list suits your taste.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1022 Type C-h after invoking electric-buffer-list for more information.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1023
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1024 Calls value of `electric-buffer-menu-mode-hook' if non-nil on entry.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1025 Calls value of `after-electric-buffer-menu' on exit (select) if non-nil.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1026
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1027 Changes in version 16 for mail reading and sending
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1028
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1029 * sendmail prefix character is C-c (and not C-z). New command C-c w.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1030
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1031 For instance C-c C-c (or C-c C-s) sends mail now rather than C-z C-z.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1032 C-c w inserts your `signature' (contents of ~/.signature) at the end
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1033 of mail.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1034
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1035 * New feature in C-c y command in sending mail.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1036
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1037 C-c y is the command to insert the message being replied to.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1038 Normally it deletes most header fields and indents everything
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1039 by three spaces.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1040
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1041 Now, C-c y does not delete header fields or indent.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1042 C-c y with any other numeric argument does delete most header
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1043 fields, but indents by the amount specified in the argument.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1044
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1045 * C-r command in Rmail edits current message.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1046
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1047 It does this by switching to a different major mode
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1048 which is nearly the same as Text mode. The only difference
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1049 between it and text mode are the two command C-c and C-].
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1050 C-c is defined to switch back to Rmail mode, and C-]
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1051 is defined to restore the original contents of the message
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1052 and then switch back to Rmail mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1053
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1054 C-c and C-] are the only ways "back into Rmail", but you
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1055 can switch to other buffers and edit them as usual.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1056 C-r in Rmail changes only the handling of the Rmail buffer.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1057
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1058 * Rmail command `t' toggles header display.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1059
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1060 Normally Rmail reformats messages to hide most header fields.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1061 `t' switches to display of all the header fields of the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1062 current message, as long as it remains current.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1063 Another `t' switches back to the usual display.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1064
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1065 * Rmail command '>' goes to the last message.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1066
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1067 * Rmail commands `a' and `k' set message attributes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1068 `a' adds an attribute and `k' removes one. You specify
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1069 the attrbute by name. You can specify either a built-in
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1070 flag such as "deleted" or "filed", or a user-defined keyword
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1071 (anything not recognized as built-in).
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1072
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1073 * Rmail commands `l' and `L' summarize by attributes.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1074
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1075 These commands create a summary with one line per message,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1076 like `h', but they list only some of the messages. You
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1077 specify which attribute (for `l') or attributes (for `L')
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1078 the messages should have.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1079
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1080 * Rmail can parse mmdf mail files.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1081
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1082 * Interface to MH mail system.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1083
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1084 mh-e is a front end for GNU emacs and the MH mail system. It
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1085 provides a friendly and convient interface to the MH commands.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1086
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1087 To read mail, invoke mh-rmail. This will inc new mail and display the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1088 scan listing on the screen. To see a summary of the mh-e commands,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1089 type ?. Help is available through the usual facilities.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1090
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1091 To send mail, invoke mh-smail.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1092
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1093 mh-e requires a copy of MH.5 that has been compiled with the MHE
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1094 compiler switch.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1095
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1096 From larus@berkeley.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1097
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1098 New hooks and parameters in version 16
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1099
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1100 * New variable `blink-matching-paren-distance'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1101
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1102 This is the maximum number of characters to search for
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1103 an open-paren to match an inserted close-paren.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1104 The matching open-paren is shown and checked if it is found
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1105 within this distance.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1106
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1107 `nil' means search all the way to the beginning of the buffer.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1108 In this case, a warning message is printed if no matching
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1109 open-paren is found.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1110
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1111 This feature was originally written by shane@mit-ajax.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1112
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1113 * New variable `find-file-run-dired'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1114
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1115 If nil, find-file will report an error if an attempt to visit a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1116 directory is detected; otherwise, it runs dired on that directory.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1117 The default is t.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1118
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1119 * Variable `dired-listing-switches' holds switches given to `ls' by dired.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1120
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1121 The value should be a string containing `-' followed by letters.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1122 The letter `l' had better be included and letter 'F' had better be excluded!
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1123 The default is "-al".
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1124
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1125 This feature was originally written by shane@mit-ajax.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1126
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1127 * New variable `display-time-day-and-date'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1128
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1129 If this variable is set non-`nil', the function M-x display-time
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1130 displays the day and date, as well as the time.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1131
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1132 * New parameter `c-continued-statement-indent'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1133
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1134 This controls the extra indentation given to a line
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1135 that continues a C statement started on the previous line.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1136 By default it is 2, which is why you would see
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1137
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1138 if (foo)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1139 bar ();
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1140
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1141
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1142 * Changed meaning of `c-indent-level'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1143
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1144 The value of `c-brace-offset' used to be
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1145 subtracted from the value of `c-indent-level' whenever
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1146 that value was used. Now it is not.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1147
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1148 As a result, `c-indent-level' is now the offset of
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1149 statements within a block, relative to the line containing
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1150 the open-brace that starts the block.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1151
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1152 * turn-on-auto-fill is useful value for text-mode-hook.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1153
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1154 (setq text-mode-hook 'turn-on-auto-fill)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1155 is all you have to do to make sure Auto Fill mode is turned
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1156 on whenever you enter Text mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1157
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1158 * Parameter explicit-shell-file-name for M-x shell.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1159
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1160 This variable, if non-nil, specifies the file name to use
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1161 for the shell to run if you do M-x shell.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1162
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1163 Changes in version 16 affecting Lisp programming:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1164
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1165 * Documentation strings adapt to customization.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1166
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1167 Often the documentation string for a command wants to mention
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1168 another command. Simply stating the other command as a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1169 character sequence has a disadvantage: if the user customizes
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1170 Emacs by moving that function to a different command, the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1171 cross reference in the documentation becomes wrong.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1172
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1173 A new feature allows you to write the documentation string
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1174 using a function name, and the command to run that function
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1175 is looked up when the documentation is printed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1176
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1177 If a documentation string contains `\[' (two characters) then
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1178 the following text, up to the next `]', is taken as a function name.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1179 Instead of printing that function name, the command that runs it is printed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1180 (M-x is used to construct a command if no shorter one exists.)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1181
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1182 For example, instead of putting `C-n' in a documentation string
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1183 to refer to the C-n command, put in `\[next-line]'. (In practice
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1184 you will need to quote the backslash with another backslash,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1185 due to the syntax for strings in Lisp and C.)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1186
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1187 To include the literal characters `\[' in a documentation string,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1188 precede them with `\='. To include the characters `\=', precede
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1189 them with `\='. For example, "\\=\\= is the way to quote \\=\\["
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1190 will come out as `\= is the way to quote \['.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1191
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1192 The new function `substitute-command-keys' takes a string possibly
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1193 contaning \[...] constructs and replaces those constructs with
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1194 the key sequences they currently stand for.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1195
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1196 * Primitives `find-line-comment' and `find-line-comment-body' flushed.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1197
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1198 Search for the value of `comment-start-skip' if you want to find
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1199 whether and where a line has a comment.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1200
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1201 * New function `auto-save-file-name-p'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1202
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1203 Should return non-`nil' iff given a string which is the name of an
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1204 auto-save file (sans directory name). If you redefine
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1205 `make-auto-save-file-name', you should redefine this accordingly. By
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1206 default, this function returns `t' for filenames beginning with
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1207 character `#'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1208
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1209 * The value of `exec-directory' now ends in a slash.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1210
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1211 This is to be compatible with most directory names in GNU Emacs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1212
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1213 * Dribble files and termscript files.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1214
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1215 (open-dribble-file FILE) opens a dribble file named FILE. When a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1216 dribble file is open, every character Emacs reads from the terminal is
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1217 written to the dribble file.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1218
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1219 (open-termscript FILE) opens a termscript file named FILE. When a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1220 termscript file is open, all characters sent to the terminal by Emacs
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1221 are also written in the termscript file.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1222
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1223 The two of these together are very useful for debugging Emacs problems
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1224 in redisplay.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1225
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1226 * Upper case command characters by default are same as lower case.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1227
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1228 If a character in a command is an upper case letter, and is not defined,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1229 Emacs uses the definition of the corresponding lower case letter.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1230 For example, if C-x U is not directly undefined, it is treated as
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1231 a synonym for C-x u (undo).
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1232
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1233 * Undefined function errors versus undefined variable errors.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1234
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1235 Void-symbol errors now say "boundp" if the symbol's value was void
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1236 or "fboundp" if the function definition was void.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1237
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1238 * New function `bury-buffer'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1239
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1240 The new function `bury-buffer' takes one argument, a buffer object,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1241 and puts that buffer at the end of the internal list of buffers.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1242 So it is the least preferred candidate for use as the default value
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1243 of C-x b, or for other-buffer to return.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1244
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1245 * Already-displayed buffers have low priority for display.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1246
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1247 When a buffer is chosen automatically for display, or to be the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1248 default in C-x b, buffers already displayed in windows have lower
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1249 priority than buffers not currently visible.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1250
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1251 * `set-window-start' accepts a third argument NOFORCE.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1252
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1253 This argument, if non-nil, prevents the window's force_start flag
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1254 from being set. Setting the force_start flag causes the next
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1255 redisplay to insist on starting display at the specified starting
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1256 point, even if dot must be moved to get it onto the screen.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1257
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1258 * New function `send-string-to-terminal'.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1259
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1260 This function takes one argument, a string, and outputs its contents
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1261 to the terminal exactly as specified: control characters, escape
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1262 sequences, and all.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1263
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1264 * Keypad put in command mode.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1265
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1266 The terminal's keypad is now put into command mode, as opposed to
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1267 numeric mode, while Emacs is running. This is done by means of the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1268 termcap `ks' and `ke' strings.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1269
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1270 * New function `generate-new-buffer'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1271
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1272 This function takes a string as an argument NAME and looks for a
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1273 creates and returns a buffer called NAME if one did not already exist.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1274 Otherwise, it successively tries appending suffixes of the form "<1>",
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1275 "<2>" etc to NAME until it creates a string which does not name an
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1276 existing buffer. A new buffer with that name is the created and returned.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1277
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1278 * New function `prin1-to-string'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1279 This function takes one argument, a lisp object, and returns a string
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1280 containing that object's printed representation, such as `prin1'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1281 would output.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1282
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1283 * New function `read-from-minibuffer'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1284 Lets you supply a prompt, initial-contents, a keymap, and specify
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1285 whether the result should be interpreted as a string or a lisp object.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1286
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1287 Old functions `read-minibuffer', `eval-minibuffer', `read-string' all
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1288 take second optional string argument which is initial contents of
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1289 minibuffer.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1290
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1291 * minibuffer variable names changed (names of keymaps)
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1292
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1293 minibuf-local-map -> minibuffer-local-map
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1294 minibuf-local-ns-map -> minibuffer-local-ns-map
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1295 minibuf-local-completion-map -> minibuffer-local-completion-map
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1296 minibuf-local-must-match-map -> minibuffer-local-must-match-map
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1297
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1298 Changes in version 16 affecting configuring and building Emacs
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1299
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1300 * Configuration switch VT100_INVERSE eliminated.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1301
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1302 You can control the use of inverse video on any terminal by setting
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1303 the variable `inverse-video', or by changing the termcap entry. If
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1304 you like, set `inverse-video' in your `.emacs' file based on
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1305 examination of (getenv "TERM").
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1306
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1307 * New switch `-batch' makes Emacs run noninteractively.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1308
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1309 If the switch `-batch' is used, Emacs treats its standard output
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1310 and input like ordinary files (even if they are a terminal).
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1311 It does not display buffers or windows; the only output to standard output
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1312 is what would appear as messages in the echo area, and each
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1313 message is followed by a newline.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1314
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1315 The terminal modes are not changed, so that C-z and C-c retain
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1316 their normal Unix meanings. Emacs does still read commands from
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1317 the terminal, but the idea of `-batch' is that you use it with
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1318 other command line arguments that tell Emacs a complete task to perform,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1319 including killing itself. `-kill' used as the last argument is a good
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1320 way to accomplish this.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1321
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1322 The Lisp variable `noninteractive' is now defined, to be `nil'
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1323 except when `-batch' has been specified.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1324
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1325 * Emacs can be built with output redirected to a file.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1326
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1327 This is because -batch (see above) is now used in building Emacs.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1328
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1329 For older news, see the file NEWS.1.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1330
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1331 ----------------------------------------------------------------------
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1332 Copyright information:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1333
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1334 Copyright (C) 1985 Richard M. Stallman
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1335
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1336 Permission is granted to anyone to make or distribute verbatim copies
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1337 of this document as received, in any medium, provided that the
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1338 copyright notice and this permission notice are preserved,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1339 thus giving the recipient permission to redistribute in turn.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1340
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1341 Permission is granted to distribute modified versions
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1342 of this document, or of portions of it,
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1343 under the above conditions, provided also that they
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1344 carry prominent notices stating who last changed them.
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1345
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1346 Local variables:
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1347 mode: text
6c3081f54e62 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1348 end: