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