annotate etc/NEWS.18 @ 73643:b99336492688

(custom-unlispify-menu-entries, custom-unlispify-tag-names, custom-prompt-variable): Use "non-nil" in docstrings.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 03 Nov 2006 15:06: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. 17-Aug-1988
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2 Copyright (C) 1988, 2006 Free Software Foundation, Inc.
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 version 18.
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 version 18.52.
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 * X windows version 10 is supported under system V.
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 * Pop-up menus are now supported with the same Lisp interface in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
14 both version 10 and 11 of X windows.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
15
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
16 * C-x 4 a is a new command to edit a change-log entry in another window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
17
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
18 * The emacs client program now allows an option +NNN to specify the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
19 line number to go to in the file whose name follows. Thus,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
20 emacsclient foo.c +45 bar.c
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
21 will find the files `foo.c' and `bar.c', going to line 45 in `bar.c'.
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 * Dired allows empty directories to be deleted like files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
24
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
25 * When the terminal type is used to find a terminal-specific file to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
26 run, Emacs now tries the entire terminal type first. If that doesn't
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
27 yield a file that exists, the last hyphen and what follows it is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
28 stripped. If that doesn't yield a file that exists, the previous
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
29 hyphen is stripped, and so on until all hyphens are gone. For
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
30 example, if the terminal type is `aaa-48-foo', Emacs will try first
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
31 `term/aaa-48-foo.el', then `term/aaa-48.el' and finally `term/aaa.el'.
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 Underscores now receive the same treatment as hyphens.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
34
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
35 * Texinfo features: @defun, etc. texinfo-show-structure.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
36 New template commands. texinfo-format-region.
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 * The special "local variable" `eval' is now ignored if you are running
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
39 as root.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
40
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
41 * New command `c-macro-expand' shows the result of C macro expansion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
42 in the region. It works using the C preprocessor, so its results
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
43 are completely accurate.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
44
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
45 * Errors in trying to auto save now flash error messages for a few seconds.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
46
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
47 * Killing a buffer now sends SIGHUP to the buffer's process.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
48
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
49 * New hooks.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
50
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
51 ** `spell-region' now allows you to filter the text before spelling-checking.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
52 If the value of `spell-filter' is non-nil, it is called, with no arguments,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
53 looking at a temporary buffer containing a copy of the text to be checked.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
54 It can alter the text freely before the spell program sees it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
55
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
56 ** The variable `lpr-command' now specifies the command to be used when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
57 you use the commands to print text (such as M-x print-buffer).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
58
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
59 ** Posting netnews now calls the value of `news-inews-hook' (if not nil)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
60 as a function of no arguments before the actual posting.
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 ** Rmail now calls the value of `rmail-show-message-hook' (if not nil)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
63 as a function of no arguments, each time a new message is selected.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
64
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
65 ** `kill-emacs' calls the value of `kill-emacs-hook' as a function of no args.
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 * New libraries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
68 See the source code of each library for more information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
69
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
70 ** icon.el: a major mode for editing programs written in Icon.
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 ** life.el: a simulator for the cellular automaton "life". Load the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
73 library and run M-x life.
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 ** doctex.el: a library for converting the Emacs `etc/DOC' file of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
76 documentation strings into TeX input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
77
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
78 ** saveconf.el: a library which records the arrangement of windows and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
79 buffers when you exit Emacs, and automatically recreates the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
80 setup the next time you start Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
81
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
82 ** uncompress.el: a library that automatically uncompresses files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
83 when you visit them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
84
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
85 ** c-fill.el: a mode for editing filled comments in C.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
86
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
87 ** kermit.el: an extended version of shell-mode designed for running kermit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
88
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
89 ** spook.el: a library for adding some "distract the NSA" keywords to every
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
90 message you send.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
91
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
92 ** hideif.el: a library for hiding parts of a C program based on preprocessor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
93 conditionals.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
94
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
95 ** autoinsert.el: a library to put in some initial text when you visit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
96 a nonexistent file. The text used depends on the major mode, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
97 comes from a directory of files created by you.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
98
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
99 * New programming features.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
100
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
101 ** The variable `window-system-version' now contains the version number
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
102 of the window system you are using (if appropriate). When using X windows,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
103 its value is either 10 or 11.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
104
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
105 ** (interactive "N") uses the prefix argument if any; otherwise, it reads
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
106 a number using the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
107
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
108 ** VMS: there are two new functions `vms-system-info' and `shrink-to-icon'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
109 The former allows you to get many kinds of system status information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
110 See its self-documentation for full details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
111 The second is used with the window system: it iconifies the Emacs window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
112
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
113 ** VMS: the new function `define-logical-name' allows you to create
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
114 job-wide logical names. The old function `define-dcl-symbol' has been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
115 removed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
116
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
117
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
118
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
119 Changes in version 18.50.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
120
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
121 * X windows version 11 is supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
122
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
123 Define X11 in config.h if you want X version 11 instead of version 10.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
124
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
125 * The command M-x gdb runs the GDB debugger as an inferior.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
126 It asks for the filename of the executable you want to debug.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
127
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
128 GDB runs as an inferior with I/O through an Emacs buffer. All the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
129 facilities of Shell mode are available. In addition, each time your
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
130 program stops, and each time you select a new stack frame, the source
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
131 code is displayed in another window with an arrow added to the line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
132 where the program is executing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
133
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
134 Special GDB-mode commands include M-s, M-n, M-i, M-u, M-d, and C-c C-f
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
135 which send the GDB commands `step', `next', `stepi', `up', `down'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
136 and `finish'.
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 In any source file, the commands C-x SPC tells GDB to set a breakpoint
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
139 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
140
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
141 * M-x calendar displays a three-month calendar.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
142
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
143 * C-u 0 C-x C-s never makes a backup file.
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 This is a way you can explicitly request not to make a backup.
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 * `term-setup-hook' is for users only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
148
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
149 Emacs never uses this variable for internal purposes, so you can freely
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
150 set it in your `.emacs' file to make Emacs do something special after
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
151 loading any terminal-specific setup file from `lisp/term'.
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 * `copy-keymap' now copies recursive submaps.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
154
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
155 * New overlay-arrow feature.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
156
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
157 If you set the variable `overlay-arrow-string' to a string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
158 and `overlay-arrow-position' to a marker, that string is displayed on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
159 the screen at the position of that marker, hiding whatever text would
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
160 have appeared there. If that position isn't on the screen, or if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
161 the buffer the marker points into isn't displayed, there is no effect.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
162
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
163 * -batch mode can read from the terminal.
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 It now works to use `read-char' to do terminal input in a noninteractive
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
166 Emacs run. End of file causes Emacs to exit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
167
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
168 * Variables `data-bytes-used' and `data-bytes-free' removed.
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 These variables cannot really work because the 24-bit range of an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
171 integer in (most ports of) GNU Emacs is not large enough to hold their
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
172 values on many systems.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
173
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
174
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
175
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
176 Changes in version 18.45, since version 18.41.
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 * C indentation parameter `c-continued-brace-offset'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
179
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
180 This parameter's value is added to the indentation of any
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
181 line that is in a continuation context and starts with an open-brace.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
182 For example, it applies to the open brace shown here:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
183
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
184 if (x)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
185 {
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
186
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
187 The default value is zero.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
188
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
189 * Dabbrev expansion (Meta-/) preserves case.
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 When you use Meta-/ to search the buffer for an expansion of an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
192 abbreviation, if the expansion found is all lower case except perhaps
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
193 for its first letter, then the case pattern of the abbreviation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
194 is carried over to the expansion that replaces it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
195
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
196 * TeX-mode syntax.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
197
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
198 \ is no longer given "escape character" syntax in TeX mode. It now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
199 has the syntax of an ordinary punctuation character. As a result,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
200 \[...\] and such like are considered to balance each other.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
201
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
202 * Mail-mode automatic Reply-to field.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
204 If the variable `mail-default-reply-to' is non-`nil', then each time
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
205 you start to compose a message, a Reply-to field is inserted with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
206 its contents taken from the value of `mail-default-reply-to'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
207
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
208 * Where is your .emacs file?
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
209
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
210 If you run Emacs under `su', so your real and effective uids are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
211 different, Emacs uses the home directory associated with the real uid
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
212 (the name you actually logged in under) to find the .emacs file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
213
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
214 Otherwise, Emacs uses the environment variable HOME to find the .emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
215 file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
216
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
217 The .emacs file is not loaded at all if -batch is specified.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
218
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
219 * Prolog mode is the default for ".pl" files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
220
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
221 * File names are not case-sensitive on VMS.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
222
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
223 On VMS systems, all file names that you specify are converted to upper
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
224 case. You can use either upper or lower case indiscriminately.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
225
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
226 * VMS-only function 'define-dcl-symbol'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
227
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
228 This is a new name for the function formerly called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
229 `define-logical-name'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
230
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
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
233 Editing Changes in Emacs 18
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
234
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
235 * Additional systems and machines are supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
237 GNU Emacs now runs on Vax VMS. However, many facilities that are normally
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
238 implemented by running subprocesses do not work yet. This includes listing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
239 a directory and sending mail. There are features for running subprocesses
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
240 but they are incompatible with those on Unix. I hope that some of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
241 the VMS users can reimplement these features for VMS (compatibly for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
242 the user, if possible).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
243
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
244 VMS wizards are also asked to work on making the subprocess facilities
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
245 more upward compatible with those on Unix, and also to rewrite their
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
246 internals to use the same Lisp objects that are used on Unix to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
247 represent processes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
248
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
249 In addition, the TI Nu machine running Unix system V, the AT&T 3b, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
250 the Wicat, Masscomp, Integrated Solutions, Alliant, Amdahl uts, Mips,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
251 Altos 3068 and Gould Unix systems are now supported. The IBM PC-RT is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
252 supported under 4.2, but not yet under system V. The GEC 93 is close
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
253 to working. The port for the Elxsi is partly merged. See the file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
254 MACHINES for full status information and machine-specific installation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
255 advice.
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 * Searching is faster.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
258
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
259 Forward search for a text string, or for a regexp that is equivalent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
260 to a text string, is now several times faster. Motion by lines and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
261 counting lines is also faster.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
262
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
263 * Memory usage improvements.
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 It is no longer possible to run out of memory during garbage
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
266 collection. As a result, running out of memory is never fatal. This
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
267 is due to a new garbage collection algorithm which compactifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
268 strings in place rather than copying them. Another consequence of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
269 change is a reduction in total memory usage and a slight increase in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
270 garbage collection speed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
271
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
272 * Display changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
273
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
274 ** Editing above top of screen.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
275
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
276 When you delete or kill or alter text that reaches to the top of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
277 screen or above it, so that display would start in the middle of a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
278 line, Emacs will usually attempt to scroll the text so that display
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
279 starts at the beginning of a line again.
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 ** Yanking in the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
282
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
283 The message "Mark Set" is no longer printed when the minibuffer is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
284 active. This is convenient with many commands, including C-y, that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
285 normally print such a message.
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 ** Cursor appears in last line during y-or-n questions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
288
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
289 Questions that want a `y' or `n' answer now move the cursor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
290 to the last line, following the question.
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 * Library loading changes.
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 `load' now considers all possible suffixes (`.elc', `.el' and none)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
295 for each directory in `load-path' before going on to the next directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
296 It now accepts an optional fourth argument which, if non-nil, says to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
297 use no suffixes; then the file name must be given in full. The search
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
298 of the directories in `load-path' goes on as usual in this case, but
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
299 it too can be prevented by passing an absolute file name.
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 The value of `load-path' no longer by default includes nil (meaning to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
302 look in the current default directory). The idea is that `load' should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
303 be used to search the path only for libraries to be found in the standard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
304 places. If you want to override system libraries with your own, place
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
305 your own libraries in one special directory and add that directory to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
306 front of `load-path'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
307
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
308 The function `load' is no longer a command; that is to say, `M-x load'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
309 is no longer allowed. Instead, there are two commands for loading files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
310 `M-x load-library' is equivalent to the old meaning of `M-x load'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
311 `M-x load-file' reads a file name with completion and defaulting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
312 and then loads exactly that file, with no searching and no suffixes.
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 * Emulation of other editors.
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 ** `edt-emulation-on' starts emulating DEC's EDT editor.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
317
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
318 Do `edt-emulation-off' to return Emacs to normal.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
319
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
320 ** `vi-mode' and `vip-mode' starts emulating vi.
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 These are two different vi emulations provided by GNU Emacs users.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
323 We are interested in feedback as to which emulation is preferable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
324
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
325 See the documentation and source code for these functions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
326 for more information.
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 ** `set-gosmacs-bindings' emulates Gosling Emacs.
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 This command changes many global bindings to resemble those of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
331 Gosling Emacs. The previous bindings are saved and can be restored using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
332 `set-gnu-bindings'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
333
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
334 * Emulation of a display terminal.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
335
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
336 Within Emacs it is now possible to run programs (such as emacs or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
337 supdup) which expect to do output to a visual display terminal.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
338
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
339 See the function `terminal-emulator' for more information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
340
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
341 * New support for keypads and function keys.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
342
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
343 There is now a first attempt at terminal-independent support for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
344 keypad and function keys.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
345
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
346 Emacs now defines a standard set of key-names for function and keypad
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
347 keys, and provides standard hooks for defining them. Most of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
348 standard key-names have default definitions built into Emacs; you can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
349 override these in a terminal-independent manner. The default definitions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
350 and the conventions for redefining them are in the file `lisp/keypad.el'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
351
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
352 These keys on the terminal normally work by sending sequences of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
353 characters starting with ESC. The exact sequences used vary from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
354 terminal to terminal. Emacs interprets them in two stages:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
355 in the first stage, terminal-dependent sequences are mapped into
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
356 the standard key-names; then second stage maps the standard key-names
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
357 into their definitions in a terminal-independent fashion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
358
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
359 The terminal-specific file `term/$TERM.el' now is responsible only for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
360 establishing the mapping from the terminal's escape sequences into
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
361 standard key-names. It no longer knows what Emacs commands are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
362 assigned to the standard key-names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
363
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
364 One other change in terminal-specific files: if the value of the TERM
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
365 variable contains a hyphen, only the part before the first hyphen is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
366 used in forming the name of the terminal-specific file. Thus, for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
367 terminal type `aaa-48', the file loaded is now `term/aaa.el' rather
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
368 than `term/aaa-48.el'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
369
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
370 * New startup command line options.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
371
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
372 `-i FILE' or `-insert FILE' in the command line to Emacs tells Emacs to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
373 insert the contents of FILE into the current buffer at that point in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
374 command line processing. This is like using the command M-x insert-file.
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 `-funcall', `-load', `-user' and `-no-init-file' are new synonyms for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
377 `-f', `-l', `-u' and `-q'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
378
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
379 `-nw' means don't use a window system. If you are using a terminal
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
380 emulator on the X window system and you want to run Emacs to work through
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
381 the terminal emulator instead of working directly with the window system,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
382 use this switch.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
383
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
384 * Buffer-sorting commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
385
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
386 Various M-x commands whose names start with `sort-' sort parts of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
387 the region:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
388
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
389 sort-lines divides the region into lines and sorts them alphabetically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
390 sort-pages divides into pages and sorts them alphabetically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
391 sort-paragraphs divides into paragraphs and sorts them alphabetically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
392 sort-fields divides into lines and sorts them alphabetically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
393 according to one field in the line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
394 The numeric argument specifies which field (counting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
395 from field 1 at the beginning of the line). Fields in a line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
396 are separated by whitespace.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
397 sort-numeric-fields
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
398 is similar but converts the specified fields to numbers
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
399 and sorts them numerically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
400 sort-columns divides into lines and sorts them according to the contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
401 of a specified range of columns.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
402
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
403 Refer to the self-documentation of these commands for full usage information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
404
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
405 * Changes in various commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
406
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
407 ** `tags-query-replace' and `tags-search' change.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
408
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
409 These functions now display the name of the file being searched at the moment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
410
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
411 ** `occur' output now serves as a menu. `occur-menu' command deleted.
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 `M-x occur' now allows you to move quickly to any of the occurrences
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
414 listed. Select the `*Occur*' buffer that contains the output of `occur',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
415 move point to the occurrence you want, and type 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
416 This will move point to the same occurrence in the buffer that the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
417 occurrences were found in.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
418
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
419 The command `occur-menu' is thus obsolete, and has been deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
420
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
421 One way to get a list of matching lines without line numbers is to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
422 copy the text to another buffer and use the command `keep-lines'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
423
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
424 ** Incremental search changes.
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 Ordinary and regexp incremental searches now have distinct default
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
427 search strings. Thus, regexp searches recall only previous regexp
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
428 searches.
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 If you exit an incremental search when the search string is empty,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
431 the old default search string is kept. The default does not become
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
432 empty.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
433
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
434 Reversing the direction of an incremental search with C-s or C-r
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
435 when the search string is empty now does not get the default search
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
436 string. It leaves the search string empty. A second C-s or C-r
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
437 will get the default search string. As a result, you can do a reverse
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
438 incremental regexp search with C-M-s C-r.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
439
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
440 If you add a `*', `?' or `\|' to an incremental search regexp,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
441 point will back up if that is appropriate. For example, if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
442 you have searched for `ab' and add a `*', point moves to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
443 first match for `ab*', which may be before the match for `ab'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
444 that was previously found.
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 an incremental search is failing and you ask to repeat it,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
447 it will start again from the beginning of the buffer (or the end,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
448 if it is a backward search).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
449
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
450 The search-controlling parameters `isearch-slow-speed' and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
451 `isearch-slow-window-lines' have now been renamed to start with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
452 `search' instead of `isearch'. Now all the parameters' names start
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
453 with `search'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
454
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
455 If `search-slow-window-lines' is negative, the slow search window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
456 is put at the top of the screen, and the absolute value or the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
457 negative number specifies the height of it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
458
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
459 ** Undo changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
460
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
461 The undo command now will mark the buffer as unmodified only when it is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
462 identical to the contents of the visited file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
463
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
464 ** C-M-v in minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
465
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
466 If while in the minibuffer you request help in a way that uses a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
467 window to display something, then until you exit the minibuffer C-M-v
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
468 in the minibuffer window scrolls the window of help.
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 For example, if you request a list of possible completions, C-M-v can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
471 be used reliably to scroll the completion list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
472
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
473 ** M-TAB command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
474
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
475 Meta-TAB performs completion on the Emacs Lisp symbol names. The sexp
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
476 in the buffer before point is compared against all existing nontrivial
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
477 Lisp symbols and completed as far as is uniquely determined by them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
478 Nontrivial symbols are those with either function definitions, values
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
479 or properties.
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 If there are multiple possibilities for the very next character, a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
482 list of possible completions is displayed.
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 ** Dynamic abbreviation package.
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 new command Meta-/ expands an abbreviation in the buffer before point
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
487 by searching the buffer for words that start with the abbreviation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
488
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
489 ** Changes in saving kbd macros.
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 The commands `write-kbd-macro' and `append-kbd-macro' have been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
492 deleted. The way to save a keyboard macro is to use the new command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
493 `insert-kbd-macro', which inserts Lisp code to define the macro as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
494 it is currently defined into the buffer before point. Visit a Lisp
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
495 file such as your Emacs init file `~/.emacs', insert the macro
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
496 definition (perhaps deleting an old definition for the same macro)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
497 and then save the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
498
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
499 ** C-x ' command.
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 new command C-x ' (expand-abbrev) expands the word before point as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
502 an abbrev, even if abbrev-mode is not turned on.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
503
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
504 ** Sending to inferior Lisp.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
505
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
506 The command C-M-x in Lisp mode, which sends the current defun to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
507 an inferior Lisp process, now works by writing the text into a temporary
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
508 file and actually sending only a `load'-form to load the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
509 As a result, it avoids the Unix bugs that used to strike when the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
510 text was above a certain length.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
511
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
512 With a prefix argument, this command now makes the inferior Lisp buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
513 appear on the screen and scrolls it so that the bottom is showing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
514
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
515 Two variables `inferior-lisp-load-command' and `inferior-lisp-prompt',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
516 exist to customize these feature for different Lisp implementations.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
517
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
518 ** C-x p now disabled.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
519
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
520 The command C-x p, a nonrecomended command which narrows to the current
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
521 page, is now initially disabled like C-x n.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
522
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
523 * Dealing with files.
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 ** C-x C-v generalized
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 This command is now allowed even if the current buffer is not visiting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
528 a file. As usual, it kills the current buffer and replaces it with a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
529 newly found file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
530
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
531 ** M-x recover-file improved; auto save file names changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
532
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
533 M-x recover-file now checks whether the last auto-save file is more
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
534 recent than the real visited file before offering to read in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
535 auto-save file. If the auto-save file is newer, a directory listing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
536 containing the two files is displayed while you are asked whether you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
537 want the auto save file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
538
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
539 Visiting a file also makes this check. If the auto-save file is more recent,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
540 a message is printed suggesting that you consider using 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
541
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
542 Auto save file names now by default have a `#' at the end as well
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
543 as at the beginning. This is so that `*.c' in a shell command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
544 will never match auto save files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
545
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
546 On VMS, auto save file names are made by appending `_$' at the front
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
547 and `$' at the end.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
548
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
549 When you change the visited file name of a buffer, the auto save file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
550 is now renamed to belong to the new visited file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
551
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
552 You can customize the way auto save file names are made by redefining
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
553 the two functions `make-auto-save-file-name' and `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
554 both of which are defined in `files.el'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
555
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
556 ** Modifying a buffer whose file is changed on disk is detected instantly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
557
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
558 On systems where clash detection (locking of files being edited) is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
559 implemented, Emacs also checks the first time you modify a buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
560 whether the file has changed on disk since it was last visited or saved.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
561 If it has, you are asked to confirm that you want to change the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
562
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
563 ** Exiting Emacs offers to save `*mail*'.
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 Emacs can now know about buffers that it should offer to save on exit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
566 even though they are not visiting files. This is done for any buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
567 which has a non-nil local value of `buffer-offer-save'. By default,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
568 Mail mode provides such a local value.
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 ** Backup file changes.
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 If a backup file cannot be written in the directory of the visited file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
573 due to fascist file protection, a backup file is now written in your home
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
574 directory as `~/%backup%~'. Only one such file is made, ever, so only
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
575 the most recently made such backup is available.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
576
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
577 When backup files are made by copying, the last-modification time of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
578 original file is now preserved in the backup copy.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
579
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
580 ** Visiting remote files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
581
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
582 On an internet host, you can now visit and save files on any other
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
583 internet host directly from Emacs with the commands M-x ftp-find-file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
584 and M-x ftp-write-file. Specify an argument of the form HOST:FILENAME.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
585 Since standard internet FTP is used, the other host may be any kind
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
586 of machine and is not required to have any special facilities.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
587
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
588 The first time any one remote host is accessed, you will be asked to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
589 give the user name and password for use on that host. FTP is reinvoked
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
590 each time you ask to use it, but previously specified user names and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
591 passwords are remembered automatically.
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 ** Dired `g' command.
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 `g' in Dired mode is equivalent to M-x revert-buffer; it causes the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
596 current contents of the same directory to be read in.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
597
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
598 * Changes in major modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
599
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
600 ** C mode indentation change.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
601
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
602 The binding of Linefeed is no longer changed by C mode. It once again
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
603 has its normal meaning, which is to insert a newline and then indent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
604 afterward.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
605
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
606 The old definition did one additional thing: it reindented the line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
607 before the new newline. This has been removed because it made the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
608 command twice as slow. The only time it was really useful was after the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
609 insertion of an `else', since the fact of starting with `else' may change
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
610 the way that line is indented. Now you will have to type TAB again
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
611 yourself to reindent the `else' properly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
612
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
613 If the variable `c-tab-always-indent' is set to `nil', the TAB command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
614 in C mode, with no argument, will just insert a tab character if there
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
615 is non-whitespace preceding point on the current line. Giving it a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
616 prefix argument will force reindentation of the line (as well as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
617 of the compound statement that begins after point, if any).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
618
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
619 ** Fortran mode now exists.
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 This mode provides commands for motion and indentation of Fortran code,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
622 plus built-in abbrevs for Fortran keywords. For details, see the manual
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
623 or the on-line documentation of the command `fortran-mode'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
624
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
625 ** Scribe mode now exists.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
626
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
627 This mode does something useful for editing files of Scribe input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
628 It is used automatically for files with names ending in ".mss".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
629
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
630 ** Modula2 and Prolog modes now exist.
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 These modes are for editing programs in the languages of the same names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
633 They can be selected with M-x modula-2-mode and M-x prolog-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
634
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
635 ** Telnet mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
636
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
637 The telnet mode special commands have now been assigned to C-c keys.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
638 Most of them are the same as in Shell mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
639
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
640 ** Picture mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
641
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
642 The special picture-mode commands to specify the direction of cursor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
643 motion after insertion have been moved to C-c keys. The commands to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
644 specify diagonal motion were already C-c keys; they are unchanged.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
645 The keys to specify horizontal or vertical motion are now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
646 C-c < (left), C-c > (right), C-c ^ (up) and C-c . (down).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
647
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
648 ** Nroff mode comments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
649
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
650 Comments are now supported in Nroff mode. The standard comment commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
651 such as M-; and C-x ; know how to insert, align and delete comments
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
652 that start with backslash-doublequote.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
653
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
654 ** LaTeX mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
655
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
656 LaTeX mode now exists. Use M-x latex-mode to select this mode, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
657 M-x plain-tex-mode to select the previously existing mode for Plain
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
658 TeX. M-x tex-mode attempts to examine the contents of the buffer and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
659 choose between latex-mode and plain-tex-mode accordingly; if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
660 buffer is empty or it cannot tell, the variable `TeX-default-mode'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
661 controls the choice. Its value should be the symbol for the mode to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
662 be used.
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 facilities for running TeX on all or part of the buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
665 work with LaTeX as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
666
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
667 Some new commands available in both modes:
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 C-c C-l recenter the window showing the TeX output buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
670 so most recent line of output can be seen.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
671 C-c C-k kill the TeX subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
672 C-c C-q show the printer queue.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
673 C-c C-f close a block (appropriate for LaTeX only).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
674 If the current line contains a \begin{...},
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
675 this inserts an \end{...} on the following line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
676 and puts point on a blank line between them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
677
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
678 ** Outline mode changes.
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 Invisible lines in outline mode are now indicated by `...' at the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
681 end of the previous visible line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
682
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
683 The special outline heading motion commands are now all on C-c keys.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
684 A few new ones have been added. Here is a full list:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
685
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
686 C-c C-n Move to next visible heading (formerly M-})
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
687 C-c C-p Move to previous visible heading (formerly M-{)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
688 C-c C-f Move to next visible heading at the same level.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
689 Thus, if point is on a level-2 heading line,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
690 this command moves to the next visible level-2 heading.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
691 C-c C-b Move to previous visible heading at the same level.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
692 C-c C-u Move up to previous visible heading at a higher level.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
693
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
694 The variable `outline-regexp' now controls recognition of heading lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
695 Any line whose beginning matches this regexp is a heading line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
696 The depth in outline structure is determined by the length of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
697 the string that matches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
698
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
699 A line starting with a ^L (formfeed) is now by default considered
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
700 a header line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
701
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
702 * 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
703
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
704 ** MH-E changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
705
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
706 MH-E has been extensively modified and improved since the v17 release.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
707 It contains many new features, including commands to: extracted failed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
708 messages, kill a draft message, undo changes to a mail folder, monitor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
709 delivery of a letter, print multiple messages, page digests backwards,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
710 insert signatures, and burst digests. Also, many commands have been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
711 made to able to deal with named sequences of messages, instead of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
712 single messages. MH-E also has had numerous bugs fixed and commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
713 made to run faster. Furthermore, its keybindings have been changed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
714 be compatible with Rmail and the rest of GNU Emacs.
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 ** Mail mode changes.
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 The C-c commands of mail mode have been rearranged:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
719
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
720 C-c s, C-c c, C-c t and C-c b (move point to various header fields)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
721 have been reassigned as C-c C-f C-s, C-c C-f C-c, C-c C-f C-t and C-c
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
722 C-f C-b. C-c C-f is for "field".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
723
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
724 C-c y, C-c w and C-c q have been changed to C-c C-y, C-c C-w and C-c C-q.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
725
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
726 Thus, C-c LETTER is always unassigned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
727
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
728 ** Rmail C-r command changed to w.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
729
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
730 The Rmail command to edit the current message is now `w'. This change
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
731 has been made because people frequently type C-r while in Rmail hoping
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
732 to do a reverse incremental search. That now works.
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 * Rnews changes.
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 ** Caesar rotation added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
737
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
738 The function news-caesar-buffer-body performs encryption and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
739 decryption of the body of a news message. It defaults to the USENET
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
740 standard of 13, and accepts any numeric arg between 1 to 25 and -25 to -1.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
741 The function is bound to C-c C-r in both news-mode and news-reply-mode.
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 ** rmail-output command added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
744
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
745 The C-o command has been bound to rmail-output in news-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
746 This allows one to append an article to a file which is in either Unix
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
747 mail or RMAIL format.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
748
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
749 ** news-reply-mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
750
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
751 The C-c commands of news reply mode have been rearranged and changed,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
752 so that C-c LETTER is always unassigned:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
753
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
754 C-c y, C-c w and C-c q have been changed to C-c C-y, C-c C-w and C-c C-q.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
755
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
756 C-c c, C-c t, and C-c b (move to various mail header fields) have been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
757 deleted (they make no sense for posting and replying to USENET).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
758
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
759 C-c s (move to Subject: header field) has been reassigned as C-c C-f
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
760 C-s. C-c C-f is for "field". Several additional move to news header
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
761 field commands have been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
762
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
763 The local news-reply-mode bindings now look like this:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
764
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
765 C-c C-s news-inews (post the message) C-c C-c news-inews
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
766 C-c C-f move to a header field (and create it if there isn't):
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
767 C-c C-f C-n move to Newsgroups: C-c C-f C-s move to Subj:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
768 C-c C-f C-f move to Followup-To: C-c C-f C-k move to Keywords:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
769 C-c C-f C-d move to Distribution: C-c C-f C-a move to Summary:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
770 C-c C-y news-reply-yank-original (insert current message, in NEWS).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
771 C-c C-q mail-fill-yanked-message (fill what was yanked).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
772 C-c C-r caesar rotate all letters by 13 places in the article's body (rot13).
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 * Existing Emacs usable as a server.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
775
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
776 Programs such as mailers that invoke "the editor" as an inferior
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
777 to edit some text can now be told to use an existing Emacs process
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
778 instead of creating a new editor.
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 To do this, you must have an Emacs process running and capable of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
781 doing terminal I/O at the time you want to invoke it. This means that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
782 either you are using a window system and give Emacs a separate window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
783 or you run the other programs as inferiors of Emacs (such as, using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
784 M-x shell).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
785
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
786 First prepare the existing Emacs process by loading the `server'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
787 library and executing M-x server-start. (Your .emacs can do this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
788 automatically.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
789
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
790 Now tell the other programs to use, as "the editor", the Emacs client
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
791 program (etc/emacsclient, located 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
792 This can be done by setting the environment variable EDITOR.
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 When another program invokes the emacsclient as "the editor", the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
795 client actually transfers the file names to be edited to the existing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
796 Emacs, which automatically visits the files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
797
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
798 When you are done editing a buffer for a client, do C-x # (server-edit).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
799 This marks that buffer as done, and selects the next buffer that the client
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
800 asked for. When all the buffers requested by a client are marked in this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
801 way, Emacs tells the client program to exit, so that the program that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
802 invoked "the editor" will resume execution.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
803
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
804 You can only have one server Emacs at a time, but multiple client programs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
805 can put in requests at the same time.
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 The client/server work only on Berkeley Unix, since they use the Berkeley
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
808 sockets mechanism for their communication.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
809
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
810
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
811 Changes in Lisp programming in Emacs version 18.
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 * Init file changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
814
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
815 ** Suffixes no longer accepted on `.emacs'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
816
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
817 Emacs will no longer load a file named `.emacs.el' or `emacs.elc'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
818 in place of `.emacs'. This is so that it will take less time to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
819 find `.emacs'. If you want to compile your init file, give it another
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
820 name and make `.emacs' a link to the `.elc' file, or make it contain
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
821 a call to `load' to load the `.elc' file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
822
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
823 ** `default-profile' renamed to `default', and loaded after `.emacs'.
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 It used to be the case that the file `default-profile' was loaded if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
826 and only if `.emacs' was not found.
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 Now the name `default-profile' is not used at all. Instead, a library
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
829 named `default' is loaded after the `.emacs' file. `default' is loaded
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
830 whether the `.emacs' file exists or not. However, loading of `default'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
831 can be prevented if the `.emacs' file sets `inhibit-default-init' to non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
832
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
833 In fact, you would call the default file `default.el' and probably would
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
834 byte-compile it to speed execution.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
835
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
836 Note that for most purposes you are better off using a `site-init' library
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
837 since that will be loaded before the runnable Emacs is dumped. By using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
838 a `site-init' library, you avoid taking up time each time Emacs is started.
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 ** inhibit-command-line has been eliminated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
841
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
842 This variable used to exist for .emacs files to set. It has been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
843 eliminated because you can get the same effect by setting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
844 command-line-args to nil and setting inhibit-startup-message to t.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
845
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
846 * `apply' is more general.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
847
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
848 `apply' now accepts any number of arguments. The first one is a function;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
849 the rest are individual arguments to pass to that function, except for the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
850 last, which is a list of arguments to pass.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
851
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
852 Previously, `apply' required exactly two arguments. Its old behavior
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
853 follows as a special case of the new definition.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
854
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
855 * New code-letter for `interactive'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
856
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
857 (interactive "NFoo: ") is like (interactive "nFoo: ") in reading
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
858 a number using the minibuffer to serve as the argument; however,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
859 if a prefix argument was specified, it uses the prefix argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
860 value as the argument, and does not use the minibuffer at all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
861
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
862 This is used by the `goto-line' and `goto-char' commands.
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 * Semantics of variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
865
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
866 ** Built-in per-buffer variables improved.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
867
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
868 Several built-in variables which in the past had a different value in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
869 each buffer now behave exactly as if `make-variable-buffer-local' had
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
870 been done to them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
871
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
872 These variables are `tab-width', `ctl-arrow', `truncate-lines',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
873 `fill-column', `left-margin', `mode-line-format', `abbrev-mode',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
874 `overwrite-mode', `case-fold-search', `auto-fill-hook',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
875 `selective-display', `selective-display-ellipses'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
876
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
877 To be precise, each variable has a default value which shows through
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
878 in most buffers and can be accessed with `default-value' and set with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
879 `set-default'. Setting the variable with `setq' makes the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
880 local to the current buffer. Changing the default value has retroactive
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
881 effect on all buffers in which the variable is not local.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
882
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
883 The variables `default-case-fold-search', etc., are now obsolete.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
884 They now refer to the default value of the variable, which is not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
885 quite the same behavior as before, but it should enable old init files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
886 to continue to work.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
887
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
888 ** New per-buffer variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
889
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
890 The variables `fill-prefix', `comment-column' and `indent-tabs-mode'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
891 are now per-buffer. They work just like `fill-column', etc.
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 ** New function `setq-default'.
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 `setq-default' sets the default value of a variable, and uses the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
896 same syntax that `setq' accepts: the variable name is not evaluated
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
897 and need not be quoted.
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 `(setq-default case-fold-search nil)' would make searches case-sensitive
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
900 in all buffers that do not have local values for `case-fold-search'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
901
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
902 ** Functions `global-set' and `global-value' deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
903
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
904 These functions were never used except by mistake by users expecting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
905 the functionality of `set-default' and `default-value'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
906
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
907 * Changes in defaulting of major modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
908
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
909 When `default-major-mode' is `nil', new buffers are supposed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
910 get their major mode from the buffer that is current. However,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
911 certain major modes (such as Dired mode, Rmail mode, Rmail Summary mode,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
912 and others) are not reasonable to use in this way.
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 Now such modes' names have been given non-`nil' `mode-class' properties.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
915 If the current buffer's mode has such a property, Fundamental mode is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
916 used as the default for newly created buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
917
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
918 * `where-is-internal' requires additional arguments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
919
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
920 This function now accepts three arguments, two of them required:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
921 DEFINITION, the definition to search for; LOCAL-KEYMAP, the keymap
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
922 to use as the local map when doing the searching, and FIRST-ONLY,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
923 which is nonzero to return only the first key found.
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 This function returns a list of keys (strings) whose definitions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
926 (in the LOCAL-KEYMAP or the current global map) are DEFINITION.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
927
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
928 If FIRST-ONLY is non-nil, it returns a single key (string).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
929
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
930 This function has changed incompatibly in that now two arguments
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
931 are required when previously only one argument was allowed. To get
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
932 the old behavior of this function, write `(current-local-map)' as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
933 the expression for the second argument.
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 The incompatibility is sad, but `nil' is a legitimate value for the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
936 second argument (it means there is no local keymap), so it cannot also
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
937 serve as a default meaning to use the current local keymap.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
938
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
939 * Abbrevs with hooks.
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 When an abbrev defined with a hook is expanded, it now performs the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
942 usual replacement of the abbrev with the expansion before running the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
943 hook. Previously the abbrev itself was deleted but the expansion was
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
944 not inserted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
945
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
946 * Function `scan-buffer' deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
947
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
948 Use `search-forward' or `search-backward' in place of `scan-buffer'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
949 You will have to rearrange the arguments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
950
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
951 * X window interface improvements.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
952
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
953 ** Detect release of mouse buttons.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
954
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
955 Button-up events can now be detected. See the file `lisp/x-mouse.el'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
956 for details.
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 ** New pop-up menu facility.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
959
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
960 The new function `x-popup-menu' pops up a menu (in a X window)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
961 and returns an indication of which selection the user made.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
962 For more information, see its self-documentation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
963
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
964 * M-x disassemble.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
965
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
966 This command prints the disassembly of a byte-compiled Emacs Lisp function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
967
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
968 Would anyone like to interface this to the debugger?
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
969
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
970 * `insert-buffer-substring' can insert part of the current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
971
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
972 The old restriction that the text being inserted had to come from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
973 a different buffer is now lifted.
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 When inserting text from the current buffer, the text to be inserted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
976 is determined from the specified bounds before any copying takes place.
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 * New function `substitute-key-definition'.
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 This is a new way to replace one command with another command as the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
981 binding of whatever keys may happen to refer to it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
982
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
983 (substitute-key-definition OLDDEF NEWDEF KEYMAP) looks through KEYMAP
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
984 for keys defined to run OLDDEF, and rebinds those keys to run NEWDEF
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
985 instead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
986
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
987 * New function `insert-char'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
988
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
989 Insert a specified character, a specified number of times.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
990
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
991 * `mark-marker' changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
992
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
993 When there is no mark, this now returns a marker that points
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
994 nowhere, rather than `nil'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
995
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
996 * `ding' accepts argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
997
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
998 When given an argument, the function `ding' does not terminate
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
999 execution of a keyboard macro. Normally, `ding' does terminate
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1000 all macros that are currently executing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1001
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1002 * New function `minibuffer-depth'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1003
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1004 This function returns the current depth in minibuffer activations.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1005 The value is zero when the minibuffer is not in use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1006 Values greater than one are possible if the user has entered the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1007 minibuffer recursively.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1008
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1009 * New function `documentation-property'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1010
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1011 (documentation-property SYMBOL PROPNAME) is like (get SYMBOL PROPNAME),
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1012 except that if the property value is a number `documentation-property'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1013 will take that number (or its absolute value) as a character position
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1014 in the DOC file and return the string found there.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1015
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1016 (documentation-property VAR 'variable-documentation) is the proper
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1017 way for a Lisp program to get the documentation of variable VAR.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1018
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1019 * New documentation-string expansion feature.
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 If a documentation string (for a variable or function) contains text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1022 of the form `\<FOO>', it means that all command names specified in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1023 `\[COMMAND]' construct from that point on should be turned into keys
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1024 using the value of the variable FOO as the local keymap. Thus, for example,
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 `\<emacs-lisp-mode-map>\[eval-defun] evaluates the defun containing point.'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1027
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1028 will expand into
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 "ESC C-x evaluates the defun containing point."
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1031
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1032 regardless of the current major mode, because ESC C-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
1033 run `eval-defun' in the keymap `emacs-lisp-mode-map'. The effect is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1034 to show the key for `eval-defun' in Emacs Lisp mode regardless of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1035 current major mode.
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 The `\<...>' construct applies to all `\[...]' constructs that follow it,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1038 up to the end of the documentation string or the next `\<...>'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1039
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1040 Without `\<...>', the keys for commands specified in `\[...]' are found
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1041 in the current buffer's local map.
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 The current global keymap is always searched second, whether `\<...>'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1044 has been used or not.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1045
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1046 * Multiple hooks allowed in certain contexts.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1047
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1048 The old hook variables `find-file-hook', `find-file-not-found-hook' and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1049 `write-file-hook' have been replaced.
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 The replacements are `find-file-hooks', `find-file-not-found-hooks'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1052 and `write-file-hooks'. Each holds a list of functions to be called;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1053 by default, `nil', for no functions. The functions are called in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1054 order of appearance in the list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1055
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1056 In the case of `find-file-hooks', all the functions are executed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1057
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1058 In the case of `find-file-not-found-hooks', if any of the functions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1059 returns non-`nil', the rest of the functions are not called.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1060
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1061 In the case of `write-file-hooks', if any of the functions returns
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1062 non-`nil', the rest of the functions are not called, and the file is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1063 considered to have been written already; so actual writing in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1064 usual way is not done. If `write-file-hooks' is local to a buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1065 it is set to its global value if `set-visited-file-name' is called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1066 (and thus by C-x C-w as well).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1067
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1068 `find-file-not-found-hooks' and `write-file-hooks' can be used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1069 together to implement editing of files that are not stored as Unix
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1070 files: stored in archives, or inside version control systems, or on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1071 other machines running other operating systems and accessible via ftp.
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 * New hooks for suspending Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1074
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1075 Suspending Emacs runs the hook `suspend-hook' before suspending
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1076 and the hook `suspend-resume-hook' if the suspended Emacs is resumed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1077 Running a hook is done by applying the variable's value to no arguments
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1078 if the variable has a non-`nil' value. If `suspend-hook' returns
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1079 non-`nil', then suspending is inhibited and so is running the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1080 `suspend-resume-hook'. The non-`nil' value means that the `suspend-hook'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1081 has done whatever suspending is required.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1082
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1083 * Disabling commands can print a special message.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1084
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1085 A command is disabled by giving it a non-`nil' `disabled' property.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1086 Now, if this property is a string, it is included in the message
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1087 printed when the user tries to run the command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1088
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1089 * Emacs can open TCP connections.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1090
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1091 The function `open-network-stream' opens a TCP connection to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1092 a specified host and service. Its value is a Lisp object that represents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1093 the connection. The object is a kind of "subprocess", and I/O are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1094 done like I/O to subprocesses.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1095
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1096 * Display-related changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1097
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1098 ** New mode-line control features.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1099
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1100 The display of the mode line used to be controlled by a format-string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1101 that was the value of the variable `mode-line-format'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1102
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1103 This variable still exists, but it now allows more general values,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1104 not just strings. Lists, cons cells and symbols are also meaningful.
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 The mode line contents are created by outputting various mode elements
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1107 one after the other. Here are the kinds of objects that can be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1108 used as mode elements, and what they do in the display:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1109
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1110 string the contents of the string are output to the mode line,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1111 and %-constructs are replaced by other text.
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 t or nil ignored; no output results.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1114
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1115 symbol the symbol's value is used. If the value is a string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1116 the string is output verbatim to the mode line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1117 (so %-constructs are not interpreted). Otherwise,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1118 the symbol's value is processed as a mode element.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1119
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1120 list (whose first element is a string or list or cons cell)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1121 the elements of the list are treated as as mode elements,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1122 so that the output they generate is concatenated,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1123
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1124 list (whose car is a symbol)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1125 if the symbol's value is non-nil, the second element of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1126 list is treated as a mode element. Otherwise, the third
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1127 element (if any) of the list is treated as a mode element.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1128
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1129 cons (whose car is a positive integer)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1130 the cdr of the cons is used as a mode element, but
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1131 the text it produces is padded, if necessary, to have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1132 at least the width specified by the integer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1133
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1134 cons (whose car is a negative integer)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1135 the cdr of the cons is used as a mode element, but
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1136 the text it produces is truncated, if necessary, to have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1137 at most the width specified by the integer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1138
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1139 There is always one mode element to start with, that being the value of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1140 `mode-line-format', but if this value is a list then it leads to several
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1141 more mode elements, which can lead to more, and so on.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1142
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1143 There is one new %-construct for mode elements that are strings:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1144 `%n' displays ` Narrow' for a buffer that is narrowed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1145
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1146 The default value of `mode-line-format' refers to several other variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1147 These variables are `mode-name', `mode-line-buffer-identification',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1148 `mode-line-process', `mode-line-modified', `global-mode-string' and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1149 `minor-mode-alist'. The first four are local in every buffer in which they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1150 are changed from the default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1151
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1152 mode-name Name of buffer's major mode. Local in every buffer.
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 mode-line-buffer-identification
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1155 Normally the list ("Emacs: %17b"), it is responsible
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1156 for displaying text to indicate what buffer is being shown
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1157 and what kind of editing it is doing. `Emacs' means
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1158 that a file of characters is being edited. Major modes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1159 such as Info and Dired which edit or view other kinds
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1160 of data often change this value. This variables becomes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1161 local to the current buffer if it is setq'd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1162
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1163 mode-line-process
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1164 Normally nil, this variable is responsible for displaying
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1165 information about the process running in the current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1166 M-x shell-mode and M-x compile alter this variable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1167
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1168 mode-line-modified
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1169 This variable is responsible for displaying the indication
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1170 of whether the current buffer is modified or read-only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1171 By default its value is `("--%*%*-")'.
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 minor-mode-alist
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1174 This variable is responsible for displaying text for those
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1175 minor modes that are currently enabled. Its value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1176 is a list of elements of the form (VARIABLE STRING),
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1177 where STRING is to be displayed if VARIABLE's value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1178 (in the buffer whose mode line is being displayed)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1179 is non-nil. This variable is not made local to particular
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1180 buffers, but loading some libraries may add elements to it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1181
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1182 global-mode-string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1183 This variable is used to display the time, if you ask
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1184 for that.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1185
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1186 The idea of these variables is to eliminate the need for major modes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1187 to alter mode-line-format itself.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1188
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1189 ** `window-point' valid for selected window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1190
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1191 The value returned by `window-point' used to be incorrect when its
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1192 argument was the selected window. Now the value is correct.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1193
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1194 ** Window configurations may be saved as Lisp objects.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1195
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1196 The function `current-window-configuration' returns a special type of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1197 Lisp object that represents the current layout of windows: the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1198 sizes and positions of windows, which buffers appear in them, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1199 which parts of the buffers appear on the screen.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1200
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1201 The function `set-window-configuration' takes one argument, which must
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1202 be a window configuration object, and restores that configuration.
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 ** New hook `temp-output-buffer-show-hook'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1205
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1206 This hook allows you to control how help buffers are displayed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1207 Whenever `with-output-to-temp-buffer' has executed its body and wants
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1208 to display the temp buffer, if this variable is bound and non-`nil'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1209 then its value is called with one argument, the temp buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1210 The hook function is solely responsible for displaying the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1211 The standard manner of display--making the buffer appear in a window--is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1212 used only if there is no hook function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1213
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1214 ** New function `minibuffer-window'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1215
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1216 This function returns the window used (sometimes) for displaying
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1217 the minibuffer. It can be used even when the minibuffer is not active.
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 ** New feature to `next-window'.
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 If the optional second argument is neither `nil' nor `t', the minibuffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1222 window is omitted from consideration even when active; if the starting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1223 window was the last non-minibuffer window, the value will be the first
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1224 non-minibuffer window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1225
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1226 ** New variable `minibuffer-scroll-window'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1227
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1228 When this variable is non-`nil', the command `scroll-other-window'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1229 uses it as the window to be scrolled. Displays of completion-lists
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1230 set this variable to the window containing the display.
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 ** New argument to `sit-for'.
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 A non-nil second argument to `sit-for' means do not redisplay;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1235 just wait for the specified time or until input is available.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1237 ** Deleted function `set-minor-mode'; minor modes must be changed.
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 The function `set-minor-mode' has been eliminated. The display
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1240 of minor mode names in the mode line is now controlled by the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1241 variable `minor-mode-alist'. To specify display of a new minor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1242 mode, it is sufficient to add an element to this list. Once that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1243 is done, you can turn the mode on and off just by setting a variable,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1244 and the display will show its status automatically.
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 ** New variable `cursor-in-echo-area'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1247
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1248 If this variable is non-nil, the screen cursor appears on the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1249 last line of the screen, at the end of the text displayed there.
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 Binding this variable to t is useful at times when reading single
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1252 characters of input with `read-char'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1253
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1254 ** New per-buffer variable `selective-display-ellipses'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1255
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1256 If this variable is non-nil, an ellipsis (`...') appears on the screen
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1257 at the end of each text line that is followed by invisible text.
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 If this variable is nil, no ellipses appear. Then there is no sign
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1260 on the screen that invisible text is present.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1261
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1262 Text is made invisible under the control of the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1263 `selective-display'; this is how Outline mode and C-x $ work.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1264
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1265 ** New variable `no-redraw-on-reenter'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1266
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1267 If you set this variable non-nil, Emacs will not clear the screen when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1268 you resume it after suspending it. This is for the sake of terminals
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1269 with multiple screens of memory, where the termcap entry has been set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1270 up to switch between screens when Emacs is suspended and resumed.
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 ** New argument to `set-screen-height' or `set-screen-width'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1273
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1274 These functions now take an optional second argument which says
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1275 what significance the newly specified height or width has.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1276
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1277 If the argument is nil, or absent, it means that Emacs should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1278 believe that the terminal height or width really is as just specified.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1279
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1280 If the argument is t, it means Emacs should not believe that the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1281 terminal really is this high or wide, but it should use the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1282 specific height or width as the number of lines or columns to display.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1283 Thus, you could display only 24 lines on a screen known to have 48 lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1284
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1285 What practical difference is there between using only 24 lines for display
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1286 and really believing that the terminal has 24 lines?
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1287
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1288 1. The ``real'' height of the terminal says what the terminal command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1289 to move the cursor to the last line will do.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1291 2. The ``real'' height of the terminal determines how much padding is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1292 needed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1293
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1294 * File-related changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1295
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1296 ** New parameter `backup-by-copying-when-mismatch'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1297
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1298 If this variable is non-`nil', then when Emacs is about to save a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1299 file, it will create the backup file by copying if that would avoid
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1300 changing the file's uid or gid.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1301
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1302 The default value of this variable is `nil', because usually it is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1303 useful to have the uid of a file change according to who edited it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1304 last. I recommend thet this variable be left normally `nil' and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1305 changed with a local variables list in those particular files where
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1306 the uid needs to be preserved.
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 ** New parameter `file-precious-flag'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1309
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1310 If this variable is non-`nil', saving the buffer tries to avoid
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1311 leaving an incomplete file due to disk full or other I/O errors.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1312 It renames the old file before saving. If saving is successful,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1313 the renamed file is deleted; if saving gets an error, the renamed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1314 file is renamed back to the name you visited.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1315
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1316 Backups are always made by copying for such files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1317
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1318 ** New variable `buffer-offer-save'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1319
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1320 If the value of this variable is non-`nil' in a buffer then exiting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1321 Emacs will offer to save the buffer (if it is modified and nonempty)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1322 even if the buffer is not visiting a file. This variable is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1323 automatically made local to the current buffer whenever it is set.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1324
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1325 ** `rename-file', `copy-file', `add-name-to-file' and `make-symbolic-link'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1326
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1327 The third argument to these functions used to be `t' or `nil'; `t'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1328 meaning go ahead even if the specified new file name already has a file,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1329 and `nil' meaning to get an error.
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 Now if the third argument is a number it means to ask the user for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1332 confirmation in this case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1333
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1334 ** New optional argument to `copy-file'.
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 If `copy-file' receives a non-nil fourth argument, it attempts
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1337 to give the new copy the same time-of-last-modification that the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1338 original file has.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1339
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1340 ** New function `file-newer-than-file-p'.
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 (file-newer-than-file-p FILE1 FILE2) returns non-nil if FILE1 has been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1343 modified more recently than FILE2. If FILE1 does not exist, the value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1344 is always nil; otherwise, if FILE2 does not exist, the value is t.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1345 This is meant for use when FILE2 depends on FILE1, to see if changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1346 in FILE1 make it necessary to recompute FILE2 from it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1347
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1348 ** Changed function `file-exists-p'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1349
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1350 This function is no longer the same as `file-readable-p'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1351 `file-exists-p' can now return t for a file that exists but which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1352 the fascists won't allow you to read.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1353
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1354 ** New function `file-locked-p'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1355
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1356 This function receives a file name as argument and returns `nil'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1357 if the file is not locked, `t' if locked by this Emacs, or a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1358 string giving the name of the user who has locked it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1359
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1360 ** New function `file-name-sans-versions'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1361
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1362 (file-name-sans-versions NAME) returns a substring of NAME, with any
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1363 version numbers or other backup suffixes deleted from the end.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1364
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1365 ** New functions for directory names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1366
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1367 Although a directory is really a kind of file, specifying a directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1368 uses a somewhat different syntax from specifying a file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1369 In Emacs, a directory name is used as part of a file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1370
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1371 On Unix, the difference is small: a directory name 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
1372 while a file name does not: thus, `/usr/rms/' to name a directory,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1373 while `/usr/rms' names the file which holds that directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1374
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1375 On VMS, the difference is considerable: `du:[rms.foo]' specifies a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1376 directory, but the name of the file that holds that directory is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1377 `du:[rms]foo.dir'.
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 There are two new functions for converting between directory names
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1380 and file names. `directory-file-name' takes a directory name and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1381 returns the name of the file in which that directory's data is stored.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1382 `file-name-as-directory' takes the name of a file and returns
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1383 the corresponding directory name. These always understand Unix file name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1384 syntax; on VMS, they understand VMS syntax as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1385
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1386 For example, (file-name-as-directory "/usr/rms") returns "/usr/rms/"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1387 and (directory-file-name "/usr/rms/") returns "/usr/rms".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1388 On VMS, (file-name-as-directory "du:[rms]foo.dir") returns "du:[rms.foo]"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1389 and (directory-file-name "du:[rms.foo]") returns "du:[rms]foo.dir".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1390
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1391 ** Value of `file-attributes' changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1392
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1393 The function file-attributes returns a list containing many kinds of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1394 information about a file. Now the list has eleven elements.
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 The tenth element is `t' if deleting the file and creating another
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1397 file of the same name would result in a change in the file's group;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1398 `nil' if there would be no change. You can also think of this as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1399 comparing the file's group with the default group for files created in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1400 the same directory by you.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1401
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1402 The eleventh element is the inode number of the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1403
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1404 ** VMS-only function `file-name-all-versions'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1405
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1406 This function returns a list of all the completions, including version
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1407 number, of a specified version-number-less file name. This is like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1408 `file-name-all-completions', except that the latter returns values
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1409 that do not include version numbers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1410
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1411 ** VMS-only variable `vms-stmlf-recfm'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1412
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1413 On a VMS system, if this variable is non-nil, Emacs will give newly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1414 created files the record format `stmlf'. This is necessary for files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1415 that must contain lines of arbitrary length, such as compiled Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1416 Lisp.
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 When writing a new version of an existing file, Emacs always keeps
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1419 the same record format as the previous version; so this variable has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1420 no effect.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1421
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1422 This variable has no effect on Unix systems.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1423
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1424 ** `insert-file-contents' on an empty file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1425
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1426 This no longer sets the buffer's "modified" flag.
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 ** New function (VMS only) `define-logical-name':
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1429
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1430 (define-logical-name LOGICAL TRANSLATION) defines a VMS logical name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1431 LOGICAL whose translation is TRANSLATION. The new name applies to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1432 the current process only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1433
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1434 ** Deleted variable `ask-about-buffer-names'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1435
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1436 If you want buffer names for files to be generated in a special way,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1437 you must redefine `create-file-buffer'.
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 * Subprocess-related changes.
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 ** New function `process-list'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1442
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1443 This function takes no arguments and returns a list of all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1444 of Emacs's asynchronous subprocesses.
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 ** New function `process-exit-status'.
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 This function, given a process, process name or buffer as argument,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1449 returns the exit status code or signal number of the process.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1450 If the process has not yet exited or died, this function returns 0.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1451
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1452 ** Process output ignores `buffer-read-only'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1453
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1454 Output from a process will go into the process's buffer even if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1455 buffer is read only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1456
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1457 ** Switching buffers in filter functions and sentinels.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1458
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1459 Emacs no longer saves and restore the current buffer around calling
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1460 the filter and sentinel functions, so these functions can now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1461 permanently alter the selected buffer in a straightforward manner.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1462
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1463 ** Specifying environment variables for subprocesses.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1464
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1465 When a subprocess is started with `start-process' or `call-process',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1466 the value of the variable `process-environment' is taken to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1467 specify the environment variables to give the subprocess. The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1468 value should be a list of strings, each of the form "VAR=VALUE".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1469
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1470 `process-environment' is initialized when Emacs starts up
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1471 based on Emacs's environment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1472
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1473 ** New variable `process-connection-type'.
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 If this variable is `nil', when a subprocess is created, Emacs uses
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1476 a pipe rather than a pty to communicate with it. Normally this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1477 variable is `t', telling Emacs to use a pty if ptys are supported
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1478 and one is available.
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 ** New function `waiting-for-user-input-p'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1481
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1482 This function, given a subprocess as argument, returns `t' if that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1483 subprocess appears to be waiting for input sent from Emacs,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1484 or `nil' otherwise.
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 ** New hook `shell-set-directory-error-hook'.
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 The value of this variable is called, with no arguments, whenever
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1489 Shell mode gets an error trying to keep track of directory-setting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1490 commands (such as `cd' and `pushd') used in the shell buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1491
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1492 * New functions `user-uid' and `user-real-uid'.
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 These functions take no arguments and return, respectively,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1495 the effective uid and the real uid of the Emacs process.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1496 The value in each case is an integer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1497
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1498 * New variable `print-escape-newlines' controls string printing.
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 If this variable is non-`nil', then when a Lisp string is printed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1501 by the Lisp printing function `prin1' or `print', newline characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1502 are printed as `\n' rather than as a literal newline.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1503
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1504 * New function `sysnetunam' on HPUX.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1505
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1506 This function takes two arguments, a network address PATH and a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1507 login string LOGIN, and executes the system call `netunam'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1508 It returns `t' if the call succeeds, otherwise `nil'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1509
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1510 News regarding installation:
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 * Many `s-...' file names changed.
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 Many `s-...' files have been renamed. All periods in such names,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1515 except the ones just before the final `h', have been changed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1516 hyphens. Thus, `s-bsd4.2.h' has been renamed to `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
1517
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1518 This is so a Unix distribution can be moved mechanically to VMS.
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 * `DOCSTR...' file now called `DOC-...'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1521
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1522 The file of on-line documentation strings, that used to be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1523 `DOCSTR.mm.nn.oo' in this directory, is now called `DOC-mm.nn.oo'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1524 This is so that it can port to VMS using the standard conventions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1525 for translating filenames for VMS.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1526
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1527 This file also now contains the doc strings for variables as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1528 well as functions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1529
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1530 * Emacs no longer uses floating point arithmetic.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1531
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1532 This may make it easier to port to some machines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1533
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1534 * Macros `XPNTR' and `XSETPNTR'; flag `DATA_SEG_BITS'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1535
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1536 These macros exclusively are used to unpack a pointer from a Lisp_Object
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1537 and to insert a pointer into a Lisp_Object. Redefining them may help
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1538 port Emacs to machines in which all pointers to data objects have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1539 certain high bits set.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1540
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1541 If `DATA_SEG_BITS' is defined, it should be a number which contains
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1542 the high bits to be inclusive or'ed with pointers that are unpacked.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1543
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1544 * New flag `HAVE_X_MENU'.
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 Define this flag in `config.h' in addition to `HAVE_X_WINDOWS'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1547 to enable use of the Emacs interface to X Menus. On some operating
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1548 systems, the rest of the X interface works properly but X Menus
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1549 do not work; hence this separate flag. See the file `src/xmenu.c'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1550 for more information.
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 * Macros `ARRAY_MARK_FLAG' and `DONT_COPY_FLAG'.
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 * `HAVE_ALLOCA' prevents assembly of `alloca.s'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1555
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1556 * `SYSTEM_MALLOC' prevents use of GNU `malloc.c'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1557
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1558 SYSTEM_MALLOC, if defined, means use the system's own `malloc' routines
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1559 rather than those that come with Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1560
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1561 Use this only if absolutely necessary, because if it is used you do
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1562 not get warnings when space is getting low.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1563
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1564 * New flags to control unexec.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1565
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1566 See the file `unexec.c' for a long comment on the compilation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1567 switches that suffice to make it work on many machines.
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 * `PNTR_COMPARISON_TYPE'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1570
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1571 Pointers that need to be compared for ordering are converted to this type
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1572 first. Normally this is `unsigned int'.
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 * `HAVE_VFORK', `HAVE_DUP2' and `HAVE_GETTIMEOFDAY'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1575
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1576 These flags just say whether certain system calls are available.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1577
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1578 * New macros control compiler switches, linker switches and libraries.
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 The m- and s- files can now control in a modular fashion the precise
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1581 arguments passed to `cc' and `ld'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1582
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1583 LIBS_STANDARD defines the standard C libraries. Default is `-lc'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1584 LIBS_DEBUG defines the extra libraries to use when debugging. Default `-lg'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1585 LIBS_SYSTEM can be defined by the s- file to specify extra libraries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1586 LIBS_MACHINE can be defined by the m- file to specify extra libraries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1587 LIBS_TERMCAP defines the libraries for Termcap or Terminfo.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1588 It is defined by default in a complicated fashion but the m- or s- file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1589 can override it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1590
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1591 LD_SWITCH_SYSTEM can be defined by the s- file to specify extra `ld' switches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1592 The default is `-X' on BSD systems except those few that use COFF object files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1593 LD_SWITCH_MACHINE can be defined by the m- file to specify extra `ld' switches.
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 C_DEBUG_SWITCH defines the switches to give `cc' when debugging. Default `-g'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1596 C_OPTIMIZE_SWITCH defines the switches to give `cc' to optimize. Default `-O'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1597 C_SWITCH_MACHINE can be defined by the m- file to specify extra `cc' switches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1598
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1599
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1600
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 Copyright information:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1603
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1604 Copyright (C) 1988, 2006 Free Software Foundation, Inc.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1605
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1606 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
1607 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
1608 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
1609 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
1610
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1611 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
1612 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
1613 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
1614 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
1615
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1616 Local variables:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1617 mode: text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1618 end:
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 arch-tag: 8fed393b-c9c5-47d1-afbb-c0e7a135094a