annotate etc/NEWS.1-17 @ 83537:c19f348befac

Fix F10 behaviour. (Reported by Bernard Adrian.) * src/xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from Fmenu_bar_open. (syms_of_xmenu): Update defsubr. * lisp/menu-bar.el (menu-bar-open): New function. Bind it to f10. * lisp/term/x-win.el: Don't bind f10. * lisp/tmm.el: Remove autoload binding for f10. * lisp/ldefs-boot.el: Regenerate. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-577
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 29 Jul 2006 20:57:26 +0000
parents 25fa0038a52d
children 0259a1711394
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
71203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1 GNU Emacs NEWS -- history of user-visible changes. 26-Mar-1986
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2 Copyright (C) 1985, 1986, 2006 Richard M. Stallman.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3 See the end for copying conditions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
5 This file is about changes in emacs versions 1 through 17.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
6
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
7
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
8
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
9 Changes in Emacs 17
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
10
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
11 * Frustrated?
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
12
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
13 Try M-x doctor.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
14
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
15 * Bored?
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
16
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
17 Try M-x hanoi.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
18
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
19 * Brain-damaged?
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
20
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
21 Try M-x yow.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
22
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
23 * Sun3, Tahoe, Apollo, HP9000s300, Celerity, NCR Tower 32,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
24 Sequent, Stride, Encore, Plexus and AT&T 7300 machines supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
25
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
26 The Tahoe, Sun3, Sequent and Celerity use 4.2. In regard to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
27 Apollo, see the file APOLLO in this directory. NCR Tower32,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
28 HP9000s300, Stride and Nu run forms of System V. System V rel 2 also
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
29 works on Vaxes now. See etc/MACHINES.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
30
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
31 * System V Unix supported, including subprocesses.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
32
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
33 It should be possible now to bring up Emacs on a machine running
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
34 mere unameliorated system V Unix with no major work; just possible bug
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
35 fixes. But you can expect to find a handful of those on any machine
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
36 that Emacs has not been run on before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
37
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
38 * Berkeley 4.1 Unix supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
39
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
40 See etc/MACHINES.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
41
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
42 * Portable `alloca' provided.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
43
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
44 Emacs can now run on machines that do not and cannot support the library
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
45 subroutine `alloca' in the canonical fashion, using an `alloca' emulation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
46 written in C.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
47
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
48 * On-line manual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
49
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
50 Info now contains an Emacs manual, with essentially the same text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
51 as in the printed manual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
52
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
53 The manual can now be printed with a standard TeX.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
54
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
55 Nicely typeset and printed copies of the manual are available
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
56 from the Free Software Foundation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
57
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
58 * Backup file version numbers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
59
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
60 Emacs now supports version numbers in backup files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
61
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
62 The first time you save a particular file in one editing session,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
63 the old file is copied or renamed to serve as a backup file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
64 In the past, the name for the backup file was made by appending `~'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
65 to the end of the original file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
66
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
67 Now the backup file name can instead be made by appending ".~NN~" to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
68 the original file name, where NN stands for a numeric version. Each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
69 time this is done, the new version number is one higher than the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
70 highest previously used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
71
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
72 Thus, the active, current file does not have a version number.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
73 Only the backups have them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
74
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
75 This feature is controlled by the variable `version-control'. If it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
76 is `nil', as normally, then numbered backups are made only for files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
77 that already have numbered backups. Backup names with just `~' are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
78 used for files that have no numbered backups.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
79
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
80 If `version-control' is `never', then the backup file's name is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
81 made with just `~' in any case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
82
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
83 If `version-control' is not `nil' or `never', numbered backups are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
84 made unconditionally.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
85
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
86 To prevent unlimited consumption of disk space, Emacs can delete
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
87 old backup versions automatically. Generally Emacs keeps the first
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
88 few backups and the latest few backups, deleting any in between.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
89 This happens every time a new backup is made. The two variables that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
90 control the deletion are `kept-old-versions' and `kept-new-versions'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
91 Their values are, respectively, the number of oldest backups to keep
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
92 and the number of newest ones to keep, each time a new backup is made.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
93 The value of `kept-new-versions' includes the backup just created.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
94 By default, both values are 2.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
95
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
96 If `trim-versions-without-asking' is non-`nil', the excess middle versions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
97 are deleted without a murmur. If it is `nil', the default, then you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
98 are asked whether the excess middle versions should really be deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
99
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
100 Dired has a new command `.' which marks for deletion all but the latest
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
101 and oldest few of every numeric series of backups. `kept-old-versions'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
102 controls the number of oldest versions to keep, and `dired-kept-versions'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
103 controls the number of latest versions to keep. A numeric argument to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
104 the `.' command, if positive, specifies the number of latest versions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
105 to keep, overriding `dired-kept-versions'. A negative argument specifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
106 the number of oldest versions to keep, using minus the argument to override
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
107 `kept-old-versions'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
108
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
109 * Immediate conflict detection.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
110
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
111 Emacs now locks the files it is modifying, so that if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
112 you start to modify within Emacs a file that is being
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
113 modified in another Emacs, you get an immediate warning.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
114
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
115 The warning gives you three choices:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
116 1. Give up, and do not make any changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
117 2. Make changes anyway at your own risk.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
118 3. Make changes anyway, and record yourself as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
119 the person locking the file (instead of whoever
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
120 was previously recorded.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
121
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
122 Just visiting a file does not lock it. It is locked
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
123 when you try to change the buffer that is visiting the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
124 Saving the file unlocks it until you make another change.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
125
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
126 Locking is done by writing a lock file in a special designated
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
127 directory. If such a directory is not provided and told to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
128 Emacs as part of configuring it for your machine, the lock feature
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
129 is turned off.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
131 * M-x recover-file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
132
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
133 This command is used to get a file back from an auto-save
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
134 (after a system crash, for example). It takes a file name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
135 as argument and visits that file, but gets the data from the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
136 file's last auto save rather than from the file itself.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
137
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
138 * M-x normal-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
139
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
140 This command resets the current buffer's major mode and local
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
141 variables to be as specified by the visit filename, the -*- line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
142 and/or the Local Variables: block at the end of the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
143 It is the same thing normally done when a file is first visited.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
144
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
145 * Echo area messages disappear shortly if minibuffer is in use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
147 Any message in the echo area disappears after 2 seconds
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
148 if the minibuffer is active. This allows the minibuffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
149 to become visible again.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
150
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
151 * C-z on System V runs a subshell.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
152
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
153 On systems which do not allow programs to be suspended, the C-z command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
154 forks a subshell that talks directly to the terminal, and then waits
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
155 for the subshell to exit. This gets almost the effect of suspending
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
156 in that you can run other programs and then return to Emacs. However,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
157 you cannot log out from the subshell.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
158
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
159 * C-c is always a prefix character.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
160
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
161 Also, subcommands of C-c which are letters are always
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
162 reserved for the user. No standard Emacs major mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
163 defines any of them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
164
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
165 * Picture mode C-c commands changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
166
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
167 The old C-c k command is now C-c C-w.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
168 The old C-c y command is now C-c C-x.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
169
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
170 * Shell mode commands changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
171
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
172 All the special commands of Shell mode are now moved onto
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
173 the C-c prefix. Most are not changed aside from that.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
174 Thus, the old Shell mode C-c command (kill current job)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
175 is now C-c C-c; the old C-z (suspend current job) is now C-c C-z,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
176 etc.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
177
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
178 The old C-x commands are now C-c commands. C-x C-k (kill output)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
179 is now C-c C-o, and C-x C-v (show output) is now C-c C-r.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
180
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
181 The old M-= (copy previous input) command is now C-c C-y.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
182
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
183 * Shell mode recognizes aliases for `pushd', `popd' and `cd'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
184
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
185 Shell mode now uses the variable `shell-pushd-regexp' as a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
186 regular expression to recognize any command name that is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
187 equivalent to a `pushd' command. By default it is set up
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
188 to recognize just `pushd' itself. If you use aliases for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
189 `pushd', change the regexp to recognize them as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
190
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
191 There are also `shell-popd-regexp' to recognize commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
192 with the effect of a `popd', and `shell-cd-regexp' to recognize
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
193 commands with the effect of a `cd'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
194
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
195 * "Exit" command in certain modes now C-c C-c.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
196
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
197 These include electric buffer menu mode, electric command history
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
198 mode, Info node edit mode, and Rmail edit mode. In all these
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
199 modes, the command to exit used to be just C-c.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
200
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
201 * Outline mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
202
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
203 Lines that are not heading lines are now called "body" lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
204 The command `hide-text' is renamed to `hide-body'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
205 The key M-H is renamed to C-c C-h.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
206 The key M-S is renamed to C-c C-s.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
207 The key M-s is renamed to C-c C-i.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
208
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
209 Changes of line visibility are no longer undoable. As a result,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
210 they no longer use up undo memory and no longer interfere with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
211 undoing earlier commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
212
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
213 * Rmail changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
214
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
215 The s and q commands now both expunge deleted messages before saving;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
216 use C-x C-s to save without expunging.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
217
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
218 The u command now undeletes the current message if it is deleted;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
219 otherwise, it backs up as far as necessary to reach a deleted message,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
220 and undeletes that one. The u command in the summary behaves likewise,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
221 but considers only messages listed in the summary. The M-u command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
222 has been eliminated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
223
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
224 The o and C-o keys' meanings are interchanged.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
225 o now outputs to an Rmail file, and C-o to a Unix mail file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
226
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
227 The F command (rmail-find) is renamed to M-s (rmail-search).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
228 Various new commands and features exist; see the Emacs manual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
229
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
230 * Local bindings described first in describe-bindings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
231
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
232 * [...], {...} now balance in Fundamental mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
233
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
234 * Nroff mode and TeX mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
235
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
236 The are two new major modes for editing nroff input and TeX input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
237 See the Emacs manual for full information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
238
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
239 * New C indentation style variable `c-brace-imaginary-offset'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
240
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
241 The value of `c-brace-imaginary-offset', normally zero, controls the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
242 indentation of a statement inside a brace-group where the open-brace
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
243 is not the first thing on a line. The value says where the open-brace
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
244 is imagined to be, relative to the first nonblank character on the line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
245
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
246 * Dired improvements.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
247
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
248 Dired now normally keeps the cursor at the beginning of the file name,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
249 not at the beginning of the line. The most used motion commands are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
250 redefined in Dired to position the cursor this way.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
251
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
252 `n' and `p' are now equivalent in dired to `C-n' and `C-p'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
253
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
254 If any files to be deleted cannot be deleted, their names are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
255 printed in an error message.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
256
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
257 If the `v' command is invoked on a file which is a directory,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
258 dired is run on that directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
259
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
260 * `visit-tag-table' renamed `visit-tags-table'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
261
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
262 This is so apropos of `tags' finds everything you need to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
263 know about in connection with Tags.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
264
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
265 * `mh-e' library uses C-c as prefix.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
266
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
267 All the special commands of `mh-rmail' now are placed on a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
268 C-c prefix rather than on the C-x prefix. This is for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
269 consistency with other special modes with their own commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
270
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
271 * M-$ or `spell-word' checks word before point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
272
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
273 It used to check the word after point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
274
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
275 * Quitting during autoloading no longer causes trouble.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
276
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
277 Now, when a file is autoloaded, all function redefinitions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
278 and `provide' calls are recorded and are undone if you quit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
279 before the file is finished loading.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
280
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
281 As a result, it no longer happens that some of the entry points
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
282 which are normally autoloading have been defined already, but the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
283 entire file is not really present to support them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
284
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
285 * `else' can now be indented correctly in C mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
286
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
287 TAB in C mode now knows which `if' statement an `else' matches
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
288 up with, and can indent the `else' correctly under the `if',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
289 even if the `if' contained such things as another `if' statement,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
290 or a `while' or `for' statement, with no braces around it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
291
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
292 * `batch-byte-compile'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
293
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
294 Runs byte-compile-file on the files specified on the command line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
295 All the rest of the command line arguments are taken as files to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
296 compile (or, if directories, to do byte-recompile-directory on).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
297 Must be used only with -batch, and kills emacs on completion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
298 Each file will be processed even if an error occurred previously.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
299 For example, invoke `emacs -batch -f batch-byte-compile *.el'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
300
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
301 * `-batch' changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
302
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
303 `-batch' now implies `-q': no init file is loaded by Emacs when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
304 `-batch' is used. Also, no `term/TERMTYPE.el' file is loaded. Auto
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
305 saving is not done except in buffers in which it is explicitly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
306 requested. Also, many echo-area printouts describing what is going on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
307 are inhibited in batch mode, so that the only output you get is the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
308 output you program specifically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
309
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
310 One echo-area message that is not suppressed is the one that says
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
311 that a file is being loaded. That is because you can prevent this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
312 message by passing `t' as the third argument to `load'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
313
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
314 * Display of search string in incremental search.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
315
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
316 Now, when you type C-s or C-r to reuse the previous search
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
317 string, that search string is displayed immediately in the echo area.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
318
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
319 Three dots are displayed after the search string while search
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
320 is actually going on.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
321
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
322 * View commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
323
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
324 The commands C-x ], C-x [, C-x /, C-x j and C-x o are now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
325 available inside `view-buffer' and `view-file', with their
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
326 normal meanings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
327
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
328 * Full-width windows preferred.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
329
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
330 The ``other-window'' commands prefer other full width windows,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
331 and will split only full width windows.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
332
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
333 * M-x rename-file can copy if necessary.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
334
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
335 When used between different file systems, since actual renaming does
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
336 not work, the old file will be copied and deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
337
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
338 * Within C-x ESC, you can pick the command to repeat.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
339
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
340 While editing a previous command to be repeated, inside C-x ESC,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
341 you can now use the commands M-p and M-n to pick an earlier or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
342 later command to repeat. M-n picks the next earlier command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
343 and M-p picks the next later one. The new command appears in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
344 the minibuffer, and you can go ahead and edit it, and repeat it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
345 when you exit the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
346
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
347 Using M-n or M-p within C-x ESC is like having used a different
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
348 numeric argument when you ran C-x ESC in the first place.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
349
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
350 The command you finally execute using C-x ESC is added to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
351 front of the command history, unless it is identical with the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
352 first thing in the command history.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
353
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
354 * Use C-c C-c to exit from editing within Info.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
355
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
356 It used to be C-z for this. Somehow this use of C-z was
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
357 left out when all the others were moved. The intention is that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
358 C-z should always suspend Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
359
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
360 * Default arg to C-x < and C-x > now window width minus 2.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
361
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
362 These commands, which scroll the current window horizontally
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
363 by a specified number of columns, now scroll a considerable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
364 distance rather than a single column if used with no argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
365
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
366 * Auto Save Files Deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
367
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
368 The default value of `delete-auto-save-files' is now `t', so that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
369 when you save a file for real, its auto save file is deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
370
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
371 * Rnews changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
372
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
373 The N, P and J keys in Rnews are renamed to M-n, M-p and M-j.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
374 These keys move among newsgroups.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
375
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
376 The n and p keys for moving sequentially between news articles now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
377 accept repeat count arguments, and the + and - keys, made redundant by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
378 this change, are eliminated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
379
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
380 The s command for outputting the current article to a file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
381 is renamed as o, to be compatible with Rmail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
382
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
383 * Sendmail changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
384
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
385 If you have a ~/.mailrc file, Emacs searches it for mailing address
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
386 aliases, and these aliases are expanded when you send mail in Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
387
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
388 Fcc fields can now be used in the headers in the *mail* buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
389 to specify files in which copies of the message should be put.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
390 The message is written into those files in Unix mail file format.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
391 The message as sent does not contain any Fcc fields in its header.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
392 You can use any number of Fcc fields, but only one file name in each one.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
393 The variable `mail-archive-file-name', if non-`nil', can be a string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
394 which is a file name; an Fcc to that file will be inserted in every
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
395 message when you begin to compose it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
396
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
397 A new command C-c q now exists in Mail mode. It fills the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
398 paragraphs of an old message that had been inserted with C-c y.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
399
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
400 When the *mail* buffer is put in Mail mode, text-mode-hook
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
401 is now run in addition to mail-mode-hook. text-mode-hook
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
402 is run first.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
403
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
404 The new variable `mail-header-separator' now specifies the string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
405 to use on the line that goes between the headers and the message text.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
406 By default it is still "--text follows this line--".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
407
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
408 * Command history truncated automatically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
409
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
410 Just before each garbage collection, all but the last 30 elements
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
411 of the command history are discarded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
412
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
413
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
414 Incompatible Lisp Programming Changes in Emacs 17
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
415
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
416 * `&quote' no longer supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
417
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
418 This feature, which allowed Lisp functions to take arguments
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
419 that were not evaluated, has been eliminated, because it is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
420 inescapably hard to make the compiler work properly with such
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
421 functions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
422
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
423 You should use macros instead. A simple way to change any
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
424 code that uses `&quote' is to replace
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
425
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
426 (defun foo (&quote x y z) ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
427
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
428 with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
429
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
430 (defmacro foo (x y z)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
431 (list 'foo-1 (list 'quote x) (list 'quote y) (list 'quote z)))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
432
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
433 (defun foo-1 (x y z) ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
434
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
435 * Functions `region-to-string' and `region-around-match' removed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
436
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
437 These functions were made for compatibility with Gosling Emacs, but it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
438 turns out to be undesirable to use them in GNU Emacs because they use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
439 the mark. They have been eliminated from Emacs proper, but are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
440 present in mlsupport.el for the sake of converted mocklisp programs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
441
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
442 If you were using `region-to-string', you should instead use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
443 `buffer-substring'; then you can pass the bounds as arguments and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
444 can avoid setting the mark.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
445
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
446 If you were using `region-around-match', you can use instead
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
447 the two functions `match-beginning' and `match-end'. These give
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
448 you one bound at a time, as a numeric value, without changing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
449 point or the mark.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
450
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
451 * Function `function-type' removed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
452
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
453 This just appeared not to be very useful. It can easily be written in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
454 Lisp if you happen to want it. Just use `symbol-function' to get the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
455 function definition of a symbol, and look at its data type or its car
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
456 if it is a list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
457
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
458 * Variable `buffer-number' removed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
459
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
460 You can still use the function `buffer-number' to find out
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
461 a buffer's unique number (assigned in order of creation).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
462
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
463 * Variable `executing-macro' renamed `executing-kbd-macro'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
464
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
465 This variable is the currently executing keyboard macro, as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
466 a string, or `nil' when no keyboard macro is being executed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
467
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
468 * Loading term/$TERM.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
469
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
470 The library term/$TERM (where $TERM get replaced by your terminal
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
471 type), which is done by Emacs automatically when it starts up, now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
472 happens after the user's .emacs file is loaded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
473
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
474 In previous versions of Emacs, these files had names of the form
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
475 term-$TERM; thus, for example, term-vt100.el, but now they live
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
476 in a special subdirectory named term, and have names like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
477 term/vt100.el.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
478
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
479 * `command-history' format changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
480
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
481 The elements of this list are now Lisp expressions which can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
482 be evaluated directly to repeat a command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
483
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
484 * Unused editing commands removed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
485
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
486 The functions `forward-to-word', `backward-to-word',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
487 `upcase-char', `mark-beginning-of-buffer' and `mark-end-of-buffer'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
488 have been removed. Their definitions can be found in file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
489 lisp/unused.el if you need them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
490
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
491
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
492 Upward Compatible Lisp Programming Changes in Emacs 17
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
493
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
494 * You can now continue after errors and quits.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
495
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
496 When the debugger is entered because of a C-g, due to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
497 a non-`nil' value of `debug-on-quit', the `c' command in the debugger
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
498 resumes execution of the code that was running when the quit happened.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
499 Use the `q' command to go ahead and quit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
500
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
501 The same applies to some kinds of errors, but not all. Errors
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
502 signaled with the Lisp function `signal' can be continued; the `c'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
503 command causes `signal' to return. The `r' command causes `signal' to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
504 return the value you specify. The `c' command is equivalent to `r'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
505 with the value `nil'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
506
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
507 For a `wrong-type-argument' error, the value returned with the `r'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
508 command is used in place of the invalid argument. If this new value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
509 is not valid, another error occurs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
510
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
511 Errors signaled with the function `error' cannot be continued.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
512 If you try to continue, the error just happens again.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
513
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
514 * `dot' renamed `point'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
515
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
516 The word `dot' has been replaced with `point' in all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
517 function and variable names, including:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
518
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
519 point, point-min, point-max,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
520 point-marker, point-min-marker, point-max-marker,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
521 window-point, set-window-point,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
522 point-to-register, register-to-point,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
523 exchange-point-and-mark.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
524
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
525 The old names are still supported, for now.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
526
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
527 * `string-match' records position of end of match.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
528
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
529 After a successful call to `string-match', `(match-end 0)' will
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
530 return the index in the string of the first character after the match.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
531 Also, `match-begin' and `match-end' with nonzero arguments can be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
532 used to find the indices of beginnings and ends of substrings matched
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
533 by subpatterns surrounded by parentheses.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
534
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
535 * New function `insert-before-markers'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
536
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
537 This function is just like `insert' except in the handling of any
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
538 relocatable markers that are located at the point of insertion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
539 With `insert', such markers end up pointing before the inserted text.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
540 With `insert-before-markers', they end up pointing after the inserted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
541 text.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
542
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
543 * New function `copy-alist'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
544
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
545 This function takes one argument, a list, and makes a disjoint copy
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
546 of the alist structure. The list itself is copied, and each element
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
547 that is a cons cell is copied, but the cars and cdrs of elements
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
548 remain shared with the original argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
549
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
550 This is what it takes to get two alists disjoint enough that changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
551 in one do not change the result of `assq' on the other.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
552
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
553 * New function `copy-keymap'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
554
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
555 This function takes a keymap as argument and returns a new keymap
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
556 containing initially the same bindings. Rebindings in either one of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
557 them will not alter the bindings in the other.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
558
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
559 * New function `copy-syntax-table'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
560
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
561 This function takes a syntax table as argument and returns a new
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
562 syntax table containing initially the same syntax settings. Changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
563 in either one of them will not alter the other.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
564
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
565 * Randomizing the random numbers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
566
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
567 `(random t)' causes the random number generator's seed to be set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
568 based on the current time and Emacs's process id.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
569
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
570 * Third argument to `modify-syntax-entry'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
571
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
572 The optional third argument to `modify-syntax-entry', if specified
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
573 should be a syntax table. The modification is made in that syntax table
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
574 rather than in the current syntax table.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
575
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
576 * New function `run-hooks'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
577
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
578 This function takes any number of symbols as arguments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
579 It processes the symbols in order. For each symbol which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
580 has a value (as a variable) that is non-nil, the value is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
581 called as a function, with no arguments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
582
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
583 This is useful in major mode commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
584
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
585 * Second arg to `switch-to-buffer'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
586
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
587 If this function is given a non-`nil' second argument, then the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
588 selection being done is not recorded on the selection history.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
589 The buffer's position in the history remains unchanged. This
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
590 feature is used by the view commands, so that the selection history
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
591 after exiting from viewing is the same as it was before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
592
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
593 * Second arg to `display-buffer' and `pop-to-buffer'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
594
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
595 These two functions both accept an optional second argument which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
596 defaults to `nil'. If the argument is not `nil', it means that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
597 another window (not the selected one) must be found or created to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
598 display the specified buffer in, even if it is already shown in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
599 the selected window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
600
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
601 This feature is used by `switch-to-buffer-other-window'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
602
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
603 * New variable `completion-ignore-case'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
604
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
605 If this variable is non-`nil', completion allows strings
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
606 in different cases to be considered matching. The global value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
607 is `nil'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
608
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
609 This variable exists for the sake of commands that are completing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
610 an argument in which case is not significant. It is possible
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
611 to change the value globally, but you might not like the consequences
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
612 in the many situations (buffer names, command names, file names)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
613 where case makes a difference.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
614
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
615 * Major modes related to Text mode call text-mode-hook, then their own hooks.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
616
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
617 For example, turning on Outline mode first calls the value of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
618 `text-mode-hook' as a function, if it exists and is non-`nil',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
619 and then does likewise for the variable `outline-mode-hook'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
620
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
621 * Defining new command line switches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
622
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
623 You can define a new command line switch in your .emacs file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
624 by putting elements on the value of `command-switch-alist'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
625 Each element of this list should look like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
626 (SWITCHSTRING . FUNCTION)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
627 where SWITCHSTRING is a string containing the switch to be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
628 defined, such as "-foo", and FUNCTION is a function to be called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
629 if such an argument is found in the command line. FUNCTION
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
630 receives the command line argument, a string, as its argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
631
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
632 To implement a switch that uses up one or more following arguments,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
633 use the fact that the remaining command line arguments are kept
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
634 as a list in the variable `command-line-args'. FUNCTION can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
635 examine this variable, and do
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
636 (setq command-line-args (cdr command-line-args)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
637 to "use up" an argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
638
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
639 * New variable `load-in-progress'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
640
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
641 This variable is non-`nil' when a file of Lisp code is being read
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
642 and executed by `load'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
643
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
644 * New variable `print-length'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
645
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
646 The value of this variable is normally `nil'. It may instead be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
647 a number; in that case, when a list is printed by `prin1' or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
648 `princ' only that many initial elements are printed; the rest are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
649 replaced by `...'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
650
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
651 * New variable `find-file-not-found-hook'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
652
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
653 If `find-file' or any of its variants is used on a nonexistent file,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
654 the value of `find-file-not-found-hook' is called (if it is not `nil')
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
655 with no arguments, after creating an empty buffer. The file's name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
656 can be found as the value of `buffer-file-name'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
657
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
658 * Processes without buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
659
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
660 In the function `start-process', you can now specify `nil' as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
661 the process's buffer. You can also set a process's buffer to `nil'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
662 using `set-process-buffer'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
663
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
664 The reason you might want to do this is to prevent the process
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
665 from being killed because any particular buffer is killed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
666 When a process has a buffer, killing that buffer kills the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
667 process too.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
668
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
669 When a process has no buffer, its output is lost unless it has a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
670 filter, and no indication of its being stopped or killed is given
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
671 unless it has a sentinel.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
672
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
673 * New function `user-variable-p'. `v' arg prompting changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
674
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
675 This function takes a symbol as argument and returns `t' if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
676 the symbol is defined as a user option variable. This means
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
677 that it has a `variable-documentation' property whose value is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
678 a string starting with `*'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
679
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
680 Code `v' in an interactive arg reading string now accepts
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
681 user variables only, and completion is limited to the space of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
682 user variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
683
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
684 The function `read-variable' also now accepts and completes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
685 over user variables only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
686
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
687 * CBREAK mode input is the default in Unix 4.3 bsd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
688
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
689 In Berkeley 4.3 Unix, there are sufficient features for Emacs to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
690 work fully correctly using CBREAK mode and not using SIGIO.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
691 Therefore, this mode is the default when running under 4.3.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
692 This mode corresponds to `nil' as the first argument to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
693 `set-input-mode'. You can still select either mode by calling
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
694 that function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
695
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
696 * Information on memory usage.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
697
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
698 The new variable `data-bytes-used' contains the number
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
699 of bytes of impure space allocated in Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
700 `data-bytes-free' contains the number of additional bytes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
701 Emacs could allocate. Note that space formerly allocated
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
702 and freed again still counts as `used', since it is still
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
703 in Emacs's address space.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
704
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
705 * No limit on size of output from `format'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
706
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
707 The string output from `format' used to be truncated to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
708 100 characters in length. Now it can have any length.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
709
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
710 * New errors `void-variable' and `void-function' replace `void-symbol'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
711
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
712 This change makes it possible to have error messages that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
713 clearly distinguish undefined variables from undefined functions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
714 It also allows `condition-case' to handle one case without the other.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
715
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
716 * `replace-match' handling of `\'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
717
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
718 In `replace-match', when the replacement is not literal,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
719 `\' in the replacement string is always treated as an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
720 escape marker. The only two special `\' constructs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
721 are `\&' and `\DIGIT', so `\' followed by anything other than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
722 `&' or a digit has no effect. `\\' is necessary to include
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
723 a `\' in the replacement text.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
724
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
725 This level of escaping is comparable with what goes on in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
726 a regular expression. It is over and above the level of `\'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
727 escaping that goes on when strings are read in Lisp syntax.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
728
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
729 * New error `invalid-regexp'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
730
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
731 A regexp search signals this type of error if the argument does
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
732 not meet the rules for regexp syntax.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
733
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
734 * `kill-emacs' with argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
735
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
736 If the argument is a number, it is returned as the exit status code
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
737 of the Emacs process. If the argument is a string, its contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
738 are stuffed as pending terminal input, to be read by another program
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
739 after Emacs is dead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
740
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
741 * New fifth argument to `subst-char-in-region'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
742
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
743 This argument is optional and defaults to `nil'. If it is not `nil',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
744 then the substitutions made by this function are not recorded
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
745 in the Undo mechanism.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
746
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
747 This feature should be used with great care. It is now used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
748 by Outline mode to make lines visible or invisible.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
749
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
750 * ` *Backtrace*' buffer renamed to `*Backtrace*'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
751
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
752 As a result, you can now reselect this buffer easily if you switch to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
753 another while in the debugger.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
754
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
755 Exiting from the debugger kills the `*Backtrace*' buffer, so you will
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
756 not try to give commands in it when no longer really in the debugger.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
757
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
758 * New function `switch-to-buffer-other-window'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
759
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
760 This is the new primitive to select a specified buffer (the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
761 argument) in another window. It is not quite the same as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
762 `pop-to-buffer', because it is guaranteed to create another
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
763 window (assuming there is room on the screen) so that it can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
764 leave the current window's old buffer displayed as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
765
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
766 All functions to select a buffer in another window should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
767 do so by calling this new function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
768
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
769 * New variable `minibuffer-help-form'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
770
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
771 At entry to the minibuffer, the variable `help-form' is bound
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
772 to the value of `minibuffer-help-form'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
773
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
774 `help-form' is expected at all times to contain either `nil'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
775 or an expression to be executed when C-h is typed (overriding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
776 teh definition of C-h as a command). `minibuffer-help-form'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
777 can be used to provide a different default way of handling
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
778 C-h while in the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
779
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
780 * New \{...} documentation construct.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
781
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
782 It is now possible to set up the documentation string for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
783 a major mode in such a way that it always describes the contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
784 of the major mode's keymap, as it has been customized.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
785 To do this, include in the documentation string the characters `\{'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
786 followed by the name of the variable containing the keymap,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
787 terminated with `}'. (The `\' at the beginning probably needs to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
788 be quoted with a second `\', to include it in the doc string.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
789 This construct is normally used on a line by itself, with no blank
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
790 lines before or after.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
791
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
792 For example, the documentation string for the function `c-mode' contains
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
793 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
794 Paragraphs are separated by blank lines only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
795 Delete converts tabs to spaces as it moves back.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
796 \\{c-mode-map}
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
797 Variables controlling indentation style:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
798 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
799
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
800 * New character syntax class "punctuation".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
801
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
802 Punctuation characters behave like whitespace in word and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
803 list parsing, but can be distinguished in regexps and in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
804 function `char-syntax'. Punctuation syntax is represented by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
805 a period in `modify-syntax-entry'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
806
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
807 * `auto-mode-alist' no longer needs entries for backup-file names,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
808
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
809 Backup suffixes of all kinds are now stripped from a file's name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
810 before searching `auto-mode-alist'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
811
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
812
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
813
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
814 Changes in Emacs 16
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
815
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
816 * No special code for Ambassadors, VT-100's and Concept-100's.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
817
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
818 Emacs now controls these terminals based on the termcap entry, like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
819 all other terminals. Formerly it did not refer to the termcap entries
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
820 for those terminal types, and often the termcap entries for those
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
821 terminals are wrong or inadequate. If you experience worse behavior
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
822 on these terminals than in version 15, you can probably correct it by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
823 fixing up the termcap entry. See ./TERMS for more info.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
824
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
825 See ./TERMS in any case if you find that some terminal does not work
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
826 right with Emacs now.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
827
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
828 * Minibuffer default completion character is TAB (and not ESC).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
829
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
830 So that ESC can be used in minibuffer for more useful prefix commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
831
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
832 * C-z suspends Emacs in all modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
833
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
834 Formerly, C-z was redefined for other purposes by certain modes,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
835 such as Buffer Menu mode. Now other keys are used for those purposes,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
836 to keep the meaning of C-z uniform.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
837
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
838 * C-x ESC (repeat-complex-command) allows editing the command it repeats.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
839
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
840 Instead of asking for confirmation to re-execute a command from the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
841 command history, the command is placed, in its Lisp form, into the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
842 minibuffer for editing. You can confirm by typing RETURN, change some
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
843 arguments and then confirm, or abort with C-g.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
844
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
845 * Incremental search does less redisplay on slow terminals.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
846
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
847 If the terminal baud rate is <= the value of `isearch-slow-speed',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
848 incremental searching outside the text on the screen creates
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
849 a single-line window and uses that to display the line on which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
850 a match has been found. Exiting or quitting the search restores
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
851 the previous window configuration and redisplays the window you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
852 were searching in.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
853
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
854 The initial value of `isearch-slow-speed' is 1200.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
855
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
856 This feature is courtesy of crl@purdue.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
857
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
858 * Recursive minibuffers not allowed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
859
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
860 If the minibuffer window is selected, most commands that would
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
861 use the minibuffer gets an error instead. (Specific commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
862 may override this feature and therefore still be allowed.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
863
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
864 Strictly speaking, recursive entry to the minibuffer is still
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
865 possible, because you can switch to another window after
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
866 entering the minibuffer, and then minibuffer-using commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
867 are allowed. This is still allowed by a deliberate decision:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
868 if you know enough to switch windows while in the minibuffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
869 you can probably understand recursive minibuffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
870
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
871 This may be overridden by binding the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
872 `enable-recursive-minibuffers' to t.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
873
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
874 * New major mode Emacs-Lisp mode, for editing Lisp code to run in Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
875
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
876 The mode in which emacs lisp files is edited is now called emacs-lisp-mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
877 and is distinct from lisp-mode. The latter is intended for use with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
878 lisps external to emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
879
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
880 The hook which is funcalled (if non-nil) on entry to elisp-mode is now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
881 called emacs-lisp-mode-hook. A consequence of this changes is that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
882 .emacs init files which set the value of lisp-mode-hook may need to be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
883 changed to use the new names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
884
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
885 * Correct matching of parentheses is checked on insertion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
886
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
887 When you insert a close-paren, the matching open-paren
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
888 is checked for validity. The close paren must be the kind
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
889 of close-paren that the open-paren says it should match.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
890 Otherwise, a warning message is printed. close-paren immediately
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
891 preceded by quoting backslash syntax character is not matched.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
892
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
893 This feature was originally written by shane@mit-ajax.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
894
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
895 * M-x list-command-history
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
896 * M-x command-history-mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
897 * M-x electric-command-history
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
898
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
899 `list-command-history' displays forms from the command history subject
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
900 to user controlled filtering and limit on number of forms. It leaves
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
901 the buffer in `command-history-mode'. M-x command-history-mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
902 recomputes the command history each time it is invoked via
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
903 `list-command-history'. It is like Emacs-Lisp mode except that characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
904 don't insert themselves and provision is made for re-evaluating an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
905 expression from the list. `electric-command-history' pops up a type
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
906 out window with the command history displayed. If the very next
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
907 character is Space, the window goes away and the previous window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
908 configuration is restored. Otherwise you can move around in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
909 history and select an expression for evaluation *inside* the buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
910 which invoked `electric-command-history'. The original window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
911 configuration is restored on exit unless the command selected changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
912 it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
913
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
914 * M-x edit-picture
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
915
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
916 Enters a temporary major mode (the previous major mode is remembered
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
917 and can is restored on exit) designed for editing pictures and tables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
918 Printing characters replace rather than insert themselves with motion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
919 afterwards that is user controlled (you can specify any of the 8
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
920 compass directions). Special commands for movement are provided.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
921 Special commands for hacking tabs and tab stops are provided. Special
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
922 commands for killing rectangles and overlaying them are provided. See
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
923 the documentation of function edit-picture for more details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
924
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
925 Calls value of `edit-picture-hook' on entry if non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
926
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
927 * Stupid C-s/C-q `flow control' supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
928
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
929 Do (set-input-mode nil t) to tell Emacs to use CBREAK mode and interpret
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
930 C-s and C-q as flow control commands. (set-input-mode t nil) switches
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
931 back to interrupt-driven input. (set-input-mode nil nil) uses CBREAK
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
932 mode but no `flow control'; this may make it easier to run Emacs under
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
933 certain debuggers that have trouble dealing with inferiors that use SIGIO.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
934
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
935 CBREAK mode has certain inherent disadvantages, which are why it is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
936 not the default:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
937
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
938 Meta-keys are ignored; CBREAK mode discards the 8th bit of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
939 input characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
940
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
941 Control-G as keyboard input discards buffered output,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
942 and therefore can cause incorrect screen updating.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
943
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
944 The use of `flow control' has its own additional disadvantage: the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
945 characters C-s and C-q are not available as editing commands. You can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
946 partially compensate for this by setting up a keyboard-translate-table
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
947 (see file ONEWS) that maps two other characters (such as C-^ and C-\) into
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
948 C-s and C-q. Of course, C-^ and C-\ are commonly used as escape
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
949 characters in remote-terminal programs. You really can't win except
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
950 by getting rid of this sort of `flow control.'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
951
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
952 The configuration switch CBREAK_INPUT is now eliminated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
953 INTERRUPT_INPUT exists only to specify the default mode of operation;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
954 #define it to make interrupt-driven input the default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
955
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
956 * Completion of directory names provides a slash.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
957
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
958 If file name completion yields the name of a directory,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
959 a slash is appended to it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
960
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
961 * Undo can clear modified-flag.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
962
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
963 If you undo changes in a buffer back to a state in which the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
964 buffer was not considered "modified", then it is labelled as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
965 once again "unmodified".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
966
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
967 * M-x run-lisp.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
968
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
969 This command creates an inferior Lisp process whose input and output
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
970 appear in the Emacs buffer named `*lisp*'. That buffer uses a major mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
971 called inferior-lisp-mode, which has many of the commands of lisp-mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
972 and those of shell-mode. Calls the value of shell-mode-hook and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
973 lisp-mode-hook, in that order, if non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
974
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
975 Meanwhile, in lisp-mode, the command C-M-x is defined to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
976 send the current defun as input to the `*lisp*' subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
977
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
978 * Mode line says `Narrow' when buffer is clipped.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
979
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
980 If a buffer has a clipping restriction (made by `narrow-to-region')
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
981 then its mode line contains the word `Narrow' after the major and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
982 minor modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
983
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
984 * Mode line says `Abbrev' when abbrev mode is on.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
985
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
986 * add-change-log-entry takes prefix argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
987
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
988 Giving a prefix argument makes it prompt for login name, full name,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
989 and site name, with defaults. Otherwise the defaults are used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
990 with no confirmation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
991
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
992 * M-x view-buffer and M-x view-file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
993
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
994 view-buffer selects the named buffer, view-file finds the named file; the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
995 resulting buffer is placed into view-mode (a recursive edit). The normal
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
996 emacs commands are not available. Instead a set of special commands is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
997 provided which faclitate moving around in the buffer, searching and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
998 scrolling by screenfuls. Exiting view-mode returns to the buffer in which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
999 the view-file or view-buffer command was given.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1000 Type ? or h when viewing for a complete list of view commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1001 Each calls value of `view-hook' if non-nil on entry.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1002
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1003 written by shane@mit-ajax.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1004
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1005 * New key commands in dired.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1006
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1007 `v' views (like more) the file on the current line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1008 `#' marks auto-save files for deletion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1009 `~' marks backup files for deletion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1010 `r' renames a file and updates the directory listing if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1011 file is renamed to same directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1012 `c' copies a file and updates the directory listing if the file is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1013 copied to the same directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1014
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1015 * New function `electric-buffer-list'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1016
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1017 This pops up a buffer describing the set of emacs buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1018 Immediately typing space makes the buffer list go away and returns
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1019 to the buffer and window which were previously selected.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1020
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1021 Otherwise one may use the c-p and c-n commands to move around in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1022 buffer-list buffer and type Space or C-z to select the buffer on the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1023 cursor's line. There are a number of other commands which are the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1024 as those of buffer-menu-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1025
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1026 This is a useful thing to bind to c-x c-b in your `.emacs' file if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1027 rather non-standard `electric' behaviour of the buffer list suits your taste.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1028 Type C-h after invoking electric-buffer-list for more information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1029
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1030 Calls value of `electric-buffer-menu-mode-hook' if non-nil on entry.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1031 Calls value of `after-electric-buffer-menu' on exit (select) if non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1032
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1033 Changes in version 16 for mail reading and sending
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1034
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1035 * sendmail prefix character is C-c (and not C-z). New command C-c w.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1036
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1037 For instance C-c C-c (or C-c C-s) sends mail now rather than C-z C-z.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1038 C-c w inserts your `signature' (contents of ~/.signature) at the end
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1039 of mail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1040
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1041 * New feature in C-c y command in sending mail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1042
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1043 C-c y is the command to insert the message being replied to.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1044 Normally it deletes most header fields and indents everything
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1045 by three spaces.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1046
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1047 Now, C-c y does not delete header fields or indent.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1048 C-c y with any other numeric argument does delete most header
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1049 fields, but indents by the amount specified in the argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1050
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1051 * C-r command in Rmail edits current message.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1052
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1053 It does this by switching to a different major mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1054 which is nearly the same as Text mode. The only difference
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1055 between it and text mode are the two command C-c and C-].
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1056 C-c is defined to switch back to Rmail mode, and C-]
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1057 is defined to restore the original contents of the message
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1058 and then switch back to Rmail mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1059
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1060 C-c and C-] are the only ways "back into Rmail", but you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1061 can switch to other buffers and edit them as usual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1062 C-r in Rmail changes only the handling of the Rmail buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1063
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1064 * Rmail command `t' toggles header display.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1065
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1066 Normally Rmail reformats messages to hide most header fields.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1067 `t' switches to display of all the header fields of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1068 current message, as long as it remains current.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1069 Another `t' switches back to the usual display.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1070
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1071 * Rmail command '>' goes to the last message.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1072
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1073 * Rmail commands `a' and `k' set message attributes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1074 `a' adds an attribute and `k' removes one. You specify
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1075 the attrbute by name. You can specify either a built-in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1076 flag such as "deleted" or "filed", or a user-defined keyword
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1077 (anything not recognized as built-in).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1078
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1079 * Rmail commands `l' and `L' summarize by attributes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1080
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1081 These commands create a summary with one line per message,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1082 like `h', but they list only some of the messages. You
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1083 specify which attribute (for `l') or attributes (for `L')
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1084 the messages should have.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1085
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1086 * Rmail can parse mmdf mail files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1087
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1088 * Interface to MH mail system.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1089
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1090 mh-e is a front end for GNU emacs and the MH mail system. It
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1091 provides a friendly and convient interface to the MH commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1092
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1093 To read mail, invoke mh-rmail. This will inc new mail and display the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1094 scan listing on the screen. To see a summary of the mh-e commands,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1095 type ?. Help is available through the usual facilities.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1096
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1097 To send mail, invoke mh-smail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1098
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1099 mh-e requires a copy of MH.5 that has been compiled with the MHE
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1100 compiler switch.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1101
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1102 From larus@berkeley.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1103
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1104 New hooks and parameters in version 16
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1105
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1106 * New variable `blink-matching-paren-distance'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1107
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1108 This is the maximum number of characters to search for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1109 an open-paren to match an inserted close-paren.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1110 The matching open-paren is shown and checked if it is found
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1111 within this distance.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1112
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1113 `nil' means search all the way to the beginning of the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1114 In this case, a warning message is printed if no matching
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1115 open-paren is found.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1116
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1117 This feature was originally written by shane@mit-ajax.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1118
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1119 * New variable `find-file-run-dired'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1120
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1121 If nil, find-file will report an error if an attempt to visit a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1122 directory is detected; otherwise, it runs dired on that directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1123 The default is t.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1124
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1125 * Variable `dired-listing-switches' holds switches given to `ls' by dired.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1126
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1127 The value should be a string containing `-' followed by letters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1128 The letter `l' had better be included and letter 'F' had better be excluded!
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1129 The default is "-al".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1131 This feature was originally written by shane@mit-ajax.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1132
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1133 * New variable `display-time-day-and-date'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1134
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1135 If this variable is set non-`nil', the function M-x display-time
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1136 displays the day and date, as well as the time.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1137
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1138 * New parameter `c-continued-statement-indent'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1139
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1140 This controls the extra indentation given to a line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1141 that continues a C statement started on the previous line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1142 By default it is 2, which is why you would see
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1143
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1144 if (foo)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1145 bar ();
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1147
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1148 * Changed meaning of `c-indent-level'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1149
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1150 The value of `c-brace-offset' used to be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1151 subtracted from the value of `c-indent-level' whenever
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1152 that value was used. Now it is not.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1153
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1154 As a result, `c-indent-level' is now the offset of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1155 statements within a block, relative to the line containing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1156 the open-brace that starts the block.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1157
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1158 * turn-on-auto-fill is useful value for text-mode-hook.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1159
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1160 (setq text-mode-hook 'turn-on-auto-fill)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1161 is all you have to do to make sure Auto Fill mode is turned
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1162 on whenever you enter Text mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1163
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1164 * Parameter explicit-shell-file-name for M-x shell.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1165
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1166 This variable, if non-nil, specifies the file name to use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1167 for the shell to run if you do M-x shell.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1168
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1169 Changes in version 16 affecting Lisp programming:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1170
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1171 * Documentation strings adapt to customization.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1172
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1173 Often the documentation string for a command wants to mention
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1174 another command. Simply stating the other command as a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1175 character sequence has a disadvantage: if the user customizes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1176 Emacs by moving that function to a different command, the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1177 cross reference in the documentation becomes wrong.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1178
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1179 A new feature allows you to write the documentation string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1180 using a function name, and the command to run that function
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1181 is looked up when the documentation is printed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1182
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1183 If a documentation string contains `\[' (two characters) then
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1184 the following text, up to the next `]', is taken as a function name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1185 Instead of printing that function name, the command that runs it is printed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1186 (M-x is used to construct a command if no shorter one exists.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1187
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1188 For example, instead of putting `C-n' in a documentation string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1189 to refer to the C-n command, put in `\[next-line]'. (In practice
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1190 you will need to quote the backslash with another backslash,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1191 due to the syntax for strings in Lisp and C.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1192
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1193 To include the literal characters `\[' in a documentation string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1194 precede them with `\='. To include the characters `\=', precede
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1195 them with `\='. For example, "\\=\\= is the way to quote \\=\\["
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1196 will come out as `\= is the way to quote \['.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1197
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1198 The new function `substitute-command-keys' takes a string possibly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1199 contaning \[...] constructs and replaces those constructs with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1200 the key sequences they currently stand for.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1201
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1202 * Primitives `find-line-comment' and `find-line-comment-body' flushed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1204 Search for the value of `comment-start-skip' if you want to find
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1205 whether and where a line has a comment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1206
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1207 * New function `auto-save-file-name-p'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1208
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1209 Should return non-`nil' iff given a string which is the name of an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1210 auto-save file (sans directory name). If you redefine
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1211 `make-auto-save-file-name', you should redefine this accordingly. By
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1212 default, this function returns `t' for filenames beginning with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1213 character `#'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1214
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1215 * The value of `exec-directory' now ends in a slash.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1216
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1217 This is to be compatible with most directory names in GNU Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1218
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1219 * Dribble files and termscript files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1220
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1221 (open-dribble-file FILE) opens a dribble file named FILE. When a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1222 dribble file is open, every character Emacs reads from the terminal is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1223 written to the dribble file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1224
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1225 (open-termscript FILE) opens a termscript file named FILE. When a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1226 termscript file is open, all characters sent to the terminal by Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1227 are also written in the termscript file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1228
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1229 The two of these together are very useful for debugging Emacs problems
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1230 in redisplay.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1231
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1232 * Upper case command characters by default are same as lower case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1233
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1234 If a character in a command is an upper case letter, and is not defined,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1235 Emacs uses the definition of the corresponding lower case letter.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1236 For example, if C-x U is not directly undefined, it is treated as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1237 a synonym for C-x u (undo).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1238
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1239 * Undefined function errors versus undefined variable errors.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1240
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1241 Void-symbol errors now say "boundp" if the symbol's value was void
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1242 or "fboundp" if the function definition was void.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1243
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1244 * New function `bury-buffer'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1245
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1246 The new function `bury-buffer' takes one argument, a buffer object,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1247 and puts that buffer at the end of the internal list of buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1248 So it is the least preferred candidate for use as the default value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1249 of C-x b, or for other-buffer to return.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1250
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1251 * Already-displayed buffers have low priority for display.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1252
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1253 When a buffer is chosen automatically for display, or to be the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1254 default in C-x b, buffers already displayed in windows have lower
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1255 priority than buffers not currently visible.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1256
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1257 * `set-window-start' accepts a third argument NOFORCE.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1258
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1259 This argument, if non-nil, prevents the window's force_start flag
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1260 from being set. Setting the force_start flag causes the next
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1261 redisplay to insist on starting display at the specified starting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1262 point, even if dot must be moved to get it onto the screen.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1263
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1264 * New function `send-string-to-terminal'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1265
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1266 This function takes one argument, a string, and outputs its contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1267 to the terminal exactly as specified: control characters, escape
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1268 sequences, and all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1269
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1270 * Keypad put in command mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1271
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1272 The terminal's keypad is now put into command mode, as opposed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1273 numeric mode, while Emacs is running. This is done by means of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1274 termcap `ks' and `ke' strings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1275
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1276 * New function `generate-new-buffer'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1277
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1278 This function takes a string as an argument NAME and looks for a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1279 creates and returns a buffer called NAME if one did not already exist.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1280 Otherwise, it successively tries appending suffixes of the form "<1>",
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1281 "<2>" etc to NAME until it creates a string which does not name an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1282 existing buffer. A new buffer with that name is the created and returned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1283
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1284 * New function `prin1-to-string'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1285 This function takes one argument, a lisp object, and returns a string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1286 containing that object's printed representation, such as `prin1'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1287 would output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1288
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1289 * New function `read-from-minibuffer'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1290 Lets you supply a prompt, initial-contents, a keymap, and specify
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1291 whether the result should be interpreted as a string or a lisp object.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1292
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1293 Old functions `read-minibuffer', `eval-minibuffer', `read-string' all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1294 take second optional string argument which is initial contents of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1295 minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1296
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1297 * minibuffer variable names changed (names of keymaps)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1298
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1299 minibuf-local-map -> minibuffer-local-map
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1300 minibuf-local-ns-map -> minibuffer-local-ns-map
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1301 minibuf-local-completion-map -> minibuffer-local-completion-map
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1302 minibuf-local-must-match-map -> minibuffer-local-must-match-map
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1303
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1304 Changes in version 16 affecting configuring and building Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1305
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1306 * Configuration switch VT100_INVERSE eliminated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1307
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1308 You can control the use of inverse video on any terminal by setting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1309 the variable `inverse-video', or by changing the termcap entry. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1310 you like, set `inverse-video' in your `.emacs' file based on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1311 examination of (getenv "TERM").
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1312
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1313 * New switch `-batch' makes Emacs run noninteractively.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1314
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1315 If the switch `-batch' is used, Emacs treats its standard output
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1316 and input like ordinary files (even if they are a terminal).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1317 It does not display buffers or windows; the only output to standard output
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1318 is what would appear as messages in the echo area, and each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1319 message is followed by a newline.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1320
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1321 The terminal modes are not changed, so that C-z and C-c retain
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1322 their normal Unix meanings. Emacs does still read commands from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1323 the terminal, but the idea of `-batch' is that you use it with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1324 other command line arguments that tell Emacs a complete task to perform,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1325 including killing itself. `-kill' used as the last argument is a good
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1326 way to accomplish this.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1327
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1328 The Lisp variable `noninteractive' is now defined, to be `nil'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1329 except when `-batch' has been specified.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1330
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1331 * Emacs can be built with output redirected to a file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1332
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1333 This is because -batch (see above) is now used in building Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1334
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1335
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1336
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1337 Changes in Emacs 15
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1338
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1339 * Emacs now runs on Sun and Megatest 68000 systems;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1340 also on at least one 16000 system running 4.2.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1341
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1342 * Emacs now alters the output-start and output-stop characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1343 to prevent C-s and C-q from being considered as flow control
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1344 by cretinous rlogin software in 4.2.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1345
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1346 * It is now possible convert Mocklisp code (for Gosling Emacs) to Lisp code
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1347 that can run in GNU Emacs. M-x convert-mocklisp-buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1348 converts the contents of the current buffer from Mocklisp to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1349 GNU Emacs Lisp. You should then save the converted buffer with C-x C-w
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1350 under a name ending in ".el"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1351
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1352 There are probably some Mocklisp constructs that are not handled.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1353 If you encounter one, feel free to report the failure as a bug.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1354 The construct will be handled in a future Emacs release, if that is not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1355 not too hard to do.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1356
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1357 Note that lisp code converted from Mocklisp code will not necessarily
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1358 run as fast as code specifically written for GNU Emacs, nor will it use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1359 the many features of GNU Emacs which are not present in Gosling's emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1360 (In particular, the byte-compiler (m-x byte-compile-file) knows little
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1361 about compilation of code directly converted from mocklisp.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1362 It is envisaged that old mocklisp code will be incrementally converted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1363 to GNU lisp code, with M-x convert-mocklisp-buffer being the first
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1364 step in this process.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1365
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1366 * Control-x n (narrow-to-region) is now by default a disabled command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1367
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1368 This means that, if you issue this command, it will ask whether
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1369 you really mean it. You have the opportunity to enable the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1370 command permanently at that time, so you will not be asked again.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1371 This will place the form "(put 'narrow-to-region 'disabled nil)" in your
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1372 .emacs file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1373
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1374 * Tags now prompts for the tag table file name to use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1375
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1376 All the tags commands ask for the tag table file name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1377 if you have not yet specified one.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1378
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1379 Also, the command M-x visit-tag-table can now be used to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1380 specify the tag table file name initially, or to switch
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1381 to a new tag table.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1382
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1383 * If truncate-partial-width-windows is non-nil (as it intially is),
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1384 all windows less than the full screen width (that is,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1385 made by side-by-side splitting) truncate lines rather than continuing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1386 them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1387
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1388 * Emacs now checks for Lisp stack overflow to avoid fatal errors.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1389 The depth in eval, apply and funcall may not exceed max-lisp-eval-depth.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1390 The depth in variable bindings and unwind-protects may not exceed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1391 max-specpdl-size. If either limit is exceeded, an error occurs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1392 You can set the limits to larger values if you wish, but if you make them
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1393 too large, you are vulnerable to a fatal error if you invoke
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1394 Lisp code that does infinite recursion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1395
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1396 * New hooks find-file-hook and write-file-hook.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1397 Both of these variables if non-nil should be functions of no arguments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1398 At the time they are called (current-buffer) will be the buffer being
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1399 read or written respectively.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1400
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1401 find-file-hook is called whenever a file is read into its own buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1402 such as by calling find-file, revert-buffer, etc. It is not called by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1403 functions such as insert-file which do not read the file into a buffer of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1404 its own.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1405 find-file-hook is called after the file has been read in and its
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1406 local variables (if any) have been processed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1407
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1408 write-file-hook is called just before writing out a file from a buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1409
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1410 * The initial value of shell-prompt-pattern is now "^[^#$%>]*[#$%>] *"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1411
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1412 * If the .emacs file sets inhibit-startup-message to non-nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1413 the messages normally printed by Emacs at startup time
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1414 are inhibited.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1415
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1416 * Facility for run-time conditionalization on the basis of emacs features.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1417
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1418 The new variable features is a list of symbols which represent "features"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1419 of the executing emacs, for use in run-time conditionalization.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1420
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1421 The function featurep of one argument may be used to test for the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1422 presence of a feature. It is just the same as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1423 (not (null (memq FEATURE features))) where FEATURE is its argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1424 For example, (if (featurep 'magic-window-hack)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1425 (transmogrify-window 'vertical)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1426 (split-window-vertically))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1427
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1428 The function provide of one argument "announces" that FEATURE is present.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1429 It is much the same as (if (not (featurep FEATURE))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1430 (setq features (cons FEATURE features)))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1431
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1432 The function require with arguments FEATURE and FILE-NAME loads FILE-NAME
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1433 (which should contain the form (provide FEATURE)) unless FEATURE is present.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1434 It is much the same as (if (not (featurep FEATURE))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1435 (progn (load FILE-NAME)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1436 (if (not featurep FEATURE) (error ...))))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1437 FILE-NAME is optional and defaults to FEATURE.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1438
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1439 * New function load-average.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1440
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1441 This returns a list of three integers, which are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1442 the current 1 minute, 5 minute and 15 minute load averages,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1443 each multiplied by a hundred (since normally they are floating
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1444 point numbers).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1445
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1446 * Per-terminal libraries loaded automatically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1447
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1448 Emacs when starting up on terminal type T automatically loads
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1449 a library named term-T. T is the value of the TERM environment variable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1450 Thus, on terminal type vt100, Emacs would do (load "term-vt100" t t).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1451 Such libraries are good places to set the character translation table.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1452
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1453 It is a bad idea to redefine lots of commands in a per-terminal library,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1454 since this affects all users. Instead, define a command to do the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1455 redefinitions and let the user's init file, which is loaded later,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1456 call that command or not, as the user prefers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1457
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1458 * Programmer's note: detecting killed buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1459
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1460 Buffers are eliminated by explicitly killing them, using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1461 the function kill-buffer. This does not eliminate or affect
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1462 the pointers to the buffer which may exist in list structure.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1463 If you have a pointer to a buffer and wish to tell whether
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1464 the buffer has been killed, use the function buffer-name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1465 It returns nil on a killed buffer, and a string on a live buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1466
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1467 * New ways to access the last command input character.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1468
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1469 The function last-key-struck, which used to return the last
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1470 input character that was read by command input, is eliminated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1471 Instead, you can find this information as the value of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1472 variable last-command-char. (This variable used to be called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1473 last-key).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1474
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1475 Another new variable, last-input-char, holds the last character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1476 read from the command input stream regardless of what it was
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1477 read for. last-input-char and last-command-char are different
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1478 only inside a command that has called read-char to read input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1479
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1480 * The new switch -kill causes Emacs to exit after processing the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1481 preceding command line arguments. Thus,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1482 emacs -l lib data -e do-it -kill
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1483 means to load lib, find file data, call do-it on no arguments,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1484 and then exit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1485
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1486 * The config.h file has been modularized.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1487
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1488 Options that depend on the machine you are running on are defined
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1489 in a file whose name starts with "m-", such as m-vax.h.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1490 Options that depend on the operating system software version you are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1491 running on are defined in a file whose name starts with "s-",
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1492 such as s-bsd4.2.h.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1493
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1494 config.h includes one m- file and one s- file. It also defines a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1495 few other options whose values do not follow from the machine type
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1496 and system type being used. Installers normally will have to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1497 select the correct m- and s- files but will never have to change their
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1498 contents.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1499
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1500 * Termcap AL and DL strings are understood.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1501
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1502 If the termcap entry defines AL and DL strings, for insertion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1503 and deletion of multiple lines in one blow, Emacs now uses them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1504 This matters most on certain bit map display terminals for which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1505 scrolling is comparatively slow.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1506
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1507 * Bias against scrolling screen far on fast terminals.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1508
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1509 Emacs now prefers to redraw a few lines rather than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1510 shift them a long distance on the screen, when the terminal is fast.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1511
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1512 * New major mode, mim-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1513
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1514 This major mode is for editing MDL code. Perhaps a MDL
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1515 user can explain why it is not called mdl-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1516 You must load the library mim-mode explicitly to use this.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1517
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1518 * GNU documentation formatter `texinfo'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1519
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1520 The `texinfo' library defines a format for documentation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1521 files which can be passed through Tex to make a printed manual
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1522 or passed through texinfo to make an Info file. Texinfo is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1523 documented fully by its own Info file; compare this file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1524 with its source, texinfo.texinfo, for additional guidance.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1525
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1526 All documentation files for GNU utilities should be written
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1527 in texinfo input format.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1528
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1529 Tex processing of texinfo files requires the Botex macro package.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1530 This is not ready for distribution yet, but will appear at
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1531 a later time.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1532
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1533 * New function read-from-string (emacs 15.29)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1534
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1535 read-from-string takes three arguments: a string to read from,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1536 and optionally start and end indices which delimit a substring
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1537 from which to read. (They default to 0 and the length of the string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1538 respectively.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1539
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1540 This function returns a cons cell whose car is the object produced
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1541 by reading from the string and whose cdr is a number giving the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1542 index in the string of the first character not read. That index may
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1543 be passed as the second argument to a later call to read-from-string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1544 to read the next form represented by the string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1545
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1546 In addition, the function read now accepts a string as its argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1547 In this case, it calls read-from-string on the whole string, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1548 returns the car of the result. (ie the actual object read.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1549
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1550
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1551
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1552 Changes in Emacs 14
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1553
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1554 * Completion now prints various messages such as [Sole Completion]
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1555 or [Next Character Not Unique] to describe the results obtained.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1556 These messages appear after the text in the minibuffer, and remain
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1557 on the screen until a few seconds go by or you type a key.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1558
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1559 * The buffer-read-only flag is implemented.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1560 Setting or binding this per-buffer variable to a non-nil value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1561 makes illegal any operation which would modify the textual content of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1562 the buffer. (Such operations signal a buffer-read-only error)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1563 The read-only state of a buffer may be altered using toggle-read-only
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1564 (C-x C-q)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1565 The buffers used by Rmail, Dired, Rnews, and Info are now read-only
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1566 by default to prevent accidental damage to the information in those
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1567 buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1568
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1569 * Functions car-safe and cdr-safe.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1570 These functions are like car and cdr when the argument is a cons.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1571 Given an argument not a cons, car-safe always returns nil, with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1572 no error; the same for cdr-safe.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1573
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1574 * The new function user-real-login-name returns the name corresponding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1575 to the real uid of the Emacs process. This is usually the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1576 as what user-login-name returns; however, when Emacs is invoked
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1577 from su, user-real-login-name returns "root" but user-login-name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1578 returns the name of the user who invoked su.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1579
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1580
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1581
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1582 Changes in Emacs 13
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1583
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1584 * There is a new version numbering scheme.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1585
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1586 What used to be the first version number, which was 1,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1587 has been discarded since it does not seem that I need three
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1588 levels of version number.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1589
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1590 However, a new third version number has been added to represent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1591 changes by user sites. This number will always be zero in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1592 Emacs when I distribute it; it will be incremented each time
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1593 Emacs is built at another site.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1594
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1595 * There is now a reader syntax for Meta characters:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1596 \M-CHAR means CHAR or'ed with the Meta bit. For example:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1597
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1598 ?\M-x is (+ ?x 128)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1599 ?\M-\n is (+ ?\n 128)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1600 ?\M-\^f is (+ ?\^f 128)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1601
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1602 This syntax can be used in strings too. Note, however, that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1603 Meta characters are not meaningful in key sequences being passed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1604 to define-key or lookup-key; you must use ESC characters (\e)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1605 in them instead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1606
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1607 ?\C- can be used likewise for control characters. (13.9)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1608
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1609 * Installation change
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1610 The string "../lisp" now adds to the front of the load-path
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1611 used for searching for Lisp files during Emacs initialization.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1612 It used to replace the path specified in paths.h entirely.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1613 Now the directory ../lisp is searched first and the directoris
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1614 specified in paths.h are searched afterward.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1615
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1616
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1617
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1618 Changes in Emacs 1.12
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1619
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1620 * There is a new installation procedure.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1621 See the file INSTALL that comes in the top level
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1622 directory in the tar file or tape.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1623
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1624 * The Meta key is now supported on terminals that have it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1625 This is a shift key which causes the high bit to be turned on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1626 in all input characters typed while it is held down.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1627
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1628 read-char now returns a value in the range 128-255 if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1629 a Meta character is typed. When interpreted as command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1630 input, a Meta character is equivalent to a two character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1631 sequence, the meta prefix character followed by the un-metized
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1632 character (Meta-G unmetized is G).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1633
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1634 The meta prefix character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1635 is specified by the value of the variable meta-prefix-char.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1636 If this character (normally Escape) has been redefined locally
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1637 with a non-prefix definition (such as happens in completing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1638 minibuffers) then the local redefinition is suppressed when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1639 the character is not the last one in a key sequence.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1640 So the local redefinition is effective if you type the character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1641 explicitly, but not effective if the character comes from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1642 the use of the Meta key.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1643
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1644 * `-' is no longer a completion command in the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1645 It is an ordinary self-inserting character.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1646
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1647 * The list load-path of directories load to search for Lisp files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1648 is now controlled by the EMACSLOADPATH environment variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1649 [[ Note this was originally EMACS-LOAD-PATH and has been changed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1650 again; sh does not deal properly with hyphens in env variable names]]
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1651 rather than the EPATH environment variable. This is to avoid
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1652 conflicts with other Emacses.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1653
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1654 While Emacs is being built initially, the load-path
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1655 is now just ("../lisp"), ignoring paths.h. It does not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1656 ignore EMACSLOADPATH, however; you should avoid having
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1657 this variable set while building Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1658
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1659 * You can now specify a translation table for keyboard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1660 input characters, as a way of exchanging or substituting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1661 keys on the keyboard.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1662
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1663 If the value of keyboard-translate-table is a string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1664 every character received from the keyboard is used as an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1665 index in that string, and the character at that index in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1666 the string is used as input instead of what was actually
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1667 typed. If the actual input character is >= the length of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1668 the string, it is used unchanged.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1669
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1670 One way this feature can be used is to fix bad keyboard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1671 designes. For example, on some terminals, Delete is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1672 Shift-Underscore. Since Delete is a more useful character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1673 than Underscore, it is an improvement to make the unshifted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1674 character Delete and the shifted one Underscore. This can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1675 be done with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1676
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1677 ;; First make a translate table that does the identity translation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1678 (setq keyboard-translate-table (make-string 128 0))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1679 (let ((i 0))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1680 (while (< i 128)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1681 (aset keyboard-translate-table i i)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1682 (setq i (1+ i))))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1683
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1684 ;; Now alter translations of some characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1685 (aset keyboard-translate-table ?\_ ?\^?)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1686 (aset keyboard-translate-table ?\^? ?\_)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1687
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1688 If your terminal has a Meta key and can therefore send
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1689 codes up to 255, Meta characters are translated through
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1690 elements 128 through 255 of the translate table, and therefore
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1691 are translated independently of the corresponding non-Meta
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1692 characters. You must therefore establish translations
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1693 independently for the Meta characters if you want them too:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1694
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1695 ;; First make a translate table that does the identity translation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1696 (setq keyboard-translate-table (make-string 256 0))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1697 (let ((i 0))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1698 (while (< i 256)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1699 (aset keyboard-translate-table i i)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1700 (setq i (1+ i))))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1701
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1702 ;; Now alter translations of some characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1703 (aset keyboard-translate-table ?\_ ?\^?)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1704 (aset keyboard-translate-table ?\^? ?\_)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1705
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1706 ;; Now alter translations of some Meta characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1707 (aset keyboard-translate-table (+ 128 ?\_) (+ 128 ?\^?))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1708 (aset keyboard-translate-table (+ 128 ?\^?) (+ 128 ?\_))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1709
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1710 * (process-kill-without-query PROCESS)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1711
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1712 This marks the process so that, when you kill Emacs,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1713 you will not on its account be queried about active subprocesses.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1714
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1715
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1716
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1717 Changes in Emacs 1.11
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1718
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1719 * The commands C-c and C-z have been interchanged,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1720 for greater compatibility with normal Unix usage.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1721 C-z now runs suspend-emacs and C-c runs exit-recursive-edit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1722
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1723 * The value returned by file-name-directory now ends
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1724 with a slash. (file-name-directory "foo/bar") => "foo/".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1725 This avoids confusing results when dealing with files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1726 in the root directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1727
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1728 The value of the per-buffer variable default-directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1729 is also supposed to have a final slash now.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1730
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1731 * There are now variables to control the switches passed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1732 `ls' by the C-x C-d command (list-directory).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1733 list-directory-brief-switches is a string, initially "-CF",
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1734 used for brief listings, and list-directory-verbose-switches
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1735 is a string, initially "-l", used for verbose ones.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1736
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1737 * For Ann Arbor Ambassador terminals, the termcap "ti" string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1738 is now used to initialize the screen geometry on entry to Emacs,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1739 and the "te" string is used to set it back on exit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1740 If the termcap entry does not define the "ti" or "te" string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1741 Emacs does what it used to do.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1742
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1743
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1744
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1745 Changes in Emacs 1.10
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1746
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1747 * GNU Emacs has been made almost 1/3 smaller.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1748 It now dumps out as only 530kbytes on Vax 4.2bsd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1749
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1750 * The term "checkpoint" has been replaced by "auto save"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1751 throughout the function names, variable names and documentation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1752 of GNU Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1753
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1754 * The function load now tries appending ".elc" and ".el"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1755 to the specified filename BEFORE it tries the filename
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1756 without change.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1757
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1758 * rmail now makes the mode line display the total number
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1759 of messages and the current message number.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1760 The "f" command now means forward a message to another user.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1761 The command to search through all messages for a string is now "F".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1762 The "u" command now means to move back to the previous
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1763 message and undelete it. To undelete the selected message, use Meta-u.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1764
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1765 * The hyphen character is now equivalent to a Space while
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1766 in completing minibuffers. Both mean to complete an additional word.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1767
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1768 * The Lisp function error now takes args like format
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1769 which are used to construct the error message.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1770
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1771 * Redisplay will refuse to start its display at the end of the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1772 It will pick a new place to display from, rather than use that.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1773
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1774 * The value returned by garbage-collect has been changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1775 Its first element is no longer a number but a cons,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1776 whose car is the number of cons cells now in use,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1777 and whose cdr is the number of cons cells that have been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1778 made but are now free.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1779 The second element is similar but describes symbols rather than cons cells.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1780 The third element is similar but describes markers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1781
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1782 * The variable buffer-name has been eliminated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1783 The function buffer-name still exists. This is to prevent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1784 user programs from changing buffer names without going
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1785 through the rename-buffer function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1786
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1787
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1788
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1789 Changes in Emacs 1.9
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1790
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1791 * When a fill prefix is in effect, paragraphs are started
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1792 or separated by lines that do not start with the fill prefix.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1793 Also, a line which consists of the fill prefix followed by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1794 white space separates paragraphs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1795
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1796 * C-x C-v runs the new function find-alternate-file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1797 It finds the specified file, switches to that buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1798 and kills the previous current buffer. (It requires
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1799 confirmation if that buffer had changes.) This is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1800 most useful after you find the wrong file due to a typo.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1801
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1802 * Exiting the minibuffer moves the cursor to column 0,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1803 to show you that it has really been exited.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1804
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1805 * Meta-g (fill-region) now fills each paragraph in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1806 region individually. To fill the region as if it were
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1807 a single paragraph (for when the paragraph-delimiting mechanism
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1808 does the wrong thing), use fill-region-as-paragraph.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1809
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1810 * Tab in text mode now runs the function tab-to-tab-stop.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1811 A new mode called indented-text-mode is like text-mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1812 except that in it Tab runs the function indent-relative,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1813 which indents the line under the previous line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1814 If auto fill is enabled while in indented-text-mode,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1815 the new lines that it makes are indented.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1816
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1817 * Functions kill-rectangle and yank-rectangle.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1818 kill-rectangle deletes the rectangle specified by dot and mark
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1819 (or by two arguments) and saves it in the variable killed-rectangle.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1820 yank-rectangle inserts the rectangle in that variable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1821
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1822 Tab characters in a rectangle being saved are replaced
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1823 by spaces in such a way that their appearance will
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1824 not be changed if the rectangle is later reinserted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1825 at a different column position.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1826
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1827 * `+' in a regular expression now means
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1828 to repeat the previous expression one or more times.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1829 `?' means to repeat it zero or one time.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1830 They are in all regards like `*' except for the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1831 number of repetitions they match.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1832
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1833 \< in a regular expression now matches the null string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1834 when it is at the beginning of a word; \> matches
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1835 the null string at the end of a word.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1836
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1837 * C-x p narrows the buffer so that only the current page
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1838 is visible.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1839
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1840 * C-x ) with argument repeats the kbd macro just
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1841 defined that many times, counting the definition
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1842 as one repetition.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1843
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1844 * C-x ( with argument begins defining a kbd macro
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1845 starting with the last one defined. It executes that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1846 previous kbd macro initially, just as if you began
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1847 by typing it over again.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1848
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1849 * C-x q command queries the user during kbd macro execution.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1850 With prefix argument, enters recursive edit,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1851 reading keyboard commands even within a kbd macro.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1852 You can give different commands each time the macro executes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1853 Without prefix argument, reads a character. Your options are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1854 Space -- execute the rest of the macro.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1855 Delete -- skip the rest of the macro; start next repetition.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1856 C-d -- skip rest of the macro and don't repeat it any more.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1857 C-r -- enter a recursive edit, then on exit ask again for a character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1858 C-l -- redisplay screen and ask again."
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1859
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1860 * write-kbd-macro and append-kbd-macro are used to save
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1861 a kbd macro definition in a file (as Lisp code to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1862 redefine the macro when the file is loaded).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1863 These commands differ in that write-kbd-macro
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1864 discards the previous contents of the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1865 If given a prefix argument, both commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1866 record the keys which invoke the macro as well as the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1867 macro's definition.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1868
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1869 * The variable global-minor-modes is used to display
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1870 strings in the mode line of all buffers. It should be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1871 a list of elements thaht are conses whose cdrs are strings
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1872 to be displayed. This complements the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1873 minor-modes, which has the same effect but has a separate
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1874 value in each buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1875
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1876 * C-x = describes horizontal scrolling in effect, if any.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1877
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1878 * Return now auto-fills the line it is ending, in auto fill mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1879 Space with zero as argument auto-fills the line before it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1880 just like Space without an argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1881
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1882
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1883
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1884 Changes in Emacs 1.8
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1885
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1886 This release mostly fixes bugs. There are a few new features:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1887
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1888 * apropos now sorts the symbols before displaying them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1889 Also, it returns a list of the symbols found.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1890
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1891 apropos now accepts a second arg PRED which should be a function
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1892 of one argument; if PRED is non-nil, each symbol is tested
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1893 with PRED and only symbols for which PRED returns non-nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1894 appear in the output or the returned list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1895
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1896 If the third argument to apropos is non-nil, apropos does not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1897 display anything; it merely returns the list of symbols found.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1898
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1899 C-h a now runs the new function command-apropos rather than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1900 apropos, and shows only symbols with definitions as commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1901
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1902 * M-x shell sends the command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1903 if (-f ~/.emacs_NAME)source ~/.emacs_NAME
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1904 invisibly to the shell when it starts. Here NAME
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1905 is replaced by the name of shell used,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1906 as it came from your ESHELL or SHELL environment variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1907 but with directory name, if any, removed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1908
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1909 * M-, now runs the command tags-loop-continue, which is used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1910 to resume a terminated tags-search or tags-query-replace.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1911
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1912
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1913
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1914 Changes in Emacs 1.7
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1915
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1916 It's Beat CCA Week.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1917
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1918 * The initial buffer is now called "*scratch*" instead of "scratch",
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1919 so that all buffer names used automatically by Emacs now have *'s.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1920
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1921 * Undo information is now stored separately for each buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1922 The Undo command (C-x u) always applies to the current
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1923 buffer only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1924
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1925 C-_ is now a synonym for C-x u.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1926
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1927 (buffer-flush-undo BUFFER) causes undo information not to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1928 be kept for BUFFER, and frees the space that would have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1929 been used to hold it. In any case, no undo information is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1930 kept for buffers whose names start with spaces. (These
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1931 buffers also do not appear in the C-x C-b display.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1932
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1933 * Rectangle operations are now implemented.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1934 C-x r stores the rectangle described by dot and mark
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1935 into a register; it reads the register name from the keyboard.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1936 C-x g, the command to insert the contents of a register,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1937 can be used to reinsert the rectangle elsewhere.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1938
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1939 Other rectangle commands include
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1940 open-rectangle:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1941 insert a blank rectangle in the position and size
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1942 described by dot and mark, at its corners;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1943 the existing text is pushed to the right.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1944 clear-rectangle:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1945 replace the rectangle described by dot ane mark
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1946 with blanks. The previous text is deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1947 delete-rectangle:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1948 delete the text of the specified rectangle,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1949 moving the text beyond it on each line leftward.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1950
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1951 * Side-by-side windows are allowed. Use C-x 5 to split the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1952 current window into two windows side by side.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1953 C-x } makes the selected window ARG columns wider at the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1954 expense of the windows at its sides. C-x { makes the selected
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1955 window ARG columns narrower. An argument to C-x 5 specifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1956 how many columns to give to the leftmost of the two windows made.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1957
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1958 C-x 2 now accepts a numeric argument to specify the number of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1959 lines to give to the uppermost of the two windows it makes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1960
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1961 * Horizontal scrolling of the lines in a window is now implemented.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1962 C-x < (scroll-left) scrolls all displayed lines left,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1963 with the numeric argument (default 1) saying how far to scroll.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1964 When the window is scrolled left, some amount of the beginning
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1965 of each nonempty line is replaced by an "$".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1966 C-x > scrolls right. If a window has no text hidden at the left
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1967 margin, it cannot be scrolled any farther right than that.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1968 When nonzero leftwards scrolling is in effect in a window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1969 lines are automatically truncated at the window's right margin
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1970 regardless of the value of the variable truncate-lines in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1971 buffer being displayed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1972
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1973 * C-x C-d now uses the default output format of `ls',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1974 which gives just file names in multiple columns.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1975 C-u C-x C-d passes the -l switch to `ls'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1976
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1977 * C-t at the end of a line now exchanges the two preceding characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1978
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1979 All the transpose commands now interpret zero as an argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1980 to mean to transpose the textual unit after or around dot
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1981 with the one after or around the mark.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1982
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1983 * M-! executes a shell command in an inferior shell
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1984 and displays the output from it. With a prefix argument,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1985 it inserts the output in the current buffer after dot
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1986 and sets the mark after the output. The shell command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1987 gets /dev/null as its standard input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1988
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1989 M-| is like M-! but passes the contents of the region
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1990 as input to the shell command. A prefix argument makes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1991 the output from the command replace the contents of the region.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1992
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1993 * The mode line will now say "Def" after the major mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1994 while a keyboard macro is being defined.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1995
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1996 * The variable fill-prefix is now used by Meta-q.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1997 Meta-q removes the fill prefix from lines that start with it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1998 before filling, and inserts the fill prefix on each line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1999 after filling.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2000
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2001 The command C-x . sets the fill prefix equal to the text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2002 on the current line before dot.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2003
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2004 * The new command Meta-j (indent-new-comment-line),
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2005 is like Linefeed (indent-new-line) except when dot is inside a comment;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2006 in that case, Meta-j inserts a comment starter on the new line,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2007 indented under the comment starter above. It also inserts
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2008 a comment terminator at the end of the line above,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2009 if the language being edited calls for one.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2010
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2011 * Rmail should work correctly now, and has some C-h m documentation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2012
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2013
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2014
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2015 Changes in Emacs 1.6
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2016
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2017 * save-buffers-kill-emacs is now on C-x C-c
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2018 while C-x C-z does suspend-emacs. This is to make
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2019 C-x C-c like the normal Unix meaning of C-c
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2020 and C-x C-z linke the normal Unix meaning of C-z.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2021
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2022 * M-ESC (eval-expression) is now a disabled command by default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2023 This prevents users who type ESC ESC accidentally from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2024 getting confusing results. Put
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2025 (put 'eval-expression 'disabled nil)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2026 in your ~/.emacs file to enable the command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2027
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2028 * Self-inserting text is grouped into bunches for undoing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2029 Each C-x u command undoes up to 20 consecutive self-inserting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2030 characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2031
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2032 * Help f now uses as a default the function being called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2033 in the innermost Lisp expression that dot is in.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2034 This makes it more convenient to use while writing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2035 Lisp code to run in Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2036 (If the text around dot does not appear to be a call
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2037 to a Lisp function, there is no default.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2038
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2039 Likewise, Help v uses the symbol around or before dot
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2040 as a default, if that is a variable name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2041
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2042 * Commands that read filenames now insert the default
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2043 directory in the minibuffer, to become part of your input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2044 This allows you to see what the default is.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2045 You may type a filename which goes at the end of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2046 default directory, or you may edit the default directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2047 as you like to create the input you want to give.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2048 You may also type an absolute pathname (starting with /)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2049 or refer to a home directory (input starting with ~)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2050 after the default; the presence of // or /~ causes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2051 everything up through the slash that precedes your
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2052 type-in to be ignored.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2053
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2054 Returning the default directory without change,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2055 including the terminating slash, requests the use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2056 of the default file name (usually the visited file's name).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2057
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2058 Set the variable insert-default-directory to nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2059 to turn off this feature.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2060
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2061 * M-x shell now uses the environment variable ESHELL,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2062 if it exists, as the file name of the shell to run.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2063 If there is no ESHELL variable, the SHELL variable is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2064 This is because some shells do not work properly as inferiors
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2065 of Emacs (or anything like Emacs).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2066
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2067 * A new variable minor-modes now exists, with a separate value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2068 in each buffer. Its value should be an alist of elements
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2069 (MODE-FUNCTION-SYMBOL . PRETTY-NAME-STRING), one for each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2070 minor mode that is turned on in the buffer. The pretty
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2071 name strings are displayed in the mode line after the name of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2072 major mode (with spaces between them). The mode function
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2073 symbols should be symbols whose function definitions will
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2074 turn on the minor mode if given 1 as an argument; they are present
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2075 so that Help m can find their documentation strings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2076
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2077 * The format of tag table files has been changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2078 The new format enables Emacs to find tags much faster.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2079
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2080 A new program, etags, exists to make the kind of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2081 tag table that Emacs wants. etags is invoked just
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2082 like ctags; in fact, if you give it any switches,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2083 it does exactly what ctags would do. Give it the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2084 empty switch ("-") to make it act like ctags with no switches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2085
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2086 etags names the tag table file "TAGS" rather than "tags",
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2087 so that these tag tables and the standard Unix ones
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2088 can coexist.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2089
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2090 The tags library can no longer use standard ctags-style
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2091 tag tables files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2092
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2093 * The file of Lisp code Emacs reads on startup is now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2094 called ~/.emacs rather than ~/.emacs_pro.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2095
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2096 * copy-file now gives the copied file the same mode bits
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2097 as the original file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2098
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2099 * Output from a process inserted into the process's buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2100 no longer sets the buffer's mark. Instead it sets a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2101 marker associated with the process to point to the end
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2102 of the inserted text. You can access this marker with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2103 (process-mark PROCESS)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2104 and then either examine its position with marker-position
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2105 or set its position with set-marker.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2106
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2107 * completing-read takes a new optional fifth argument which,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2108 if non-nil, should be a string of text to insert into
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2109 the minibuffer before reading user commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2110
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2111 * The Lisp function elt now exists:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2112 (elt ARRAY N) is like (aref ARRAY N),
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2113 (elt LIST N) is like (nth N LIST).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2114
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2115 * rplaca is now a synonym for setcar, and rplacd for setcdr.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2116 eql is now a synonym for eq; it turns out that the Common Lisp
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2117 distinction between eq and eql is insignificant in Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2118 numberp is a new synonym for integerp.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2119
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2120 * auto-save has been renamed to auto-save-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2121
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2122 * Auto save file names for buffers are now created by the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2123 function make-auto-save-file-name. This is so you can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2124 redefine that function to change the way auto save file names
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2125 are chosen.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2126
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2127 * expand-file-name no longer discards a final slash.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2128 (expand-file-name "foo" "/lose") => "/lose/foo"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2129 (expand-file-name "foo/" "/lose") => "/lose/foo/"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2131 Also, expand-file-name no longer substitutes $ constructs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2132 A new function substitute-in-file-name does this. Reading
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2133 a file name with read-file-name or the `f' or`F' option
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2134 of interactive calling uses substitute-in-file-name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2135 on the file name that was read and returns the result.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2136
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2137 All I/O primitives including insert-file-contents and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2138 delete-file call expand-file-name on the file name supplied.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2139 This change makes them considerably faster in the usual case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2140
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2141 * Interactive calling spec strings allow the new code letter 'D'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2142 which means to read a directory name. It is like 'f' except
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2143 that the default if the user makes no change in the minibuffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2144 is to return the current default directory rather than the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2145 current visited file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2147
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2148
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2149 Changes in Emacs 1.5
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2150
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2151 * suspend-emacs now accepts an optional argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2152 which is a string to be stuffed as terminal input
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2153 to be read by Emacs's superior shell after Emacs exits.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2154
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2155 A library called ledit exists which uses this feature
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2156 to transmit text to a Lisp job running as a sibling of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2157 Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2158
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2159 * If find-file is given the name of a directory,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2160 it automatically invokes dired on that directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2161 rather than reading in the binary data that make up
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2162 the actual contents of the directory according to Unix.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2163
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2164 * Saving an Emacs buffer now preserves the file modes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2165 of any previously existing file with the same name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2166 This works using new Lisp functions file-modes and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2167 set-file-modes, which can be used to read or set the mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2168 bits of any file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2169
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2170 * The Lisp function cond now exists, with its traditional meaning.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2171
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2172 * defvar and defconst now permit the documentation string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2173 to be omitted. defvar also permits the initial value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2174 to be omitted; then it acts only as a comment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2175
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2176
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2177
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2178 Changes in Emacs 1.4
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2179
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2180 * Auto-filling now normally indents the new line it creates
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2181 by calling indent-according-to-mode. This function, meanwhile,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2182 has in Fundamental and Text modes the effect of making the line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2183 have an indentation of the value of left-margin, a per-buffer variable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2184
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2185 Tab no longer precisely does indent-according-to-mode;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2186 it does that in all modes that supply their own indentation routine,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2187 but in Fundamental, Text and allied modes it inserts a tab character.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2188
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2189 * The command M-x grep now invokes grep (on arguments
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2190 supplied by the user) and reads the output from grep
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2191 asynchronously into a buffer. The command C-x ` can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2192 be used to move to the lines that grep has found.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2193 This is an adaptation of the mechanism used for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2194 running compilations and finding the loci of error messages.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2195
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2196 You can now use C-x ` even while grep or compilation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2197 is proceeding; as more matches or error messages arrive,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2198 C-x ` will parse them and be able to find them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2199
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2200 * M-x mail now provides a command to send the message
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2201 and "exit"--that is, return to the previously selected
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2202 buffer. It is C-z C-z.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2204 * Tab in C mode now tries harder to adapt to all indentation styles.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2205 If the line being indented is a statement that is not the first
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2206 one in the containing compound-statement, it is aligned under
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2207 the beginning of the first statement.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2208
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2209 * The functions screen-width and screen-height return the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2210 total width and height of the screen as it is now being used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2211 set-screen-width and set-screen-height tell Emacs how big
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2212 to assume the screen is; they each take one argument,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2213 an integer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2214
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2215 * The Lisp function 'function' now exists. function is the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2216 same as quote, except that it serves as a signal to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2217 Lisp compiler that the argument should be compiled as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2218 a function. Example:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2219 (mapcar (function (lambda (x) (+ x 5))) list)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2220
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2221 * The function set-key has been renamed to global-set-key.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2222 undefine-key and local-undefine-key has been renamed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2223 global-unset-key and local-unset-key.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2224
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2225 * Emacs now collects input from asynchronous subprocesses
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2226 while waiting in the functions sleep-for and sit-for.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2227
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2228 * Shell mode's Newline command attempts to distinguish subshell
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2229 prompts from user input when issued in the middle of the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2230 It no longer reexecutes from dot to the end of the line;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2231 it reeexecutes the entire line minus any prompt.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2232 The prompt is recognized by searching for the value of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2233 shell-prompt-pattern, starting from the beginning of the line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2234 Anything thus skipped is not reexecuted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2235
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2237
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2238 Changes in Emacs 1.3
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2239
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2240 * An undo facility exists now. Type C-x u to undo a batch of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2241 changes (usually one command's changes, but some commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2242 such as query-replace divide their changes into multiple
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2243 batches. You can repeat C-x u to undo further. As long
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2244 as no commands other than C-x u intervene, each one undoes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2245 another batch. A numeric argument to C-x u acts as a repeat
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2246 count.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2247
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2248 If you keep on undoing, eventually you may be told that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2249 you have used up all the recorded undo information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2250 Some actions, such as reading in files, discard all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2251 undo information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2252
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2253 The undo information is not currently stored separately
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2254 for each buffer, so it is mainly good if you do something
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2255 totally spastic. [This has since been fixed.]
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2256
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2257 * A learn-by-doing tutorial introduction to Emacs now exists.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2258 Type C-h t to enter it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2259
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2260 * An Info documentation browser exists. Do M-x info to enter it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2261 It contains a tutorial introduction so that no more documentation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2262 is needed here. As of now, the only documentation in it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2263 is that of Info itself.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2264
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2265 * Help k and Help c are now different. Help c prints just the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2266 name of the function which the specified key invokes. Help k
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2267 prints the documentation of the function as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2268
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2269 * A document of the differences between GNU Emacs and Twenex Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2270 now exists. It is called DIFF, in the same directory as this file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2271
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2272 * C mode can now indent comments better, including multi-line ones.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2273 Meta-Control-q now reindents comment lines within the expression
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2274 being aligned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2275
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2276 * Insertion of a close-parenthesis now shows the matching open-parenthesis
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2277 even if it is off screen, by printing the text following it on its line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2278 in the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2279
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2280 * A file can now contain a list of local variable values
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2281 to be in effect when the file is edited. See the file DIFF
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2282 in the same directory as this file for full details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2283
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2284 * A function nth is defined. It means the same thing as in Common Lisp.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2285
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2286 * The function install-command has been renamed to set-key.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2287 It now takes the key sequence as the first argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2288 and the definition for it as the second argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2289 Likewise, local-install-command has been renamed to local-set-key.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2291
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2292
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2293 Changes in Emacs 1.2
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2294
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2295 * A Lisp single-stepping and debugging facility exists.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2296 To cause the debugger to be entered when an error
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2297 occurs, set the variable debug-on-error non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2298
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2299 To cause the debugger to be entered whenever function foo
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2300 is called, do (debug-on-entry 'foo). To cancel this,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2301 do (cancel-debug-on-entry 'foo). debug-on-entry does
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2302 not work for primitives (written in C), only functions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2303 written in Lisp. Most standard Emacs commands are in Lisp.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2304
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2305 When the debugger is entered, the selected window shows
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2306 a buffer called " *Backtrace" which displays a series
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2307 of stack frames, most recently entered first. For each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2308 frame, the function name called is shown, usually followed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2309 by the argument values unless arguments are still being
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2310 calculated. At the beginning of the buffer is a description
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2311 of why the debugger was entered: function entry, function exit,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2312 error, or simply that the user called the function `debug'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2313
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2314 To exit the debugger and return to top level, type `q'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2315
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2316 In the debugger, you can evaluate Lisp expressions by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2317 typing `e'. This is equivalent to `M-ESC'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2318
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2319 When the debugger is entered due to an error, that is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2320 all you can do. When it is entered due to function entry
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2321 (such as, requested by debug-on-entry), you have two
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2322 options:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2323 Continue execution and reenter debugger after the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2324 completion of the function being entered. Type `c'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2325 Continue execution but enter the debugger before
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2326 the next subexpression. Type `d'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2327
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2328 You will see that some stack frames are marked with *.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2329 This means the debugger will be entered when those
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2330 frames exit. You will see the value being returned
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2331 in the first line of the backtrace buffer. Your options:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2332 Continue execution, and return that value. Type `c'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2333 Continue execution, and return a specified value. Type `r'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2334
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2335 You can mark a frame to enter the debugger on exit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2336 with the `b' command, or clear such a mark with `u'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2337
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2338 * Lisp macros now exist.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2339 For example, you can write
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2340 (defmacro cadr (arg) (list 'car (list 'cdr arg)))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2341 and then the expression
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2342 (cadr foo)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2343 will expand into
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2344 (car (cdr foo))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2345
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2346
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2347
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2348 Changes in Emacs 1.1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2349
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2350 * The initial buffer is now called "scratch" and is in a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2351 new major mode, Lisp Interaction mode. This mode is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2352 intended for typing Lisp expressions, evaluating them,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2353 and having the values printed into the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2354
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2355 Type Linefeed after a Lisp expression, to evaluate the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2356 expression and have its value printed into the buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2357 advancing dot.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2358
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2359 The other commands of Lisp mode are available.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2360
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2361 * The C-x C-e command for evaluating the Lisp expression
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2362 before dot has been changed to print the value in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2363 minibuffer line rather than insert it in the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2364 A numeric argument causes the printed value to appear
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2365 in the buffer instead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2366
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2367 * In Lisp mode, the command M-C-x evaluates the defun
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2368 containing or following dot. The value is printed in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2369 the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2370
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2371 * The value of a Lisp expression evaluated using M-ESC
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2372 is now printed in the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2373
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2374 * M-q now runs fill-paragraph, independent of major mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2375
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2376 * C-h m now prints documentation on the current buffer's
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2377 major mode. What it prints is the documentation of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2378 major mode name as a function. All major modes have been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2379 equipped with documentation that describes all commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2380 peculiar to the major mode, for this purpose.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2381
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2382 * You can display a Unix manual entry with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2383 the M-x manual-entry command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2384
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2385 * You can run a shell, displaying its output in a buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2386 with the M-x shell command. The Return key sends input
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2387 to the subshell. Output is printed inserted automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2388 in the buffer. Commands C-c, C-d, C-u, C-w and C-z are redefined
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2389 for controlling the subshell and its subjobs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2390 "cd", "pushd" and "popd" commands are recognized as you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2391 enter them, so that the default directory of the Emacs buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2392 always remains the same as that of the subshell.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2393
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2394 * C-x $ (that's a real dollar sign) controls line-hiding based
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2395 on indentation. With a numeric arg N > 0, it causes all lines
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2396 indented by N or more columns to become invisible.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2397 They are, effectively, tacked onto the preceding line, where
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2398 they are represented by " ..." on the screen.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2399 (The end of the preceding visible line corresponds to a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2400 screen cursor position before the "...". Anywhere in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2401 invisible lines that follow appears on the screen as a cursor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2402 position after the "...".)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2403 Currently, all editing commands treat invisible lines just
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2404 like visible ones, except for C-n and C-p, which have special
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2405 code to count visible lines only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2406 C-x $ with no argument turns off this mode, which in any case
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2407 is remembered separately for each buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2408
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2409 * Outline mode is another form of selective display.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2410 It is a major mode invoked with M-x outline-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2411 It is intended for editing files that are structured as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2412 outlines, with heading lines (lines that begin with one
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2413 or more asterisks) and text lines (all other lines).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2414 The number of asterisks in a heading line are its level;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2415 the subheadings of a heading line are all following heading
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2416 lines at higher levels, until but not including the next
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2417 heading line at the same or a lower level, regardless
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2418 of intervening text lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2419
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2420 In outline mode, you have commands to hide (remove from display)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2421 or show the text or subheadings under each heading line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2422 independently. Hidden text or subheadings are invisibly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2423 attached to the end of the preceding heading line, so that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2424 if you kill the hading line and yank it back elsewhere
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2425 all the invisible lines accompany it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2426
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2427 All editing commands treat hidden outline-mode lines
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2428 as part of the preceding visible line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2429
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2430 * C-x C-z runs save-buffers-kill-emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2431 offers to save each file buffer, then exits.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2432
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2433 * C-c's function is now called suspend-emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2434
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2435 * The command C-x m runs mail, which switches to a buffer *mail*
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2436 and lets you compose a message to send. C-x 4 m runs mail in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2437 another window. Type C-z C-s in the mail buffer to send the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2438 message according to what you have entered in the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2439
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2440 You must separate the headers from the message text with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2441 an empty line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2442
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2443 * You can now dired partial directories (specified with names
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2444 containing *'s, etc, all processed by the shell). Also, you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2445 can dired more than one directory; dired names the buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2446 according to the filespec or directory name. Reinvoking
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2447 dired on a directory already direded just switches back to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2448 the same directory used last time; do M-x revert if you want
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2449 to read in the current contents of the directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2450
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2451 C-x d runs dired, and C-x 4 d runs dired in another window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2452
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2453 C-x C-d (list-directory) also allows partial directories now.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2454
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2455
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2456 Lisp programming changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2457
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2458 * t as an output stream now means "print to the minibuffer".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2459 If there is already text in the minibuffer printed via t
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2460 as an output stream, the new text is appended to the old
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2461 (or is truncated and lost at the margin). If the minibuffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2462 contains text put there for some other reason, it is cleared
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2463 first.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2464
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2465 t is now the top-level value of standard-output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2466
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2467 t as an input stream now means "read via the minibuffer".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2468 The minibuffer is used to read a line of input, with editing,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2469 and this line is then parsed. Any excess not used by `read'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2470 is ignored; each `read' from t reads fresh input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2471 t is now the top-level value of standard-input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2472
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2473 * A marker may be used as an input stream or an output stream.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2474 The effect is to grab input from where the marker points,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2475 advancing it over the characters read, or to insert output
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2476 at the marker and advance it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2477
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2478 * Output from an asynchronous subprocess is now inserted at
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2479 the end of the associated buffer, not at the buffer's dot,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2480 and the buffer's mark is set to the end of the inserted output
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2481 each time output is inserted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2482
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2483 * (pos-visible-in-window-p POS WINDOW)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2484 returns t if position POS in WINDOW's buffer is in the range
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2485 that is being displayed in WINDOW; nil if it is scrolled
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2486 vertically out of visibility.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2487
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2488 If display in WINDOW is not currently up to date, this function
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2489 calculates carefully whether POS would appear if display were
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2490 done immediately based on the current (window-start WINDOW).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2491
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2492 POS defaults to (dot), and WINDOW to (selected-window).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2493
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2494 * Variable buffer-alist replaced by function (buffer-list).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2495 The actual alist of buffers used internally by Emacs is now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2496 no longer accessible, to prevent the user from crashing Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2497 by modifying it. The function buffer-list returns a list
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2498 of all existing buffers. Modifying this list cannot hurt anything
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2499 as a new list is constructed by each call to buffer-list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2500
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2501 * load now takes an optional third argument NOMSG which, if non-nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2502 prevents load from printing a message when it starts and when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2503 it is done.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2504
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2505 * byte-recompile-directory is a new function which finds all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2506 the .elc files in a directory, and regenerates each one which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2507 is older than the corresponding .el (Lisp source) file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2508
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2509
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2510
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2511 ----------------------------------------------------------------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2512 Copyright information:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2513
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2514 Copyright (C) 1985, 1986, 2006 Richard M. Stallman
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2515
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2516 Permission is granted to anyone to make or distribute verbatim copies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2517 of this document as received, in any medium, provided that the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2518 copyright notice and this permission notice are preserved,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2519 thus giving the recipient permission to redistribute in turn.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2520
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2521 Permission is granted to distribute modified versions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2522 of this document, or of portions of it,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2523 under the above conditions, provided also that they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2524 carry prominent notices stating who last changed them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2525
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2526 Local variables:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2527 mode: text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2528 end:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2529
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2530 arch-tag: 33dc900d-9c58-473b-87c9-b6d7222323ea