Add 2007 to copyright years.
[bpt/emacs.git] / man / anti.texi
CommitLineData
6bf7aab6 1@c This is part of the Emacs manual.
4e6835db 2@c Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
6bf7aab6
DL
3@c See file emacs.texi for copying conditions.
4
9e827d47 5@node Antinews, Mac OS, X Resources, Top
cb08cc40 6@appendix Emacs 21 Antinews
6bf7aab6
DL
7
8 For those users who live backwards in time, here is information about
4a3cb252 9downgrading to Emacs version 21.4. We hope you will enjoy the greater
cb08cc40
LK
10simplicity that results from the absence of many Emacs @value{EMACSVER}
11features.
6bf7aab6
DL
12
13@itemize @bullet
4829cfc3 14
6bf7aab6 15@item
4829cfc3
RS
16The buffer position and line number are now displayed at the end of
17the mode line, where they can be more easily seen.
6bf7aab6
DL
18
19@item
4829cfc3 20The mode line of the selected window is no longer displayed with a
e6cbffd9
RS
21special face. All mode lines are created equal. Meanwhile, you can
22use the variable @code{mode-line-inverse-video} to control whether
23mode lines are highlighted at all---@code{nil} means don't highlight
24them.
6bf7aab6
DL
25
26@item
4829cfc3
RS
27Clicking on a link with the left mouse button (@kbd{mouse-1}) will
28always set point at the position clicked, instead of following the
29link. If you want to follow the link, use the middle mouse button
30(@kbd{mouse-2}).
6bf7aab6 31
4829cfc3
RS
32@item
33Emacs is tired of X droppings. If you drop a file or a piece of text
34onto an Emacs window, nothing will happen.
6bf7aab6 35
189a47e4 36@item
4d927252
LT
37On an xterm, even if you enable Xterm Mouse mode, Emacs provides a
38more convincing simulation of a text terminal by not responding to
39mouse clicks on the mode line, header line, or display margin.
189a47e4 40
6bf7aab6 41@item
4829cfc3
RS
42For simplicity, windows always have fringes. We wouldn't want to
43in-fringe anyone's windows. Likewise, horizontal scrolling always
44works in the same automatic way.
6bf7aab6
DL
45
46@item
4829cfc3 47The horizontal-bar cursor shape has been removed.
6bf7aab6 48
6bf7aab6 49@item
4829cfc3
RS
50If command line arguments are given, Emacs will not display a splash
51screen, so that you can immediately get on with your editing. The
52command-line option @samp{--no-splash} is therefore obsolete, and has
53been removed.
6bf7aab6
DL
54
55@item
4829cfc3
RS
56The command line options @samp{--color}, @samp{--fullwidth},
57@samp{--fullheight}, @samp{--fullscreen}, @samp{--no-blinking-cursor},
58@samp{--no-desktop}, and @samp{-Q} have also been removed.
daaf40c7 59
6bf7aab6 60@item
4829cfc3
RS
61The @samp{--geometry} option applies only to the initial frame, and
62the @samp{-f} option will not read arguments for interactive
63functions.
daaf40c7 64
6bf7aab6 65@item
27a19a63
CY
66We have standardized on one location for the user init file: the file
67named @file{.emacs} in your home directory. Emacs will not look for
68the init file in @file{~/.emacs.d/init.el}. Similarly, don't try
b4e79601
JB
69putting @file{.emacs_SHELL} as @file{init_SHELL.sh} in
70@file{~/.emacs.d}; Emacs won't find it.
daaf40c7 71
6bf7aab6 72@item
4829cfc3
RS
73Emacs will not read @file{~/.abbrev_defs} automatically. If you want
74to load abbrev definitions from a file, you must always do so
75explicitly.
76
77@item
78When you are logged in as root, all files now give you writable
79buffers, reflecting the fact that you can write any files.
daaf40c7 80
6bf7aab6 81@item
4829cfc3
RS
82The maximum size of buffers and integer variables has been halved. On
8332-bit machines, the maximum buffer size is now 128 megabytes.
daaf40c7 84
6bf7aab6 85@item
975a44e2
RS
86An unquoted @samp{$} in a file name is now an error, if the following
87name is not recognized as an environment variable. Thus,
88the file name @file{foo$bar} would probably be an error. Meanwhile,
89the @code{setenv} command does not expand @samp{$} at all.
6bf7aab6 90
4829cfc3 91@item
4d927252
LT
92If a single command accumulates too much undo information, Emacs never
93discards it. If Emacs runs out of memory as a result, it will handle
4829cfc3
RS
94this by crashing.
95
96@item
97Many commands have been removed from the menus or rearranged.
98
99@item
100The @kbd{C-h} (help) subcommands have been rearranged---especially
101those that display specific files. Type @kbd{C-h C-h} to see a list
102of these commands; that will show you what is different.
103
104@item
105The @kbd{C-h v} and @kbd{C-h f} commands no longer show a hyperlink to
106the C source code, even if it is available. If you want to find the
107source code, grep for it.
108
109@item
110The apropos commands will not accept a list of words to match, in
dcfd1961 111order to encourage you to be more specific. Also, the user option
4829cfc3
RS
112@code{apropos-sort-by-scores} has been removed.
113
114@item
115The minibuffer prompt is now displayed using the default face.
116The colon is enough to show you what part is the prompt.
117
118@item
119Minibuffer completion commands always complete the entire minibuffer
120contents, just as if you had typed them at the end of the minibuffer,
121no matter where point is actually located.
122
123@item
124The command @code{backward-kill-sexp} is now bound to @kbd{C-M-delete}
125and @kbd{C-M-backspace}. Be careful when using these key sequences!
126It may shut down your X server, or reboot your operating system.
127
daaf40c7 128@item
975a44e2 129Commands to set the mark at a place away from point, including
88e750a4 130@kbd{M-@@}, @kbd{M-h}, etc., don't do anything special when you repeat
975a44e2 131them. In most cases, typing these commands multiple times is
4829cfc3 132equivalent to typing them once. @kbd{M-h} ignores numeric arguments.
6bf7aab6 133
daaf40c7 134@item
4d927252 135The user option @code{set-mark-command-repeat-pop} has been removed.
6bf7aab6 136
daaf40c7 137@item
4829cfc3
RS
138@kbd{C-@key{SPC} C-@key{SPC}} has no special meaning--it just sets the
139mark twice. Neither does @kbd{C-u C-x C-x}, which simply exchanges
140point and mark like @kbd{C-x C-x}.
16d51a35
EZ
141
142@item
4829cfc3
RS
143The function @code{sentence-end} has been eliminated in favor of a
144more straightforward approach: directly setting the variable
145@code{sentence-end}. For example, to end each sentence with a single
146space, use
147
148@lisp
149(setq sentence-end "[.?!][]\"')@}]*\\($\\|[ \t]\\)[ \t\n]*")
150@end lisp
16d51a35
EZ
151
152@item
4829cfc3
RS
153The variable @code{fill-nobreak-predicate} is no longer customizable,
154and it can only hold a single function.
6bf7aab6 155
daaf40c7 156@item
90f0b6ba
RS
157Nobreak spaces and hyphens are displayed just like normal characters,
158and the user option @code{nobreak-char-display} has been removed.
6bf7aab6
DL
159
160@item
4829cfc3
RS
161@kbd{C-w} in an incremental search always grabs an entire word
162into the search string. More precisely, it grabs text through
163the next end of a word.
6bf7aab6
DL
164
165@item
4829cfc3
RS
166Yanking now preserves all text properties that were in the killed
167text. The variable @code{yank-excluded-properties} has been removed.
6bf7aab6
DL
168
169@item
4829cfc3
RS
170Occur mode, Info mode, and Comint-derived modes now control
171fontification in their own way, and @kbd{M-x font-lock-mode} has
172nothing to do with it. To control fontification in Info mode, use the
173variable @code{Info-fontify}.
6bf7aab6 174
fa23e705
RS
175@item
176@samp{M-x shell} is now completely standard in regard to scrolling
177behavior. It no longer has the option of scrolling the input line to
178the bottom of the window the way a text terminal running a shell does.
179
6bf7aab6 180@item
4829cfc3
RS
181The Grep package has been merged with Compilation mode. Many
182grep-specific commands and user options have thus been eliminated.
183Also, @kbd{M-x grep} never tries the GNU grep @samp{-H} option,
184and instead silently appends @file{/dev/null} to the command line.
6bf7aab6
DL
185
186@item
4829cfc3
RS
187In Dired's @kbd{!} command, @samp{*} and @samp{?} now
188cause substitution of the file names wherever they appear---not
189only when they are surrounded by whitespace.
190
191@item
192When a file is managed with version control, the command @kbd{C-x C-q}
193(whose general meaning is to make a buffer read-only or writable) now
194does so by checking the file in or out. Checking the file out makes
195the buffer writable; checking it in makes the buffer read-only.
196
197You can still use @kbd{C-x v v} to do these operations if you wish;
198its meaning is unchanged. If you want to control the buffer's
199read-only flag without performing any version control operation,
200use @kbd{M-x toggle-read-only}.
201
202@item
203SGML mode does not handle XML syntax, and does not have indentation
204support.
205
206@item
207Many Info mode commands have been removed. Incremental search in Info
208searches only the current node.
6bf7aab6
DL
209
210@item
975a44e2
RS
211Many @code{etags} features for customizing parsing using regexps
212have been removed.
6bf7aab6 213
0772f3a3 214@item
4829cfc3
RS
215The Emacs server now runs a small C program called @file{emacsserver},
216rather than trying to handle everything in Emacs Lisp. Now there can
217only be one Emacs server running at a time. The @code{server-mode}
218command and @code{server-name} user option have been eliminated.
219
220@item
032a41d4
JB
221The @file{emacsclient} program no longer accepts the @samp{--eval},
222@samp{--display} and @samp{--server-file} command line options, and
223can only establish local connections using Unix domain sockets.
4829cfc3
RS
224
225@item
226The command @code{quail-show-key}, for showing how to input a
227character, has been removed.
228
229@item
230The default value of @code{keyboard-coding-system} is always
231@code{nil}, regardless of your locale settings. If you want some
232other value, set it yourself.
233
234@item
235Unicode support and unification between Latin-@var{n} character sets
236have been removed. Cutting and pasting X selections does not support
237``extended segments'', so there are certain coding systems it cannot
238handle.
239
240@item
241The input methods for Emacs are included in a separate distribution
99cf5b74 242called ``Leim.'' To use this, you must extract the Leim tar file on
4829cfc3
RS
243top of the Emacs distribution, into the same directory, before you
244build Emacs.
245
246@item
247The following input methods have been eliminated: belarusian,
248bulgarian-bds, bulgarian-phonetic, chinese-sisheng, croatian, dutch,
249georgian, latin-alt-postfix, latin-postfix, latin-prefix,
250latvian-keyboard, lithuanian-numeric, lithuanian-keyboard,
251malayalam-inscript, rfc1345, russian-computer, sgml, slovenian,
252tamil-inscript ucs, ukrainian-computer, vietnamese-telex, and welsh.
253
254@item
255The following language environments have been eliminated: Belarusian,
256Bulgarian, Chinese-EUC-TW, Croatian, French, Georgian, Italian,
257Latin-6, Latin-7, Latvian, Lithuanian, Malayalam, Russian, Russian,
258Slovenian, Swedish, Tajik, Tamil, UTF-8, Ukrainian, Ukrainian, Welsh,
259and Windows-1255.
260
261@item
262The @code{code-pages} library, which contained various 8-bit coding
263systems, has been removed.
264
265@item
266The Kmacro package has been replaced with a simple and elegant
267keyboard macro system. Use @kbd{C-x (} to start a new keyboard macro,
268@kbd{C-x )} to end the macro, and @kbd{C-x e} to execute the last
4d927252
LT
269macro. Use @kbd{M-x name-last-kbd-macro} to name the most recently
270defined macro.
4829cfc3
RS
271
272@item
6d10dc37
NR
273Emacs no longer displays your breakpoints in the source buffer, so you
274have to remember where you left them. It can be difficult to inspect
85f92a48 275the state of your debugged program from the command line, so Emacs
6d10dc37
NR
276tries to demonstrate this in the GUD buffer.
277
278@item
279The Calc, CUA, Ibuffer, Ido, Password, Printing, Reveal,
4829cfc3
RS
280Ruler-mode, SES, Table, Tramp, and URL packages have been removed.
281The Benchmark, Cfengine, Conf, Dns, Flymake, Python, Thumbs, and
282Wdired modes have also been removed.
283
284@item
285The Emacs Lisp Reference Manual and the Introduction to Programming in
286Emacs Lisp are now distributed separately, not in the Emacs
287distribution.
288
289@item
290On MS Windows, there is no longer any support for tooltips, images,
291sound, different mouse pointer shapes, or pointing devices with more
292than 3 buttons. If you want these features, consider switching to
293another operating system. But even if you don't want these features,
294you should still switch---for freedom's sake.
0772f3a3 295
6bf7aab6 296@item
4829cfc3 297Emacs will not use Unicode for clipboard operations on MS Windows.
6bf7aab6
DL
298
299@item
daaf40c7 300To keep up with decreasing computer memory capacity and disk space, many
4a3cb252 301other functions and files have been eliminated in Emacs 21.4.
6bf7aab6 302@end itemize
ab5796a9
MB
303
304@ignore
305 arch-tag: 32932bd9-46f5-41b2-8a0e-fb0cc4caeb29
306@end ignore