*** empty log message ***
[bpt/emacs.git] / lisp / ChangeLog
1 2002-08-20 Kim F. Storm <storm@cua.dk>
2
3 * kmacro.el: Major rework based on discussions with RMS.
4 Most important change is that C-x C-k is now bound to a keymap
5 with keyboard macro related commands. The original binding on
6 C-x C-k is moved to C-x C-k e.
7
8 2002-08-19 Kenichi Handa <handa@etl.go.jp>
9
10 * international/mule.el (sgml-xml-auto-coding-function): Call
11 re-search-forward with NOERROR t.
12
13 2002-08-19 Miles Bader <miles@gnu.org>
14
15 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
16 * comint.el (comint-inhibit-carriage-motion): New variable.
17 (comint-carriage-motion): Argument STRING removed. New arguments
18 START and END; interpret characters between START and END rather
19 than using special comint state.
20 (comint-output-filter): Call `comint-carriage-motion'.
21 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
22 * ielm.el (inferior-emacs-lisp-mode): Give
23 `comint-inhibit-carriage-motion' a local value of t.
24
25 2002-08-18 Richard M. Stallman <rms@gnu.org>
26
27 * table.el: New file.
28
29 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
30
31 2002-08-18 Andreas Schwab <schwab@suse.de>
32
33 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
34
35 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
36
37 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
38 (reftex-syntax-table): Set a default in case this is being used
39 outside a LaTeX file.
40 (reftex-syntax-table-for-bib): Set a default in case this is being
41 used outside a LaTeX file.
42
43 2002-08-17 Richard M. Stallman <rms@gnu.org>
44
45 * tar-mode.el (tar-subfile-mode): Use add-hook and
46 remove-hook, and use write-file-functions instead of
47 local-write-file-hooks.
48 (tar-untar-buffer): Don't try to extract directories.
49
50 * menu-bar.el (fringe-mode): Set to nil.
51
52 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
53
54 2002-08-15 Richard M. Stallman <rms@gnu.org>
55
56 * calendar/appt.el (appt-delete): Use substring-no-properties.
57 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
58
59 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
60
61 * server.el (server-process-filter): Simplify code.
62 (server-goto-line-column): New function.
63 (server-visit-files): Use server-goto-line-column.
64 Offer to revert only if file has changed.
65
66 2002-08-15 Richard M. Stallman <rms@gnu.org>
67
68 * files.el (recover-this-file): New function.
69 (after-find-file): Recommend recover-this-file.
70
71 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
72 to change-major-mode-hook when font lock is enabled.
73
74 * simple.el (toggle-truncate-lines): Force redisplay.
75 Display status message.
76
77 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
78
79 * textmodes/reftex.el (reftex-mode): Moved the creation of special
80 syntax tables to top-level.
81
82 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
83
84 * help-fns.el (locate-library): Use locate-file(-completion).
85 (help-split-fundoc): Tighten the regexp and recognize a usage-info
86 where the function name is `fn'.
87 (help-function-arglist): Follow aliases and macros.
88 (describe-function-1): Use keymapp.
89 If the docstring contains a usage info, use it even if the function is
90 not a subroutine. Find usage info in aliases' docstring if necessary.
91 (describe-variable): Get the value before setting up the *Help* buffer.
92
93 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
94 Use find-file-hook instead of find-file-hooks.
95 (define-minor-mode): Get rid of this silly `togglep'.
96 Add an explicit `toggle' argument (used for interactive calls).
97 Emit a warning when a nil argument turns the mode off.
98
99 * language/ethio-util.el (setup-ethiopic-environment-internal)
100 (exit-ethiopic-environment): Use find-file-hook and
101 write-file-functions instead of find-file-hooks and write-file-hooks.
102
103 * window.el (handle-select-window): Don't do anything if the window
104 has disappeared since the event was generated.
105 (split-window-save-restore-data): Use push and with-current-buffer.
106
107 * saveplace.el:
108 * play/meese.el:
109 * obsolete/hilit19.el:
110 * completion.el (dynamic-completion-mode):
111 * emacs-lisp/find-func.el (find-function-search-for-symbol):
112 Use find-file-hook instead of find-file-hooks.
113
114 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
115 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
116 (imenu-space-replacement): Allow nil value.
117 (imenu--completion-buffer): Use new vars and simplify.
118 Fix handling of minibuffer-setup-hook.
119 Use minibuffer-completion-help instead of rolling our own.
120 (imenu-choose-buffer-index): Use the new var.
121
122 * startup.el (command-line): Load custom-file if not done yet.
123
124 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
125
126 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
127 use `hash-table-size' instead of `length'.
128
129 2002-08-14 Kenichi Handa <handa@etl.go.jp>
130
131 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
132 the selection data string. Always return cons of type and string.
133 (selection-converter-alist): Add (UTF8_STRING .
134 xselect-convert-to-string).
135
136 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
137
138 * newcomment.el (comment-region): Force `lines' when `block' is set.
139
140 2002-08-12 Richard M. Stallman <rms@gnu.org>
141
142 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
143 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
144 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
145 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
146 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
147 (menu-bar-text-mode-auto-fill): New commands, used
148 in menu bar menus instead of lambda expressions.
149
150 (menu-bar-showhide-fringe-menu-customize-left)
151 (menu-bar-showhide-fringe-menu-customize-right)
152 (menu-bar-showhide-fringe-menu-customize-disable)
153 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
154
155 (menu-bar-options-menu): Use toggle-truncate-lines.
156 (showhide-date-time): Call customize-mark-as-set.
157
158 * emacs-lisp/find-func.el (find-function-search-for-symbol):
159 Obey `definition-name' properties.
160
161 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
162 Put `definition-name' properties on the functions whose
163 names are constructed.
164
165 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
166 Renamed from target-buffer.
167 (pages-directory, pages-copy-header-and-position): Uses changed.
168
169 * calendar/appt.el (appt-make-list): Correct the parsing of
170 each appointment from time-string.
171
172 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
173
174 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
175 (scroll-all-mode) <defcustom>: Delete.
176 (running-xemacs): Delete.
177 (minor-mode-alist): Don't manipulate it directly.
178
179 2002-08-10 Kenichi Handa <handa@etl.go.jp>
180
181 * international/mule-cmds.el (search-unencodable-char): New function.
182 (select-safe-coding-system): Show unencodable characters.
183 (unencodable-char-position): Deleted, and implemented in C in coding.c.
184
185 2002-04-09 John Wiegley <johnw@gnu.org>
186
187 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
188 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
189 * em-dirs.el (eshell/cd): Ditto.
190 * em-glob.el (eshell-glob-case-insensitive): Ditto.
191 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
192 * esh-ext.el (eshell-binary-suffixes): Ditto.
193
194 2002-08-09 Richard M. Stallman <rms@gnu.org>
195
196 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
197
198 * simple.el (set-variable): Give locality status in prompt.
199
200 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
201
202 * simple.el (set-variable): If given a prefix argument, set
203 variable buffer-locally.
204
205 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
206
207 * font-core.el (font-lock-function): Make it buffer-local.
208
209 2002-08-08 Richard M. Stallman <rms@gnu.org>
210
211 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
212 (checkdoc-message-interactive, checkdoc-interactive-loop)
213 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
214 (checkdoc-defun):
215 Update checkdoc-spellcheck-documentation-flag correctly.
216 (checkdoc-ispell-docstring-engine): Don't test for
217 checkdoc-autofix-flag = nil.
218
219 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
220
221 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
222
223 * wid-browse.el (widget-minor-mode): Fix doc typo.
224
225 2002-08-07 Kai Gro\e,b_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
226
227 * net/tramp.el: Version 2.0.12 released.
228 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
229 Comment out possibly obsolete "echo hello" commands.
230 (tramp-run-real-handler): If operation is
231 `ange-ftp-hook-function', use first arg as the real operation.
232 (tramp-check-ls-commands): Use / instead of \ as directory
233 separator. (Relevant for XEmacs on Windows.)
234 (tramp-maybe-open-connection): Use tramp-wait-for-output when
235 waiting for the "are you awake" command. Use a different string
236 for the "are you awake" command.
237 (tramp-send-command): New optional arg NEVEROPEN means to never
238 invoke tramp-maybe-open-connection.
239 (tramp-maybe-open-connection): Use it
240
241 2002-08-07 Richard M. Stallman <rms@gnu.org>
242
243 * warnings.el (warning-prefix-function, warning-series)
244 (warning-fill-prefix, warning-group-format): Add autoload cookies.
245
246 2002-08-07 Kenichi Handa <handa@etl.go.jp>
247
248 * international/mule-cmds.el (select-safe-coding-system):
249 Call pop-to-buffer inside save-window-excursion and save-excursion.
250
251 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
252
253 * help-fns.el (describe-function-1): Skip arglist note if
254 function's definition is a keymap.
255
256 2002-08-06 Sam Steingold <sds@gnu.org>
257
258 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
259 and `mail-user-agent' instead of straight sendmail.
260 (diary-modified, diary-entries-list, displayed-year)
261 (displayed-month, entry, date, number, date-string, d-file)
262 (original-date): Defvar without binding to avoid compiler warnings.
263
264 2002-08-05 Alan Shutko <ats@acm.org>
265
266 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
267 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
268 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
269
270 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
271 (ibuffer-filter-by-used-mode): New.
272
273 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
274
275 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
276 `fset' and `symbol-function'.
277
278 2002-08-05 John Wiegley <johnw@gnu.org>
279
280 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
281 value unless pcomplete-cycle-cutoff-length is non-nil.
282
283 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
284
285 * esh-util.el (eshell-under-cygwin-p): New function.
286 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
287 * em-dirs.el (eshell/cd): Ditto.
288 * em-glob.el (eshell-glob-case-insensitive): Ditto.
289 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
290 * esh-ext.el (eshell-binary-suffixes): Ditto.
291
292 2002-08-05 Richard M. Stallman <rms@gnu.org>
293
294 * international/mule-cmds.el (select-safe-coding-system): Check for
295 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
296
297 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
298
299 2002-08-05 Gerd Moellmann <gerd@gnu.org>
300
301 * image.el (image-jpeg-p): Accept "Exif" marker.
302
303 2002-08-05 Kai Gro\e,b_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
304
305 * net/tramp.el: Version 2.0.11 released.
306 (tramp-perl-file-attributes): Print uid and gid as signed integers.
307 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
308 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
309 calling Tramp again.
310 (tramp-find-file-exists-command): Check for `ls -d' last, after
311 all the variants on `test -e'.
312 (tramp-post-connection): Erase buffer before finding a command to
313 check if file exists.
314
315 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
316
317 * calc/calc.el (math-format-stack-value): Revert a broken
318 if->when replacement and reformat so that this does not happen
319 again. Fixes a pretty lethal line formatting/yanking bug.
320
321 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
322
323 * startup.el (fancy-splash-frame): Check selected frame last.
324
325 2002-08-04 Kai Gro\e,b_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
326
327 * net/tramp.el: Version 2.0.10 released.
328 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
329 standard output even if `uudecode -p' and `uudecode -o -' don't work.
330 (tramp-post-connection): After finding the right shell, wait a
331 bit. This is a kludge to avoid a race condition, even though I
332 don't understand why there is a race condition in the first place.
333 (tramp-post-connection): Install the `tramp_uudecode' shell
334 function on the remote host.
335 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
336 (tramp-bug): Include more variables in the report.
337
338 2002-08-04 Kai Gro\e,b_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
339
340 * net/tramp.el: Version 2.0.9 released.
341 (tramp-bug): Add wording about additional info to include in bug
342 report.
343 (tramp-find-shell): Set $PS1 for invocation of second shell (for
344 tilde expansion).
345 (tramp-find-shell): Shell prompt must match at end of buffer.
346 Do this also for fallback shell prompt.
347 (tramp-find-shell): More debugging output.
348 (tramp-find-inline-encoding): When checking the decoding command,
349 some commands fail when reading from /dev/null. So we pass a
350 known string through the encoding command and pass that through
351 the decoding command. So we know whether the decoding command can
352 deal with some real input.
353
354 2002-08-04 Andreas Schwab <schwab@suse.de>
355
356 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
357
358 2002-08-03 Andrew Choi <akochoi@shaw.ca>
359
360 * term/mac-win.el: Set keys to enable mouse wheel support.
361
362 2002-08-03 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
363
364 * net/tramp.el: Version 2.0.8.
365 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
366
367 2002-08-03 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
368
369 * net/tramp.el: Version 2.0.7.
370 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
371 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
372 because of `format' and say so in the docstring.
373
374 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
375
376 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
377 `type' forms.
378 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
379 (f90-type-def-re): Fix value.
380
381 2002-08-03 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
382
383 * net/tramp.el: Version 2.0.6.
384 (tramp-default-method): Change to "ssh" from "sm".
385 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
386 (tramp-su-program): New internal variable for method parameter.
387 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
388 New variables. Very short Perl one-liner, but requires Perl
389 module MIME::Base64 to be installed on the remote site.
390 (tramp-perl-encode, tramp-perl-decode): New base64
391 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
392 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
393 though Ange-FTP doesn't do anything for this operation).
394 (tramp-handle-set-visited-file-modtime): Comment change.
395 (tramp-handle-make-directory): Save-excursion.
396 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
397 twice, once is enough.
398 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
399 user knows what's wrong.
400 (tramp-post-connection): Support the two Perl encoders and decoders.
401 (tramp-coding-commands): Ditto. Add some todo items.
402
403 2002-08-02 Richard M. Stallman <rms@gnu.org>
404
405 * international/mule.el (merge-coding-systems): New function.
406 (set-buffer-file-coding-system): Use merge-coding-systems.
407 Change prompt for args.
408 (revert-buffer-with-coding-system): New command.
409
410 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
411 Add bindings for revert-buffer-with-coding-system.
412 (set-coding-system-map): Clarify menu item info for
413 set-buffer-file-coding-system.
414 (set-coding-system-map): Reorder and add separators.
415
416 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
417 Use eval-expression.
418
419 * subr.el (atomic-change-group): Doc fix.
420
421 2002-07-31 Colin Walters <walters@debian.org>
422
423 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
424 defvaralias for compatibility.
425 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
426 defvaralias for compatibility.
427
428 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
429
430 * ibuffer.el (ibuffer-fontification-alist):
431 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
432
433 2002-07-31 John Wiegley <johnw@gnu.org>
434
435 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
436 prevent adding the symbol `pcomplete' to
437 shell-dynamic-complete-functions to many times.
438
439 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
440
441 * help-fns.el (describe-function-1): Test function for
442 obsolescence only if it is a symbol.
443
444 * ediff.el (ediff-backup): New autoloaded command.
445
446 2002-07-31 Richard M. Stallman <rms@gnu.org>
447
448 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
449 Use `compile-always'.
450 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
451 (compile): Renamed from `compile-files'.
452 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
453
454 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
455 Check that (car elt) is a string.
456
457 * pcomplete.el (pcomplete-entries): Doc fix.
458
459 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
460
461 2002-07-31 Andreas Schwab <schwab@suse.de>
462
463 * dired.el: Hide disabling of dired-find-alternate-file behind
464 autoload-cookie.
465
466 2002-07-31 Juanma Barranquero <lektu@terra.es>
467
468 * makefile.w32-in: Revert some changes from 2002-07-23 because they
469 don't work on MSVC/nmake builds.
470 (update-subdirs-CMD): Generate the right list of subdirectories.
471 From Tak Ota <Takaaki.Ota@am.sony.com>.
472
473 2002-07-30 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
474
475 * net/tramp.el: New version 2.0.5.
476 (tramp-methods): Remove inline encoding method parameters.
477 The encoding is now autodetected. Also shorten the list of
478 methods (u/m distinction gone) and rename the remaining methods to
479 have longer, but more mnemonic, names.
480 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
481 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
482 matched at end of buffer anyway.
483 (tramp-yesno-prompt-regexp): New variable, for questions where the
484 user should say "yes" or "no".
485 (tramp-file-name-structure-unified)
486 (tramp-file-name-structure-separate): Allow dash in method names.
487 (tramp-actions-before-shell): New variable, contains list of
488 pattern/action pairs. Output sent by remote end is scanned for
489 the patterns, then the actions are executed.
490 (tramp-multi-actions): Like `tramp-actions-before-shell', but
491 executed for each hop in a multi-hop connection.
492 (tramp-last-cmd-time): New variable. If nothing has been sent to
493 remote end for 60 seconds, look to see if the remote end is still
494 alive.
495 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
496 It didn't work.
497 (tramp-perl-encode, tramp-perl-decode): New variables, these
498 require the MIME::Base64 module on the remote end.
499 (tramp-handle-file-attributes): Restructure logic.
500 (tramp-handle-file-attributes-with-ls)
501 (tramp-handle-file-attributes-with-perl): More debugging.
502 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
503 (tramp-handle-make-directory, tramp-handle-delete-directory)
504 (tramp-handle-delete-file, tramp-handle-insert-directory):
505 Expand file name.
506 (tramp-handle-shell-command): Use `when', not `if'.
507 (tramp-handle-file-local-copy, tramp-handle-write-region):
508 Adapt to autodetection of inline encoding.
509 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
510 variable ange-ftp-name-format is defined before binding it.
511 (tramp-action-login, tramp-action-password, tramp-action-succeed)
512 (tramp-action-permission-denied, tramp-action-yesno):
513 Functions called from `tramp-actions-before-shell'.
514 (tramp-multi-action-login, tramp-multi-action-password)
515 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
516 Functions called from `tramp-multi-actions'.
517 (tramp-process-one-action, tramp-process-actions):
518 Pattern matching and action invocation code for
519 `tramp-actions-before-shell'.
520 (tramp-process-one-multi-action, tramp-process-multi-actions):
521 Same for `tramp-multi-actions'.
522 (tramp-open-connection-telnet, tramp-open-connection-rsh)
523 (tramp-open-connection-su): Process actions instead of hardwired logic.
524 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
525 (tramp-multi-connect-su): Ditto.
526 (tramp-post-connection): New method for tramp_encode and
527 tramp_decode scripts.
528 (tramp-post-connection): Invoke inline autodetection code.
529 (tramp-coding-commands): List of inline codings.
530 (tramp-find-inline-encoding): This is the inline autodetection code.
531 (tramp-maybe-open-connection): If nothing was sent to connection
532 for 60 seconds, look if it connection is still alive.
533 (tramp-send-command): Remember that something was sent to the
534 connection.
535 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
536 Use backticks for constructing alist.
537 (tramp-get-encoding-command, tramp-set-encoding-command)
538 (tramp-get-decoding-command, tramp-set-decoding-command)
539 (tramp-get-encoding-function, tramp-set-encoding-function)
540 (tramp-get-decoding-function, tramp-set-decoding-function):
541 Use for results of inline autodetection.
542 (tramp-get-encoding-command, tramp-get-decoding-command)
543 (tramp-get-encoding-function, tramp-get-decoding-function):
544 Remove these old functions.
545
546 2002-07-30 Kenichi Handa <handa@etl.go.jp>
547
548 * language/indian.el (in-is13194): Give correct `safe-chars' property.
549 (devanagari): Define it as an alias of in-is13194.
550
551 * international/mule.el (safe-chars):
552 Put `char-table-extra-slots' property with value 0.
553
554 * files.el (revert-buffer): Fix previous change.
555
556 2002-07-29 Richard M. Stallman <rms@gnu.org>
557
558 * bindings.el (help-echo): If global-mode-string is non-nil,
559 display some spaces after it.
560
561 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
562 Don't call string-match on non-string.
563 (displaying-byte-compile-warnings):
564
565 * textmodes/ispell.el (check-ispell-version): Bind default-directory
566 to avoid errors. Kill the old temp buffer at the beginning.
567
568 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
569
570 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
571
572 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
573
574 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
575 instead of `cond'.
576
577 2002-07-29 Kenichi Handa <handa@etl.go.jp>
578
579 * international/mule.el (ctext-post-read-conversion): Add support
580 for embedded utf-8 encoding (ESC % G ... ESC % @).
581
582 2002-07-28 Kenichi Handa <handa@etl.go.jp>
583
584 * files.el (revert-buffer): Before calling insert-file-contents,
585 kill the local variable buffer-file-coding-system.
586
587 2002-07-28 Richard M. Stallman <rms@gnu.org>
588
589 * bindings.el (mode-line-format): Handle vc-mode specially.
590 Move mode-line-position to after global-mode-string.
591 (mode-line-modes): Move the starting 3 spaces out of here.
592 (mode-line-position): Separate with a space, not dashes.
593
594 * vc-hooks.el: Don't add to minor-mode-alist.
595
596 * emacs-lisp/edebug.el (edebug-debugger):
597 If inside redisplay, just return.
598
599 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
600
601 * info.el (Info-find-index-name): Improve last change.
602
603 2002-07-27 Richard M. Stallman <rms@gnu.org>
604
605 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
606
607 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
608 in the third case.
609
610 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
611
612 * ps-print.el: Update copyright year.
613 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
614
615 2002-07-26 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
616
617 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
618 to the session with that number. Old behavior still available
619 with nonumeric prefix args.
620
621 2002-07-08 Simon Josefsson <jas@extundo.com>
622
623 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
624
625 2002-07-26 Juanma Barranquero <lektu@terra.es>
626
627 * warnings.el (lwarn, warn, warning-levels): Doc fix.
628 (warning-suppress-log-types): Fix typo.
629 (display-warning): Fix typo. Remove useless asignment to free variable
630 `group-string'.
631
632 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
633
634 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
635
636 2002-07-25 Sam Steingold <sds@gnu.org>
637
638 * replace.el (occur-rename-buffer): New command.
639 (occur-mode-map): Bind "r" to it. Added keybindings for
640 `kill-this-buffer', `clone-buffer' and `quit-window'.
641
642 2002-07-25 Kevin Ryde <user42@zip.com.au>
643
644 * info.el (Info-find-index-name): Search for a function definition
645 with a return type.
646
647 2002-07-25 David Ponce <david@dponce.com>
648
649 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
650 Don't recompute `entry' on each iteration.
651 (byte-compile-delete-first): Make it defsubst.
652
653 2002-07-25 Sam Steingold <sds@gnu.org>
654
655 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
656 When `search-end' is a cons, use its car.
657
658 2002-07-25 Dave Love <fx@gnu.org>
659
660 * obsolete/c-mode.el: Deleted.
661
662 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
663
664 * textmodes/reftex.el (reftex-compile-variables):
665 Simplified regular expression.
666
667 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
668 Simplified the regexp.
669
670 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
671 (reftex-extract-bib-entries-from-thebibliography):
672 Use `reftex-get-bibkey-default' to get a default regex.
673 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
674 get a default regex.
675
676 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
677 XEmacs compatibility (got OK from RMS).
678
679 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
680
681 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
682 (reftex-select-bib-mode): Likewise.
683
684 2002-07-25 Colin Walters <walters@debian.org>
685
686 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
687 by menu functions.
688
689 2002-07-24 Dave Love <fx@gnu.org>
690
691 * international/mule.el (set-auto-coding): Doc fix.
692
693 * international/utf-16.el: New file.
694
695 * language/european.el ("German", "French", "Spanish", "Turkish"):
696 Add alternative coding systems.
697 ("Dutch"): Likewise. Add input method.
698 ("Welsh", "Latin-7"): Add nonascii-translation.
699
700 * language/georgian.el ("Georgian"): Add nonascii-translation.
701
702 * international/titdic-cnv.el: Doc fixes.
703 (tit-process-header): Add coding cookie.
704 (titdic-convert): Force writing as iso-2022-7bit.
705
706 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
707
708 * international/mule-cmds.el: Doc fixes.
709 (unencodable-char-position): New.
710 (select-safe-coding-system): Use it to indicate problematic
711 characters and add extra explanation. Avoid checking auto-coding
712 for compressed files.
713 (leim-list-header): Add coding cookie.
714 (input-method-verbose-flag): Modify :type.
715 (locale-language-names): Add bs, wa. Modify cy.
716
717 2002-07-24 Richard M. Stallman <rms@gnu.org>
718
719 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
720 Bind warning-group-format.
721
722 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
723 (byte-compile-cl-warn): Use that variable.
724 (byte-compile-find-cl-functions): New function.
725 (displaying-byte-compile-warnings):
726 Call byte-compile-find-cl-functions.
727
728 * warnings.el (warning-levels): Add %s to the strings.
729 (warning-group-format): New variable.
730 (warning-suppress-log-types): Renamed from warning-suppress-log.
731 (warning-suppress-types): Renamed from warning-suppress.
732 (display-warning): Implement those changes.
733
734 2002-07-23 Richard M. Stallman <rms@gnu.org>
735
736 * warnings.el: Add `provide' call.
737
738 * files.el (basic-save-buffer-2): If there's an error writing the file,
739 unrename the backup file if it was just made.
740 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
741 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
742 when a backup was just made by renaming. Otherwise it's nil.
743
744 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
745 Recognize explicit :args specification.
746
747 * international/mule-cmds.el (select-safe-coding-system):
748 Don't ask for confirmation of mismatch if find-file-literally was used.
749
750 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
751
752 * add-log.el (add-log-current-defun): Fix typo in documentation.
753
754 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
755
756 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
757
758 * ido.el (ido-separator): Fix type.
759
760 2002-07-23 Andrew Innes <andrewi@gnu.org>
761
762 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
763 (DONTCOMPILE): Add various language files.
764 (DONTCOMPILE): Remove term/xterm.el.
765 (finder-inf.el): Remove.
766 (update-authors): New target.
767 (TAGS-LISP): Remove $(lispsource).
768 (compile-always): Renamed from `compile-files'.
769 (compile): New target, adapted from `compile-files'.
770 (compile-calc): New target.
771 (recompile): Change `.' to $(lisp).
772 (bootstrap): Add update-subdirs and finder-data
773 to dependencies; change compile-files to compile.
774
775 2002-07-22 Andre Spiegel <spiegel@gnu.org>
776
777 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
778
779 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
780
781 * simple.el (undo, undo-more): Adjust messages when undoing in a
782 region.
783
784 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
785
786 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
787 (browse-url-lynx-input-delay): Add custom type and group.
788
789 * cus-start.el (double-click-fuzz): Added.
790
791 2002-07-22 Alan Shutko <ats@acm.org>
792
793 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
794 parameter, specifying what face or character to use in the
795 calendar display. These will now return (MARK . ENTRY).
796
797 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
798 parameter, specifying what face or character to use in the
799 calendar display. These will now return (MARK . ENTRY).
800
801 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
802 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
803 MARK parameter, specifying what face or character to use in the
804 calendar display. These will now return (MARK . ENTRY).
805
806 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
807 from diary-sexp-entry and pass it to mark-visible-calendar-date.
808 (list-sexp-diary-entries): Update doc string for new docs for ....
809 If diary-sexp-entry returns a cons, only add the text to the diary
810 list.
811 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
812 . STRING) to specify what face or character mark should be used in
813 the calendar display.
814 (diary-date, diary-block, diary-float, diary-anniversary)
815 (diary-cyclic): Add optional MARK parameter, specifying what face
816 or character to use in the calendar display. These will now
817 return (MARK . ENTRY).
818
819 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
820 (calendar-holiday-list, diary-french-date, diary-mayan-date)
821 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
822 (diary-islamic-date, list-islamic-diary-entries)
823 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
824 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
825 (diary-rosh-hodesh, list-hebrew-diary-entries)
826 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
827 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
828 (diary-sunrise-sunset, diary-sabbath-candles):
829 Remove interactive flag from autoloads.
830
831 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
832
833 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
834 (reftex-bibliography-commands): New option.
835 (reftex-toc-split-windows-horizontally): New option
836 (reftex-toc-split-windows-horizontally-fraction): New option
837 (reftex-include-file-commands): New option.
838 (reftex-cite-format-builtin): Added ?n for nocite.
839
840 * textmodes/reftex-index.el (reftex-query-index-phrase):
841 Use `reftex-index-verify-function'.
842
843 * textmodes/reftex-toc.el (reftex-re-enlarge):
844 Handle horizontal splitting.
845 (reftex-toc): Handle horizontal splitting
846 (reftex-last-window-width): New variable.
847
848 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
849 Use `reftex-bibliography-commands'.
850 (reftex-locate-bibliography-files): Regexp relaxed to allow for
851 cases where \bibliography is not the first thing on the line.
852
853 * textmodes/reftex.el (reftex-compile-variables):
854 Use `reftex-include-file-commands'.
855 (reftex-type-query-prompt): Changed defconst to defvar.
856 (reftex-type-query-help, reftex-typekey-to-format-alist)
857 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
858 (reftex-special-env-parsers, reftex-label-mac-list)
859 (reftex-label-env-list, reftex-typekey-list)
860 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
861 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
862 (reftex-no-follow-message, reftex-no-info-message): Likewise.
863 (reftex-mode): Define systax table for bibtex parsing.
864 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
865
866 * textmodes/reftex-cite.el (reftex-format-names): %a as name
867 format lists all names.
868 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
869 (reftex-with-special-syntax-for-bib): New macro.
870
871 2002-07-21 Richard M. Stallman <rms@gnu.org>
872
873 * international/ucs-tables.el (ucs-quail-activate):
874 Cope if buffer-file-coding-system is nil.
875
876 * bindings.el (last-buffer): Use buffer-list with frame arg.
877 Create *scratch* if no other choice exists. Fix bugs.
878
879 2002-07-21 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
880
881 * net/tramp.el: Bump version to 2.0.2.
882 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
883 longer names. Use old names "sm1", "sm2" and so on for methods
884 invoking "ssh -1" or "ssh -2".
885 (tramp-multi-file-name-structure-separate): Typo, its name was set
886 to "tramp-file-name-structure-separate". Trivial patch.
887 From Steve Youngs <youngs@xemacs.org>.
888 (tramp-multi-sh-program): New variable.
889 (tramp-open-connection-multi): Use it. Now you can use multi
890 methods from Windows (at least in principle).
891 (tramp-do-copy-or-rename-via-buffer): New function.
892 (tramp-do-copy-or-rename-file): Use it. Change and simplify
893 logic. Omit special case of invoking rcp directly to copy the files.
894 (tramp-open-connection-su, tramp-multi-connect-telnet)
895 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
896 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
897 Use backticks in format-spec for brevity and to avoid
898 character/number confusion in XEmacs.
899
900 2002-07-20 Richard M. Stallman <rms@gnu.org>
901
902 * wid-edit.el (widget-documentation-string-value-create):
903 Say "Hide Rest", not just "Hide".
904
905 * cus-edit.el (custom-variable-value-create):
906 Say "Show Value", not just "Show". Also "Hide Value".
907 Output a newline before the doc string.
908 (custom-face-value-create): Say "Show Face" and "Hide Face".
909
910 * files.el (toggle-read-only): Clean up the hint message.
911
912 * emacs-lisp/bytecomp.el: Use warnings.el.
913 (byte-compile-warning-prefix): New function.
914 (byte-compile-log-file): Return page start position.
915 (byte-compile-log-warning): New function.
916 (byte-compile-warn): Use byte-compile-log-warning.
917 (byte-compile-report-error): Likewise. Also use error-message-string.
918 (displaying-byte-compile-warnings): Bind warning-series.
919 Don't bind or use byte-compile-warnings-point-max.
920 Don't display the log buffer at the end.
921 (byte-compile-warnings-point-max): Variable deleted.
922 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
923 (byte-compile-last-warned-form, byte-compile-last-logged-file):
924 Defvars moved.
925
926 * warnings.el: New file.
927
928 2002-07-19 Richard M. Stallman <rms@gnu.org>
929
930 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
931 and `values-list' from list of CL functions.
932
933 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
934
935 * emacs-lisp/bytecomp.el (compile-defun):
936 Bind `read-with-symbol-positions' to current buffer.
937
938 2002-07-19 Andre Spiegel <spiegel@gnu.org>
939
940 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
941 delete anything that comes after LIMIT from the buffer.
942
943 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
944 if this is really an RCS master file.
945
946 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
947
948 2002-07-19 Juanma Barranquero <lektu@terra.es>
949
950 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
951 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
952 (unread-command-char, executing-macro, post-command-idle-hook)
953 (post-command-idle-delay): Move obsolescence declarations to subr.el.
954
955 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
956 (baud-rate, compiled-function-p, define-function, unread-command-char)
957 (executing-macro, post-command-idle-hook, post-command-idle-delay):
958 Move obsolescence declarations from emacs-lisp/bytecomp.el.
959 (directory-sep-char, mode-line-inverse-video):
960 Add obsolescence declaration.
961
962 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
963
964 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
965 changes to list them here.
966
967 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
968 Too many changes to list them here.
969
970 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
971 Too many changes to list them here.
972
973 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
974 only minor documentation changes.
975
976 2002-07-18 Dave Love <fx@gnu.org>
977
978 * info-look.el: Support current auto{conf,make} manuals.
979
980 2002-07-18 Juanma Barranquero <lektu@terra.es>
981
982 * bindings.el (last-buffer): Add missing frame argument.
983
984 2002-07-18 Richard M. Stallman <rms@gnu.org>
985
986 * timer.el (timer-inc-time): Doc fix.
987
988 * replace.el (keep-lines, flush-lines): Interactively report
989 read-only error before reading regexp argument.
990
991 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
992
993 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
994 frame parameters like bury-buffer.
995
996 * simple.el (choose-completion-delete-max-match):
997 Handle minibuffer prompts explicitly.
998
999 2002-07-18 Juanma Barranquero <lektu@terra.es>
1000
1001 * international/mule-util.el (string-to-sequence, truncate-string):
1002 Add autoload cookie to obsolescence declaration.
1003
1004 * rect.el (move-to-column-force): Likewise.
1005
1006 * composite.el (decompose-composite-char): Likewise; also remove
1007 redundant info.
1008
1009 2002-07-18 Kim F. Storm <storm@cua.dk>
1010
1011 * loadup.el: Load international/utf-8 before international/characters.
1012
1013 2002-07-17 Dave Love <fx@gnu.org>
1014
1015 * international/ucs-tables.el: Optimize tables. Deal with some
1016 non-8859 charsets.
1017 (ucs-mule-to-mule-unicode): New.
1018 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
1019 translation.
1020 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
1021 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
1022 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
1023 version. Add custom dependencies.
1024 (ucs-insert): Check for null from decode-char.
1025 (translation-table-for-input, ucs-quail-activate)
1026 (ucs-minibuffer-setup, ccl-encode-unicode-font)
1027 (ucs-tables-unload-hook): New.
1028
1029 * international/mule.el (define-translation-hash-table): New.
1030 (decode-char): Use utf-8-translation-table-for-decode.
1031 (encode-char): Use ucs-mule-to-mule-unicode.
1032
1033 * international/characters.el: Fix settings of U+2000-U+2027.
1034 Remove \e$,1uf\e(B.
1035
1036 * international/mule-cmds.el (locale-language-names): Fix be, add
1037 sr_YU@cyrillic, modify tg.
1038 (locale-charset-language-names): Put @euro last.
1039
1040 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
1041 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
1042 (cyrillic-koi8-r-decode-table): Make unbound after use.
1043 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
1044 factor. Use utf-8-translation-table-for-decode.
1045 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
1046 (cyrillic-unify-encoding): New function.
1047 (cyrillic-koi8): Modify safe-chars, valid-codes.
1048 Remove charset-origin-alist.
1049 (Cp878, cp866): New alias.
1050 (ccl-encode-8859-5-font): New.
1051 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
1052 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
1053 Remove redundant parens.
1054 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
1055 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
1056 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
1057 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
1058 ("Cyrillic-ALT"): Change input method.
1059 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
1060
1061 * international/utf-8.el (utf-8-subst-table)
1062 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
1063 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
1064 (utf-8-ccl-regs, utf-8-translate-cjk): New.
1065 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
1066 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
1067 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
1068 (mule-utf-8): Remove pre-write-conversion.
1069 (utf-8-post-read-conversion): Comment out.
1070
1071 * international/ccl.el (ccl-command-table): Add lookup-integer,
1072 lookup-character.
1073 (ccl-extended-code-table): Add lookup-int-const-tbl,
1074 lookup-char-const-tbl.
1075 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
1076 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
1077 New functions.
1078 (define-ccl-program): Doc update.
1079
1080 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
1081 (utf-8-subst-table): Don't set.
1082
1083 2002-07-17 Kenichi Handa <handa@etl.go.jp>
1084
1085 * international/mule.el (define-coding-system-alias):
1086 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
1087 eol-type is not auto-detection.
1088
1089 * international/mule-diag.el (print-coding-system-briefly):
1090 Fix the handling of an alias of which eol-type is not auto-detection.
1091
1092 * international/mule-conf.el (us-ascii): Define it as an alias of
1093 iso-safe.
1094
1095 2002-07-17 Juanma Barranquero <lektu@terra.es>
1096
1097 * help-fns.el (describe-function-1): Put empty line before "Not
1098 documented" text.
1099
1100 * timer.el (timer-set-time-with-usecs): Mark obsolete.
1101
1102 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
1103
1104 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
1105 Make sure to change the global tool-bar-map.
1106
1107 * vc.el (vc-default-comment-history): Hard code *vc*.
1108 This is because print-log always prints there now.
1109 (vc-annotate-font-lock-keywords): New var.
1110 (vc-annotate-mode): Use it. Set truncate-lines as well.
1111 (vc-annotate-display-select): Unify the two error reports.
1112 (vc-annotate-offset): New var.
1113 (vc-annotate-lines): New fun extracted from vc-annotate-display.
1114 (vc-annotate-display): Use it, via font-lock.
1115
1116 * help-fns.el (help-split-fundoc, help-function-arglist)
1117 (help-make-usage): New funs, extracted from describe-function-1.
1118 (describe-function-1): Use them.
1119
1120 * help.el (help-key-description): Show the untranslated keys
1121 when they start with ESC and the ESC was not translated.
1122
1123 * help-mode.el (view): Always require.
1124 (help-xref-mule-regexp): Don't use defconst for variables.
1125 (help-setup-xref): Keep the last 10 elements of the stack.
1126 (help-xref-override-view-map): New var.
1127 (help-make-xrefs): Use it instead of building a new map each time.
1128 (help-function-def): Allow help-fun to take a buffer as arg.
1129
1130 * diff-mode.el (diff-reverse-direction): Simplify.
1131 (diff-after-change-function): Fix typo.
1132 (diff-post-command-hook): Take care of edge cases.
1133 (diff-current-defun): Do `goto-char' after setting the mode.
1134
1135 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
1136 Fold mouse-sel-bindings into it.
1137 (mouse-sel-bound-events): Turn it into an alist.
1138 (mouse-insert-selection): Delegate to mouse-yank-at-click if
1139 mouse-sel-default-bindings asks for it.
1140
1141 2002-07-16 Andre Spiegel <spiegel@gnu.org>
1142
1143 * files.el: Bind toggle-read-only to C-x C-q.
1144 (toggle-read-only): Display a warning message if the file is under
1145 version control.
1146
1147 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
1148 (vc-toggle-read-only): Explain in the doc string that users can bind
1149 this to C-x C-q.
1150 (vc-checkout-model): Change doc string to refer to vc-next-action,
1151 not vc-toggle-read-only.
1152
1153 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
1154 comparing to file on disk. Fix the case when claiming the lock
1155 on a file that has unlocked changes.
1156 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
1157
1158 2002-07-16 Richard M. Stallman <rms@gnu.org>
1159
1160 * simple.el (choose-completion-string): Doc fix.
1161
1162 * cus-edit.el: New operation :custom-standard-value.
1163 (Custom-reset-standard): Use it.
1164 (custom-variable, custom-face): Define it.
1165 (custom-variable-standard-value, custom-face-standard-value): New fns.
1166 (custom-face-save): Don't save a face whose value is standard.
1167 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
1168
1169 * cus-edit.el (custom-face-edit-fix-value):
1170 If VALUE is not a list, pass it thru.
1171
1172 * compare-w.el (compare-windows-whitespace): Always allow newline
1173 even if it does not have whitespace syntax.
1174
1175 2002-07-16 Juanma Barranquero <lektu@terra.es>
1176
1177 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
1178
1179 2002-07-15 Juanma Barranquero <lektu@terra.es>
1180
1181 * help-fns.el (describe-variable): Show documentation for aliased
1182 variable if alias does not have its own.
1183
1184 2002-07-15 Mike Williams <mdub@bigfoot.com>
1185
1186 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
1187 cut/paste functions.
1188
1189 2002-07-14 Richard M. Stallman <rms@gnu.org>
1190
1191 * files.el (find-alternate-file): Offer to save a modified buffer.
1192 Handle kill-buffer-query-functions better.
1193
1194 * startup.el (normal-splash-screen, fancy-splash-text):
1195 Update name of help menu item for ordering printed manuals.
1196
1197 * emacs-lisp/checkdoc.el: Fix doc typos.
1198
1199 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
1200
1201 * textmodes/tex-mode.el: Set encoding to utf-8.
1202 (tex-start-options): Make it into always-a-string.
1203 Remove silly custom options that are covered by the other var.
1204 (tex-start-commands): Fix docstring.
1205 (tex-open-quote, tex-close-quote): Add options.
1206 (tex-command): Provide default.
1207 (tex-font-lock-keywords-1): Highlight $$...$$.
1208 (tex-font-lock-keywords-2): Fix latin-1 chars.
1209 (tex-mode-map): Remove redundant \t binding.
1210 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
1211 (latex-mode): Use add-hook for fill-nobreak-predicate.
1212 (tex-common-initialization): Set indent-tabs-mode to nil.
1213 (tex-insert-quote): Undo magic if invoked twice in a row.
1214 (latex-fill-nobreak-predicate): Don't use narrowing.
1215 (tex-latex-block): Don't cons uselessly.
1216 (tex-last-unended-begin): Signal user-friendlier error.
1217 (tex-goto-last-unclosed-latex-block): Don't catch signal.
1218 (tex-start-tex): Switch order of tex-start-options and
1219 tex-start-commands to make it obey docstrings.
1220
1221 2002-07-14 Mike Williams <mdub@bigfoot.com>
1222
1223 * mouse-sel.el (mouse-sel-bound-events): New constant.
1224 (mouse-sel-bindings): Save/restore original mouse-bindings.
1225
1226 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
1227
1228 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
1229 (cl-hack-byte-compiler): Avoid infinite require loop.
1230
1231 * net/ange-ftp.el: Use hash-tables.
1232 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
1233 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
1234 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
1235 Replace with make-hash-table, maphash, gethash, puthash and remhash.
1236 (ange-ftp-hash-entry-exists-p): Rewrite.
1237 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
1238 Change mapatom -> maphash.
1239 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
1240 Update to new calling mode.
1241
1242 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
1243 (ebrowse-hash-table-to-alist): Delete.
1244 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
1245 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
1246
1247 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
1248 Improve the regexp used when unquoting.
1249 (sgml-pretty-print): New function.
1250 (sgml-get-context): Better handling of improperly nested tags.
1251 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
1252
1253 2002-07-13 Andreas Schwab <schwab@suse.de>
1254
1255 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
1256 inherited table entry.
1257
1258 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
1259
1260 * calendar/timeclock.el (timeclock-in): Handle the case where no
1261 log file exists (ie the very first call).
1262
1263 2002-07-13 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1264
1265 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
1266 is done by Tramp.
1267
1268 * net/tramp.el (tramp-multi-file-name-structure-unified):
1269 Add missing slash and move colon from start to end of each hop.
1270 (tramp-multi-file-name-hop-structure-unified): Move colon from
1271 start to end of each hop.
1272
1273 2002-07-13 Kim F. Storm <storm@cua.dk>
1274
1275 * progmodes/compile.el (grep-tree): Fixed autoload.
1276 Corrected use of undefined variable `match-files-aliases'.
1277
1278 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
1279
1280 * calendar/timeclock.el (timeclock-get-workday-function):
1281 `timeclock-workday' is not a valid option, rather a possible
1282 return value.
1283
1284 2002-07-12 Richard M. Stallman <rms@gnu.org>
1285
1286 * net/ange-ftp.el (ange-ftp-write-region):
1287 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
1288 to ange-ftp-real-write-region.
1289
1290 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
1291
1292 * help-fns.el (help-with-tutorial): Display completion list right away.
1293
1294 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
1295
1296 * startup.el (command-line): Set memory-signal-data.
1297 (fancy-splash-text, normal-splash-screen):
1298 Mention "Read the Emacs Manual" or C-h r.
1299 Rearrange the initial help to put the help cmds on left
1300 and the actions (exit, undo) on the right. Other small
1301 text clarifications.
1302 (fancy-splash-text, actions page): Add blank line to balance help page.
1303
1304 * help.el (help-map): Add binding for info-emacs-manual.
1305 (print-help-return-message): Doc fix.
1306
1307 * strokes.el (strokes-help): Call print-help-return-message
1308 while inside with-output-to-temp-buffer.
1309
1310 * info.el (info-emacs-manual): New function.
1311 (Info-use-header-line): Doc fix.
1312
1313 * emacs-lisp/cl.el (multiple-value-call): Add alias.
1314
1315 * progmodes/compile.el (compilation-normalize-filename):
1316 New subroutine, taken out of compilation-parse-errors.
1317 (compilation-parse-errors): Use that, and for directories too.
1318 Don't check whether a directory really exists.
1319
1320 2002-07-12 Juanma Barranquero <lektu@terra.es>
1321
1322 * help-fns.el (describe-variable): Put `defvaralias' info before the
1323 documentation (patch from John Paul Wallington
1324 <jpw@shootybangbang.com>). Remove useless "Documentation:" string.
1325
1326 * timer.el (timer-set-time-with-usecs): Fix documentation.
1327 Simplify extraction of time data.
1328
1329 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
1330
1331 * help-fns.el (describe-variable): Mention if the variable is an alias.
1332
1333 2002-07-12 Kenichi Handa <handa@etl.go.jp>
1334
1335 * international/mule-cmds.el (locale-language-names): Change "mk"
1336 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
1337 alphabet) to "Cyrillic-ISO".
1338
1339 2002-07-11 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1340
1341 * net/tramp.el (tramp-default-method): New default method "sm"
1342 which I guess to be good for most people.
1343 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
1344 Ange-FTP) for some user/host combinations.
1345 (tramp-file-name-structure, tramp-file-name-regexp)
1346 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
1347 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
1348 (tramp-make-multi-tramp-file-format): New default value which
1349 unifies the filename syntax between Tramp and Ange-FTP. The new
1350 syntax is "/method:user@host:path". Note the colon after the method.
1351 (tramp-handle-file-name-directory): Don't return "/" when
1352 completing a remote root directory (where the filename looks like
1353 "/method:user@host:/").
1354 (tramp-handle-ange-ftp): Deleted.
1355 (tramp-disable-ange-ftp): New function, called at toplevel,
1356 deletes Ange-FTP from file-name-handler-alist.
1357 (tramp-handle-make-symbolic-link): Implement.
1358
1359 2002-07-10 Juanma Barranquero <lektu@terra.es>
1360
1361 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
1362
1363 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
1364 (speedbar-vc-do-check): Likewise.
1365 (speedbar-obj-do-check): Likewise.
1366 (speedbar-mouse-hscroll): Likewise.
1367 (speedbar-file-lists): Likewise.
1368
1369 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
1370
1371 2002-07-09 Ole Aamot <ole@gnu.org>
1372
1373 * compile.el (compilation-error-regexp-alist):
1374 Recognize Valgrind messages.
1375
1376 2002-07-09 Juanma Barranquero <lektu@terra.es>
1377
1378 * faces.el (face-id): Fix typo.
1379
1380 * hexl.el (hexl-mode): Likewise.
1381
1382 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
1383
1384 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
1385
1386 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
1387 (speedbar-desired-buffer): Likewise.
1388 (speedbar-line-file): Likewise.
1389 (speedbar-special-mode-key-map): Fix typo.
1390 (speedbar-dynamic-tags-function-list): Likewise.
1391 (speedbar-use-images): Likewise.
1392 (speedbar-up-directory): Likewise.
1393 (speedbar-item-info): Likewise.
1394 (speedbar-set-timer): Likewise.
1395 (speedbar-insert-button): Likewise.
1396 (speedbar-make-button): Likewise.
1397 (speedbar-make-tag-line): Likewise.
1398 (speedbar-insert-files-at-point): Likewise.
1399 (speedbar-update-special-contents): Likewise.
1400 (speedbar-find-selected-file): Likewise.
1401 (speedbar-add-indicator): Likewise.
1402 (speedbar-do-function-pointer): Likewise.
1403 (speedbar-goto-this-file): Likewise.
1404 (speedbar-line-path): Likewise.
1405 (speedbar-mouse-event-p): Likewise.
1406 (speedbar-dir-follow): Likewise.
1407 (speedbar-tag-find): Likewise.
1408 (speedbar-fetch-etags-command): Likewise.
1409 (speedbar-fetch-etags-arguments): Likewise.
1410 (speedbar-toggle-etags): Likewise.
1411 (speedbar-extract-one-symbol): Likewise.
1412 (speedbar-parse-c-or-c++tag): Likewise.
1413 (speedbar-unhighlight-one-tag-line): Likewise.
1414 (speedbar-directory-face): Likewise.
1415 (defimage-speedbar): Likewise.
1416 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
1417 (defimage-speedbar): Likewise.
1418
1419 2002-07-09 Miles Bader <miles@gnu.org>
1420
1421 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
1422 to nil when prompting for a filename.
1423
1424 2002-07-09 Kenichi Handa <handa@etl.go.jp>
1425
1426 * files.el (insert-directory): Be sure to bind
1427 coding-system-for-write to the just decided coding-system-for-read.
1428
1429 2002-07-09 Kim F. Storm <storm@cua.dk>
1430
1431 * ido.el (ido-make-merged-file-list): Move fully matching item to
1432 head of list.
1433 (ido-find-common-substring): Return substring instead of t.
1434
1435 2002-07-08 Juanma Barranquero <lektu@terra.es>
1436
1437 * info.el (Info-directory-list): Fix docstring.
1438
1439 2002-07-08 Miles Bader <miles@gnu.org>
1440
1441 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
1442 before first use.
1443
1444 2002-07-08 Kim F. Storm <storm@cua.dk>
1445
1446 * files.el (after-find-file): Don't check for read-only status
1447 of files just created (and not yet saved on disk).
1448
1449 * ido.el (ido-completion-help): Changed xemacs specific code to
1450 avoid byte compiler warning in GNU emacs.
1451 (ido-set-matches1): Use regexp-quote instead of identity.
1452 (ido-complete-space): New function.
1453 (ido-define-mode-map): Bind it to SPACE.
1454
1455 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
1456
1457 * font-lock.el (font-lock-default-unfontify-region):
1458 Use remove-list-of-text-properties.
1459 (font-lock-extra-managed-props): Doc fix.
1460
1461 * facemenu.el: Move `provide' to the end.
1462 (facemenu-read-color): Don't cons unnecessarily.
1463
1464 * language/ind-util.el (indian-make-hash):
1465 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
1466 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
1467
1468 * subr.el (insert-string): Update the obsolete info.
1469 (makehash): Move from C and mark obsolete.
1470
1471 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
1472 aliases to also work for interactive functions.
1473 Use the same wrapper for subroutines.
1474 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
1475 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
1476
1477 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
1478 automatic environment name update.
1479 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
1480
1481 2002-07-07 Richard M. Stallman <rms@gnu.org>
1482
1483 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
1484
1485 * emacs-lisp/advice.el (ad-compile-function):
1486 Disable cl-function warnings if cl is loaded.
1487
1488 * files.el (safe-local-eval-forms): New user option.
1489 (hack-one-local-variable-eval-safep): Support it.
1490 Also allow `safe-local-eval-function' property to be a function
1491 or a list of functions.
1492 (c-add-style): Delete `safe-local-eval-function' property.
1493
1494 * files.el (after-find-file): Make buffer read-only if file is
1495 marked that way, even for root.
1496
1497 * files.el (save-some-buffers): Doc fix.
1498
1499 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
1500
1501 2002-07-06 Francesco Potorti` <pot@gnu.org>
1502
1503 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
1504 .sx[dmicw] file suffixes for Open office data files.
1505
1506 * files.el (auto-mode-alist): Likewise.
1507
1508 * international/mule.el (auto-coding-alist): Likewise.
1509
1510 2002-07-05 Kim F. Storm <storm@cua.dk>
1511
1512 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
1513 FCT if current column is outside rectangle.
1514 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
1515
1516 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
1517
1518 * net/ange-ftp.el: Use add-hook and find-file-hook.
1519 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
1520 (ange-ftp-ls-parser): Make it into a function.
1521 Ignore trailing @ in symlink targets.
1522 (ange-ftp-file-entry-p): Ignore FTP errors.
1523 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
1524 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
1525
1526 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
1527
1528 * simple.el (toggle-truncate-lines): New command.
1529
1530 2002-07-04 Miles Bader <miles@gnu.org>
1531
1532 * comint.el (comint-displayed-dynamic-completions): New variable.
1533 (comint-dynamic-list-completions): Be more careful about choosing
1534 when to scroll an existing completions window.
1535
1536 2002-07-03 Andreas Schwab <schwab@suse.de>
1537
1538 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
1539 after doc string.
1540
1541 2002-07-03 Juanma Barranquero <lektu@terra.es>
1542
1543 * net/tramp.el (tramp-send-eof): Fix typo.
1544 (tramp-kill-process): Likewise.
1545
1546 * play/dunnet.el (dun-physobj-desc): Likewise.
1547
1548 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
1549
1550 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
1551 (timeclock-workday-elapsed): Likewise.
1552
1553 * allout.el (outline-goto-prefix): Likewise.
1554
1555 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
1556 (tpu-delete-to-bol): Likewise.
1557
1558 * subr.el (chars-in-region): Add obsolescence declaration for
1559 `chars-in-region'.
1560
1561 2002-07-03 Miles Bader <miles@gnu.org>
1562
1563 * faces.el (header-line): Don't use a `common' clause for
1564 inheriting from the mode-line face, since we can't override it,
1565 and we don't want it for ttys.
1566
1567 2002-07-02 Richard M. Stallman <rms@gnu.org>
1568
1569 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
1570
1571 * files.el (hack-one-local-variable-constantp): New function.
1572 (hack-one-local-variable-eval-safep): New function.
1573 Check for `eval:' calling fn with `safe-local-eval-function' property.
1574 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
1575 (c-add-style, c-set-style): Add safe-local-eval-function property.
1576
1577 * files.el (insert-directory): Handle --dired option to ls.
1578
1579 * files.el (file-remote-p): New function.
1580
1581 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
1582
1583 * startup.el (fancy-splash-screens): Switch to a chosen frame.
1584 (fancy-splash-frame): Choose the right frame to use.
1585 (use-fancy-splash-screens-p): Check dimensions of the right frame
1586 in order to decide.
1587
1588 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
1589 Rename cl-func to cl-functions. Enable it by default.
1590 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
1591 if the file loads cl.
1592 (byte-compile-initial-macro-environment): For eval-and-compile,
1593 use byte-compile-eval-before-compile to eval.
1594 (byte-compile-eval-before-compile): New function to turn off
1595 cl-functions when appropriate, for eval-and-compile.
1596 (byte-compile-warnings): Doc fix.
1597
1598 2002-07-02 Dave Love <fx@gnu.org>
1599
1600 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
1601 (byte-compile-cl-warn): New function.
1602 (byte-compile-form): Use it, to warn about calling cl functions.
1603 (byte-compile-warning-types): Doc fix.
1604
1605 2002-07-02 Juanma Barranquero <lektu@terra.es>
1606
1607 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
1608
1609 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
1610
1611 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
1612 Fix typo.
1613
1614 2002-07-02 Kim F. Storm <storm@cua.dk>
1615
1616 * emacs-lisp/bindat.el: New file.
1617
1618 2002-07-01 Sam Steingold <sds@gnu.org>
1619
1620 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
1621 before `tex-main-file' because if the current buffer is new, its
1622 file might not exist yet, and then `tex-main-file' will
1623 incorrectly return "foo.tex.tex".
1624
1625 2002-07-01 Juanma Barranquero <lektu@terra.es>
1626
1627 * ido.el (ido-minibuffer-setup-hook): Doc fix.
1628
1629 2002-07-01 Dave Love <fx@gnu.org>
1630
1631 Make strokes a proper minor mode, and don't try to overload
1632 mouse-2, which doesn't work satisfactorily.
1633
1634 * strokes.el: Doc fixes.
1635 (strokes-mode): Defcustom deleted; replaced by minor mode def with
1636 re-written function.
1637 (strokes-while-inhibiting-garbage-collector): Comment out.
1638 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
1639 (strokes-insinuate, global-set-stroke, describe-stroke)
1640 (load-user-strokes, save-strokes, strokes-bug-address)
1641 (strokes-click-command): Deleted.
1642 (strokes-execute-stroke): Remove strokes-click-p case.
1643 (strokes-describe-stroke): Remove strokes-click-p stuff.
1644 (strokes-help): Fix.
1645 (strokes-report-bug): Alias to report-emacs-bug.
1646 (strokes-prompt-user-save-strokes): Modify format of the file.
1647 (strokes-mode-map, strokes-unload-hook): New.
1648 (strokes-buffer-name): Don't customize.
1649
1650 2002-07-01 Richard M. Stallman <rms@gnu.org>
1651
1652 * info.el (Info-index): Get immediate error if used in `dir'.
1653
1654 * textmodes/picture.el (picture-forward-column)
1655 (picture-move-down): Never deactivate the mark.
1656
1657 2002-06-30 Simon Josefsson <jas@extundo.com>
1658
1659 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
1660 menu entry into balloon help.
1661
1662 2002-06-30 Andreas Schwab <schwab@suse.de>
1663
1664 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
1665 * term/mac-win.el: Don't set it here.
1666
1667 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
1668
1669 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
1670
1671 2002-06-29 Andreas Schwab <schwab@suse.de>
1672
1673 * term/mac-win.el: Use directory-free-space-program instead of
1674 obsolete variable dired-free-space-program. On Darwin, don't set
1675 directory-free-space-program, shell-file-name and
1676 process-connection-type; set directory-free-space-args to not
1677 include `-P' and use utf-8 for file name coding system.
1678
1679 * simple.el (shell-command-on-region): Handle errors and signals
1680 from shell command execution.
1681 (display-message-or-buffer): Fix last change.
1682 (shell-command-default-error-buffer): Doc fix.
1683
1684 * dired.el (dired-view-file): Quote file name for
1685 dired-run-shell-command.
1686
1687 2002-06-29 Kim F. Storm <storm@cua.dk>
1688
1689 * kmacro.el: New file.
1690
1691 2002-06-28 John Wiegley <johnw@gnu.org>
1692
1693 * pcmpl-cvs.el: Added my name as the maintainer of this file.
1694
1695 2002-06-28 Andreas Schwab <schwab@suse.de>
1696
1697 * shell.el (explicit-bash-args): New user option.
1698
1699 2002-06-28 Kim F. Storm <storm@cua.dk>
1700
1701 * ido.el: New file.
1702
1703 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
1704
1705 * derived.el (define-derived-mode): Preserve the `mode-class' rather
1706 than the `special' symbol property.
1707 (derived-mode-class): Make it obsolete.
1708
1709 2002-06-27 Andreas Schwab <schwab@suse.de>
1710
1711 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
1712
1713 2002-06-27 Juanma Barranquero <lektu@terra.es>
1714
1715 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
1716 (meta-flag): Likewise.
1717
1718 * international/mule-util.el (string-to-sequence): Likewise.
1719
1720 * subr.el (char-bytes): Likewise.
1721 (make-local-hook): Likewise.
1722 (baud-rate): Remove redundant info from docstring.
1723
1724 * faces.el (frame-update-faces): Fix obsolescence declaration.
1725 (internal-get-face): Remove redundant info from docstring and
1726 fix obsolescence declaration.
1727
1728 * rect.el (move-to-column-force): Likewise.
1729
1730 * help-fns.el (describe-function-1): Use semicolon instead of dot.
1731 (describe-variable): Likewise.
1732
1733 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
1734
1735 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
1736 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
1737 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
1738 (mouse-wheel-follow-mouse): Change default to t.
1739 (mwheel-event-button): Return the basic event symbol.
1740 (mwheel-scroll): Work with non-mouse events.
1741 (mouse-wheel-mode): Use the new vars.
1742 (mwheel-install): Obey `uninstall'.
1743
1744 * term/xterm.el (function-key-map): Add some bindings.
1745
1746 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
1747 Rename from delay-uniquify-rationalize-file-buffer-names.
1748 Only rationalize if the buffer is under uniquify control.
1749 (uniquify-delayed-rationalize-file-buffer-names):
1750 Rename from delayed-uniquify-rationalize-file-buffer-names.
1751
1752 2002-06-27 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1753
1754 * net/tramp.el (tramp-file-name-structure)
1755 (tramp-multi-file-name-hop-structure): Split for easier readability.
1756 (tramp-handle-make-symbolic-link): Use user/host/method/... from
1757 LINKNAME, not FILENAME.
1758 (tramp-handle-verify-visited-file-modtime):
1759 Call tramp-ange-ftp-file-name-p with right parameters.
1760 (tramp-handle-verify-visited-file-modtime): `insert' does not
1761 work for integers, convert them to strings first.
1762 (tramp-handle-ange-ftp): New function to perform setup for
1763 replacing Ange-FTP with Tramp.
1764 (tramp-repair-jka-compr): New function to factor out some
1765 previously top-level code. Call the function at top-level.
1766
1767 2002-06-27 Juanma Barranquero <lektu@terra.es>
1768
1769 * composite.el (decompose-composite-char): Fix docstring.
1770
1771 * faces.el (describe-face): Capitalize "not documented" message.
1772
1773 * help-fns.el (describe-variable): Likewise.
1774 (describe-function-1): Likewise. Also, document the obsolescence
1775 of the function, if applicable.
1776
1777 2002-06-26 Juanma Barranquero <lektu@terra.es>
1778
1779 * info.el (info-menu-5): Fix documentation.
1780 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
1781
1782 2002-06-26 Richard M. Stallman <rms@gnu.org>
1783
1784 * emacs-lisp/cl.el (values): Simplify definition.
1785
1786 * simple.el (shell-command): Match & only at end of whole command.
1787 (display-message-or-buffer): Don't use the echo area
1788 if output buffer is visible.
1789
1790 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
1791
1792 * progmodes/cperl-mode.el: Many trivial doc fixes.
1793 (cperl-non-problems): Definition deleted.
1794 (cperl-menu): Don't refer to cperl-non-problems.
1795 (cperl-word-at-point): Add doc string.
1796 (cperl-beautify-regexp-piece): Fix error message.
1797 (cperl-invert-if-unless): Fix error message.
1798
1799 * dired.el (dired-find-alternate-file): Mark as disabled.
1800
1801 2002-06-25 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1802
1803 * net/tramp.el (tramp-ftp-method): New user option.
1804 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
1805 (with-parsed-tramp-file-name): New macro for the usual big `let'
1806 statement to dissect a file-name.
1807 (tramp-handle-make-symbolic-link, tramp-handle-load)
1808 (tramp-handle-file-name-directory)
1809 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1810 (tramp-handle-file-truename, tramp-handle-file-directory-p)
1811 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
1812 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
1813 Use the new macro and forward call to Ange-FTP if applicable.
1814 (tramp-make-ange-ftp-file-name): New helper function to convert a
1815 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
1816 (tramp-default-method-alist): New user option.
1817 (tramp-find-default-method): Use it.
1818 (tramp-sh-extra-args): New variable.
1819 (tramp-find-shell): Use it.
1820 (tramp-open-connection-rsh): Support a kludgy feature for the
1821 "-p" option to ssh. If host name is given as "host#42", uses the
1822 "-p 42" option.
1823
1824 2002-06-25 Andreas Schwab <schwab@suse.de>
1825
1826 * replace.el (occur-1): Avoid invalid message format string.
1827
1828 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
1829
1830 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
1831 Check for `noruntime' even if the function has a known sig.
1832 (byte-compile-file, byte-compile-output-docform):
1833 Don't hard code point-min = 1.
1834
1835 * pcvs.el (cvs-parse-process): Don't save/restore point.
1836 Fix last change not to introduce spurious dir FIs.
1837 (cvs-move-to-goal-column): New function extracted from
1838 cvs-mode-previous-line.
1839 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
1840 (cvs-addto-collection): Use it to preserve point.
1841 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
1842
1843 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
1844 Don't require the first element to be modifier-free.
1845
1846 * pcvs-parse.el (cvs-parse-table):
1847 Handle `nothing known about' with more care.
1848
1849 * pcvs.el (cvs-fileinfo-kill): Remove.
1850 (cvs-parse-process): Add `old-fis' argument.
1851 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
1852
1853 * descr-text.el (describe-property-list): Make sure there's
1854 a space between the property name and its value.
1855 (describe-text-properties): Don't kill a pre-existing buffer.
1856
1857 * mwheel.el: Undo last patch from Stephen Gildea for now.
1858
1859 2002-06-24 Kim F. Storm <storm@cua.dk>
1860
1861 * emulation/keypad.el: Added :require 'keypad to defcustoms.
1862
1863 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
1864
1865 * subr.el (event-start, event-end, event-click-count):
1866 Accept non-mouse events as well.
1867 (read-key): New function.
1868 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
1869
1870 * files.el: Rename (and mark as obsolete)
1871 find-file-hooks to find-file-hook,
1872 find-file-not-found-hooks to find-file-not-found-functions,
1873 write-file-hooks to write-file-functions,
1874 write-contents-hooks to write-contents-functions.
1875 Mark local-write-file-hooks as obsolete.
1876 (locate-file-completion): Don't cons uselessly. Use test-completion.
1877 (basic-save-buffer): Use (point-min) rather than 1.
1878 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
1879
1880 * help-fns.el (describe-variable): Only use `buffer' is still live.
1881 Use `delete-region' instead of save-excursion + delete-char.
1882 Document the obsolescence of the variable, if applicable.
1883
1884 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
1885
1886 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
1887 comment-auto-fill-only-comments.
1888
1889 2002-06-21 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1890
1891 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
1892 This is not a handled operation.
1893
1894 2002-06-21 Kim F. Storm <storm@cua.dk>
1895
1896 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
1897 work again. Corrected error in check for C-u initiated prefix.
1898
1899 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
1900
1901 2002-06-21 Richard M. Stallman <rms@gnu.org>
1902
1903 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
1904 to browse-url-at-point.
1905
1906 * play/zone.el (zone-idle): Var deleted.
1907
1908 * international/iso-acc.el (iso-languages) <french>:
1909 `~ ' now generates `~', `~,' definition deleted.
1910
1911 * format.el (format-annotate-function): Copy multibyte flag
1912 and selective-display into the new temp buffer.
1913
1914 * edmacro.el (edmacro-fix-menu-commands):
1915 Discard `help-echo' events. Handle (menu-bar) events.
1916 Simplify by converting key sequence to a list and then back to vector.
1917
1918 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
1919
1920 * mwheel.el: Allow arbitrary keys for scrolling, add a third
1921 scrolling speed, fix an unwind-protect.
1922 (mouse-wheel-scroll-amount): Now a three-element list.
1923 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
1924 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
1925 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
1926 New functions.
1927
1928 2002-06-21 Andreas Schwab <schwab@suse.de>
1929
1930 * files.el (find-file-read-args): Add new argument `mustmatch' and
1931 pass it down to read-file-name.
1932 (find-file, find-file-other-window, find-file-other-frame)
1933 (find-file-read-only, find-file-read-only-other-window)
1934 (find-file-read-only-other-frame): Use it and fix prompts.
1935
1936 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
1937
1938 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
1939
1940 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
1941
1942 * progmodes/ada-mode.el: Update copyright notice.
1943 Synchronize with GNAT release 3.15a1.
1944 Do not attempt to load ada-support, which is only for compatibility
1945 with older Emacs versions, and is not needed for Emacs 21.
1946 Fix various calls to count-lines, that didn't work correctly when the
1947 buffer was narrowed.
1948 (ada-continuation-indent): New variable.
1949 (ada-contextual-menu): New entry "List local references", faster than
1950 "List References".
1951 (ada-mode): New alignment rules provided by S. Leake.
1952 Add support for which-function-mode.
1953 (ada-get-current-indent): Fix indentation of named parameter lists and
1954 nested boolean expressions.
1955 (ada-indent-on-previous-lines): Fix indentation of labels.
1956 (ada-search-prev-end-stmt): Fix searching of the previous
1957 end-statement, specially with regards to nested subprograms.
1958 (comment-region advice): Initially disabled, for better compatibility
1959 with other modes.
1960 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
1961
1962 * progmodes/ada-xref.el: Update copyright notice.
1963 (ada-xref-create-ali): The default is now not to create automatically
1964 the ALI files by compiling the unit, since this isn't always reliable
1965 and requires an up-to-date project file.
1966 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
1967 a file, but use gnatmake instead, since this gives access to the GNAT
1968 project files.
1969 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
1970 (ada-load-project-hook): New variable, for support of GNAT
1971 project files.
1972 (ada-update-project-menu): Fix the detection of the project file name.
1973 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
1974 with another binding in ada-mode.el.
1975 (ada-add-menu): New menu "List Local References", to list the reference
1976 to the entity only in the current file, instead of looking in the whole
1977 project. Much faster.
1978 (ada-find-references): New parameters arg and local-only.
1979 (ada-find-any-references): New parameters local-only and append.
1980 (ada-goto-declaration): Fix handling of predefined entities in xref.
1981 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
1982 still compatible with GNAT 3.14 of course. Fix various calls to
1983 count-lines, that didn't work correctly when the buffer was narrowed.
1984
1985 * progmodes/ada-prj.el: Update copyright.
1986 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
1987 21 dialogs to select the file, since we want a directory name only.
1988 (ada-customize): Add support for the new GNAT project files.
1989
1990 2002-06-20 Francesco Potorti` <pot@gnu.org>
1991
1992 * progmodes/etags.el (tag-implicit-name-match-p): New function.
1993 (etags-recognize-tags-table): Use it for implicit tag names.
1994
1995 2002-06-20 Miles Bader <miles@gnu.org>
1996
1997 * comint.el (comint-get-old-input-default): Strip text properties
1998 for fields too.
1999
2000 * comint.el (comint-output-filter): Run output-filter functions
2001 before setting up the prompt.
2002
2003 * international/characters.el: Re-enable code giving word syntax
2004 to certain japanese-jisx0208 characters.
2005
2006 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2007
2008 * progmodes/f90.el (f90-type-def-re): Fix value.
2009 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
2010
2011 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
2012
2013 * international/quail.el (quail-help): Don't assume the buffer
2014 is displayed in the same frame.
2015
2016 * emacs-lisp/debug.el (cancel-debug-on-entry):
2017 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
2018
2019 * pcvs.el (cvs-vc-command-advice): Handle the case where args
2020 are passed to `cvs' before the command name.
2021 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
2022
2023 * pcvs-info.el (cvs-add-face): Minor rewrite.
2024 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
2025
2026 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
2027 regexp when they don't match comment-foo any more.
2028
2029 2002-06-18 Juanma Barranquero <lektu@terra.es>
2030
2031 * filesets.el (filesets-update-pre010505): Fix typo.
2032
2033 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
2034
2035 * emulation/edt.el (edt-substitute): Fix typo.
2036
2037 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
2038
2039 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
2040
2041 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
2042
2043 2002-06-17 Richard M. Stallman <rms@gnu.org>
2044
2045 * facemenu.el (facemenu-map): Rename to Describe Text
2046 to Describe Properties and use describe-text-properties.
2047
2048 * simple.el (what-cursor-position): Use describe-char.
2049
2050 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
2051 from describe-char-after. Now calls describe-text-properties.
2052 (describe-property-list): Renamed from describe-text-properties.
2053 (describe-text-properties): Renamed from describe-text-at.
2054 New arg OUTPUT-BUFFER.
2055 (describe-text-properties-1):
2056 New subroutine, broken out from describe-text-properties.
2057 Output a newline before each section of the output.
2058
2059 * international/mule-diag.el (describe-char-after):
2060 Moved to descr-text.el.
2061
2062 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
2063
2064 * international/mule.el (ctext-pre-write-conversion): Fix the values
2065 of FROM and TO if we create a new buffer.
2066
2067 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
2068
2069 * comint.el (comint-insert-clicked-input): Insert clicked-on
2070 previous input without properties.
2071
2072 2002-06-16 Andrew Choi <akochoi@shaw.ca>
2073
2074 * term/mac-win.el (scalable-fonts-allowed): Set to t.
2075
2076 2002-06-15 Colin Walters <walters@debian.org>
2077
2078 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
2079 Delete defvars.
2080 (cvs-highlight): Delete.
2081 (cvs-add-face): Use `font-lock-face'. Always add properties.
2082
2083 * ibuffer.el (ibuffer-movement-cycle): New variable.
2084 (ibuffer-backward-line, ibuffer-forward-line): Use it.
2085
2086 2002-06-15 Richard M. Stallman <rms@gnu.org>
2087
2088 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
2089 (batch-byte-recompile-directory): Undo previous change.
2090
2091 * comint.el (comint-skip-input): New function.
2092 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
2093 (comint-stop-subjob): Use comint-skip-input.
2094
2095 * ielm.el (ielm-eval-input): Use error-message-string.
2096 (ielm-format-error, ielm-format-errors): Functions deleted.
2097
2098 2002-06-14 Kim F. Storm <storm@cua.dk>
2099
2100 * progmodes/compile.el (grep-tree): Doc fixes.
2101 Added SUBDIRS arg for non-interactive use.
2102
2103 2002-06-14 Juanma Barranquero <lektu@terra.es>
2104
2105 * comint.el (comint-snapshot-last-prompt):
2106 Bind `inhibit-read-only' to t to support read-only prompts.
2107 (comint-output-filter): Likewise.
2108
2109 2002-06-14 Miles Bader <miles@gnu.org>
2110
2111 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
2112 (pop): Move the call to `car' outside the prog1, as the compiler
2113 then generates better code.
2114
2115 2002-06-13 Richard M. Stallman <rms@gnu.org>
2116
2117 * play/zone.el (zone-timer): New variable holds the idle timer.
2118 (zone): Don't fiddle with the idle timer at all.
2119 (zone-when-idle): Put the idle timer in zone-timer.
2120 If one is already set up, cancel it and make a new one.
2121 (zone-leave-me-alone): Likewise.
2122
2123 2002-06-13 Jason Rumney <jasonr@gnu.org>
2124
2125 * w32-fns.el (w32-charset-info-alist): Reorder.
2126
2127 2002-06-13 Andreas Schwab <schwab@suse.de>
2128
2129 * files.el (auto-mode-alist): Move entry for ".in" to the end.
2130
2131 2002-06-13 Miles Bader <miles@gnu.org>
2132
2133 * comint.el (comint-mode): Don't set `font-lock-defaults'.
2134 (comint-mode-hook): Turn on font-lock by default.
2135
2136 2002-06-12 Karl Fogel <kfogel@red-bean.com>
2137
2138 * bookmark.el (bookmark-file-or-variation-thereof):
2139 Restore vc-backend check, thanks to Robert Thorpe for noticing.
2140
2141 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
2142
2143 * textmodes/bibtex.el: Change the maintainer to "none".
2144
2145 2002-06-12 Juanma Barranquero <lektu@terra>
2146
2147 * term/w32-win.el (x-handle-switch): Fix handling of
2148 x-invocation-args for switches with arguments.
2149
2150 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
2151
2152 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
2153 without first making sure it's bound.
2154
2155 2002-06-12 Richard M. Stallman <rms@gnu.org>
2156
2157 * info.el (Info-fontify-node): Compute header line specially
2158 if node has no next, previous or up links.
2159 Hide the part of the first line that is used in the header.
2160 Use Info-next-link-keymap, etc.
2161 (Info-next-link-keymap, Info-prev-link-keymap)
2162 (Info-up-link-keymap): New variables.
2163
2164 * international/mule-diag.el (describe-char-after): Doc fix.
2165
2166 * view.el (view-mode-enter): Clarify echo area message.
2167
2168 * info.el (Info-select-node): Turn header line on or off here.
2169 (Info-setup-header-line): Function deleted.
2170 (Info-mode): Make Info-header-line local.
2171 (Info-fontify-node): Ignore Info-use-header-line.
2172 Unconditionally compute what the header line should be, and
2173 store it on the `header-line' property of the node's first char.
2174 Bind [header-line down-mouse-1].
2175 Use `keymap' property, not `local-map'.
2176 Bind [mouse-2] for mouse clicks on the node line in the text.
2177
2178 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
2179
2180 2002-06-12 Miles Bader <miles@gnu.org>
2181
2182 * comint.el (comint-send-input): Properly handle empty and
2183 no-newline input regions.
2184
2185 2002-06-12 Colin Walters <walters@gnu.org>
2186
2187 * calc/calc.el: Use `when', `unless'.
2188 (calc-trail-mode): Use an italic `font-lock-face'.
2189 (calc-refresh): Ditto.
2190
2191 2002-06-12 Colin Walters <walters@debian.org>
2192
2193 * font-core.el (font-lock-core-only): Variable deleted.
2194 All uses removed.
2195 (font-lock-set-defaults): Variable alist settings moved back into
2196 font-lock-set-defaults-1.
2197 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
2198 is specifically excluded by the user.
2199
2200 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
2201
2202 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
2203
2204 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
2205
2206 * info.el (Info-mode): Don't set `font-lock-defaults'.
2207
2208 * replace.el (occur-mode): Don't set `font-lock-defaults'.
2209
2210 * help-mode.el (help-highlight-p, help-highlight-face):
2211 Variable was unused; delete.
2212 (help-make-xrefs): Doc fix.
2213
2214 2002-06-11 Richard M. Stallman <rms@gnu.org>
2215
2216 * format.el (format-alist): Document new element PRESERVE.
2217 (format-write-file): Implement PRESERVE elt for a format.
2218
2219 * files.el (make-auto-save-file-name): Rename local `filename' to
2220 `file-name'.
2221
2222 2002-06-10 Richard M. Stallman <rms@gnu.org>
2223
2224 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
2225 (ebrowse-copy-list): Function deleted.
2226
2227 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
2228
2229 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
2230
2231 * eshell/esh-util.el (eshell-copy-list): Function deleted.
2232 (eshell-sublist): Use copy-sequence.
2233 (eshell-copy-tree): Make it an alias for copy-tree.
2234
2235 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
2236
2237 * subr.el (copy-list): Moved to cl.el.
2238 (copy-tree): Don't use copy-list or cl-pop.
2239
2240 2002-06-10 Miles Bader <miles@gnu.org>
2241
2242 Make comint use text properties for highlighting instead of overlays:
2243 * comint.el (comint-last-output-overlay): Variable removed.
2244 (comint-send-input, comint-output-filter): Use text properties
2245 instead of overlays.
2246 (comint-insert-clicked-input): Rewrite to work with text
2247 properties as well as overlays
2248 (comint-snapshot-last-prompt): Snapshot using text properties.
2249 (comint-get-old-input-default, comint-extract-string): Don't copy
2250 text properties.
2251
2252 * simple.el (line-move-finish): Inhibit field motion when
2253 computing `line-end'.
2254
2255 * files.el (revert-buffer): Correct typo: variable name is
2256 `buffer-file-format', not `buffer-file-formats'.
2257
2258 * comint.el (comint-send-input, comint-output-filter): Use the
2259 `font-lock-face' property instead of `face'. Don't check the
2260 highlight-enabling variables anymore.
2261 (comint-highlight-input, comint-highlight-prompt): Variables removed.
2262
2263 * faces.el (display-supports-face-attributes-p): New function.
2264 (face-spec-set-match-display): Support `supports' predicate.
2265 (italic): Try underlining for displays that don't support real italics.
2266 * cus-edit.el (custom-display): Add support for `supports' predicate.
2267 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
2268 instead of 8-bit, for consistency with the rest of emacs.
2269 (tty-color-canonicalize): Only copy COLOR if we need to change it.
2270 (tty-color-approximate): Scale values from `color-name-rgb-alist'
2271 appropriately. Return the whole color description, rather than
2272 just the RGB values.
2273 (tty-color-standard-values): New function. Code mostly taken from
2274 `tty-color-translate'.
2275 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
2276 do all the work.
2277 (tty-color-desc): Do color lookup here instead of calling
2278 `tty-color-translate' and `tty-color-by-index'; this is now the
2279 main place to do it.
2280
2281 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
2282
2283 * progmodes/cc-style.el (c-set-style, c-set-style-1):
2284 Add another state for the `dont-override' flag where it only keeps
2285 globally set variables.
2286
2287 2002-06-08 Colin Walters <walters@gnu.org>
2288
2289 * descr-text.el (describe-text-properties): Sort the output by the
2290 size of the values. Put `font-lock-face' property on property names.
2291 (toplevel): Provide `descr-text'.
2292
2293 * international/mule-diag.el (describe-char-after): When there are
2294 text properties, require `descr-text', and just call
2295 `describe-text-properties'.
2296
2297 * international/mule.el (sgml-html-meta-auto-coding-function):
2298 New function.
2299 (auto-coding-from-file-contents): Delete; merge functionality into
2300 `set-auto-coding'.
2301 (set-auto-coding): Move tests from `auto-coding-functions' so that
2302 they have a lower priority than coding: tags.
2303 Put `auto-coding-regexp-alist' tests before coding: tag tests.
2304 (sgml-xml-auto-coding-function): Simply `intern' the match, and
2305 test if it's a valid coding system.
2306 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
2307
2308 2002-06-08 Colin Walters <walters@verbum.org>
2309
2310 * subr.el (copy-list): Moved here from cl.el.
2311 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
2312
2313 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
2314 subr.el. Add a defalias with the old name.
2315
2316 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
2317
2318 * replace.el (occur-mode): Don't set up categories. Do set
2319 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2320 (occur-1): Pass `list-matching-lines-face' and
2321 `list-matching-lines-buffer-name-face'.
2322 (occur-engine): Use `font-lock-face' instead of categories.
2323
2324 * info.el (Info-mode): Don't set up categories. Do set
2325 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2326 (Info-fontify-menu-headers): Use `font-lock-face' instead of
2327 categories.
2328 (Info-fontify-node): Ditto.
2329
2330 * ibuffer.el (ibuffer-category-alist): Delete.
2331 (ibuffer-get-category): Delete.
2332 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
2333 of categories.
2334 (ibuffer-compile-format): Don't treat `name' category specially.
2335 (ibuffer-column name): Use `font-lock-face'.
2336 (filename-and-process): Ditto.
2337 (ibuffer-buffer-name-category): Renamed to
2338 `ibuffer-buffer-name-face'. Don't use categories.
2339 (ibuffer-update-title-and-summary): Use `font-lock-face'.
2340 (ibuffer-insert-filter-group): Ditto.
2341 (ibuffer-mode): Don't set up categories. Do set
2342 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2343 (ibuffer-compile-format): Don't pass third argument
2344 to column functions.
2345 (filename-and-process): Ditto.
2346
2347 * ibuf-macs.el (define-ibuffer-column): Don't create a third
2348 argument for the generated function.
2349
2350 * font-core.el (font-lock-category-alist): Delete.
2351 (turn-on-font-lock-if-enabled): Don't use it.
2352 (font-lock-symbol-category-alist): Delete.
2353 (font-lock-default-function): Use new `char-property-alias-alist'
2354 to make `font-lock-face' an alias for `face' when font-lock mode
2355 is enabled.
2356 (font-lock-core-only): New variable.
2357 (font-lock-set-defaults): Use it.
2358
2359 2002-06-08 Richard M. Stallman <rms@gnu.org>
2360
2361 * files.el (find-file-noselect-1): Undo previous change.
2362
2363 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
2364
2365 2002-06-07 Karl Fogel <kfogel@red-bean.com>
2366
2367 * bookmark.el (bookmark-file-or-variation-thereof): Just use
2368 Info-suffix-list, as suggested by Stefan Monnier.
2369
2370 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
2371
2372 * select.el (xselect-convert-to-string): If VALUE is a string,
2373 return a cons of TYPE and the string.
2374
2375 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2376
2377 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
2378 Fix the table to contain correct characters.
2379
2380 2002-06-04 Richard M. Stallman <rms@gnu.org>
2381
2382 * simple.el: Don't require cl.
2383
2384 2002-06-03 Richard M. Stallman <rms@gnu.org>
2385
2386 * dired.el (dired-do-shell-command): Doc fix in autoload.
2387
2388 * info.el (Info-extract-pointer): Ignore Info-header-line.
2389
2390 * progmodes/cc-mode.el (c-postprocess-file-styles):
2391 Do nothing except in CC modes.
2392
2393 * international/mule-cmds.el (select-safe-coding-system):
2394 When computing auto-cs, narrow to FROM...TO.
2395 Put save-excursion outside save-restriction.
2396 New arg FILE; use that for set-auto-coding.
2397
2398 2002-06-01 Richard M. Stallman <rms@gnu.org>
2399
2400 * simple.el (choose-completion-string-functions): Doc fix.
2401 (choose-completion-string): Add doc string.
2402
2403 2002-06-01 Kim F. Storm <storm@cua.dk>
2404
2405 * simple.el: Reworked previous change.
2406 (choose-completion-string1): Merged back into choose-completion-string.
2407 (choose-completion-string): Run choose-completion-string-functions
2408 after checking for proper minibuffer window. Added mini-p arg to
2409 the hook functions. Insert choice if all hook functions return nil.
2410 (choose-completion-string-functions): Doc update.
2411
2412 2002-06-01 Sam Steingold <sds@gnu.org>
2413
2414 * files.el (auto-mode-alist): Strip trailing ".in" from the file
2415 name when deciding the mode (for config.h.in, Makefile.in etc).
2416
2417 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
2418
2419 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
2420 ?/ and ?* entries to support /* */ style comments.
2421 (prolog-font-lock-keywords): New var.
2422 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
2423
2424 2002-06-01 Kim F. Storm <storm@cua.dk>
2425
2426 * simple.el (choose-completion-string-functions): New special hook.
2427 (choose-completion-string1): Renamed from choose-completion-string.
2428 (choose-completion-string): Run choose-completion-string-functions
2429 until success, and only call choose-completion-string1 if it fails.
2430
2431 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
2432
2433 * textmodes/ispell.el (autoloaded toplevel): Don't use
2434 ispell-library-directory without checking that it's bound.
2435
2436 2002-05-31 Kim F. Storm <storm@cua.dk>
2437
2438 * emulation/cua-base.el (cua--last-deleted-region-pos)
2439 (cua--last-deleted-region-text): New aux variables.
2440 (cua-delete-region): Set them.
2441 (cua-repeat-replace-region): Use them to find the replacement text.
2442
2443 2002-05-31 Juanma Barranquero <lektu@terra.es>
2444
2445 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
2446 Fix typos.
2447
2448 2002-05-31 Kim F. Storm <storm@cua.dk>
2449
2450 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
2451 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
2452 New custom variables.
2453 (grep-compute-defaults): Compute grep-tree-command's default value.
2454 (grep-expand-command-macros): New aux function.
2455 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
2456 (grep-tree): New command like grep-find but extended prompting.
2457
2458 2002-05-30 Richard M. Stallman <rms@gnu.org>
2459
2460 * files.el (find-file-default): Add defvar for var already used.
2461
2462 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
2463
2464 * subr.el (open-network-stream, open-network-stream-nowait)
2465 (open-network-stream-server, process-kill-without-query):
2466 Moved from simple.el.
2467
2468 * simple.el (open-network-stream, open-network-stream-nowait)
2469 (open-network-stream-server, process-kill-without-query):
2470 Moved to subr.el.
2471
2472 * simple.el (byte-compiling-files-p): Function deleted.
2473
2474 * textmodes/ispell.el (ispell-library-directory): Renamed from
2475 ispell-library-path. If Ispell is not installed, init to nil.
2476 (check-ispell-version): Doc fix.
2477 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
2478 initialize this unconditionally when ispell-menu-map-needed is t.
2479 Local `path' renamed to `dir'.
2480
2481 2002-05-30 Miles Bader <miles@gnu.org>
2482
2483 * calc/calc.el (calc-show-banner): New variable.
2484 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
2485 (calc-mode-var-list): Add `calc-show-banner'.
2486 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
2487 (calc-toggle-banner): New function.
2488 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
2489
2490 2002-05-29 Richard M. Stallman <rms@gnu.org>
2491
2492 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
2493 When recognizing a def... construct, make that indentation
2494 tentative, so that it can be overridden if the list in question
2495 is not actually an expression.
2496 (common-lisp-indent-call-method): New subroutine.
2497
2498 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
2499 Delete the output file if we get a file-error.
2500
2501 * tooltip.el (tooltip-mouse-motions-active): New variable.
2502 (tooltip-activate-mouse-motions): Don't kill track-mouse local
2503 if it was not made by us.
2504
2505 * mouse.el (mouse-set-font): Avoid misleading error message
2506 if user makes no selection.
2507
2508 * info.el (Info-setup-header-line): Don't hide the links line.
2509
2510 * files.el (find-file-noselect-1): Return the buffer we created
2511 even if it has been killed within `after-find-file'.
2512
2513 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
2514
2515 2002-05-29 Kim F. Storm <storm@cua.dk>
2516
2517 * simple.el (open-network-stream-server): Pass on optional args
2518 sentinel and filter to make-network-process (from Luke Gorrie).
2519
2520 2002-05-28 Colin Walters <walters@gnu.org>
2521
2522 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
2523
2524 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
2525 (byte-compile-delete-first): New function.
2526 (byte-compile-read-position): New variable.
2527 (byte-compile-last-position): New variable.
2528 (byte-compile-current-buffer): New variable.
2529 (byte-compile-log-1): Use it.
2530 (byte-compile-set-symbol-position): New function.
2531 (byte-compile-obsolete, byte-compile-callargs-warn)
2532 (byte-compile-arglist-warn, byte-compile-arglist-warn)
2533 (byte-compile-print-syms, byte-compile-file-form-defmumble)
2534 (byte-compile-check-lambda-list, byte-compile-lambda)
2535 (byte-compile-form, byte-compile-variable-ref)
2536 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
2537 (byte-compile-condition-case, byte-compile-defun)
2538 (byte-compile-defvar, byte-compile-autoload)
2539 (byte-compile-lambda-form): Use it.
2540 (byte-compile-from-buffer): Set it, and bind
2541 `read-with-symbol-positions' and `read-symbol-positions-list'.
2542
2543 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
2544
2545 2002-05-28 Kim F. Storm <storm@cua.dk>
2546
2547 * files.el (read-directory-name): New function.
2548 (cd): Use it instead of read-file-name.
2549
2550 2002-05-27 Kim F. Storm <storm@cua.dk>
2551
2552 * simple.el (push-mark-command): Added optional NOMSG arg.
2553
2554 * emulation/cua-base.el (cua-set-mark): Align pop to mark
2555 behaviour with standard set-mark-command.
2556 (cua--pre-command-handler): Use push-mark-command.
2557 (cua-repeat-replace-region): Improve functionality when
2558 repeated after moving point or changing buffer.
2559
2560 2002-05-26 Colin Walters <walters@verbum.org>
2561
2562 * startup.el (command-line): Use `when', `unless'.
2563 (command-line-1): New argument "--nosplash". Handle it.
2564
2565 * startup.el (inhibit-splash-screen): New variable alias for
2566 `inhibit-startup-message'.
2567
2568 * replace.el (perform-replace): Document return value. Use `pop'.
2569
2570 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
2571
2572 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
2573 and slightly changed behaviour, for `f90-previous-block-start' and
2574 `f90-next-block-end'.
2575 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
2576
2577 2002-05-26 Simon Josefsson <jas@extundo.com>
2578
2579 * fringe.el (set-fringe-mode): Work when updating
2580 `default-frame-alist'.
2581
2582 2002-05-26 Kim F. Storm <storm@cua.dk>
2583
2584 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
2585 (cua-repeat-replace-region): New command.
2586 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
2587 Misc improvements to the commantary.
2588
2589 2002-05-26 Simon Josefsson <jas@extundo.com>
2590
2591 * fringe.el (fringe-query-style): New fringe style "minimal".
2592
2593 2002-05-24 Simon Josefsson <jas@extundo.com>
2594
2595 * rot13.el (rot13-translate-table): New variable.
2596 (rot13, rot13-string, rot13-region): New functions.
2597
2598 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
2599
2600 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
2601 of wrong anchoring, e.g. for else-if compounds.
2602
2603 2002-05-25 Miles Bader <miles@gnu.org>
2604
2605 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
2606 (menu-bar-showhide-fringe-menu-customize-right)
2607 (menu-bar-showhide-fringe-menu-customize-disable):
2608 Use proper calling convention for `customize-set-value'.
2609 Require `fringe' before setting variable.
2610
2611 2002-05-25 Kim F. Storm <storm@cua.dk>
2612
2613 * emulation/cua-base.el (cua--self-insert-char-p): New function.
2614
2615 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
2616 binding in cua--global-mark-keymap using cua--self-insert-char-p
2617 to handle all global self inserting characters in gmark mode.
2618
2619 * emulation/cua-rect.el (cua--init-rectangles): Install default
2620 binding in cua--rectangle-keymap using cua--self-insert-char-p
2621 to handle all global self inserting characters in rectangle mode.
2622
2623 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
2624
2625 * net/ange-ftp.el (read-file-name-internal): Remove the
2626 `ange-ftp' property.
2627 (ange-ftp-real-read-file-name-internal): Remove.
2628
2629 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
2630
2631 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
2632 `forward-line'.
2633 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
2634 (f90-previous-block-start): New navigation commands.
2635
2636 2002-05-20 Simon Josefsson <jas@extundo.com>
2637
2638 * fringe.el: New file.
2639
2640 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
2641 (menu-bar-showhide-fringe-menu): New menu.
2642 (menu-bar-showhide-menu): Add Fringe sub-menu.
2643
2644 2002-05-23 Colin Walters <walters@verbum.org>
2645
2646 * replace.el (occur-engine): Include all text properties except
2647 mouse-face on the newline at the end of occurences.
2648
2649 2002-05-23 Kim F. Storm <storm@cua.dk>
2650
2651 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
2652 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
2653 (apropos-command, apropos-value, apropos-documentation-internal)
2654 (apropos-documentation-check-doc-file)
2655 (apropos-documentation-check-elc-file): Use them to filter out
2656 false matches where only one keyword matches, but more than once.
2657
2658 * apropos.el (apropos-show-scores, apropos-orig-regexp)
2659 (apropos-all-regexp, apropos-synonyms, apropos-words)
2660 (apropos-all-words): New variables.
2661 (aprpos-words-to-regexp, apropos-rewrite-regexp)
2662 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
2663 (apropos-score-symbol): New functions.
2664 (apropos-command, apropos, apropos-value, apropos-documentation):
2665 Allow keywords in addition to regexp. Added scoring.
2666 (apropos-documentation-check-doc-file)
2667 (apropos-documentation-check-elc-file): Added scoring.
2668 (apropos-print): Sort according to score.
2669
2670 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
2671
2672 * info.el (Info-mode-hook): Change `font-lock-mode' to
2673 `turn-on-font-lock'.
2674
2675 * font-core.el (font-lock-function): New variable.
2676 (font-lock-default-function): New function, created from
2677 `font-lock-mode'.
2678 (font-lock-mode): Just funcall `font-lock-function'.
2679 (font-lock-symbol-category-alist): New variable.
2680
2681 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
2682
2683 * files.el (file-newest-backup): Use file-name-sans-versions.
2684
2685 * diff.el (diff-latest-backup-file): Replace the main code by
2686 a call of file-newest-backup.
2687
2688 2002-05-22 Mike Williams <mdub@bigfoot.com>
2689
2690 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
2691 the buffer.
2692
2693 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
2694
2695 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
2696 the last patch works around the wu-ftpd misfeature that prompted
2697 the disabling of this optimization.
2698
2699 2002-05-21 Colin Walters <walters@gnu.org>
2700
2701 * international/mule.el (make-coding-system): Doc fixes.
2702
2703 * international/mule.el (auto-coding-functions): New variable.
2704 (auto-coding-from-file-contents): Use it.
2705 (set-auto-coding): Update docs.
2706 (sgml-xml-auto-coding-function): New function.
2707
2708 * international/mule-util.el (truncate-string-to-width):
2709 New optional argument `ellipsis'. Add commented-out test suite, and
2710 change coding to iso-2022-7bit.
2711
2712 2002-05-21 Colin Walters <walters@verbum.org>
2713
2714 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
2715 (font-lock-multiline, font-lock-fontified, font-lock-mode)
2716 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
2717 (font-lock-global-modes): Moved to font-core.el.
2718 (font-lock-set-defaults-1): Partially moved to font-core.el.
2719
2720 * font-core.el: New file, with functions taken from font-lock.el.
2721 (font-lock-category-alist): New variable.
2722 (font-lock-mode): Use it.
2723 (font-lock-set-defaults): Partially taken from font-lock.el.
2724 Only load font-lock.el when necessary.
2725
2726 * loadup.el: Add font-core.el.
2727
2728 * replace.el (occur-mode-hook): New variable.
2729 (occur-fontify-region-function): Deleted.
2730 (occur-mode): Don't use it. Set up `font-lock-category-alist'
2731 instead.
2732 (occur-fontify-on-property): Deleted.
2733 (occur-engine): Use categories from `font-lock-category-alist'.
2734
2735 * info.el (Info-fontify): Deleted.
2736 (Info-select-node): Don't use it.
2737 (Info-mode-hook): New variable.
2738 (Info-mode): Set up categories.
2739 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
2740
2741 * ibuffer.el (ibuffer-formats): Update docs.
2742 (ibuffer-category-alist): New variable.
2743 (ibuffer-get-category): New function.
2744 (ibuffer-compile-make-eliding-form): Use category property instead
2745 of face.
2746 (ibuffer-compile-format): Pass current ibuffer buffer to column
2747 functions too.
2748 (ibuffer-buffer-name-category): New function.
2749 (ibuffer-compile-format): If the current column is a `name'
2750 column, figure out the appropriate category to put on it.
2751 (filename-and-process): Use category property.
2752 (ibuffer-fontify-region-function): Deleted.
2753 (ibuffer-unfontify-region-function): Deleted.
2754 (ibuffer-update-title-and-summary): Use category properties.
2755 (ibuffer-insert-filter-group): Ditto.
2756 (ibuffer-mode): Set up category properties.
2757
2758 2002-05-21 Colin Walters <walters@debian.org>
2759
2760 * replace.el (occur-engine): Increment globalcount all at once
2761 after searching a buffer.
2762 (occur-mode-map): Don't escape plain "o".
2763
2764 * ibuf-macs.el (define-ibuffer-column): Add third argument
2765 `ibuffer-buf'.
2766
2767 * ibuffer.el (toplevel): Require font-lock, to get the face
2768 definitions.
2769 (ibuffer-use-fontification): Deleted.
2770 (column filename-and-process): New column.
2771 (ibuffer-formats): Use it by default.
2772 (ibuffer-name-map, ibuffer-mode-name-map)
2773 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
2774 (ibuffer-do-save, ibuffer-do-toggle-modified)
2775 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
2776 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
2777 (ibuffer): New optional argument `formats'.
2778
2779 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
2780
2781 * indent.el (indent-rigidly): Mention how to remove all indentation.
2782
2783 2002-05-21 Colin Walters <walters@gnu.org>
2784
2785 * international/mule-diag.el (describe-char-after): Order display
2786 of text properties by the size of their value, for clarity.
2787
2788 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
2789
2790 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
2791 (ange-ftp-file-name-completion): Don't cons unnecessarily.
2792 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
2793
2794 * wid-edit.el (widget-color-complete):
2795 * progmodes/etags.el (tags-complete-tags-table-file):
2796 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
2797
2798 * textmodes/outline.el (outline-reveal-toggle-invisible):
2799 Reverse the meaning of the second arg.
2800
2801 * reveal.el (reveal-post-command): Reverse the semantics of
2802 reveal-toggle-invisible and support isearch-open-invisible-temporary.
2803
2804 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
2805
2806 * mail/sendmail.el (mail-recover-1): Remove (debug).
2807 (mail-signature): Fix :type.
2808 (mail-default-directory): New user option.
2809 (mail, mail-recover): Use that option.
2810
2811 2002-05-20 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2812
2813 * international/mule.el (auto-coding-alist): Use emacs-mule
2814 for auto-save files.
2815
2816 2002-05-20 Miles Bader <miles@gnu.org>
2817
2818 * files.el (find-file-read-args): Don't trash existing value of
2819 `minibuffer-setup-hook', just add our hook to it.
2820
2821 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
2822
2823 * international/ucs-tables.el (unify-8859-on-encoding-mode)
2824 (unify-8859-on-decoding-mode): Change :version attributes to strings.
2825
2826 * simple.el (yank-excluded-properties): Change :version attribute
2827 to a string.
2828
2829 * dired.el (dired-view-command-alist): Change :version attribute
2830 to a string.
2831
2832 * xscheme.el (xscheme-start-hook): Change :version attribute to a
2833 string.
2834
2835 * find-dired.el (find-dired): Implement revert-buffer-function.
2836
2837 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
2838
2839 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2840
2841 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
2842 (f90-get-present-comment-type): Fix earlier change.
2843 (f90-comment-indent): Doc fix.
2844 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
2845 (f90-looking-at-if-then): Remove lets.
2846 (f90-looking-at-where-or-forall): Handle if split over lines.
2847 (f90-change-keywords): Doc fix.
2848
2849 2002-05-19 Richard M. Stallman <rms@gnu.org>
2850
2851 * indent.el (indent-region): Make COLUMN arg optional.
2852
2853 * files.el (find-file-read-args): New function.
2854 (find-file, find-file-other-window, find-file-other-frame)
2855 (find-file-read-only, find-file-read-only-other-window)
2856 (find-file-read-only-other-frame): Use it.
2857
2858 * custom.el (custom-load-symbol): Verify that LOADED is a string.
2859
2860 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
2861 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2862 (archive-zip-update-case): Use locate-file to decide whether
2863 to use pkzip.
2864 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
2865
2866 * files.el (locate-file): Doc fix.
2867
2868 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
2869
2870 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
2871 as an option.
2872
2873 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
2874
2875 * uniquify.el (uniquify-rationalize-file-buffer-names):
2876 Always strip the trailing / even if the file is not a directory.
2877
2878 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
2879
2880 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
2881 initialization in the defvar.
2882 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
2883 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
2884 (f90-font-lock-4): Move the doc strings.
2885 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
2886 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
2887 (f90-mode-abbrev-table): Initialize in the defvar, with
2888 define-abbrev-table.
2889
2890 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
2891
2892 * tar-mode.el (tar-octal-time): Fix last change.
2893
2894 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
2895
2896 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
2897 (report-emacs-bug): Store the prompt in
2898 `report-emacs-bug-text-prompt'. Move Configuration/Important
2899 settings information after the user's report.
2900 (report-emacs-bug-hook): Unclutter by deleting the content of
2901 `report-emacs-bug-text-prompt'.
2902
2903 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
2904
2905 * forms.el (forms-jump-record, forms-insert-record)
2906 (forms-delete-record): Calculate lines from the beginning of the
2907 accessible portion rather than from the beginning of the buffer.
2908
2909 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
2910
2911 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
2912 possibly missing encode-char.
2913 (ps-mule-font-info-database-bdf): Add associations for Unicode
2914 fonts. Doc fix.
2915 (ps-mule-font-info-database-ps-bdf): Doc fix.
2916 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
2917
2918 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
2919
2920 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
2921
2922 * emacs-lisp/find-func.el (find-function-search-for-symbol):
2923 Find funs defined with defun-cvs-mode.
2924 (find-function-space-re): New const. Skips comments as well.
2925 (find-function-regexp, find-variable-regexp): Use it.
2926
2927 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
2928 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
2929 (cvs-mode-set-flags): Don't cons unnecessarily.
2930
2931 2002-05-16 Colin Walters <walters@debian.org>
2932
2933 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
2934 "Simple Calculator".
2935 (menu-bar-tools-menu) <calc>: New.
2936
2937 2002-05-16 Juanma Barranquero <lektu@terra.es>
2938
2939 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
2940
2941 * filesets.el (filesets-ormap): Fix typo.
2942
2943 * faces.el (describe-face): Fix typo.
2944
2945 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
2946
2947 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
2948 Don't treat (lambda () ...) as an expression.
2949
2950 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
2951
2952 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
2953
2954 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
2955
2956 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
2957
2958 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
2959
2960 * progmodes/fortran.el (fortran-directive-re): New name for
2961 fortran-preprocessor-re. All usage updated.
2962 (fortran-calculate-indent): Give directives zero indentation.
2963
2964 2002-05-14 Jason Rumney <jasonr@gnu.org>
2965
2966 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
2967 displayed text and internal name as string.
2968
2969 2002-05-14 Kim F. Storm <storm@cua.dk>
2970
2971 * emulation/cua-rect.el (cua--rectangle-operation):
2972 Don't highlight empty lines in rectangles.
2973
2974 * emulation/keypad.el: Improved commentary.
2975 (keypad-setup, keypad-shifted-setup): Added choice to setup
2976 Numeric keypad with decimal key; value is selected character.
2977 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
2978 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
2979 (keypad-setup): Arg list changed to support the new options.
2980
2981 2002-05-14 Richard M. Stallman <rms@gnu.org>
2982
2983 * dabbrev.el (dabbrev-case-distinction): New option.
2984 (dabbrev--try-find): Handle dabbrev-case-distinction.
2985 (dabbrev--search): Clean up the code.
2986 (dabbrev-upcase-means-case-search): Doc fix.
2987 (dabbrev-case-replace): Fix custom tags and docs.
2988
2989 2002-05-14 Jochen K\e,A|\e(Bpper <jochen@jochen-kuepper.de>
2990
2991 * calc/calc-units.el (math-standard-units): Update from CODATA.
2992
2993 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
2994
2995 * skeleton.el (skeleton-transformation): Default to `identity'.
2996 (skeleton-insert): Use `move-after' markers and `insert' rather
2997 than rely on insert-before-markers.
2998 (skeleton-internal-1): Handle `> \n' specially so that the newline
2999 is inserted before the first line is indented.
3000
3001 2002-05-14 Mike Williams <mdub@bigfoot.com>
3002
3003 * textmodes/sgml-mode.el (sgml-tag):
3004 Default skeleton-transformation to `identity'.
3005
3006 2002-05-14 Francesco Potorti` <pot@gnu.org>
3007
3008 * shell.el (shell-mode): Make second part of initialisation
3009 depend on whether comint-input-ring is empty, rather than depend
3010 on it being nil.
3011
3012 2002-05-14 Richard M. Stallman <rms@gnu.org>
3013
3014 * files.el (make-auto-save-file-name):
3015 Delete the auto-save file after make-temp-file creates it.
3016
3017 2002-05-13 Kim F. Storm <storm@cua.dk>
3018
3019 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
3020 (cua-mode): Print Enabled/Disabled messages if interactive.
3021 Disable delete-selection-mode and pc-selection-mode when cua-mode
3022 is enabled; reenable if cua-mode is turned off.
3023 Remember setting of transient-mark-mode when cua-mode is enabled;
3024 restore if cua-mode is disabled.
3025
3026 2002-05-13 Richard M. Stallman <rms@gnu.org>
3027
3028 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
3029
3030 2002-05-13 Colin Walters <walters@gnu.org>
3031
3032 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
3033
3034 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
3035 (ibuffer-redisplay-engine): Handle it.
3036
3037 * add-log.el (add-log-mailing-address): Can be a list, too.
3038 (add-change-log-entry): If `add-log-mailing-address' is a list,
3039 then handle it.
3040
3041 2002-05-12 Colin Walters <walters@debian.org>
3042
3043 * replace.el (occur-1): New optional argument `buf-name'.
3044 (occur-revert-function): Use it.
3045
3046 (occur-1): Handle plurals.
3047
3048 (occur-engine): If there are no more matches, then finish
3049 searching the current buffer.
3050
3051 2002-05-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3052
3053 * net/ange-ftp.el (ange-ftp-try-passive-mode)
3054 (ange-ftp-passive-host-alist): Change :version attributes to be
3055 strings.
3056
3057 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
3058
3059 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
3060 define-minor-mode.
3061
3062 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3063 Handle more whitespace/newline combinations in symbol definitions.
3064
3065 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
3066
3067 * w32-vars.el (w32)
3068 * vc-cvs.el (vc-cvs-global-switches)
3069 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
3070 * textmodes/sgml-mode.el (sgml-xml-mode)
3071 * ruler-mode.el (ruler-mode)
3072 * replace.el (query-replace-skip-read-only)
3073 * progmodes/fortran.el (fortran-preprocessor-re)
3074 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3075 * mail/sendmail.el (mail-use-dsn)
3076 * faces.el (mode-line-inactive, minibuffer-prompt)
3077 * add-log.el (add-log-always-start-new-record): Change all
3078 post-21.1 :version attributes to 21.4.
3079
3080 2002-05-12 Richard M. Stallman <rms@gnu.org>
3081
3082 * mail/smtpmail.el (smtpmail-mail-address): New variable.
3083 (smtpmail-send-it): Bind and use that instead of `mail-address'.
3084 (smtpmail-via-smtp): Likewise.
3085
3086 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
3087 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
3088
3089 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
3090
3091 * subr.el (functionp): Catch errors in indirect-function.
3092
3093 2002-05-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3094
3095 * net/ldap.el (ldap-search-internal): Unfold folded lines before
3096 parsing.
3097
3098 * cus-edit.el (customize-set-value): Rename `var' to `variable'
3099 and `val' to `value'.
3100 (customize-save-variable): Rename `var' to `'variable.
3101
3102 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
3103
3104 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
3105 Use it for font-locking and indentation.
3106 (fortran-previous-statement, fortran-next-statement): Make them
3107 skip over preprocessor lines.
3108 (fortran-calculate-indent): Use fortran-preprocessor-re.
3109
3110 2002-05-10 Kim F. Storm <storm@cua.dk>
3111
3112 * emulation/cua-base.el (cua-enable-cua-keys)
3113 (cua-enable-register-prefix): Added value for `other' choice.
3114
3115 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
3116
3117 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
3118 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
3119 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
3120 Run a named function.
3121 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
3122 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
3123 Fix help text.
3124
3125 2002-05-10 Kim F. Storm <storm@cua.dk>
3126
3127 * emulation/cua-base.el (cua-mode): Misc. changes to use
3128 emulation-mode-map-alists instead of minor-mode-map-alist.
3129
3130 2002-05-09 Richard M. Stallman <rms@gnu.org>
3131
3132 * mail/rmail.el (rmail-show-message):
3133 Catch error in check-coding-system.
3134
3135 * progmodes/compile.el (compilation-error-regexp-alist):
3136 New element to recognize Python error messages.
3137
3138 * shell.el (shell-replace-by-expanded-directory):
3139 If there's already a / at the end, don't add one.
3140
3141 2002-05-09 Colin Walters <walters@verbum.org>
3142
3143 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
3144 `ibuffer-filter-disable', `ibuffer-pop-filter',
3145 `ibuffer-or-filter', `ibuffer-negate-filter',
3146 `ibuffer-decompose-filter', `ibuffer-save-filters',
3147 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
3148 `ibuffer-save-filter-groups',
3149 `ibuffer-switch-to-saved-filter-groups',
3150 `ibuffer-delete-saved-filter-groups'.
3151
3152 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
3153
3154 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
3155
3156 * woman.el (woman-menu): Move symbol before the comment so that
3157 find-function-search-for-symbol finds it.
3158
3159 2002-05-10 Miles Bader <miles@gnu.org>
3160
3161 * facemenu.el (list-colors-display): Don't use
3162 `display-color-cells' unless the display class is one for which
3163 that info is relevant.
3164
3165 2002-05-09 Simon Josefsson <jas@extundo.com>
3166
3167 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
3168 calling buffer.
3169 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
3170 have the patch).
3171
3172 2002-05-09 Kim F. Storm <storm@cua.dk>
3173
3174 * wid-edit.el (checkbox): New check-mark image.
3175
3176 2002-05-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3177
3178 * filesets.el (filesets-running-xemacs): Fix last change.
3179
3180 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
3181
3182 * help-fns.el (describe-function-1): If the source is
3183 `loaddefs.el', look for the real source. This is necessary only
3184 for defaliases.
3185
3186 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3187 Add autoload cookie.
3188 (find-function-regexp): Include
3189 "\(quote " to match the defaliases in loaddefs.el.
3190
3191 * filesets.el (filesets-conditional-sort): Use copy-sequence,
3192 not copy-list.
3193 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
3194 Defvar them to nil if running in Emacs.
3195
3196 2002-05-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3197
3198 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
3199 to flyspell overlays.
3200
3201 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
3202
3203 2002-05-08 Richard M. Stallman <rms@gnu.org>
3204
3205 * diff.el (diff-regexp-alist): Doc fix.
3206
3207 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
3208
3209 2002-05-08 Simon Marshall <simon@gnu.org>
3210
3211 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
3212 the frame name as the car of a menu entry, rather than the frame.
3213
3214 2002-05-08 Juanma Barranquero <lektu@terra.es>
3215
3216 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
3217 in docstring.
3218
3219 2002-05-07 Colin Walters <walters@verbum.org>
3220
3221 * replace.el (occur-unfontify-region-function): Delete.
3222 (occur-mode): Don't use it.
3223 (occur-engine): Respect `keep-props'.
3224 (occur-accumulate-lines): If we're moving forward, decrement;
3225 don't increment, and vice versa.
3226
3227 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
3228
3229 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
3230 (tibetan-canonicalize-for-unicode-regexp): New variables.
3231 (tibetan-canonicalize-for-unicode-region): New function.
3232 (tibetan-strict-unicode): New variable.
3233 (tibetan-pre-write-canonicalize-for-unicode): New function.
3234
3235 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
3236
3237 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
3238 the autoload-cookie. Remove comment.
3239
3240 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
3241
3242 * rect.el (close-rectangle): Don't hide it behind the
3243 autoload-cookie.
3244
3245 2002-05-07 Juanma Barranquero <lektu@terra.es>
3246
3247 * windmove.el (windmove-default-keybindings): Add optional
3248 parameter to allow using a modifier other than 'shift.
3249
3250 2002-05-07 Thomas Link <t.link@gmx.at>
3251
3252 * filesets.el:
3253 (filesets-external-viewers): Fix customization problem.
3254 (filesets-some): Replaces cl's `some'. Calls changed.
3255 (filesets-member): Replaces cl's `member*'. Calls changed.
3256 (filesets-ormap): New function.
3257
3258 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
3259
3260 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
3261 menu items.
3262
3263 2002-05-07 Colin Walters <walters@gnu.org>
3264
3265 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
3266 (ibuffer-clear-filter-groups): Likewise.
3267 (ibuffer-kill-filter-group): Likewise.
3268 (ibuffer-kill-line): Likewise.
3269 (ibuffer-read-filter-group-name): New function.
3270 (ibuffer-jump-to-filter-group): Use it.
3271 (ibuffer-kill-filter-group): Likewise.
3272 (ibuffer-yank-filter-group): Likewise.
3273 (ibuffer-decompose-filter-group): New function.
3274
3275 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
3276 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
3277 guards for `ibuffer-pop-filter-group' and
3278 `ibuffer-clear-filter-groups'.
3279
3280 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
3281
3282 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3283 Use with-syntax-table.
3284
3285 2002-05-06 Francesco Potorti` <pot@gnu.org>
3286
3287 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
3288
3289 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
3290
3291 * time-stamp.el (time-stamp-format): Doc fix: escape open
3292 parenthesis in column 0.
3293
3294 2002-05-04 Richard M. Stallman <rms@gnu.org>
3295
3296 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
3297 Handle both cases: when the menu item has cached info
3298 and when it doesn't.
3299
3300 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
3301 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
3302 (filesets-tree-max-level): Doc fix.
3303 (filesets-commands, filesets-external-viewers)
3304 (filesets-ingroup-patterns): Mark as risky.
3305 (filesets-cache-hostname-flag): Doc fix.
3306 (filesets-menu-cache-file): Doc fix. Mark as risky.
3307 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
3308 Don't defcustom them if running in Emacs.
3309
3310 2002-05-04 Thomas Link <t.link@gmx.at>
3311
3312 * filesets.el (filesets-ingroup-collect-files):
3313 Fix problem with inclusion groups' :scan-depth property.
3314
3315 2002-05-04 Colin Walters <walters@verbum.org>
3316
3317 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
3318 "Default" group earlier. Push killed group on
3319 `ibuffer-filter-group-kill-ring'.
3320 (ibuffer-kill-line): Document. Don't push killed group ourselves.
3321 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
3322 (ibuffer-insert-filter-group-before): New function, broken out
3323 from `ibuffer-yank'.
3324 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
3325
3326 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
3327 (ibuffer-mode-view-menu): Unused variables; deleted.
3328 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
3329
3330 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
3331
3332 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
3333 (toplevel): Bind filter group menu entries in it. Add :enable
3334 forms for some menu items.
3335 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
3336 to `ibuffer-mouse-popup-menu'.
3337 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
3338 group name, and if so, pop up a filter group menu.
3339
3340 2002-05-04 Jason Rumney <jasonr@gnu.org>
3341
3342 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
3343 (mwheel-scroll): Recognize nil scroll amount as documented.
3344
3345 * term/w32-win.el (mouse-wheel-scroll-line)
3346 (mouse-wheel-scroll-screen): Remove.
3347 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
3348
3349 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
3350
3351 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
3352
3353 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3354 Bind case-fold-search when searching.
3355
3356 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
3357
3358 * apropos.el (apropos-print): Fix the reference to mouse-2.
3359
3360 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
3361
3362 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
3363
3364 2002-05-04 Kim F. Storm <storm@cua.dk>
3365
3366 * cus-edit.el (custom-buffer-verbose-help): New variable.
3367 (custom-buffer-create-internal): Remove verbose introduction
3368 in customization buffer when it is nil.
3369
3370 2002-05-03 Dave Love <fx@gnu.org>
3371
3372 * international/mule-cmds.el (select-safe-coding-system):
3373 Don't offer coding systems that use locking shift.
3374 Ask for confirmation if chosen coding system disagrees with
3375 a `coding:' spec in the file.
3376
3377 2002-05-03 John Wiegley <johnw@gnu.org>
3378
3379 * eshell/esh-var.el (eshell-modify-global-environment): Added this
3380 customization variable, which will cause any "export" commands
3381 within any eshell buffer to modify the global Emacs environment.
3382 It defaults to nil, which means that such commands will only
3383 modify that Eshell buffer's environment.
3384 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
3385
3386 * eshell/em-cmpl.el (eshell-command-completions-alist):
3387 Improve default completion targets for objdump, nm and readelf.
3388
3389 2002-05-03 Colin Walters <walters@verbum.org>
3390
3391 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
3392 (gamegrid-add-score-with-update-game-score):
3393 Use `shared-game-score-directory'. Correctly handle non-setuid case.
3394
3395 2002-05-02 Colin Walters <walters@verbum.org>
3396
3397 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
3398 (occur-1): If one of the buffers we're searching is the *Occur*
3399 buffer itself, handle it by creating a temporary buffer. If any
3400 of the buffers being searched are killed, note that in the search
3401 result message. Also, set local variables before we possibly kill
3402 the buffer.
3403
3404 2002-05-02 Kim F. Storm <storm@cua.dk>
3405
3406 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
3407 (menu-bar-options-save): Added cua-mode.
3408 (menu-bar-options-menu): Added toggle for cua-mode.
3409 Disable toggle for transient-mark-mode if cua-mode is enabled.
3410
3411 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
3412 variable.
3413
3414 2002-05-01 Richard M. Stallman <rms@gnu.org>
3415
3416 * help.el (view-todo): New function.
3417 (help-map): Bind C-h C-t to view-todo.
3418 (help-for-help): Change the text.
3419
3420 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
3421
3422 * progmodes/f90.el: Yet more doc string, commment and whitespace
3423 changes.
3424 (f90-imenu-flag): New name for internal variable f90-imenu.
3425 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
3426 (f90-no-break-re): Use regexp-opt.
3427 (f90-end-type-re): Add closing "\\>".
3428 (f90-indent-region): Correctly indent comments embedded in
3429 continued lines.
3430 (f90-indent-new-line): Make it indent the current line, as it should.
3431 (f90-line-continued, f90-get-present-comment-type)
3432 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
3433 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
3434 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
3435 (f90-change-keywords): Minor code tidying.
3436
3437 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
3438 typo `fortran-strip-sqeuence-nos'.
3439
3440 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
3441
3442 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
3443 pop-up-window.
3444
3445 2002-05-01 Kim F. Storm <storm@cua.dk>
3446
3447 * emulation/cua-base.el (cua--pre-command-handler):
3448 Only interpret delete-selection property if mark-active.
3449 (cua-mode): Fixed require in defcustom.
3450
3451 2002-05-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3452
3453 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
3454 error call.
3455
3456 2002-05-01 Colin Walters <walters@verbum.org>
3457
3458 * textmodes/tex-mode.el (tex-validate-buffer):
3459 Use `occur-revert-arguments' instead of setting `occur-nlines' and
3460 `occur-buffer'. Don't test for `input-pending-p' in loop.
3461 Set text property `occur-target' instead of `occur'.
3462
3463 2002-04-30 John Wiegley <johnw@gnu.org>
3464
3465 * align.el (align-region): Fixed the fix to align-region, because
3466 the "name" argument was appearing twice.
3467
3468 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
3469
3470 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
3471 to handle protection labels, one which doesn't get confused by
3472 inherit colons.
3473
3474 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
3475 functions that have "class" or "struct" in the return type as
3476 classes or structs.
3477
3478 2002-04-30 Kim F. Storm <storm@cua.dk>
3479
3480 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
3481 Options" to "New Options..."; rephrase tooltip.
3482 Rephrase tooltip for "Specific Option...".
3483 Added "Saved Options" item. [from Simon Marshall]
3484
3485 2002-04-30 Richard M. Stallman <rms@gnu.org>
3486
3487 * time.el (display-time-mail-directory)
3488 (display-time-mail-function): Doc fixes.
3489
3490 * ediff-hook.el: Remove autoload cookies.
3491
3492 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
3493
3494 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
3495
3496 * align.el (align-region): Fix call to `message'.
3497 Check that (car rule) is a symbol.
3498
3499 * autoinsert.el (auto-insert-directory): Doc fix.
3500
3501 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
3502
3503 * descr-text.el: New file, broken out of facemenu.el.
3504
3505 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
3506
3507 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
3508
3509 * mail/emacsbug.el (report-emacs-bug-hook):
3510 Use replace-match only if search was successful.
3511
3512 2002-04-29 Richard M. Stallman <rms@gnu.org>
3513
3514 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
3515
3516 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
3517 if the user edits the Emacs version number in the text.
3518
3519 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
3520 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
3521 (filesets-error): Simplify definition and make conditional
3522 on filesets-running-xemacs.
3523 (filesets-find-file-using): Renamed from fsfind-file-using.
3524
3525 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
3526
3527 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
3528 (Info-read-node-name-1): Complete file names.
3529 (Info-complete-menu-item): Don't cons unnecessarily.
3530
3531 * files.el (locate-file): New fun.
3532 (locate-file-completion): Rename from load-completion and generalize.
3533 (load-library): Use it.
3534 (make-auto-save-file-name): Expand caddr.
3535
3536 * newcomment.el (comment-fill-column): New var.
3537 (comment-indent): Use it.
3538 (comment-or-uncomment-region): New fun.
3539 (comment-dwim): Use it.
3540
3541 2002-04-29 Colin Walters <walters@verbum.org>
3542
3543 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
3544 (ibuffer-kill-line): Copy the filter group data structure when killing.
3545 (ibuffer-yank): Handle case where we're yanking on the default
3546 group correctly.
3547 (ibuffer-delete-saved-filter-groups): Doc fix.
3548
3549 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3550 Test whether or not update-game-score is setuid, and do the right
3551 thing.
3552
3553 2002-04-29 Kim F. Storm <storm@cua.dk>
3554
3555 * subr.el (remove-yank-excluded-properties): New helper function.
3556 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
3557
3558 * simple.el (yank-excluded-properties): Added help-echo to list.
3559
3560 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
3561
3562 * autoinsert.el (auto-insert-directory): Doc fix.
3563
3564 * progmodes/f90.el: Add/change doc strings for many inline
3565 functions. Whitespace changes.
3566 (f90-indent-line-no, f90-update-line): Minor code changes.
3567
3568 2002-04-29 Kim F. Storm <storm@cua.dk>
3569
3570 * emulation/cua-base.el: New file.
3571
3572 * emulation/cua-rect.el: New file.
3573
3574 * emulation/cua-gmrk.el: New file.
3575
3576 * emulation/keypad.el: New file.
3577
3578 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
3579
3580 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
3581 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
3582 New Vietnamese coding system.
3583
3584 * language/viet-util.el: Update Commentary section.
3585
3586 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3587
3588 * filesets.el (filesets-data): Doc fix.
3589 (filesets-running-xemacs): Define even when compiling.
3590
3591 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
3592 sentence.
3593
3594 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
3595
3596 * textmodes/fill.el (fill-context-prefix): Fix last change with
3597 yet-another-approach.
3598
3599 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
3600
3601 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3602 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
3603
3604 * files.el (small-temporary-file-directory): Fix custom type.
3605
3606 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
3607
3608 * progmodes/f90.el (f90-xemacs-flag): New variable.
3609 (f90-mark-subprogram-overlay): New variable.
3610 (f90-mark-subprogram): Now it highlights the subprogram.
3611 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
3612 Fix highlighting of various "type" forms.
3613
3614 2002-04-28 Colin Walters <walters@verbum.org>
3615
3616 * ibuffer.el (ibuffer-mode): Additional documentation on filter
3617 groups.
3618
3619 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
3620
3621 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
3622 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
3623
3624 2002-04-28 Richard M. Stallman <rms@gnu.org>
3625
3626 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
3627 by 1 for the newly-readded #.
3628
3629 * files.el (make-auto-save-file-name): Specify # as suffix
3630 in the non-file-visiting case.
3631
3632 * subr.el (make-temp-file): New arg SUFFIX.
3633
3634 * filesets.el: New file.
3635
3636 * replace.el (occur-accumulate-lines): Avoid incf and decf.
3637 (occur-engine-add-prefix): New function.
3638 (occur-engine): Avoid using macrolet, incf and decf.
3639 Use occur-engine-add-prefix instead.
3640 Rename `l' to `lines' and `c' to `matches'.
3641
3642 * replace.el (occur-engine, occur-mode-mouse-goto)
3643 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
3644 (occur-mode-goto-occurrence-other-window)
3645 (occur-mode-display-occurrence): A position is just a marker,
3646 not a list.
3647
3648 * replace.el (occur-revert-arguments):
3649 Renamed from occur-revert-properties. All uses changed.
3650
3651 2002-04-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3652
3653 * recentf.el (recentf-menu-before): Use string to specify path in
3654 the menu.
3655
3656 * international/mule-cmds.el (read-language-name): Take care of
3657 non-list values.
3658
3659 2002-04-27 Richard M. Stallman <rms@gnu.org>
3660
3661 * custom.el (custom-load-symbol): Moved from cus-edit.el.
3662 (custom-load-recursion): Likewise.
3663
3664 * cus-edit.el (custom-load-symbol): Moved to custom.el.
3665 (custom-load-recursion): Likewise.
3666
3667 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
3668 generated by easymenu are now lowercase.
3669
3670 2002-04-27 Richard M. Stallman <rms@gnu.org>
3671
3672 * menu-bar.el (menu-bar-update-buffers): Add menu items
3673 Next Buffer and Previous Buffer.
3674
3675 * simple.el (next-buffer, prev-buffer): New commands.
3676 Bind C-x left and C-x right to them.
3677
3678 * info.el (Info-header-line): Mark it as risky-local-variable.
3679
3680 * subr.el (insert-for-yank): Replace `category' property
3681 with whatever properties it stands for.
3682
3683 * subr.el (member-ignore-case): Ignore non-strings in LIST.
3684
3685 2002-04-27 Miles Bader <miles@gnu.org>
3686
3687 * faces.el (read-face-name): Format the prompt correctly when
3688 there's no default.
3689
3690 2002-04-26 Andrew Choi <akochoi@shaw.ca>
3691
3692 * term/mac-win.el: Don't call ediff-toggle-multiframe.
3693 Set default directory. Set process-connection-type to nil.
3694
3695 2002-04-26 Richard M. Stallman <rms@gnu.org>
3696
3697 * loadup.el: Explicitly load cus-face and timer.
3698
3699 * isearch.el: Don't require timer.
3700
3701 * faces.el: Don't require cus-face.
3702
3703 * cus-edit.el (customize-face): Use read-face-name
3704 and handle multiple faces.
3705 (customize-face-other-window): Make it work similarly.
3706
3707 * faces.el (read-face-name): New defaulting features.
3708 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
3709 (list-faces-display): Use the face, not its name string,
3710 as arg when running customize-face.
3711 Put a `read-face-name' prop on the entire line.
3712 (describe-face): Handle multiple faces via read-face-name.
3713
3714 * textmodes/tex-mode.el (tex-start-options): New variable.
3715 (tex-start-commands): New variable.
3716 (tex-start-options-string): Variable deleted.
3717 (tex-start-tex): Use tex-start-options and tex-start-commands,
3718 not tex-start-options-string.
3719 (tex-command): Doc fix.
3720
3721 2002-04-26 Sam Steingold <sds@gnu.org>
3722
3723 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
3724 not in the authinfo/netrc, keep `cred' at nil.
3725
3726 2002-04-26 Gerd Moellmann <gerd@gnu.org>
3727
3728 * find-file.el: Remove Ada-specific example code.
3729
3730 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
3731
3732 * ediff-hooks.el: Put back the autoloads.
3733
3734 2002-04-25 Colin Walters <walters@verbum.org>
3735
3736 * ibuffer.el (define column process): Use `ibuffer-aif'.
3737
3738 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
3739 defaults.
3740 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
3741 (ibuffer-save-filter-groups): Correctly structure filter groups.
3742 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
3743 groups.
3744
3745 2002-04-25 Simon Josefsson <jas@extundo.com>
3746
3747 * mail/sendmail.el (mail-use-dsn): New variable to request
3748 delivery status notification from MTA.
3749 (sendmail-send-it): Use it.
3750
3751 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
3752 (smtpmail-send-it): Use it to construct new queue filenames
3753 (needed if you send more than one message per second, which is
3754 possible if you use Gnus Agent).
3755
3756 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
3757 files as well.
3758 (smtpmail-try-auth-methods): Support netrc data.
3759 (netrc-parse): Autoload netrc.
3760
3761 2002-04-25 Colin Walters <walters@verbum.org>
3762
3763 * replace.el (multi-occur-by-filename-regexp): Doc fix.
3764 (occur-engine): Go to `point-min'. Make nlines argument actually
3765 mean number of context lines. Handle it. Pad digits to the right.
3766
3767 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
3768 `ibuffer-filter-groups'. All users updated.
3769 (ibuffer-show-empty-filter-groups): New variable.
3770 (ibuffer-saved-filter-groups): New variable.
3771 (ibuffer-maybe-save-stuff): Renamed from
3772 `ibuffer-maybe-save-saved-filters'. Callers updated.
3773 Handle `ibuffer-saved-filter-groups'.
3774 (ibuffer-hidden-filtering-groups): Renamed to
3775 `ibuffer-hidden-filter-groups'.
3776 (ibuffer-filter-group-kill-ring): New variable.
3777 (ibuffer-save-with-custom): Doc fix.
3778 (ibuffer-set-filter-groups-by-mode): New function.
3779 (ibuffer-clear-filter-groups): New function.
3780 (ibuffer-current-filter-groups-with-position): Renamed from
3781 `ibuffer-current-filter-groups'. Callers updated.
3782 (ibuffer-kill-filter-group): New function.
3783 (ibuffer-kill-line): New function.
3784 (ibuffer-yank): New function.
3785 (ibuffer-save-filter-groups): New function.
3786 (ibuffer-delete-saved-filter-groups): New function.
3787 (ibuffer-switch-to-saved-filter-groups): New function.
3788 (ibuffer-mark-on-buffer): Add optional arguments for adding a
3789 specific mark, and marking on a specific group.
3790
3791 * ibuffer.el (ibuffer-formats): Doc fix.
3792 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
3793 Bind new functions from ibuf-ext.el. Add menu entries for them.
3794 Remove superfluous tooltips.
3795 (ibuffer-toggle-marks): If on a group name, then toggle marks just
3796 in that group.
3797 (ibuffer-mark-interactive): Handle filter groups.
3798 (ibuffer-mark-forward, ibuffer-unmark-forward)
3799 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
3800 (ibuffer-mark-for-delete-backwards): Update docs.
3801 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
3802 to `ibuffer-current-filter-groups-with-position'.
3803 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
3804 (ibuffer-mode): Add some documentation about filter groups.
3805
3806 2002-04-25 Andreas Schwab <schwab@suse.de>
3807
3808 * find-dired.el (find-name-dired): Don't quote pattern twice.
3809
3810 2002-04-26 Miles Bader <miles@gnu.org>
3811
3812 * cus-edit.el (customize-face, customize-face-other-window):
3813 Use default instead of initial-input for suggested face.
3814
3815 2002-04-25 Gerd Moellmann <gerd@gnu.org>
3816
3817 * cus-edit.el (customize-face-other-window, customize-face):
3818 Interactively, when point is on text with a face, suggest to
3819 customize that face.
3820
3821 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
3822
3823 * progmodes/f90.el: General tidy-up of commentary and some doc
3824 strings.
3825
3826 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
3827
3828 * scroll-all.el (scroll-all-function-all) New function to do the
3829 actual work.
3830 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
3831 scroll-all-page-down-all, scroll-all-page-up-all,
3832 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
3833 Make them use scroll-all-function-all.
3834
3835 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
3836 with line-beginning-position.
3837 (f90-get-end-of-line): Removed and replaced with line-end-position.
3838 (f90-match-piece): Removed and replaced with match-string.
3839 (f90-current-indentation): Remove `current-column'.
3840 (f90-get-present-comment-type): Use match-string rather than
3841 buffer-substring.
3842 (f90-match-end): Use line-beginning-position, line-end-position
3843 rather than beginning-of-line, end-of-line.
3844 (f90-startup-message): Variable removed.
3845
3846 2002-04-24 Colin Walters <walters@verbum.org>
3847
3848 * replace.el (occur-accumulate-lines): Add optional argument
3849 `no-props'. Handle it.
3850 (occur-engine): Use it.
3851
3852 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
3853 up autoloads manually.
3854 (ibuffer-split-list): New function.
3855 (ibuffer-filtering-groups): New variable.
3856 (ibuffer-hidden-filtering-groups): New variable.
3857 (ibuffer-mouse-toggle-filter-group): New function.
3858 (ibuffer-toggle-filter-group): New function.
3859 (ibuffer-toggle-filter-group-1): New function.
3860 (ibuffer-forward-filter-group): New function.
3861 (ibuffer-backward-filter-group): New funtion.
3862 (ibuffer-generate-filter-groups): New function.
3863 (ibuffer-filters-to-filter-group): New function.
3864 (ibuffer-pop-filter-group): New function.
3865 (ibuffer-jump-to-filter-group): New function.
3866 (ibuffer-do-occur): Just use `occur-read-primary-args'
3867
3868 * ibuffer.el (ibuffer-filter-group-name-face): New.
3869 (ibuffer-mode-map): Bind and add menu entries for most new
3870 functions; also, bind the arrow keys to the movement functions.
3871 (ibuffer-mode-filter-group-map): New.
3872 (ibuffer-mouse-toggle-mark): Handle group names.
3873 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
3874 (ibuffer-skip-properties): New function.
3875 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
3876 group names. Also, handle new properties.
3877 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
3878 Move error handling to `ibuffer-current-buffer'.
3879 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
3880 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
3881 (ibuffer-toggle-marks): Add optional group argument.
3882 (ibuffer-mark-interactive): Skip group names.
3883 (ibuffer-current-buffer): Clean up error handling.
3884 (ibuffer-fontify-region-function): Fontify group names.
3885 (ibuffer-map-lines): Add extra group argument. Handle it.
3886 (ibuffer-current-filter-groups): New function.
3887 (ibuffer-redisplay): Handle hidden filtering groups.
3888 (ibuffer-sort-bufferlist): New function, taken from
3889 `ibuffer-insert-buffers-and-marks'.
3890 (ibuffer-insert-filter-group): New function.
3891 (ibuffer-redisplay-engine): Renamed from
3892 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
3893 (ibuffer): Add filter-groups argument. Handle it.
3894 Use `save-selected-window'.
3895 (ibuffer-mode): Make `ibuffer-filtering-groups' and
3896 `ibuffer-hidden-filtering-groups' buffer-local.
3897
3898 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
3899
3900 2002-04-24 Richard M. Stallman <rms@gnu.org>
3901
3902 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
3903 (easy-menu-define-key-intern): Function deleted; callers intern
3904 and then call easy-menu-define-key.
3905 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
3906 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
3907 (easy-menu-name-match): New function.
3908 (add-submenu): New function.
3909 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
3910
3911 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
3912
3913 * menu-bar.el (menu-bar-adv-search-menu)
3914 (menu-bar-adv-search-menu): Improve the help text.
3915
3916 2002-04-24 Simon Josefsson <jas@extundo.com>
3917
3918 * net/netrc.el: New file.
3919
3920 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
3921
3922 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
3923 Check if any of the available selection sources has new content
3924 and if so it will return that content.
3925
3926 2002-04-24 Miles Bader <miles@gnu.org>
3927
3928 * menu-bar.el (buffers-menu-show-directories)
3929 (buffers-menu-show-status): New variables.
3930 (menu-bar-update-buffers-1): Use them.
3931
3932 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
3933
3934 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
3935 from `c-do-auto-fill' and point is at or near the limit of the
3936 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
3937 is longer than the text on the first line of the comment when
3938 it's masked.
3939
3940 2002-04-24 Miles Bader <miles@gnu.org>
3941
3942 * menu-bar.el (menu-bar-update-buffers-1): Make sure
3943 `uniquify-buffer-name-style' is bound.
3944
3945 2002-04-23 Colin Walters <walters@verbum.org>
3946
3947 * replace.el (toplevel): Require `cl' while compiling.
3948 (occur-buffer, occur-nlines): Delete.
3949 (occur-revert-properties): Rename to `occur-revert-properties'.
3950 (occur-mode): Handle it. Set up font lock.
3951 (occur-revert-function): Simply apply `occur-1'.
3952 (occur-mode-find-occurence, occur-mode-mouse-goto)
3953 (occur-mode-goto-occurrence-other-window)
3954 (occur-mode-display-occurrence): Handle buffer property.
3955 (list-matching-lines-face): Use defcustom.
3956 (list-matching-lines-buffer-name-face): New variable.
3957 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
3958 in ibuffer.el.
3959 (occur-read-primary-args): Move out of `occur'.
3960 (occur): Delete. Now simply call `occur-1'.
3961 (multi-occur, multi-occur-by-filename-regexp): New functions.
3962 (occur-1): New function.
3963 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
3964 previous implementation of `occur'; taken from ibuf-ext.el.
3965 (occur-fontify-on-property): New function.
3966 (occur-fontify-region-function, occur-unfontify-region-function):
3967 New functions.
3968
3969 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
3970
3971 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
3972 (ibuffer-occur-match-face): Delete.
3973 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
3974 (ibuffer-occur-mouse-display-occurence): Delete.
3975 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
3976 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
3977 (ibuffer-occur-engine): Moved to replace.el.
3978 (ibuffer-do-occur): Simply call `occur-1'.
3979
3980 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3981 Handle the case where we're already viewing the score file.
3982
3983 2002-04-23 Andreas Schwab <schwab@suse.de>
3984
3985 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
3986 next-tag-otherw.
3987
3988 2002-04-23 Miles Bader <miles@gnu.org>
3989
3990 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
3991 directory separator if there's no directory. Don't display
3992 directories at all if uniquify is active. Some code cleanup.
3993 (uniquify-buffer-name-style): Declare (but don't initialize).
3994
3995 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
3996 for command menu entries, since the low-level menu code modifies
3997 them. Cache the resulting list.
3998 (menu-bar-buffers-menu-command-entries): New variable.
3999
4000 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
4001 Add separator line before commands
4002 Remove old crufty code that tried to line things up by adding
4003 spaces to entries (it doesn't work).
4004 Move `Frames' submenu after the normal buffers, and add a
4005 separator line before it.
4006 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
4007
4008 2002-04-22 Richard M. Stallman <rms@gnu.org>
4009
4010 * files.el (after-find-file): Use %s to output MSG.
4011
4012 * dired.el (dired-mouse-find-file-other-window):
4013 Handle events that move out of the window.
4014
4015 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
4016
4017 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
4018 was moved to the following line when it was at the first line
4019 of a block comment where comment-start-skip matched to eol.
4020
4021 2002-04-22 Richard M. Stallman <rms@gnu.org>
4022
4023 * simple.el (line-move-finish): Find beg and end of line
4024 before calling line-move-to-column. Do consider intangible
4025 when finding the end. Take more care in analyzing the results
4026 of intangibility after line-move-to-column.
4027
4028 2002-04-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4029
4030 * international/mule-diag.el (list-input-methods-1): Doc fix
4031 (LEIM is now part of the standard distribution).
4032
4033 * tmm.el (tmm-completion-prompt): Doc fix.
4034
4035 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
4036
4037 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
4038
4039 * diary-lib.el (include-other-diary-files): Allow modifying
4040 included buffer, to turn off selective display.
4041
4042 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4043
4044 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
4045 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
4046 emacsen that doesn't support it.
4047
4048 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4049
4050 * progmodes/cc-align.el, progmodes/cc-engine.el,
4051 progmodes/cc-styles.el, progmodes/cc-vars.el
4052 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
4053 Find correct anchor for statement-cont in top level constructs.
4054 Analyze variable initializations in top level constructs as
4055 topmost-intro-cont instead of statement-cont. That is an
4056 incompatible change but it gives better consistency. The new
4057 lineup function c-lineup-topmost-intro-cont' compensates for
4058 it and is now put on topmost-intro-cont by default.
4059
4060 * progmodes/cc-align.el, progmodes/cc-engine.el,
4061 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
4062 contributed by Kevin Ryde.
4063
4064 (c-in-gcc-asm-p): Function to recognize asm statements.
4065 Contributed by Kevin Ryde.
4066
4067 (c-opt-asm-stmt-key): New language variable to recognize the
4068 beginning of asm statements.
4069
4070 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4071
4072 * progmodes/cc-engine.el (c-guess-basic-syntax):
4073 Detect variable declarations after class and struct declarations
4074 correctly. Fixed limit error when finding the anchor for
4075 template-args-cont and topmost-intro-cont.
4076
4077 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4078
4079 * progmodes/cc-cmds.el (c-beginning-of-defun)
4080 (c-declaration-limits): Find the "line oriented" declaration
4081 start too, just like the "line oriented" end is found.
4082
4083 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4084
4085 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
4086 for `inexpr-statement'. This is not compatible, though.
4087 I think the benefit of a good default style outweights that in
4088 this case. Besides, `inexpr-statement' is not very common.
4089
4090 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4091
4092 * progmodes/cc-cmds.el (c-electric-delete-forward):
4093 Fix silly bug that caused it to delete backwards in hungry delete
4094 mode. (It's amazing that this bug hasn't been reported.)
4095
4096 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
4097 Extracted the code to get the declaration limits from
4098 `c-mark-function' to a new `c-declaration-limits'.
4099
4100 (c-indent-defun): Use the same method to get the limits of the
4101 declaration or macro as `c-mark-function'.
4102
4103 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
4104 list initializers correctly (but costly; it ought to be
4105 integrated into `c-beginning-of-statement-1').
4106
4107 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4108
4109 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4110 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
4111 Rewritten to detect the declaration limits better.
4112 Now handles K&R argdecls, class definitions followed by variables etc.
4113
4114 (c-in-knr-argdecl): Broke out the K&R argdecl test in
4115 `c-beginning-of-decl-1' to this new function.
4116
4117 (c-end-of-statement-1, c-end-of-decl-1):
4118 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
4119 handles declarations that continue after the block.
4120
4121 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4122 Added an option to restrict matching to the top level of the
4123 current paren sexp.
4124
4125 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
4126 New regexp to recognize declarations that continue after the block.
4127
4128 (c-syntactic-eol): New regexp to match a "syntactic" eol.
4129
4130 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4131
4132 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4133 that often caused the backward limit to be lost at the top
4134 level. This improves performance a bit.
4135
4136 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4137 New function that works like `re-search-forward' but only returns
4138 matches in syntactically significant text.
4139
4140 * progmodes/cc-engine.el: Fixed a faster and more accurate way
4141 to recognize K&R argdecls.
4142
4143 (c-beginning-of-decl-1): New function that put point at the
4144 beginning of the declaration. It handles K&R argdecl blocks.
4145
4146 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
4147 code with one that doesn't depend on the current indentation.
4148 The anchor position for `knr-argdecl' has also changed, but in
4149 a way that is unlikely to cause compatibility problems.
4150
4151 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4152
4153 * progmodes/cc-defs.el, progmodes/cc-engine.el
4154 (c-forward-comment): `forward-comment' in XEmacs skips over
4155 line continuations in the backward direction. Correct for
4156 that. Also made this a defun since it has grown too large now
4157 to be a defsubst.
4158
4159 * progmodes/cc-langs.el: More convenient and decentralized
4160 setup of the language specific variables. The regexp-opt
4161 mangling is also done at compile time now.
4162
4163 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4164
4165 * progmodes/cc-cmds.el (c-indent-line-or-region):
4166 Call `c-indent-line' directly instead of through
4167 `indent-according-to-mode' so that this function always
4168 indents syntactically.
4169
4170 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4171 where a class beginning with a nested class could cause an
4172 infinite loop (the state outside the narrowed out class is
4173 never used now).
4174
4175 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4176
4177 * progmodes/cc-align.el, progmodes/cc-cmds.el,
4178 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
4179 the context sensitive analysis inside macros is restricted to
4180 the bodies of #define's; other things, like #if expressions,
4181 never have anything in common with their surroundings.
4182 The old `cpp-macro-cont' syntax is now used in situations where
4183 the syntactic analysis isn't applicable, and a new syntactic
4184 element `cpp-define-intro' is used to add indentation in
4185 #define bodies.
4186
4187 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
4188 better reflect its use.
4189
4190 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
4191 continuation backslashes in the detection of `arglist-cont-nonempty'.
4192
4193 * progmodes/cc-align.el: Use the vector form in the return
4194 value in all cases where lineup functions return absolute columns.
4195
4196 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4197
4198 * progmodes/cc-engine.el (c-add-stmt-syntax)
4199 (c-guess-basic-syntax): Anchor `brace-list-intro' and
4200 `bracec-list-close' better for brace lists nested inside expressions.
4201
4202 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4203 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
4204 various language specific variables and their initialization.
4205 The keyword regexps are now lists that are combined with
4206 regexp-opt. Some variables have changed names to fit better
4207 with the naming convention.
4208
4209 * progmodes/cc-defs.el, progmodes/cc-vars.el
4210 (c-buffer-is-cc-mode): The value is the mode symbol of the
4211 original CC Mode mode.
4212
4213 (c-major-mode-is): Compare against the buffer local variable
4214 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
4215
4216 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4217
4218 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4219 (c-backward-syntactic-ws, c-forward-token-1)
4220 (c-backward-token-1, c-in-literal, c-literal-limits)
4221 (c-collect-line-comments, c-literal-type, c-on-identifier)
4222 (c-guess-basic-syntax): These functions are now considered part
4223 of the "CC Mode API" and may be used by other code.
4224 That's signified by making their documentation into docstrings.
4225
4226 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
4227 Removed these internal functions since they aren't used.
4228
4229 (c-forward-to-cpp-expression): Classified this function as internal.
4230
4231 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4232
4233 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
4234 Simplified these regexps; the class keywords they contain
4235 ought to be enough to avoid false matches, so checking for
4236 following identifiers etc is just unnecessary (and might also
4237 fail for oddly formatted code).
4238
4239 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4240
4241 * progmodes/cc-engine.el, progmodes/cc-cmds.el
4242 (c-forward-comment-lc): New function that behaves like
4243 `c-forward-comment', with the exception that line
4244 continuations are treated as whitespace.
4245
4246 (c-beginning-of-statement): Use `c-forward-comment-lc', to
4247 work correctly in macros and other places where line
4248 continuations should be treated as whitespace.
4249
4250 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
4251 normal label in a switch block as a case label, to get
4252 consistent lineup with the case labels.
4253
4254 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4255 in skipping over a macro that ends with an empty line.
4256
4257 * progmodes/cc-styles.el: Require cc-align since styles added
4258 with `c-add-style' often contains references to functions
4259 defined there, and so the `c-valid-offset' check might
4260 otherwise complain on them.
4261
4262 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4263
4264 * progmodes/cc-align.el, progmodes/cc-mode.texi,
4265 progmodes/cc-vars.el: Added two new lineup functions:
4266
4267 (c-lineup-knr-region-comment): A new lineup function to get
4268 (what most people think is) better indentation of comments in
4269 the "K&R region" between the function header and its body.
4270
4271 (c-lineup-gcc-asm-reg): New lineup function for better
4272 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
4273
4274 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
4275 `c-lineup-knr-region-comment' in the default offset
4276 configuration, since these two functions have little impact
4277 outside their intended use, and they generally do the right
4278 thing when they kick in.
4279
4280 * progmodes/cc-engine.el (c-guess-continued-construct)
4281 (c-guess-basic-syntax): Handle nested functions in all
4282 languages, not just Pike. In C and C++ there's a gcc
4283 extension for this, and it also gives better treatment of
4284 macros that are followed by blocks.
4285
4286 * progmodes/cc-langs.el (c-symbol-key): Made this variable
4287 mode specific, to handle Pike special symbols like `== better.
4288
4289 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4290
4291 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4292 progmodes/cc-vars.el (c-report-syntactic-errors): A new
4293 variable to control the syntactic error messages. It defaults
4294 to off; since CC Mode ignores most syntactic errors it might
4295 as well ignore them all for the sake of consistency.
4296
4297 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4298
4299 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4300 Optimization. Can give a noticeable speedup if there's a
4301 large preceding function or class body.
4302
4303 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4304
4305 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
4306 efficient and correct insertion functions in many places.
4307 Always inherit text properties correctly if the text is
4308 permanent. Also do it for speed in temporary insertions,
4309 since I figure it's less work to continue the surrounding text
4310 properties than to break them.
4311
4312 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
4313 completion to make it easier to enter lists.
4314
4315 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4316
4317 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
4318 c-state-cache was clobbered.
4319
4320 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4321 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
4322 to dependency.
4323
4324 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4325
4326 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
4327 open parens in macros (if point isn't in the same one).
4328
4329 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4330
4331 * progmodes/cc-cmds.el (c-context-open-line): New function
4332 that is the `open-line' equivalent to `c-context-line-break'.
4333
4334 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
4335 for Emacs 21 since `indent-new-comment-line' has been changed
4336 to `comment-indent-new-line' there.
4337
4338 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4339
4340 * progmodes/cc-engine.el, progmodes/cc-langs.el
4341 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
4342 New variables containing the character sets used to recognize
4343 statement/declaration boundaries. These variables might help
4344 to support languages like javascript and awk, where newlines
4345 sometimes delimits statements.
4346
4347 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
4348 the set of statement delimiting characters, to allow it to be
4349 changed dynamically and per-mode.
4350
4351 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4352
4353 * progmodes/cc-engine.el (c-looking-at-bos)
4354 (c-looking-at-inexpr-block, c-add-stmt-syntax)
4355 (c-guess-basic-syntax): Treat blocks directly inside function
4356 calls like "bare" statements inside function calls, and not
4357 like in-expression statements. This to make indentation of
4358 such blocks consistent with other statements inside macro calls.
4359
4360 * progmodes/cc-engine.el (c-guess-basic-syntax):
4361 Made arglist-cont anchor correctly in arglists that contain statements.
4362
4363 * progmodes/cc-engine.el (c-guess-basic-syntax):
4364 Fixed consistent anchoring of defun-block-intro in defuns in code
4365 blocks (can only occur in Pike).
4366
4367 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
4368 (c-looking-at-inexpr-block-backward): Changed the arguments to
4369 require containing sexps and paren state, for better efficiency.
4370
4371 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4372
4373 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4374 progmodes/cc-vars.el: Improved anchoring of statement and
4375 handling of labels in front of substatements.
4376
4377 (c-guess-continued-construct, c-guess-basic-syntax):
4378 Improved and unified anchoring at statements. Statements beginning
4379 with comments or labels are now avoided, by going out of
4380 blocks and containing statements if necessary. This nesting
4381 handling also fixes the case when there's a statement after a
4382 block open brace. Added the syntactic symbol `substatement-label'.
4383
4384 (c-electric-colon): Map the new `substatement-label' to
4385 `label' when consulting `c-hanging-colons-alist'.
4386
4387 (c-offsets-alist): Added substatement-label. Updated the
4388 comments for the new anchoring positions at statements.
4389
4390 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
4391 anchor points for knr-argdecl-intro and access-label.
4392 They used to refer to some point on the same line, a bug which was
4393 neutralized by a kludge in `c-get-syntactic-indentation' which
4394 ignored such anchor points.
4395
4396 (c-get-syntactic-indentation): Removed the kludge that was
4397 necessary due to buggy anchor points.
4398
4399 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
4400 the absence of a comma before arglist-close (case 7A) in any
4401 language, since there's nothing better to do that case anyway.
4402 Added special case to make in-expression statements be
4403 recognized as normal arglist-cont if we're directly in a macro
4404 arglist, for consistency with other "bare" statements.
4405
4406 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
4407 limit arg for backward searches.
4408
4409 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4410 Anchor gcc in-expression statements at the surrounding open
4411 parenthesis. Treat a class body as an in-expression class if
4412 it's used in an object clone expression in Pike.
4413
4414 * progmodes/cc-engine.el (c-get-offset)
4415 (c-get-syntactic-indentation): Allow several anchor positions
4416 in the list of syntactic symbols. Only the first is used as
4417 the base for the offset calculation.
4418
4419 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4420
4421 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
4422 macro if inside one at the top level. Do not throw an error
4423 if used at the top level outside a macro.
4424
4425 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
4426 alignment only if the backslashes can't be aligned with
4427 surrounding backslashes.
4428
4429 * progmodes/cc-engine.el (c-end-of-macro): New function.
4430
4431 * progmodes/cc-engine.el (c-least-enclosing-brace):
4432 Rewritten to not be destructive.
4433
4434 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4435
4436 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
4437 line break when point is inside the content of it; if it's in
4438 the cpp keyword a normal line break is done.
4439
4440 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
4441 cpp-macro-cont inside the argument list to a #define.
4442
4443 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4444
4445 * progmodes/cc-defs.el (c-forward-comment): Implemented a
4446 kludge to avoid the problem most forward-comment incarnations
4447 have with `\' together with comment parsing.
4448
4449 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4450
4451 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
4452 which could cause the state returned by `c-parse-state' to
4453 lack a closed paren element. That in turn could result in
4454 very long searches, since it's common that they start from the
4455 last preceding close brace.
4456
4457 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4458
4459 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
4460 treat else-if as a single continuation, since that'd make it
4461 hard to get the right anchor point when there's a line break
4462 between the two keywords. This change causes else-clause to
4463 be anchored on the closest preceding else-if and not always on
4464 the starting if, but that doesn't affect the indentation for
4465 any reasonably sane style. Also introduced a noerror flag.
4466
4467 (c-beginning-of-closest-statement): Removed;
4468 c-beginning-of-statement-1 now avoids the problem this one solved.
4469
4470 * progmodes/cc-engine.el (c-guess-continued-construct)
4471 (c-guess-basic-syntax): Better and more uniform anchor points
4472 for 'statement-cont and 'substatement. The effect is
4473 noticeable mostly when there's a label on the same line as the
4474 beginning of the statement, or when there are more stuff
4475 before the start of the statement.
4476
4477 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4478 Added flag to disable looking at the type of the surrounding paren
4479 since that confuses c-beginning-of-statement-1 and a couple of
4480 other places.
4481
4482 * progmodes/cc-engine.el (c-guess-basic-syntax):
4483 Avoid stepping to the previous statement in case 18.
4484 Improvements in recognition of statement blocks on the top level.
4485
4486 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4487
4488 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4489 (c-crosses-statement-barrier-p): Rewritten to get a well
4490 defined and documented behavior. This fixes some tricky cases
4491 in recognition of do-while constructs.
4492
4493 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4494 Removed; use c-beginning-of-statement-1 instead.
4495
4496 (c-guess-continued-construct, c-guess-basic-syntax):
4497 Various fixes to not depend on the bugs previously in
4498 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
4499 use the new behavior of c-beginning-of-statement-1 better.
4500 Fixed recognition of catch blocks inside macros.
4501
4502 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4503 in skipping over a macro.
4504
4505 * progmodes/cc-langs.el (c-label-kwds): New variable to
4506 contain the appropriate c-*-label-kwds value.
4507
4508 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
4509 evaluation bug that caused the widget for
4510 c-block-comment-prefix to bug out.
4511
4512 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4513
4514 * progmodes/cc-engine.el (c-guess-basic-syntax):
4515 Improved recognition of statements: They are now recognized in
4516 contexts where they normally can't occur, e.g. on the top level or
4517 in function call arguments. This is mainly useful to recognize
4518 statements in macros at the top level, and in arguments to
4519 macros. The cases has been moved around quite a bit, and case
4520 10 has been copied to case 18. (The cases has not been
4521 renumbered because of this.)
4522
4523 (c-guess-continued-construct): New function which has the
4524 rules which are common between cases 10 and 18.
4525
4526 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4527 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4528 Fixes so that they really obey the passed limits.
4529
4530 (c-safe-position): Return nil if the state doesn't contain a
4531 suitable position.
4532
4533 (c-guess-basic-syntax): Fixes some too short limits in calls
4534 to c-beginning-of-statement-1. Some fixes for top level
4535 analysis in ObjC mode.
4536
4537 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4538 Fixed bug in do-while statements where the body is not a block.
4539
4540 * progmodes/cc-styles.el (c-set-style):
4541 Reset c-special-indent-hook to its global value if in override mode.
4542 Fixes problem where functions on that hook remained after
4543 style switch.
4544
4545 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
4546 Use c-benign-error to report the c-strict-syntax-p error.
4547
4548 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4549
4550 * progmodes/cc-align.el, progmodes/cc-defs.el,
4551 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
4552 Several fixes to treat macros as code and not literals and to
4553 handle line continuations transparently.
4554
4555 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
4556 through whitespace and line continuations, but not comments
4557 and macros.
4558
4559 (c-in-literal): No longer recognizes macros as literals by
4560 default. An extra flag argument is required to do that.
4561
4562 (c-macro-start, c-query-macro-start)
4563 (c-query-and-set-macro-start): Added a cache for the macro
4564 start position.
4565
4566 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
4567 more speed when limits are given. Workaround for bad behavior
4568 in forward-comment in some emacsen when it hits a buffer limit
4569 with a large repeat count.
4570
4571 (c-lineup-macro-cont): Improved behavior when
4572 c-syntactic-indentation-in-macros is nil.
4573
4574 (c-syntactic-indentation-in-macros, c-backslash-max-column)
4575 (c-auto-align-backslashes): New customization variables to
4576 control macro handling.
4577
4578 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4579 Fixes to handle line continuations.
4580
4581 * progmodes/cc-defs.el, progmodes/cc-styles.el
4582 (c-get-style-variables, c-set-offset): Report style errors
4583 with message and ding instead of error signal. This to avoid
4584 interrupted mode init if there's some style problem.
4585
4586 (c-benign-error): New macro to report errors that doesn't need
4587 to interrupt the operation.
4588
4589 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
4590
4591 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4592
4593 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
4594 Removed most of the c-state-cache fiddling, since the global
4595 state cache now handles this.
4596
4597 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4598 when there's an open paren at the very first char of the
4599 visible buffer region.
4600
4601 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
4602 Cache the state globally and invalidate it below every buffer
4603 change with the new after change function
4604 `c-check-state-cache'. This gives a considerable performance
4605 boost when editing large functions or classes.
4606
4607 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
4608
4609 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4610
4611 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4612 progmodes/cc-align.el: Improvements to syntactic analysis
4613 inside macros:
4614
4615 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
4616 by `c-guess-basic-syntax'.
4617
4618 (c-parse-state): Fixed bug with braces inside macros when
4619 using cached state info.
4620
4621 (c-forward-to-cpp-expression): New function to aid in
4622 syntactic analysis inside macros.
4623
4624 (c-beginning-of-statement-1, c-backward-syntactic-ws):
4625 Fixes to work better inside macros.
4626
4627 (c-forward-syntactic-ws): Whitespace between the # and the
4628 command should be allowed in preprocessor directives.
4629
4630 (c-lineup-macro-cont): New lineup function to get context
4631 sensitive indentation inside macros.
4632
4633 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
4634 cpp-macro-cont.
4635
4636 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4637
4638 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4639 (c-forward-syntactic-ws): Fixes to handle continued lines.
4640
4641 (c-backward-to-start-of-if, c-guess-basic-syntax):
4642 Do syntactic analysis inside macros.
4643
4644 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4645
4646 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
4647 possible by the more flexible state cache.
4648
4649 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
4650 (c-whack-state-after, c-hack-state)
4651 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
4652 Improved the state cache system. It now can use partial info from
4653 an old cached state to calculate a new one at a different
4654 position. Removed some kludges to avoid the state cache.
4655 The new functions `c-whack-state-before' and `c-whack-state-after'
4656 replace the now obsolete `c-whack-state'.
4657
4658 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4659 Optimized backing through a macro. This can speed things up
4660 quite a bit when there are long macros before point.
4661
4662 (c-beginning-of-macro): Do not ignore the limit.
4663
4664 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4665
4666 * progmodes/cc-cmds.el (c-electric-continued-statement):
4667 Fixed a bug where the keyword wasn't reindented correctly if
4668 followed by another keyword or identifier.
4669
4670 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
4671 pairs that are in macros. Fixes some cases where e.g. the
4672 second of two "do { } while (0)" macros after each other
4673 indented differently.
4674
4675 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4676
4677 * progmodes/cc-engine.el (c-beginning-of-macro)
4678 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
4679 directive when it begins a line, to allow for script
4680 interpreter lines like "#!/usr/bin/pike" at the beginning of
4681 the file.
4682
4683 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4684
4685 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4686 Recognize brace blocks inside a parenthesis expression as
4687 inexpr-statement. Useful when writing statements as macro arguments.
4688
4689 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4690
4691 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
4692 (c-mask-comment): Broke out the comment masking code from
4693 `c-fill-paragraph' to a new function `c-mask-comment', to be
4694 able to do the same thing in `c-do-auto-fill'. This should
4695 make auto-fill-mode behave better.
4696
4697 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4698
4699 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
4700 Check `executing-macro' to avoid blinking parens when macros
4701 are executed.
4702
4703 * progmodes/cc-mode.el, progmodes/cc-styles.el
4704 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
4705 consistency with `c-setup-paragraph-variables' (which was
4706 placed there due to the dependency from `c-set-style').
4707
4708 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
4709 incomplete initialization from the style variable fallbacks if
4710 there already is a style called "user" defined when CC Mode
4711 starts up for the first time.
4712
4713 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4714
4715 * progmodes/cc-cmds.el, progmodes/cc-vars.el
4716 (c-comment-indent, c-indent-comment-alist): Added new variable
4717 `c-indent-comment-alist' to allow better control over
4718 `c-comment-indent'.
4719
4720 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4721
4722 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
4723 both `comment-start-skip' and the comment prefix on the
4724 current line with the comment starter, so that we line up
4725 comments which matches `c-comment-prefix-regexp' on the first
4726 line (after the `/') without the need to make
4727 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
4728
4729 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
4730 (c-set-style-1, c-setup-paragraph-variables): Moved the
4731 variable initialization based on `c-comment-prefix-regexp' to
4732 a new function `c-setup-paragraph-variables', which is now
4733 used both at mode init and when a style that sets
4734 `c-comment-prefix-regexp' is activated.
4735
4736 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4737
4738 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
4739 Better handling of C++ template args to avoid confusion with
4740 `<' and `>' used as operators in member init expressions.
4741
4742 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4743
4744 * progmodes/cc-engine.el (c-most-enclosing-brace)
4745 (c-least-enclosing-brace): Added optional second arg to limit
4746 the search to before a certain point.
4747
4748 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4749 which could cause incorrect analysis if a cached state is used
4750 (usually only happens when an electric key reindents a line).
4751
4752 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4753
4754 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
4755 insulation. This time for XEmacs 21.
4756
4757 * progmodes/cc-engine.el, progmodes/cc-langs.el:
4758 Improved handling of inheritance lists:
4759
4760 (c-beginning-of-inheritance-list): Rewritten to use a more
4761 syntactically correct method that doesn't get confused by
4762 badly placed linebreaks and comments.
4763
4764 (c-guess-basic-syntax): Several fixes to the handling of
4765 inheritance lists in combination with templates. 'inher-intro
4766 is now anchored on the start of the class declaration and not
4767 the indentation of the current line. Switched places on cases
4768 5D.3 and 5D.4 and made them use more syntactically correct methods.
4769
4770 (c-inher-key): Removed since the code in
4771 `c-guess-basic-syntax' now uses token-based search.
4772
4773 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
4774 Added a submenu to access some toggles.
4775
4776 (c-toggle-syntactic-indentation): New function to toggle the
4777 variable `c-syntactic-indentation'.
4778
4779 * progmodes/cc-styles.el (c-set-style): Improved the error
4780 message for incorrect offsets a bit.
4781
4782 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4783
4784 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
4785 sexp follows point immediately, instead find the closest
4786 following open paren that ends on another line.
4787
4788 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4789
4790 * progmodes/cc-align.el (c-lineup-cascaded-calls):
4791 New indentation function.
4792
4793 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
4794 directives with whitespace between the '#' and the name.
4795
4796 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4797
4798 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4799 (c-backward-syntactic-ws): Handle line continuations as
4800 whitespace. Don't move past a macro if that'd take us past
4801 the limit.
4802
4803 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4804
4805 * progmodes/cc-engine.el (c-beginning-of-macro)
4806 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
4807 Pike, and that shouldn't be confused with a preprocessor directive.
4808
4809 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4810
4811 * progmodes/cc-cmds.el: Extended the kludge to interoperate
4812 with the delsel and pending-del packages wrt to the new
4813 function `c-electric-delete-forward'.
4814
4815 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4816
4817 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
4818 the block itself, i.e. only indent the contents in it.
4819
4820 * progmodes/cc-styles.el (c-set-style): Use the default
4821 argument to completing-read instead of initial-contents, if
4822 the function is recent enough to support it.
4823
4824 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4825
4826 * progmodes/cc-mode.el (c-mode-help-address):
4827 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
4828 I've almost never seen a bug reported this way that should go
4829 to that list, but it's rather common that the reports concern
4830 the combination CC Mode and XEmacs instead.
4831
4832 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4833
4834 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
4835 brace-elseif-brace and brace-catch-brace are active and
4836 there's a "else if"-block before the catch block.
4837
4838 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4839 Detect function headers that span lines.
4840
4841 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4842
4843 * progmodes/cc-cmds.el (c-electric-brace)
4844 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
4845 Check for last on line only for doing the auto-newline-mode
4846 stuff, not for the reindentation.
4847
4848 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
4849 handling of c-syntactic-indentation: When it's nil, indent the
4850 new lines but don't reindent the current one. Reindent the
4851 line only when the inserted brace comes first on it, instead
4852 of last.
4853
4854 * progmodes/cc-cmds.el (c-electric-brace)
4855 (c-electric-semi&comma): Fixed two places where
4856 c-syntactic-indentation wasn't heeded.
4857
4858 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
4859 inside a macro.
4860
4861 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
4862 little harder to find a fallback position when an orphan else
4863 is found. Fixed case where an else following a do-while
4864 statement could be associated with an if inside the do-while.
4865
4866 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4867
4868 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
4869 for the fallback to add a single space after the comment prefix.
4870
4871 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
4872 behavior in some special cases, especially for single-line comments.
4873 Avoid breaking up a comment starter or ender.
4874
4875 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4876
4877 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
4878 the Emacs sources to make this work in invisible text.
4879
4880 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
4881 not be confused by a later ':' on the same line as the label.
4882
4883 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4884
4885 * progmodes/cc-cmds.el, progmodes/cc-mode.el
4886 (c-electric-delete, c-electric-delete-forward):
4887 Split `c-electric-delete' into two functions where
4888 `c-electric-delete-forward' always deletes forward and
4889 `c-electric-delete' only contains the code necessary for
4890 XEmacs to choose between backward and forward deletion.
4891 `c-electric-delete-forward' is now bound to C-d to get the
4892 electric behavior on that key too.
4893
4894 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4895
4896 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
4897 use of c-comment-prefix-regexp, which caused an error when
4898 it's a list.
4899
4900 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4901
4902 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
4903 (c-default-style): Removed the hardcoded switch to "java" style
4904 in Java mode. It's instead taken care of by the default value
4905 for c-default-style.
4906
4907 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4908
4909 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
4910 was triggered by equal signs in string literals.
4911
4912 2002-04-21 Kim F. Storm <storm@cua.dk>
4913
4914 * subr.el (insert-buffer-substring-no-properties): New function.
4915 (insert-buffer-substring-as-yank): New function.
4916
4917 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
4918
4919 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
4920 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
4921 prefix from scroll commands. Ignore end-of-buffer errors from
4922 other windows.
4923 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
4924 commands.
4925 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
4926 New functions.
4927
4928 * files.el: (auto-mode-alist): .f95 files in f90-mode.
4929
4930 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
4931 a DO statement irrespective of numeric label.
4932
4933 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
4934
4935 * files.el (auto-save-file-name-transforms): Doc fix.
4936 Add third element to "uniquify" filenames.
4937 (make-auto-save-file-name): Use new element of
4938 auto-save-file-name-transforms.
4939 * startup.el (command-line): Add third element to
4940 auto-save-file-name-transforms.
4941
4942 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
4943
4944 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
4945 return value of file-name-completion and file-name-all-completions.
4946
4947 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
4948
4949 * progmodes/f90.el: Update maintainer.
4950 (f90-line-continued): Recognize blank/comment lines embedded in
4951 continuation lines.
4952 (f90-looking-at-program-block-start): No extra indentation after
4953 function or subroutine keyword appears in single quotes.
4954
4955 2002-04-19 Miles Bader <miles@gnu.org>
4956
4957 * custom.el (customize-mark-to-save, customize-mark-as-set)
4958 (custom-quote): Moved here from `cus-edit.el'.
4959 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
4960 (custom-quote): Moved to `custom.el'.
4961
4962 2002-04-18 Richard M. Stallman <rms@gnu.org>
4963
4964 * facemenu.el (list-text-properties-at): Command deleted.
4965
4966 * rect.el (insert-rectangle): Use insert-for-yank.
4967
4968 * register.el (insert-register): Use insert-for-yank.
4969 (describe-register-1): Discard text props in yank-excluded-properties.
4970
4971 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
4972 Fix parts in construction of `menu-item' item at end.
4973
4974 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
4975
4976 * subr.el (insert-for-yank): New function.
4977
4978 * simple.el (yank-excluded-properties): New user option.
4979 (yank-pop, yank): Use insert-for-yank.
4980
4981 2002-04-19 Kim F. Storm <storm@cua.dk>
4982
4983 * simple.el (pop-to-mark-command): Do not set this-command.
4984 (set-mark-command): Always jump to mark when called with arg.
4985
4986 2002-04-18 Francesco Potorti` <pot@gnu.org>
4987
4988 * comint.el (comint-watch-for-password-prompt): Remove whitespace
4989 at the beginning of password prompts.
4990
4991 2002-04-18 Andrew Innes <andrewi@gnu.org>
4992
4993 * facemenu.el: Remove require of wid-edit.
4994
4995 2002-04-17 Colin Walters <walters@verbum.org>
4996
4997 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
4998 one window.
4999 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
5000 (ibuffer-current-state-list): Reinstate optional argument; now
5001 just call `point' inside the mapping function.
5002
5003 2002-04-17 Francesco Potorti` <pot@gnu.org>
5004
5005 * dired-aux.el (dired-star-subst-regexp)
5006 (dired-quark-subst-regexp): New constants.
5007 (dired-do-shell-command, dired-shell-stuff-it): Use them.
5008 (dired-do-shell-command): Raise an error if both `*' and `?'
5009 substitution marks are used in the same command.
5010 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
5011 in a command given via dired-do-shell-command.
5012
5013 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
5014
5015 2002-04-16 Jason Rumney <jasonr@gnu.org>
5016
5017 * international/mule-cmds.el (locale-preferred-coding-systems):
5018 Add "jpn".
5019
5020 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
5021
5022 * term.el (term-emulate-terminal): Fix last change.
5023
5024 2002-04-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5025
5026 * bindings.el (mode-line-mode-menu): Update names to reflect
5027 latest changes.
5028
5029 2002-04-16 Mike Williams <mdub@bigfoot.com>
5030
5031 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
5032 compilation error.
5033
5034 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
5035
5036 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
5037 (viper-ex-print-buf-name): New variable.
5038 (viper-ex-print-buf): New variable.
5039 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
5040 (ex-g-marks): New variable.
5041 (ex-print): New function.
5042 (ex-print-display-lines): New function.
5043
5044 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
5045 the cursor color.
5046
5047 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
5048 when the window is not in its own frame.
5049 (ediff-clone-buffer-for-region-comparison): More robust window
5050 arrangement while prompting for regions to compare.
5051 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
5052 (ediff-inferior-compare-regions): Deleted unused vars
5053 ctl-buf and quit-now.
5054
5055 2002-04-15 Richard M. Stallman <rms@gnu.org>
5056
5057 * facemenu.el (facemenu-add-new-face): Use this only for faces.
5058 Delete arg MENU.
5059 (facemenu-add-new-color): New function.
5060 (facemenu-set-foreground, facemenu-set-background):
5061 Use facemenu-add-new-color.
5062
5063 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
5064
5065 * ediff-init.el (ediff-current-diff-face-A)
5066 (ediff-current-diff-face-B, ediff-current-diff-face-C)
5067 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
5068 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
5069 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
5070 (ediff-even-diff-face-B, ediff-even-diff-face-C)
5071 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
5072 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
5073 (ediff-odd-diff-face-Ancestor): Add special color definitions for
5074 tty and MS-DOS displays.
5075
5076 2002-04-15 Andrew Innes <andrewi@gnu.org>
5077
5078 * facemenu.el: Require wid-edit.
5079
5080 2002-04-15 Miles Bader <miles@gnu.org>
5081
5082 * faces.el (highlight): Force foreground to be black on a tty, so
5083 this face is readable on a dark-background tty.
5084 * wid-edit.el (widget-field-face, widget-single-line-field-face):
5085 Likewise.
5086
5087 2002-04-14 Kim F. Storm <storm@cua.dk>
5088
5089 * simple.el (pop-to-mark-command, push-mark-command): New commands.
5090 (set-mark-command): Use them.
5091 Enhanced functionality when command is repeated:
5092 - If first command set the mark (no prefix arg), repeat temporarily
5093 enables transient-mark-mode.
5094 - If first command jumped to mark off ring (with argument),
5095 repeat (with or without arg) jump to next mark off ring.
5096 - Use C-u C-u prefix to set mark after jump.
5097 (exchange-point-and-mark): Temporarily enable transient-mark-mode
5098 if prefix arg.
5099
5100 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5101
5102 * speedbar.el (speedbar-tag-hierarchy-method)
5103 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
5104
5105 2002-04-14 Mike Williams <mdub@bigfoot.com>
5106
5107 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
5108 beginning of buffer.
5109
5110 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5111
5112 * speedbar.el (speedbar-generic-item-info)
5113 (speedbar-sort-tags): Doc fix.
5114 (speedbar-add-supported-extension): Fix typo in interactive spec.
5115
5116 2002-04-13 Colin Walters <walters@verbum.org>
5117
5118 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
5119 only moving one line forward.
5120 (ibuffer-map-lines): Preserve point position even if we delete
5121 lines. Only call mapping functions with buffer and mark
5122 arguments; the other two were unused.
5123 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
5124
5125 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
5126
5127 * calc/calc-bin.el (math-format-radix-float): Use `when'.
5128
5129 * calc/calc.el (math-format-number): Load `calc-ext' before we
5130 call `math-group-float'.
5131
5132 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5133 Renamed from `gamegrid-add-score'.
5134 (gamegrid-add-score-insecure): Restored from the old
5135 `gamegrid-add-score'.
5136 (gamegrid-add-score): Just dispatch on `system-type' to one of the
5137 previous two functions.
5138
5139 2002-04-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5140
5141 * iswitchb.el: Update commentary to include new function
5142 iswitchb-exclude-nonmatching.
5143
5144 2002-04-12 John Wiegley <johnw@gnu.org>
5145
5146 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
5147 operating systems to the regexp used to detect a script's interpreter.
5148
5149 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
5150
5151 * frame.el (frames-on-display-list): Use `equal' to compare the
5152 `display' frame parameter to the argument DISPLAY.
5153
5154 2002-04-12 Dave Love <fx@gnu.org>
5155
5156 * help.el (string-key-binding): Deal with margin events.
5157
5158 2002-04-12 Francesco Potorti` <pot@gnu.org>
5159
5160 * comint.el (comint-password-prompt-regexp): Match " SMB password".
5161
5162 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5163
5164 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
5165
5166 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
5167
5168 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
5169 (buffer-syntactic-context-depth): New funs.
5170
5171 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
5172 on variables.
5173
5174 * emacs-lisp/debug.el (debug-on-entry): Use push.
5175 (debugger-make-xrefs): Don't assume point-min == 1.
5176
5177 * progmodes/cc-engine.el (c-backward-to-start-of-if):
5178 Don't assume point-min == 1.
5179
5180 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
5181 (etags-list-tags, etags-tags-apropos, select-tags-table):
5182 Don't assume point-min == 1.
5183
5184 2002-04-12 Mike Williams <mdub@bigfoot.com>
5185
5186 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
5187
5188 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5189
5190 * textmodes/fill.el (fill-context-prefix): Fix up last change.
5191
5192 * simple.el (line-move): Use memq rather than or.
5193 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
5194 (do-auto-fill): Use fill-move-to-break-point.
5195 (syntax-code-table): Remove.
5196
5197 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
5198 Don't add spaces at end of sentences at end of line.
5199 (fill-move-to-break-point): Make sure the result is always greater
5200 than linebeg, so we ensure forward progress.
5201 (fill-region-as-paragraph): Compare to `to' rather than eobp.
5202 (fill-paragraph): Don't rebind fill-paragraph-function.
5203
5204 2002-04-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5205
5206 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
5207
5208 2002-04-11 Andreas Schwab <schwab@suse.de>
5209
5210 * files.el (file-name-non-special): Handle return value of t from
5211 `file-name-completion'.
5212
5213 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
5214
5215 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
5216 differently to avoid pathological exponential-time case.
5217 (adaptive-fill-regexp): Add ! and %.
5218 (fill-delete-prefix): Remove indentation while removing prefix.
5219 (fill-delete-newlines): Obey sentence-end.
5220 (fill-move-to-break-point, fill-newline): New functions extracted
5221 from fill-region-as-paragraph.
5222 (fill-region-as-paragraph): Use them.
5223 Don't fiddle with fill-indent-according-to-mode.
5224
5225 2002-04-10 Colin Walters <walters@verbum.org>
5226
5227 * play/snake.el (snake-score-file): Default to just "snake-scores".
5228
5229 * play/tetris.el (tetris-score-file): Likewise.
5230
5231 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
5232 use `update-game-score'.
5233
5234 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
5235 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
5236 ourselves; take it as an argument. Caller updated.
5237 (ibuffer-mode): Make mode-class special.
5238
5239 2002-04-10 Richard M. Stallman <rms@gnu.org>
5240
5241 * dired.el (dired-view-command-alist): New variable.
5242 (dired-view-file): Use external viewers for some files names.
5243
5244 * mouse.el (mouse-drag-region-1): Display region highlight
5245 only in the selected window.
5246
5247 * subr.el (remove-hook): When there are no more local hooks,
5248 kill the buffer-local value.
5249
5250 * isearch.el (isearch-mode): Don't call make-frame-visible
5251 if frame is already visible.
5252
5253 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
5254
5255 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
5256
5257 * progmodes/ada-prj.el: Add support for the new project file
5258 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
5259 Fix widget handling for Emacs 21. ada-mode now only supports a single
5260 active project file, instead of one per buffer. This is far less
5261 confusing.
5262
5263 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
5264 (ada-func-or-proc-name): Get real subprogram name, after change in
5265 ada-mode.el.
5266
5267 * progmodes/ada-xref.el: Ada-mode no longer supports a different
5268 project file per buffer. This was too complex. Instead, there is
5269 now a single active project file at any given time, and the user
5270 can switch the active one through the Ada menu. This revision
5271 also provides better handling of the Windows command line, and the
5272 various available shells on that platform. ada-mode is now fully
5273 integrated with the GNU visual debugger gvd, see
5274 http://libre.act-europe.fr.
5275 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
5276 This is only available with GNAT 3.14.
5277 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
5278 (ada-quote-cmd): New function.
5279 (ada-initialize-runtime-library): Get the location of the actual
5280 runtime the compiler will be using, including support for
5281 cross-platform environments.
5282 (ada-treat-cmd-string): Add support for the new variable
5283 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
5284 two commands to run just prior to running the debugger, and just
5285 after starting it. This provide better support for cross-platform
5286 and remote debugging.
5287 (ada-get-absolute-dir): Remove, replace with expand-file-name.
5288 (ada-gdb-application): New parameter executable-name.
5289 (ada-get-ali-file-name): Better handling of separate packages.
5290 Checkin on behalf of the ada-mode maintainer.
5291
5292 * progmodes/ada-mode.el (ada-case-exception-file)
5293 (ada-indent-handle-comment-special): New variables.
5294 (ada-case-exception-substring): New variable. Casing exceptions
5295 can now also be defined for substrings, in addition to full
5296 identifier names. This provides more flexibility.
5297 (ada-align-list): New fun, provide support for align.el in ada-mode.
5298 (ada-procedure-start-regexp): Add support for operators and
5299 generic formal subprograms and packages.
5300 (ada-imenu-comment-re): New variable.
5301 (ada-imenu-generic-expression): Add support for protected types.
5302 (ada-mode): Set comment-start only after running ada-mode-hook, so
5303 that the user can change ada-comment-start in the hook.
5304 Add support for ispell in comments. Add support for align.el.
5305 (ada-save-exception-file, ada-create-case-exception-substring)
5306 (ada-adjust-case-substring): New functions.
5307 (ada-get-current-indent): Properly handles keywords with uppercases.
5308 (ada-goto-matching-end): Rewritten, fixes problems in the handling
5309 of nested blocks.
5310 (ada-untab-hard): Do not touch the contents of comments and strings.
5311
5312 2002-04-09 Mike Williams <mdub@bigfoot.com>
5313
5314 * textmodes/sgml-mode.el (sgml-lexical-context):
5315 Use sgml-parse-tag-backward to find start point.
5316 (sgml-looking-back-at): Doc fix.
5317
5318 2002-04-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5319
5320 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
5321 for prompt.
5322
5323 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
5324
5325 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
5326 Use define-minor-mode.
5327 (auto-revert-buffers): Use with-current-buffer.
5328 Avoid changing the minor modes.
5329
5330 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
5331 rather than char-to-string since last-input-char can be any event.
5332
5333 * international/titdic-cnv.el (tit-dictionary):
5334 Use defvar for non-constants.
5335
5336 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
5337 (global-cwarn-mode): Use easy-mmode-define-global-mode.
5338 (cwarn-font-lock-keywords): New function.
5339 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
5340 (cwarn-font-lock-match): New macro.
5341 (cwarn-font-lock-match-assignment-in-expression)
5342 (cwarn-font-lock-match-dangerous-semicolon)
5343 (cwarn-font-lock-match-reference): Use it.
5344
5345 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
5346 Use defvar rather than defconst since it's meant to be settable.
5347 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
5348 (cperl-fix-line-spacing): Add missing \ in [ t].
5349
5350 * loadup.el: Call ucs-unify-8859 directly rather than
5351 unify-8859-on-encoding-mode.
5352 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
5353
5354 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
5355 (sgml-mode): Use it for comment-line-break-function.
5356
5357 2002-04-08 Jason Rumney <jasonr@gnu.org>
5358
5359 * international/mule-cmds.el (reset-language-environment):
5360 Handle coding-systems not being defined yet.
5361
5362 2002-04-08 Sam Steingold <sds@gnu.org>
5363
5364 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
5365 (vc-cvs-checkin): Use it.
5366
5367 2002-04-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5368
5369 * files.el (display-time-string): Fix last change.
5370
5371 2002-04-07 Sam Steingold <sds@gnu.org>
5372
5373 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
5374
5375 2002-04-07 Jason Rumney <jasonr@gnu.org>
5376
5377 * international/mule-cmds.el (set-default-coding-systems)
5378 (reset-language-environment): Preserve eols on
5379 default-process-coding-system.
5380 (coding-system-change-text-conversion): Fix case where CODING is nil.
5381
5382 2002-04-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5383
5384 * subr.el (play-sound): Move here from simple.el.
5385
5386 * simple.el (play-sound): Move to subr.el.
5387
5388 2002-04-06 Richard M. Stallman <rms@gnu.org>
5389
5390 * files.el (display-time-string-forms): Mark as risky.
5391
5392 * enriched.el (enriched-decode-foreground, enriched-decode-background):
5393 Use proper format for desired elts of `face' property.
5394 Don't test display-color-p; make the properties unconditionally.
5395
5396 * progmodes/compile.el (compilation-error-regexp-alist):
5397 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
5398
5399 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
5400
5401 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
5402 for customization type.
5403 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
5404
5405 2002-04-06 Mike Williams <mdub@bigfoot.com>
5406
5407 * textmodes/xml-lite.el: Remove.
5408
5409 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5410
5411 * simple.el (play-sound): New function (uses play-sound-internal).
5412
5413 2002-04-04 Richard M. Stallman <rms@gnu.org>
5414
5415 * files.el (mode-line-format, mode-line-modified)
5416 (mode-line-mule-info, mode-line-buffer-identification)
5417 (mode-line-modes, mode-line-position): Explicitly mark as risky.
5418 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
5419
5420 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
5421
5422 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
5423 Use (syntax-table), not old-syntax-table.
5424
5425 * enriched.el (enriched-decode-foreground)
5426 (enriched-decode-background): Don't call facemenu-get-face.
5427
5428 2002-04-04 Mike Williams <mdub@bigfoot.com>
5429
5430 * textmodes/sgml-mode.el: Add missing require.
5431 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
5432
5433 2002-04-03 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5434
5435 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
5436 spot indicated by text property `cvs-goal-column', if present.
5437
5438 * pcvs-info.el (cvs-fileinfo-pp): Use text property
5439 `cvs-goal-column' to indicate position of file name (if present).
5440
5441 2002-04-03 Richard M. Stallman <rms@gnu.org>
5442
5443 * mail/mailabbrev.el (mail-abbrev-complete-alias):
5444 Call mail-abbrev-make-syntax-table.
5445
5446 * format.el (format-deannotate-region): Doc fix.
5447
5448 * enriched.el (enriched-face-ans): Delete special treatment
5449 for fg:... and bg:... faces.
5450 (enriched-decode-foreground): Return a list that specifies
5451 the foreground color, rather than creating a face.
5452 (enriched-decode-background): Likewise.
5453
5454 * shell.el (shell-mode): Don't reinit comint-input-ring
5455 if that was already done.
5456
5457 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
5458
5459 * solar.el (solar-spring-or-summer-season): Delete.
5460 (solar-northern-spring-or-summer-season): New variable.
5461 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
5462 Rewrite.
5463
5464 * solar.el (diary-sabbath-candles-minutes): New variable.
5465 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
5466
5467 * calendar.el (update-calendar-mode-line): Force mode-line update.
5468 Make date under the cursor available as `date' in
5469 calendar-mode-line-format.
5470 Eval items in calendar-mode-line-format list.
5471
5472 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
5473 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
5474
5475 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
5476
5477 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
5478 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
5479 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5480 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
5481
5482 * cal-tex.el: Change all instances (interactive "P") to
5483 (interactive "p").
5484 (cal-tex-cursor-month): Add hfill and newline at end of month that
5485 ended on Saturday.
5486 (cal-tex-preamble): Change to LaTeX2e.
5487 (cal-tex-cursor-filofax-year): Don't use default month names in
5488 LaTeX macros in case user changes them.
5489 (cal-tex-month-name): New function. Used throughout in case user
5490 has done something funny with month names.
5491
5492 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
5493 (diary-rosh-hodesh): Spelling correction.
5494
5495 2002-04-03 Mike Williams <mdub@bigfoot.com>
5496
5497 * textmodes/sgml-mode.el (sgml-lexical-context)
5498 (sgml-parse-tag-backward): Extend support for CDATA to include
5499 conditional sections.
5500
5501 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5502
5503 * cus-start.el: Rename `autoselect-window' to
5504 `mouse-autoselect-window'.
5505
5506 2002-04-02 Richard M. Stallman <rms@gnu.org>
5507
5508 * files.el (hack-one-local-variable):
5509 Clear text props from string value.
5510
5511 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
5512
5513 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5514 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
5515 Use regexp-opt.
5516 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
5517 from F95.
5518 (f90-procedures-re): Add `null' and `cpu_time' from F95.
5519 (f90-font-lock-keywords-1): Minor reorganization so we don't need
5520 `override' any more.
5521 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
5522 (f90-indent-subprogram): Use indent-region.
5523 (f90-break-line): Use indent-according-to-mode.
5524
5525 2002-04-02 Mike Williams <mdub@bigfoot.com>
5526
5527 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
5528 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
5529 (sgml-get-context): Remove use of sgml-inside-tag-p.
5530 (sgml-inside-tag-p): Remove.
5531 (sgml-looking-back-at): Short-circuit at beg of buffer.
5532 (sgml-lexical-context, sgml-calculate-indent): Add support for
5533 CDATA sections.
5534
5535 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
5536
5537 * help.el (help-key-description): New fun.
5538 (describe-key-briefly, describe-key): Use it and
5539 this-single-command-raw-keys plus new arg `untranslated'.
5540
5541 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
5542 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
5543 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
5544 (sgml-insert-end-tag): New funs taken from xml-lite.el.
5545 (sgml-calculate-indent): Use them.
5546 (sgml-slash-matching): Rename from sgml-slash.
5547 (sgml-slash): Copied from xml-lite and changed to use
5548 sgml-slash-matching and sgml-quick-keys.
5549
5550 * international/mule-cmds.el (standard-keyboard-coding-systems):
5551 Add koi8-u and koi8-r.
5552
5553 * eshell/.cvsignore: New file.
5554
5555 * eshell/esh-groups.el: Remove.
5556
5557 * progmodes/tcl.el: Change maintainer.
5558 (tcl-electric-hash-style): Change default to nil.
5559 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
5560 (tcl-do-auto-fill): Remove.
5561 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
5562
5563 2002-04-01 Mike Williams <mdub@bigfoot.com>
5564
5565 * textmodes/sgml-mode.el: Doc fixes.
5566 (sgml-mode): Set indent-line-function to sgml-indent-line.
5567 (sgml-calculate-indent): Add an explicit check for 'text syntax,
5568 to protect against future enhancements to sgml-lexical-context.
5569 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
5570
5571 * textmodes/xml-lite.el: Removed much redundant stuff.
5572 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
5573 always start within text. Make use of sgml-unclosed-tag-p.
5574
5575 2002-04-01 Ville Skytt\e,Ad\e(B <ville.skytta@xemacs.org>
5576
5577 * tcl.el (tcl-imenu-generic-expression): New value.
5578 (tcl-imenu-create-index-function): Function deleted.
5579 (tcl-mode): Check for filladapt-mode.
5580 Use tcl-imenu-generic-expression instead of
5581 tcl-imenu-create-index-function.
5582 (inferior-tcl-mode): Doc fix.
5583 Change not legally significant.
5584
5585 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5586
5587 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
5588
5589 * window.el (handle-select-window): New function.
5590 Update copyright.
5591
5592 2002-04-01 Richard M. Stallman <rms@gnu.org>
5593
5594 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
5595
5596 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
5597 tool-bar-add-item, and new arg MAP.
5598 (tool-bar-add-item): Now calls tool-bar-local-item.
5599 (tool-bar-local-item-from-menu): Renamed from
5600 tool-bar-add-item-from-menu, and new arg IN-MAP.
5601 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
5602
5603 * help-fns.el (help-with-tutorial): Allow various ways
5604 to specify the text in the [...] line, in handling the <...> line.
5605
5606 * progmodes/idlw-rinfo.el (idlwave-system-routines):
5607 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
5608
5609 * subr.el (redraw-modeline): Define alias.
5610
5611 2002-03-31 Richard M. Stallman <rms@gnu.org>
5612
5613 * files.el (file-expand-wildcards): Use save-match-data.
5614
5615 * files.el (format-alist): Mark as risky.
5616
5617 * simple.el (kill-new): Doc fix.
5618
5619 * emacs-lisp/byte-opt.el (side-effect-free-fns)
5620 (side-effect-and-error-free-fns): Add many functions, remove some.
5621
5622 2002-03-30 Richard M. Stallman <rms@gnu.org>
5623
5624 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
5625
5626 2002-03-30 Eli Zaretskii <eliz@gnu.org>
5627
5628 * font-lock.el (save-buffer-state): Fix last change.
5629
5630 * files.el (auto-save-file-name-transforms): Fix last change.
5631
5632 * startup.el (command-line): Fix last change.
5633
5634 2002-03-29 Richard M. Stallman <rms@gnu.org>
5635
5636 * subr.el (play-sound-file): Moved to simple.el.
5637
5638 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
5639
5640 2002-03-29 Colin Walters <walters@verbum.org>
5641
5642 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
5643 instead of `forward-line'.
5644 (ibuffer-forward-line): Be sure to skip over special properties
5645 before moving, too.
5646
5647 * calc/calc.el (calc-was-split): Var deleted.
5648 (calc): Remove reference to it.
5649 (calc): Ditto.
5650 (calc-quit): Ditto.
5651 (calc-init-base): Ditto.
5652
5653 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
5654
5655 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
5656
5657 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
5658 instead of nil when point is outside of any tag.
5659 (sgml-beginning-of-tag): Adjust to the change.
5660 (sgml-calculate-indent): Use the new info returned by
5661 sgml-lexical-context. Try to handle unclosed tags.
5662
5663 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
5664 at unclosed tags unless it is at indentation.
5665 Kill nested unclosed tags.
5666 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
5667 (xml-lite-mode): Use sgml-indent-line instead.
5668
5669 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
5670
5671 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
5672 expand-file-name.
5673
5674 * startup.el (command-line): Recompute auto-save-file-name-transforms
5675 using the updated value of temporary-file-directory.
5676
5677 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
5678
5679 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
5680 even with an empty context. Don't save excursion any more.
5681 Don't complain about unmatched start-tags in sgml-unclosed-tags.
5682 Ignore end-tags in sgml-empty-tags.
5683 (xml-lite-get-context, xml-lite-calculate-indent)
5684 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
5685 (xml-lite-indent-line): Use back-to-indentation.
5686
5687 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
5688 (sgml-name-re, sgml-attrs-re): New consts.
5689 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
5690 (sgml-mode): Use them.
5691 (sgml-lexical-context): Default to (point-min) if nothing else works.
5692 (sgml-calculate-indent): Indent slightly differently.
5693 (sgml-indent-line): Use back-to-indentation.
5694 (sgml-parse-dtd): New function.
5695 (sgml-unclosed-tags): New var.
5696 (html-mode): Set it.
5697
5698 2002-03-29 Simon Marshall <simon.marshall@misys.com>
5699
5700 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
5701
5702 2002-03-29 Richard M. Stallman <rms@gnu.org>
5703
5704 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
5705 Use FILTER arg in dired-get-marked-files to exclude directories.
5706 (dired-nondirectory-p): New function.
5707
5708 * dired.el (dired-get-marked-files): New arg FILTER
5709 allows selection of some files.
5710
5711 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
5712
5713 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
5714
5715 * speedbar.el (speedbar-default-directory-list): Made robust
5716 against deleted directories.
5717
5718 2002-03-28 Richard M. Stallman <rms@gnu.org>
5719
5720 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
5721 Bindings changed.
5722
5723 * progmodes/compile.el (compilation-handle-exit):
5724 If compilation-window-height is 0, display status in echo area.
5725
5726 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
5727
5728 * rect.el (replace-rectangle): Add autoload.
5729
5730 * files.el: Mark many more variables as risky.
5731 (hack-one-local-variable): Recognize several additional
5732 patterns as risky.
5733
5734 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
5735
5736 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
5737
5738 * textmodes/xml-lite.el (xml-lite-in-string-p):
5739 Use sgml-lexical-context.
5740 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
5741 (xml-lite-get-context): Check that open/close tags match.
5742 Don't stop scanning while we're ignoring matching tags.
5743
5744 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
5745 (sgml-mode-syntax-table): Use it.
5746 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
5747 (sgml-tags-invisible): Use it.
5748 (sgml-lexical-context): New fun.
5749 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
5750 (sgml-quote): Accept \n as entity reference terminator.
5751 (sgml-calculate-indent, sgml-indent-line): New funs.
5752
5753 2002-03-28 Andre Spiegel <spiegel@gnu.org>
5754
5755 * vc-cvs.el (vc-cvs-global-switches): New user option.
5756 (vc-cvs-command): New function. Update all callers of
5757 `vc-do-command' in vc-cvs.el to use this instead.
5758
5759 2002-03-27 Andrew Innes <andrewi@gnu.org>
5760
5761 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
5762 relying on shell globbing.
5763
5764 2002-03-27 Colin Walters <walters@debian.org>
5765
5766 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
5767 (ibuffer-fontification-alist): Use it.
5768 (ibuffer-backward-line): Handle `ibuffer-summary' area.
5769 (ibuffer-forward-line): Ditto.
5770
5771 * ibuf-ext.el (sorter mode-name): Doc fix.
5772 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
5773 (operation query-replace): Use new `noerror' arg for
5774 `query-replace-read-args'.
5775 (operation query-replace-regexp): Ditto.
5776
5777 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
5778
5779 * textmodes/xml-lite.el: Fix copyright notice.
5780 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
5781 (xml-lite-indent-comment-offset): Remove.
5782 (xml-lite-calculate-indent): Use new name. Use natural alignment
5783 for comments.
5784 (xml-lite-in-string-p): Simplify.
5785
5786 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5787
5788 * allout.el (outline-layout): Doc fix.
5789
5790 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
5791
5792 * textmodes/xml-lite.el: Don't require `custom'.
5793 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
5794 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
5795 (xml-lite-get-context): Drop nested tags not just for comments.
5796 (xml-lite-indent-line): Be more careful about moving point.
5797 (xml-lite-insert-end-tag, xml-lite-slash):
5798 Use indent-according-to-mode instead of xml-lite-indent-line.
5799 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
5800 Set sgml-xml-mode. Don't call force-mode-line-update.
5801 (xml-lite-mode-map): Don't bind TAB.
5802
5803 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
5804
5805 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
5806 parameter value.
5807 (gud-jdb-build-source-files-list): Comment clarification.
5808 (gud-jdb-massage-args): Reworked into loop-based argument list
5809 processing in order to support -classpath and -sourcepath argument
5810 processing.
5811 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
5812 to gud-jdb-classpath to obtain search list.
5813 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
5814 directory names in classpath/sourcepath lists, update comment.
5815 (jdb): Add setting of gud-jdb-sourcepath, update comment.
5816 (gud-find-class): Add gud-jdb-sourcepath use, and correct
5817 behaviour for the case when classpath is not used--backward
5818 compatibility fix.
5819
5820 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
5821
5822 * Makefile.in (compile, compile-always): Don't try to compile
5823 non-existent files or files in empty directories.
5824
5825 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
5826
5827 * compare-w.el (compare-windows-whitespace): Match all whitespace.
5828
5829 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
5830 copy of standard Lisp directories.
5831
5832 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
5833 Support "next has longname" link type.
5834
5835 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
5836
5837 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
5838 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
5839 New functions.
5840 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
5841 (end-of-xml-tag): Remove.
5842 (xml-lite-get-context): Better handling of comments.
5843 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
5844 (xml-lite-parse-tag-backward): Rewrite.
5845
5846 2002-03-26 Juanma Barranquero <lektu@terra.es>
5847
5848 * makefile.w32-in (WINS): Add the toolbar directory.
5849
5850 2002-03-26 Richard M. Stallman <rms@gnu.org>
5851
5852 * subr.el (substring-no-properties): Function deleted (now in C).
5853
5854 2002-03-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5855
5856 * mwheel.el (mouse-wheel-mode): Use global-set-key and
5857 global-unset-key.
5858
5859 2002-03-24 Richard M. Stallman <rms@gnu.org>
5860
5861 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
5862
5863 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
5864 to query-replace-read-args.
5865
5866 * progmodes/compile.el (compilation-forget-errors):
5867 Don't adjust compilation-parsing-end if it's nil.
5868
5869 * replace.el (query-replace-read-args): New optional arg NOERROR.
5870 (perform-replace): Use save-window-excursion around recursive edit.
5871
5872 2002-03-24 Colin Walters <walters@verbum.org>
5873
5874 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
5875 non-nil, then always use another window.
5876
5877 2002-03-24 Gerd Moellmann <gerd@gnu.org>
5878
5879 * subr.el (macro-declaration-function): New function. Set the
5880 variable macro-declaration-function to it.
5881
5882 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5883 Handle declarations in macro definitions.
5884
5885 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
5886
5887 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
5888
5889 * enriched.el (enriched-face-ans): Support FACE of the form
5890 (:foreground COLOR) and (:background COLOR).
5891 (enriched-decode-foreground, enriched-decode-background): Set the
5892 fore- and background colors of the faces we create, since facemenu
5893 doesn't.
5894
5895 2002-03-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5896
5897 * mwheel.el (mouse-wheel-mode): Use the result of
5898 current-global-map instead of the variable `global-map'.
5899
5900 2002-03-23 Richard M. Stallman <rms@gnu.org>
5901
5902 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
5903 broken out of sendmail-pre-abbrev-expand-hook.
5904 (sendmail-pre-abbrev-expand-hook): Use it.
5905
5906 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
5907
5908 * Makefile.in (finder-inf.el): Remove.
5909 (finder-data): Don't depend on finder-inf.el any more.
5910 (compile, compile-always): Handle the case where some files
5911 from DONTCOMPILE are missing (it tried to compile them).
5912 (bootstrap-clean): Use src/emacs only if executable.
5913 (bootstrap): Update subdirs.el and finder-inf.el.
5914
5915 * finder.el: Don't load finder-inf.el during byte-compilation.
5916
5917 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
5918 Don't consider cvs-removed files as under VC control.
5919 VC wouldn't handle them properly anyway and it confuses
5920 vc-file-not-found-hook.
5921
5922 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
5923 Add autoload cookie.
5924
5925 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
5926
5927 * calendar/calendar.el (calendar): Doc fix.
5928
5929 2002-03-22 Juanma Barranquero <lektu@terra.es>
5930
5931 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
5932 (gomoku-font-lock-X-face): Likewise.
5933 (gomoku-font-lock-keywords): Use faces instead of variables.
5934
5935 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
5936
5937 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
5938
5939 2002-03-21 Kim F. Storm <storm@cua.dk>
5940
5941 * simple.el (open-network-stream, open-network-stream-nowait)
5942 (open-network-stream-server): Use featurep to test for
5943 supported networking features.
5944
5945 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
5946
5947 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
5948 directions as the last action.
5949
5950 2002-03-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5951
5952 * startup.el (fancy-splash-tail, normal-splash-screen):
5953 Update copyright.
5954
5955 * novice.el (disabled-command-hook): Clarify output text to match
5956 prompt.
5957
5958 2002-03-20 Jason Rumney <jasonr@gnu.org>
5959
5960 * frame.el (display-images-p): Do not explicitly check display type.
5961
5962 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
5963
5964 * mail-utils.el:
5965 Eliminate compilation warnings due to `rfc822-addresses'.
5966 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
5967 warning free compile.
5968
5969 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
5970
5971 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
5972 Take the current highlighting style into account.
5973 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
5974 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
5975
5976 * ediff-init.el (ediff-patch-job): New macro.
5977
5978 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
5979 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
5980
5981 * ediff-ptch.el (ediff-map-patch-buffer):
5982 Use ediff-make-new-meta-list-header.
5983 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
5984
5985 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
5986 (ediff-select-difference): Take highlighting style into account.
5987 (ediff-clone-buffer-for-region-comparison): New function.
5988 (ediff-inferior-compare-regions): Added comparison of current diff
5989 regions.
5990
5991 * ediff.el (ediff-clone-buffer-for-region-comparison)
5992 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
5993
5994 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
5995
5996 * mail-utils.el (rmail-dont-reply-to):
5997 Overhaul to correctly apply the regular
5998 expressions in the variable `rmail-dont-reply-to-names' to the list of
5999 destination addresses. Contributed by lorentey@elte.hu.
6000
6001 * rmail.el (rmail-dont-reply-to-names):
6002 Modify the documentation to make it email
6003 address centric rather than login name centric. Contributed by
6004 lorentey@elte.hu.
6005
6006 2002-03-18 Colin Walters <walters@verbum.org>
6007
6008 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
6009 we don't require `cl' at runtime.
6010 (sorting mode mode-name): Don't take the symbol-name of a string.
6011
6012 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
6013 line after setting the mark.
6014 (ibuffer-insert-buffers-and-marks): Invert the test for
6015 `ibuffer-sorting-reversep'.
6016
6017 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6018
6019 * international/ucs-tables.el (unify-8859-on-decoding-mode)
6020 (unify-8859-on-encoding-mode): Remove autoload cookie.
6021
6022 2002-03-18 Andre Spiegel <spiegel@gnu.org>
6023
6024 * vc-rcs.el (vc-rcs-register): Fix handling of
6025 vc-[rcs-]register-switches.
6026 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
6027 Variables removed, since they weren't used yet.
6028
6029 * vc-cvs.el (vc-cvs-register): Fix handling of
6030 vc-[cvs-]register-switches.
6031
6032 * vc-sccs.el (vc-sccs-register): Fix handling of
6033 vc-[sccs-]register-switches.
6034
6035 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6036
6037 * loadup.el ("emacs-lisp/backquote"): Load earlier.
6038 ("international/ucs-tables"): Load and turn on
6039 unify-8859-on-encoding-mode unconditionally.
6040 (emacs-version): Use `defconst' rather than `setq'.
6041
6042 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
6043
6044 2002-03-18 Richard M. Stallman <rms@gnu.org>
6045
6046 * menu-bar.el (menu-bar-options-menu): Cope if
6047 text-mode-hook is not a list.
6048
6049 2002-03-17 Richard M. Stallman <rms@gnu.org>
6050
6051 * emulation/pc-select.el (pc-selection-mode):
6052 Alter the existing global map, don't replace it.
6053
6054 * files.el (list-directory): Set default-directory at the end.
6055
6056 * dabbrev.el (dabbrev--goto-start-of-abbrev):
6057 Put a limit on field-beginning search.
6058
6059 2002-03-17 Simon Josefsson <jas@extundo.com>
6060
6061 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
6062 (browse-url-mosaic): Use it.
6063
6064 * net/browse-url.el (browse-url-filename-alist): Don't begin
6065 docstring with *, you don't want to set this one with M-x set-variable.
6066
6067 * net/browse-url.el: Put * in user option doc strings.
6068
6069 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
6070
6071 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
6072 (sgml-xml-guess): Simplify.
6073 (sgml-mode-common): Remove (move into sgml-mode).
6074 (sgml-mode): Add code from sgml-mode-common.
6075 Remove redundant setting of indent-line-function.
6076 Don't set skeleton-transformation when in XML mode.
6077
6078 * international/mule-diag.el (describe-char-after):
6079 Use `internal-describe-syntax-value' again (got lost somewhere).
6080
6081 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
6082 Use unify-8859-on-decoding-mode.
6083 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
6084 (ucs-insert): Give an error if the unicode char can't be created.
6085
6086 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
6087 (cvs-parse-status): Handle the "used to have a conflict" marker.
6088
6089 2002-03-17 Kim F. Storm <storm@cua.dk>
6090
6091 The following changes are related to the enhanced network process
6092 support.
6093
6094 * simple.el: Update copyright.
6095 (clone-process): Use make-network-process to clone network
6096 processes. Get command list via (process-contact ... t).
6097 Use set-process-query-on-exit-flag and process-query-on-exit-flag
6098 instead of process-kill-without-query.
6099 (open-network-stream): Replaces C-version from process.c.
6100 (open-network-stream-nowait, open-network-stream-server): New funs.
6101 (process-kill-without-query): Replaces C-version from process.c.
6102
6103 * files.el: Update copyright.
6104 (save-buffers-kill-emacs): Also check for active server
6105 processes. Use process-query-on-exit-flag. Only list processes
6106 which has the query-on-exit flag set in connection with user query.
6107
6108 * shadowfile.el: Update copyright.
6109 (shadow-save-buffers-kill-emacs): Also check for active server
6110 processes. Use process-query-on-exit-flag.
6111
6112 2002-03-16 Simon Marshall <simon.marshall@misys.com>
6113
6114 * imenu.el (imenu-menubar-modified-tick): Renamed from
6115 imenu-update-menubar-modified-tick.
6116 (imenu-update-menubar): Update imenu-menubar-modified-tick
6117 whenever outer condition succeeds.
6118
6119 * lazy-lock.el (save-buffer-state):
6120 Bind inhibit-modification-hooks and buffer-file-truename
6121 instead of before-change-functions and after-change-functions.
6122
6123 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
6124
6125 * international/codepage.el (codepage-setup): Don't define a
6126 codepage if it is already defined.
6127
6128 * textmodes/po.el (po-content-type-charset-alist): Convert the
6129 car of each association to a string.
6130 (po-find-file-coding-system-guts): If the charset matches a name
6131 of a codepage, set up that codepage and return it as a coding
6132 system to decode the file.
6133 (po-find-charset): Search for the Charset= header even if we've
6134 read less than 4KB.
6135 <top-level>: Remove the setup for all known codepages: it seems
6136 to cause crashes in the CCL driver.
6137
6138 2002-03-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6139
6140 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
6141 (bibtex-entry-field-alist): Doc fix.
6142
6143 2002-03-16 Richard M. Stallman <rms@gnu.org>
6144
6145 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
6146 Move definition above cperl-outline-regexp.
6147
6148 * bindings.el (mode-line-mule-info): In computing help-echo prop,
6149 avoid using save-window-excursion. And compile the function.
6150
6151 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
6152
6153 * files.el (load-completion): New function.
6154 (load-library): Use it.
6155
6156 2002-03-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6157
6158 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
6159 to match the actual code.
6160
6161 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
6162
6163 * textmodes/po.el (po-find-file-coding-system-guts):
6164 Use with-temp-buffer instead of po-with-temp-buffer.
6165
6166 * international/mule-conf.el (file-coding-system-alist): Add an
6167 association for PO files.
6168
6169 * textmodes/po.el: New file.
6170
6171 2002-03-15 Gerd Moellmann <gerd@gnu.org>
6172
6173 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6174 Fix simple loop indentation.
6175
6176 2002-03-14 Miles Bader <miles@gnu.org>
6177
6178 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
6179
6180 2002-03-14 Richard M. Stallman <rms@gnu.org>
6181
6182 * textmodes/picture.el (picture-insert)
6183 (picture-clear-column, picture-draw-rectangle):
6184 Use move-to-column, not move-to-column-force.
6185
6186 * dired.el (dired-readin): Clear out undo list.
6187 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
6188 (dired-delete-entry): New function.
6189 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
6190 and dired-delete-entry, to update this buffer (and others).
6191
6192 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
6193
6194 * facemenu.el (facemenu-add-new-face):
6195 Pass region args to facemenu-set-face, when there is a region.
6196 (facemenu-set-foreground, facemenu-set-background)
6197 (facemenu-add-face): Doc fixes.
6198
6199 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
6200
6201 2002-03-14 Miles Bader <miles@gnu.org>
6202
6203 * emacs-lisp/debug.el: Require `button'.
6204 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
6205 to get TAB and <backtab> bindings.
6206
6207 * net/rlogin.el (rlogin-carriage-filter): Function removed.
6208 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
6209 comint removes carriage returns itself now.
6210
6211 * rfn-eshadow.el (rfn-eshadow-update-overlay):
6212 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
6213 getting hosed by our own intangible property.
6214
6215 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
6216
6217 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
6218 Add fortran-comment-line-start-skip to comment-start-skip.
6219 (fortran-comment-indent): Keep whole-line comments in column 0.
6220 (fortran-find-comment-start-skip): New arg `all'.
6221 If ALL is nil, make sure we only match comment-start-skip if we
6222 can't match fortran-comment-line-start-skip.
6223 Fix bug that made it return t but without moving point when
6224 matching '!'! (a false-comment followed by a real comment).
6225 (fortran-indent-comment): Use new `all' argument above.
6226 Be careful not to add an incorrect comment-starter like "C"
6227 in comment-column.
6228 (fortran-split-line): When splitting a comment, reuse the comment
6229 starter from the current line rather than fortran-comment-line-start.
6230 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
6231 cleaner behavior of fortran-find-comment-start-skip.
6232 (fortran-fill): Don't be confused by ! inside a comment.
6233 (fortran-break-line): Minor cleanup and simplification.
6234
6235 2002-03-13 Francesco Potorti` <pot@gnu.org>
6236
6237 * progmodes/etags.el (tag-exact-file-name-match-p)
6238 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
6239 simpler regexp.
6240
6241 2002-03-12 Colin Walters <walters@debian.org>
6242
6243 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
6244 redisplaying a line.
6245
6246 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6247
6248 * term/x-win.el (emacs-session-restore): Take previous id as
6249 an argument.
6250 (emacs-session-save): Add comment that return t means cancel shutdown
6251
6252 * startup.el (command-line): Must check that x-session-previous-id
6253 is bound also, for non-X platforms.
6254
6255 2002-03-12 Gerd Moellmann <gerd@gnu.org>
6256
6257 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
6258 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
6259 New user options.
6260 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
6261 (common-lisp-indent-function-1): Renamed from
6262 common-lisp-indent-function.
6263 (common-lisp-indent-function): Handle loop forms specially.
6264 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
6265 (lisp-backquote-indentation): New user option.
6266
6267 2002-03-12 Francesco Potorti` <pot@gnu.org>
6268
6269 * progmodes/etags.el (tag-exact-file-name-match-p)
6270 (tag-file-name-match-p, tag-partial-file-name-match-p):
6271 Assume that the header of a tags section has either a number
6272 or nothing after the last comma.
6273
6274 2002-03-11 Richard M. Stallman <rms@gnu.org>
6275
6276 * imenu.el (imenu-update-menubar-modified-tick): New variable.
6277 (imenu-update-menubar): Don't call imenu--make-index-alist
6278 if buffer has not changed since last time.
6279
6280 * desktop.el (desktop-buffer-handlers): Doc fix.
6281 (desktop-buffer-file): Explicitly return BUF.
6282
6283 * paren.el (show-paren-function): Move back in other direction
6284 to verify the match is correct.
6285
6286 * mail/supercite.el (sc-select-attribution): Accept whatever value
6287 we get in CHOICE; there is no value meaning "try again".
6288
6289 2002-03-11 Colin Walters <walters@verbum.org>
6290
6291 * shell.el (toplevel): Revert previous change to use pcomplete.
6292 (shell-mode): Ditto.
6293 (shell-pcomplete-setup-done): Remove.
6294 (shell-pcomplete): Ditto.
6295 (shell-pcomplete-reverse): Ditto.
6296
6297 * comint.el: Remove documentation on setting up pcomplete.
6298
6299 2002-03-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6300
6301 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
6302 item. Doc fix.
6303
6304 * image.el (image-type-from-file-header): Make temporary buffer
6305 unibyte.
6306
6307 * subr.el (add-to-list): Doc fix.
6308
6309 2002-03-11 Miles Bader <miles@gnu.org>
6310
6311 * pcomplete.el (pcomplete-entries): Expand environment variables
6312 in filename.
6313
6314 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
6315
6316 * play/mpuz.el: Use defface instead of facemenu-get-face.
6317
6318 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6319
6320 * startup.el (command-line): Add call to emacs-session-restore if
6321 both x-session-id and x-session-previous-id are strings.
6322
6323 * term/x-win.el (x-handle-smid): New function.
6324 (emacs-session-filename): New function.
6325 (emacs-session-save): New function.
6326 (emacs-save-session-functions): New variable.
6327 (emacs-session-restore): New function.
6328
6329 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
6330
6331 * simple.el (shell-command-on-region): Call push-mark with
6332 non-nil second arg, to suppress the "Mark set" message.
6333
6334 2002-03-08 Richard M. Stallman <rms@gnu.org>
6335
6336 * textmodes/picture.el (picture-forward-column): New arg `interactive'
6337 is non-nil for an interactive call. Use instead of interactive-p.
6338 (picture-backward-column): Likewise.
6339
6340 * tar-mode.el (tar-untar-buffer): New function.
6341
6342 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
6343 Put the mouse-face on the entire xref, like the local keymap.
6344
6345 * find-dired.el (find-name-dired): Use shell-quote-argument.
6346
6347 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
6348
6349 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
6350 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
6351 (mpuz-allow-double-multiplicator): New options for nicer look and
6352 new features.
6353 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
6354 (mpuz-check-all-solved, mpuz-random-puzzle)
6355 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
6356 (mpuz-show-solution): Functions streamlined and removed french
6357 style space before punctuation, added face support and optional
6358 solving of trivial results.
6359
6360 2002-03-07 Colin Walters <walters@verbum.org>
6361
6362 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
6363
6364 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
6365 instead of "recency" for clarity.
6366 (ibuffer-compile-format): Document more. Handle new "summarizer"
6367 columns.
6368 (ibuffer-fontify-region-function): Ditto.
6369 (ibuffer-insert-buffer-line): Ditto.
6370 (ibuffer-map-lines): Ditto.
6371 (ibuffer-insert-buffers-and-marks): Ditto.
6372 (ibuffer-update-title-and-summary): Renamed from
6373 `ibuffer-update-title'. Handle "summarizer" columns.
6374 (ibuffer-clear-summary-columns): New function.
6375
6376 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
6377
6378 2002-03-07 Gerd Moellmann <gerd@gnu.org>
6379
6380 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6381 Use the other-window instead of the other-frame functions when
6382 the window is dedicated.
6383
6384 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
6385
6386 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
6387 with SILENT so that a new field can be added.
6388
6389 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
6390
6391 * files.el (make-auto-save-file-name): Make sure the produced file
6392 name does not contain characters that are invalid for DOS/Windows
6393 filesystems.
6394
6395 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
6396 Remove replacement functions.
6397
6398 2002-03-06 Gerd Moellmann <gerd@gnu.org>
6399
6400 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
6401 the form `:x'.
6402
6403 * vc.el (vc-branch-part): Add autoload cookie. This function can
6404 be called from vc-rcs-find-most-recent-rev when visiting a file
6405 checked into RCS in a CVS sandbox.
6406
6407 2002-03-06 Andreas Schwab <schwab@suse.de>
6408
6409 * progmodes/hideif.el: Augment expression parser to handle
6410 conditional expressions.
6411 (hif-token-regexp): Also match `?' and `:'.
6412 (hif-tokenize): Handle `?' and ':' as tokens.
6413 (hif-expr): Parse conditional expressions.
6414 (hif-or-expr): Parse `||' expressions.
6415 (hif-and-expr): Renamed from hif-term.
6416 (hif-conditional): New function to evaluate a conditional
6417 expression.
6418
6419 2002-03-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6420
6421 * language/czech.el ("Czech"): Fix the documentation.
6422
6423 * language/slovak.el ("Slovak"): Likewise.
6424
6425 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
6426
6427 * xml.el (xml-parse-attlist): Accept empty strings.
6428
6429 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
6430
6431 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
6432 all terminals now support highlighting of some kind.
6433
6434 * language/european.el (mac-roman): Fix the safe-chars property.
6435
6436 2002-03-05 Andre Spiegel <spiegel@gnu.org>
6437
6438 * vc.el (vc-transfer-file): Use `make-temp-file'.
6439 (vc-default-update-changelog): Remove conditional use of
6440 `make-temp-name'.
6441
6442 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
6443
6444 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
6445
6446 * ediff-init.el: Comments.
6447
6448 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
6449 is loaded.
6450
6451 * ediff-mult.el (ediff-intersect-directories)
6452 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
6453 Cleanup.
6454 (ediff-draw-dir-diffs): Now supports the "C" command in directory
6455 difference buffer.
6456 (ediff-dir-diff-copy-file): New function that implements copying
6457 of files from one Ediff dir to another
6458 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
6459 (ediff-append-custom-diff): Better error msgs.
6460
6461 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
6462 (ediff-inferior-compare-regions): Use
6463 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
6464
6465 * ediff.el (ediff-directories-internal): Cleanup.
6466 (ediff-clone-buffer-for-region-comparison): Better interface.
6467
6468 2002-03-04 Richard M. Stallman <rms@gnu.org>
6469
6470 * emacs-lisp/easy-mmode.el (define-minor-mode):
6471 Use "P" in interactive spec of minor mode commands.
6472
6473 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
6474
6475 * faces.el (face-spec-choose): Allow `t' to appear before the end.
6476 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
6477 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
6478 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
6479 (mode-line-inactive, header-line): Move the `t' section to the
6480 beginning so the `:inherit' setting can be shared.
6481
6482 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6483
6484 * net/snmp-mode.el: Require tempo when compiling to prevent
6485 warnings. Update copyright notice.
6486
6487 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
6488 like not defined at all.
6489
6490 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
6491
6492 * textmodes/sgml-mode.el: Change maintainer to FSF.
6493 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
6494 (sgml-tags-invisible, sgml-beginning-of-tag):
6495 Allow _ : and non-ASCII in tag names, as required for XML.
6496 (sgml-name-char): Don't assume anything about charsets handled by
6497 encode-char.
6498
6499 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
6500 where one of the buffers is narrowed.
6501
6502 * hexl.el (hexlify-command, dehexlify-command): Remove.
6503 (hexlify-buffer, dehexlify-buffer): Use call-process-region
6504 rather than shell-command-on-region.
6505
6506 * newcomment.el (comment-forward): Use forward-comment to skip
6507 over whitespace (or comments) even when comment-use-syntax is nil.
6508
6509 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
6510
6511 * textmodes/xml-lite.el: New file.
6512
6513 2002-03-03 Richard M. Stallman <rms@gnu.org>
6514
6515 * textmodes/artist.el (artist-system): Use make-temp-file.
6516
6517 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
6518
6519 * mail/sendmail.el (mail-recover-1): Increase non-random-len
6520 by 1 since we changed make-auto-save-file-name to add one
6521 fewer character to the buffer name.
6522 (mail-recover): Really show point at the right place
6523 in the *Directory* buffer.
6524
6525 * files.el (make-auto-save-file-name): Use make-temp-file.
6526
6527 * terminal.el (te-create-terminfo): Use make-temp-file
6528 to create the source file in a safe way.
6529
6530 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
6531
6532 * cus-start.el: Rename automatic-hscroll-step and
6533 automatic-hscroll-margin into hscroll-step and hscroll-margin.
6534
6535 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
6536 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
6537
6538 * mouse.el (mouse-region-delete-keys): Add deletechar.
6539
6540 2002-03-03 Sam Steingold <sds@gnu.org>
6541
6542 * play/snake.el (snake-score-file): Fixed parens (broken by the
6543 last patch).
6544 * play/tetris.el (tetris-score-file): Ditto.
6545
6546 2002-03-03 Richard M. Stallman <rms@gnu.org>
6547
6548 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
6549
6550 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
6551
6552 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
6553 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
6554
6555 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
6556
6557 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
6558 instead of `buffer-substring-no-properties' to support enriched mode.
6559
6560 2002-03-02 Richard M. Stallman <rms@gnu.org>
6561
6562 * find-dired.el (find-grep-dired): Call shell-quote-argument.
6563 Specify the -e option.
6564 Rename arg to `regexp'.
6565
6566 2002-03-02 Milan Zamazal <pdm@zamazal.org>
6567
6568 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
6569
6570 2002-03-02 Miles Bader <miles@gnu.org>
6571
6572 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
6573 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
6574 If there's no applicable modifiers entry in the alist in
6575 `mouse-wheel-scroll-amount', fall back to the default, not to
6576 nil (which causes full screen scrolls).
6577
6578 2002-03-01 Andreas Schwab <schwab@suse.de>
6579
6580 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
6581 Remove extra paren in regexp.
6582
6583 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
6584
6585 * mouse.el (mouse-show-mark): Use display-mouse-p, not
6586 display-graphic-p, to decide whether to move point or use the
6587 highlighting.
6588
6589 2002-02-28 Colin Walters <walters@verbum.org>
6590
6591 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
6592
6593 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
6594 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
6595 (calc-temp-file-name): Use `make-temp-file'.
6596
6597 2002-02-28 Richard M. Stallman <rms@gnu.org>
6598
6599 * font-lock.el (java-font-lock-extra-types):
6600 Match java.net.URL, etc.
6601
6602 2002-02-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6603
6604 * hexl.el (hexl-options): Doc fix.
6605 Update Commentary section.
6606
6607 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
6608 Doc fixes.
6609
6610 2002-02-28 Andre Spiegel <spiegel@gnu.org>
6611
6612 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
6613 the user to do that first.
6614 (vc-update): New function.
6615
6616 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
6617 which calls vc-update. Use the term "Base Version" instead of
6618 "Last Version" for the entries "Revert" and "Compare".
6619
6620 2002-02-28 Kim F. Storm <storm@cua.dk>
6621
6622 * simple.el (shell-command-on-region): Report non-zero exit
6623 status in mode line instead of buffer.
6624
6625 2002-02-27 Richard M. Stallman <rms@gnu.org>
6626
6627 * comint.el (comint-preoutput-filter-functions): Doc fix.
6628 (comint-output-filter-functions, comint-input-filter-functions)
6629 (comint-redirect-filter-functions): Likewise.
6630
6631 (comint-redirect-preoutput-filter): Do the local-hook
6632 handling of t when running comint-redirect-filter-functions.
6633 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
6634
6635 2002-02-26 Richard M. Stallman <rms@gnu.org>
6636
6637 * paths.el (remote-shell-program): Add doc string.
6638
6639 2002-02-26 Colin Walters <walters@debian.org>
6640
6641 * ibuf-ext.el (sorter mode-name): New.
6642 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
6643
6644 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
6645 interactively, so they do something.
6646 (calc-scroll-right): Ditto.
6647
6648 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
6649
6650 * international/mule.el (ctext-pre-write-conversion): Handle the
6651 case when FROM is a string, and when we are called from
6652 build_annotations_2.
6653
6654 2002-02-26 Richard M. Stallman <rms@gnu.org>
6655
6656 * rect.el (clear-rectangle-line): Reindent to the same column
6657 that move-to-column reached when it tried to go to endcol.
6658
6659 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
6660
6661 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
6662
6663 * winner.el (winner-boring-buffers, winner-set): A window which
6664 displays a buffer whose name is in the list
6665 `winner-boring-buffers', will no longer be restored by `winner-undo'.
6666 (winner-sorted-window-list): Used to improve comparison between
6667 window configurations.
6668 (winner-win-data): Simplified and moved.
6669 (winner-conf): Simplified (now uses `winner-win-data').
6670 (winner-change-fun, winner-save-old-configurations)
6671 (winner-save-(un)conditionally, winner-redo): Changes made while in
6672 the minibuffer will be ignored. (Such changes are undone upon
6673 exit for the minibuffer, anyway.)
6674 (winner-set-conf): Preserve selected window whenever possible.
6675 (winner-make-point-alist): Simplified.
6676 (winner-mode, winner-save-unconditionally): Save current window
6677 configuration on entering minibuffer.
6678 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
6679 since it does not change the overall behavior of Emacs.
6680
6681 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
6682
6683 * international/mule-conf.el (compound-text): Renamed back from
6684 compound-text-no-extensions.
6685 (ctext-no-compositions): Remove the mime-charset property.
6686 (compound-text-with-extensions): Renamed from compound-text.
6687 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
6688
6689 2002-02-26 Juanma Barranquero <lektu@terra.es>
6690
6691 * faces.el (list-faces-display): Fix typo.
6692
6693 2002-02-25 Richard M. Stallman <rms@gnu.org>
6694
6695 * frame.el (focus-follows-mouse): Doc fix.
6696
6697 2002-02-26 Miles Bader <miles@gnu.org>
6698
6699 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
6700 to `define-key', since it no longer accepts the latter.
6701
6702 2002-02-25 Jason Rumney <jasonr@gnu.org>
6703
6704 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
6705 mouse-wheel-scroll-amount.
6706
6707 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
6708 mwheel.el.
6709
6710 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
6711
6712 2002-02-25 Andre Spiegel <spiegel@gnu.org>
6713
6714 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
6715 consistent with the others that take a backend name as a symbol.
6716
6717 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
6718
6719 2002-02-25 Kim F. Storm <no-spam@cua.dk>
6720
6721 * comint.el (comint-replace-by-expanded-filename): Do nothing if
6722 comint-match-partial-filename returns nil.
6723
6724 * shell.el (shell-pcomplete-setup-done): New variable.
6725 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
6726 (shell-pcomplete-reverse): Ditto.
6727
6728 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
6729
6730 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
6731
6732 2002-02-25 Juanma Barranquero <lektu@terra.es>
6733
6734 * subr.el (save-match-data): Doc fix.
6735
6736 * ielm.el (ielm-prompt): Allow customization; make it read-only.
6737
6738 2002-02-25 Kim F. Storm <storm@cua.dk>
6739
6740 * shell.el (shell-mode-map): Add "Complete" header so completion
6741 menu is shown on the menu bar in shell mode.
6742
6743 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
6744
6745 * ielm.el (ielm-match-data): New var.
6746 (inferior-emacs-lisp-mode): Make it buffer-local.
6747 (ielm-eval-input): Use it to preserve match-data between inputs.
6748
6749 2002-02-24 Juanma Barranquero <lektu@terra.es>
6750
6751 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
6752
6753 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
6754
6755 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
6756 `custom-buffer' customize group.
6757
6758 2002-02-23 Kim F. Storm <storm@cua.dk>
6759
6760 * help.el (where-is): Use remap-command.
6761
6762 * help-fns.el (describe-function-1): Use remap-command.
6763
6764 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
6765 change (no longer accept a symbol for the KEY argument).
6766
6767 2002-02-23 Colin Walters <walters@debian.org>
6768
6769 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
6770 * calc/calcalg2.el (math-solve-get-sign): Ditto.
6771
6772 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
6773 in generated function.
6774
6775 * ibuf-ext.el (ibuffer-old-time): Change to hours.
6776 (ibuffer-mark-old-buffers): Handle it.
6777
6778 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
6779 (toplevel): Bind them.
6780 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
6781 not necessary now that we use pcomplete.
6782
6783 * comint.el: Document how use new pcomplete completion facility.
6784
6785 2002-02-23 Richard M. Stallman <rms@gnu.org>
6786
6787 * mail/rmailsum.el (rmail-summary-output): Properly advance
6788 to next message, by calling rmail-summary-goto-msg.
6789
6790 * net/browse-url.el (browse-url-galeon): Specify --existing
6791 for an existing window. Use --noraise rather than --no-raise.
6792 Don't use -x.
6793
6794 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
6795
6796 * progmodes/etags.el (find-tag-noselect, find-tag)
6797 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
6798 Fix a typo in doc strings.
6799
6800 2002-02-20 Deepak Goel <deego@glue.umd.edu>
6801
6802 * play/snake.el (snake-velocity-queue, snake-update-velocity)
6803 (snake-final-x-velocity, snake-final-y-velocity):
6804 New variable and functions. Store user's keypresses
6805 into a queue and pop from the queue each subsequent turn.
6806 (snake-update-game, snake-move-left)
6807 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
6808 (snake-start-game): Use that queue.
6809 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
6810 (snake-use-color-flag): Likewise.
6811 (snake-mode): Rename uses of those variables.
6812
6813 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
6814
6815 Support for ICCCM Extended Segments in X selections:
6816
6817 * international/mule-conf.el (ctext-no-compositions): New coding
6818 system.
6819 (compount-text-no-extensions): Renamed from compound-text.
6820 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
6821 compound-text-no-extensions.
6822 (compound-text): Redefined using post-read and pre-write conversions.
6823
6824 * international/mule.el (non-standard-icccm-encodings-alist)
6825 (non-standard-designations-alist): New variables.
6826 (ctext-post-read-conversion, ctext-pre-write-conversion):
6827 New functions.
6828
6829 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
6830
6831 * vc.el (vc-default-init-version): Update documentation to
6832 indicate that the backend can override the default init version.
6833 (vc-register): Use the backend init-version function, if it
6834 exists, to determine the initial version of a file.
6835 (vc-diff-switches-list): Don't symbol-quote backend, since it's
6836 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
6837
6838 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
6839 not version-controlled. This is necessary, e.g., if the file has
6840 just been reverted, and thus was previously under version control
6841 but isn't any longer.
6842 (vc-find-file-hook): Likewise.
6843
6844 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
6845
6846 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
6847 (vc-cvs-sticky-tag-display): New variable.
6848 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
6849 (vc-cvs-checkin): If the input revision is a valid symbolic tag
6850 name, we create it as a branch, commit and switch to it.
6851 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
6852 (vc-cvs-valid-symbolic-tag-name-p): New function.
6853 (vc-cvs-parse-sticky-tag): New function.
6854 (vc-cvs-parse-entry): Added parsing of sticky tags.
6855
6856 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
6857
6858 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
6859 nil, and then explicitly set the standard-value to t.
6860
6861 2002-02-20 Sam Steingold <sds@gnu.org>
6862
6863 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
6864 since it is used in the menu bar.
6865
6866 2002-02-20 Richard M. Stallman <rms@gnu.org>
6867
6868 * simple.el (shell-command-on-region): Display the exit status
6869 when a command fails.
6870
6871 * subr.el (add-hook): Doc fix.
6872
6873 * frame.el (other-frame): Doc fix.
6874
6875 * simple.el (yank): Clear `field' property.
6876
6877 2002-02-20 Tom Tromey <tromey@cachet>
6878
6879 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
6880 natural paragraph boundaries. Don't fail at beginning of buffer.
6881
6882 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6883
6884 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
6885 call the argument "arg" to match plain next-line and
6886 previous-line. From Kevin Ryde <user42@zip.com.au>.
6887
6888 2002-02-19 Sam Steingold <sds@gnu.org>
6889
6890 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
6891 scroll amounts for different modifiers now.
6892 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
6893 format properly.
6894 (mouse-wheel-mode): Ditto.
6895
6896 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
6897
6898 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
6899 around function body.
6900
6901 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
6902 sense of the comparison, to match the doc strings of functions
6903 that use this macro.
6904
6905 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
6906
6907 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
6908
6909 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
6910 * menu-bar.el (menu-bar-mode): Ditto.
6911
6912 2002-02-18 Andreas Schwab <schwab@suse.de>
6913
6914 * replace.el (query-replace-regexp-eval): Doc fix.
6915
6916 2002-02-18 Colin Walters <walters@verbum.org>
6917
6918 * calc/calcalg2.el (math-solve-get-int): Convert return value from
6919 `math-get-from-counter' to a string before calling `concat' on it.
6920
6921 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
6922 (calc-public-autoloads): Obsolete; remove.
6923 (calc-private-autoloads): Ditto.
6924 (calc-add-autoloads): Ditto.
6925
6926 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
6927 for body.
6928
6929 2002-02-17 Jason Rumney <jasonr@gnu.org>
6930
6931 * w32-win.el (x-option-alist, x-long-option-alist)
6932 (x-switch-definitions): Remove, use command-line-x-option-alist
6933 instead to be consistent with X.
6934 (x-handle-initial-switch): New function.
6935
6936 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
6937
6938 * faces.el (mode-line-inactive, header-line): Add the :inherit
6939 attribute for the tty case.
6940
6941 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
6942
6943 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
6944 invoked from Rmail with full headers displayed.
6945
6946 2002-02-17 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6947
6948 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
6949 when repeated.
6950 * textmodes/paragraphs.el (mark-paragraph): Ditto.
6951
6952 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
6953
6954 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
6955 (menu-bar-tools-menu): Removed speedbar.
6956
6957 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
6958 and `flyspell-mode' entries.
6959
6960 * textmodes/flyspell.el (flyspell): Add to ispell group.
6961
6962 2002-02-17 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6963
6964 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
6965 repeated.
6966 (mark-defun): Mark more if repeated.
6967
6968 2002-02-17 Colin Walters <walters@verbum.org>
6969
6970 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
6971
6972 * ibuffer.el (ibuffer-truncate-lines): New option.
6973 (ibuffer-mode): Use it.
6974
6975 2002-02-17 Kim F. Storm <storm@cua.dk>
6976
6977 * cus-start.el: Add mouse-highlight.
6978
6979 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
6980
6981 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
6982
6983 * cus-start.el: Add automatic-hscroll-margin and
6984 automatic-hscroll-step.
6985
6986 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6987
6988 * cus-start.el (x-autoselect-window): Allow customization.
6989
6990 * eshell/em-alias.el (eshell-alias-initialize): Do not use
6991 make-local-hook.
6992
6993 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
6994
6995 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
6996
6997 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
6998
6999 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
7000
7001 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
7002
7003 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
7004
7005 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
7006
7007 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
7008
7009 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
7010
7011 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
7012
7013 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
7014
7015 * eshell/esh-io.el (eshell-io-initialize): Likewise.
7016
7017 * eshell/esh-mode.el (eshell-mode): Likewise.
7018
7019 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
7020
7021 * eshell/esh-var.el (eshell-var-initialize): Likewise.
7022
7023 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
7024
7025 * progmodes/idlwave.el (idlwave-mode): Likewise.
7026
7027 * textmodes/reftex-sel.el (reftex-select-label-mode)
7028 (reftex-select-bib-mode): Likewise.
7029
7030 2002-02-16 John Wiegley <johnw@gnu.org>
7031
7032 * eshell/em-hist.el (eshell-hist-initialize): When in the
7033 minibuffer, use the global value of `eshell-history-ring', and
7034 never save it to disk, or ask to save it to disk. This allows
7035 users of session.el to control whether its global state should be
7036 persisted or not.
7037 (eshell-add-command-to-history): Don't write Eshell's history out
7038 to disk, let the governing mode control that upon exit.
7039
7040 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7041
7042 * eshell/eshell.el (eshell-command): Before reading from the
7043 minibuffer, add eshell-add-command-to-history to
7044 minibuffer-exit-hook, and remove it after read-from-minibuffer
7045 returns.
7046
7047 * eshell/em-hist.el (eshell-add-input-to-history): New function,
7048 with most of the code from eshell-add-to-history.
7049 (eshell-add-command-to-history): New function, to record in
7050 eshell-history the commands run via eshell-command.
7051 (eshell-add-to-history): Call eshell-add-command-to-history to do
7052 most of the work.
7053
7054 2002-02-16 John Wiegley <johnw@gnu.org>
7055
7056 * eshell/esh-ext.el (eshell-external-command): Added a fix for
7057 XEmacs' new dired.el, which adds a global entry in the
7058 `file-name-handler-alist'.
7059
7060 2002-02-16 John Wiegley <johnw@gnu.org>
7061
7062 * align.el (align-region): Added a missing name argument.
7063
7064 2002-02-16 John Wiegley <johnw@gnu.org>
7065
7066 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
7067 after the #! of a shell interpretor specification.
7068
7069 2002-02-15 Richard M. Stallman <rms@gnu.org>
7070
7071 * help.el (describe-key-briefly): Make output in INSERT case
7072 look just like what is displayed in the normal case.
7073
7074 2002-02-15 Andreas Schwab <schwab@suse.de>
7075
7076 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
7077 Require non-letter after specials.
7078
7079 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
7080
7081 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
7082
7083 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7084
7085 * simple.el (mark-word): Mark more if repeated.
7086 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7087 (mark-end-of-sentence): Ditto.
7088
7089 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
7090
7091 * wid-edit.el (widgetp): Made it more robust.
7092
7093 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
7094
7095 * facemenu.el (describe-text-done): New function.
7096 (describe-text-mode-map): New variable.
7097 (describe-text-mode-hook): New option.
7098 (describe-text-mode): New function.
7099 (describe-text-widget): New function.
7100 (describe-text-sexp): New function.
7101 (describe-text-properties): New function.
7102 (describe-text-category): New command.
7103 (describe-text-at): New command.
7104 (facemenu-menu): Replace `list-text-properties-at' with
7105 `describe-text-at' in the menu.
7106
7107 * wid-edit.el (widgetp): New function.
7108 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
7109
7110 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
7111
7112 * wid-browse.el: Removed version and x-url keywords.
7113
7114 2002-02-13 Kim F. Storm <storm@cua.dk>
7115
7116 * cus-start.el (mode-line-in-non-selected-windows):
7117 Allow customization.
7118
7119 2002-02-13 Richard M. Stallman <rms@gnu.org>
7120
7121 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
7122 Tell bibtex-parse-keys to output no progress messages.
7123
7124 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
7125
7126 * progmodes/pascal.el (pascal-imenu-generic-expression):
7127 Add menu-title and fix parentheses.
7128
7129 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7130
7131 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
7132 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
7133
7134 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7135
7136 * menu-bar.el (menu-bar-options-save): Only save
7137 `current-language-environment' and `default-input-method' when
7138 marked as customized.
7139
7140 * international/mule-cmds.el
7141 (setup-specified-language-environment):
7142 Mark `current-language-environment' as customized.
7143 (set-input-method): Mark `default-input-method' as customized when
7144 called interactively.
7145 (toggle-input-method): Ditto.
7146
7147 2002-02-11 Colin Walters <walters@verbum.org>
7148
7149 * ibuffer.el (ibuffer-switch-format): Supply required argument for
7150 `ibuffer-current-formats'.
7151
7152 2002-02-11 Miles Bader <miles@gnu.org>
7153
7154 * faces.el (mode-line-inactive): Add dark-background variant.
7155
7156 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
7157
7158 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
7159 * menu-bar.el (menu-bar-mode): Ditto.
7160 * cus-edit.el (customize-mark-to-save): Always save variables
7161 without a standard value.
7162
7163 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
7164 (menu-bar-options-save): Ditto.
7165 (menu-bar-showhide-menu): Ditto.
7166 (menu-bar-options-menu): Ditto.
7167 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
7168 (menu-bar-scroll-bar-none): Remove.
7169 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
7170 expressions instead.
7171
7172 * cus-edit.el (customize-set-value): Return value.
7173 (customize-set-variable): Ditto.
7174 (customize-save-variable): Ditto.
7175 (customize-set-variable): Load dependencies before setting value.
7176 (custom-load-symbol): Autoload it.
7177 (customize-mark-as-set): New function.
7178
7179 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
7180
7181 * cus-start.el: Don't warn about "x-*" symbols when building a
7182 non-GUI version.
7183
7184 2002-02-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7185
7186 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
7187 Doc fix.
7188 (strokes-help): Do not use doubled with-output-to-temp-buffer.
7189 Fix the help string.
7190 (strokes-prompt-user-save-strokes): Fix typo.
7191 (strokes-list-strokes): Use proper exit-action argument for
7192 view-buffer. Update copyright notice.
7193
7194 * international/mule-diag.el: Various doc and message fixes.
7195 (non-iso-charset-alist): Add mac-roman. Don't add entries for
7196 codepages already present.
7197 (list-block-of-chars): Display space for null entries in
7198 translation table. Display tab specially.
7199 (list-non-iso-charset-chars): Check for null charsets. Use pop
7200 for clarity. Don't break 8-bit sets into sections between ranges.
7201 (list-charset-chars): Avoid indent-tabs-mode.
7202 (describe-char-after): Maybe use the text property for syntax
7203 table information. Maybe report char-code-property-table info.
7204 Maybe report character's unicode. Tweak printing of list info.
7205 (list-input-methods): Add xref buttons.
7206 (dump-charsets, dump-codings): Deleted (obsolete).
7207 From Dave Love <fx@gnu.org>.
7208
7209 2002-02-10 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7210
7211 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
7212
7213 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
7214
7215 * viper-util.el (viper-read-key-sequence): Fix so it'll read
7216 fast key sequences in emacs native mode
7217 (viper-events-to-keys): Delete.
7218
7219 * viper.el (describe-key, describe-key-briefly): Get rid of
7220 viper-events-to-keys.
7221
7222 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
7223
7224 * ediff-wind.el (ediff-setup-control-frame):
7225 Use ediff-has-gutter-support.
7226
7227 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
7228 check if buff is alive.
7229
7230 * ediff.el: Typo in comment.
7231
7232 2002-02-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7233
7234 * menu-bar.el (menu-bar-options-save): Take care of
7235 line-number-mode and column-number-mode variables.
7236 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
7237 "Show Column Number" in "Show/Hide" menu.
7238
7239 2002-02-09 Richard M. Stallman <rms@gnu.org>
7240
7241 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
7242
7243 2002-02-09 Kim F. Storm <storm@cua.dk>
7244
7245 * faces.el (mode-line-inactive): New face for mode-line for
7246 non-selected windows.
7247 (mode-line): Doc fix: Only used for selected window.
7248
7249 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7250
7251 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
7252 name to "Insert Diary Entry".
7253
7254 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
7255
7256 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
7257 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
7258
7259 2002-02-08 Richard M. Stallman <rms@gnu.org>
7260
7261 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
7262
7263 2002-02-08 Andreas Schwab <schwab@suse.de>
7264
7265 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
7266 of point-min.
7267
7268 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7269
7270 * net/ange-ftp.el (ange-ftp-process-handle-line)
7271 (ange-ftp-set-xfer-size): If the file's size is a float, divide
7272 by 1024 instead of using ash.
7273
7274 * international/mule-cmds.el (select-safe-coding-system):
7275 State the buffer's name in the message popped in the *Warning* buffer,
7276 and make sure the offending buffer is displayed.
7277
7278 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
7279
7280 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
7281
7282 2002-02-07 Richard M. Stallman <rms@gnu.org>
7283
7284 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
7285
7286 * register.el (list-registers): New command.
7287 (describe-register-1): New subroutine, taken out of view-register.
7288
7289 * emacs-lisp/copyright.el (copyright-regexp):
7290 Delete the unibyte copyright symbol; it's redundant.
7291 Fix a spazz in the multibyte encoding here.
7292
7293 2002-02-07 Dave Love <fx@gnu.org>
7294
7295 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
7296 (cyrillic-encode-alternativnyj-char): Get translation tables from
7297 symbol properties, not as variables.
7298 (standard-display-cyrillic-translit): Include unicodes.
7299
7300 2002-02-06 Kim F. Storm <storm@cua.dk>
7301
7302 * help.el (where-is): Report remapped commands.
7303
7304 * help-fns.el (describe-function-1): Ditto.
7305
7306 * subr.el (global-set-key, local-set-key): Accept a symbol for the
7307 KEY argument (like define-key).
7308
7309 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7310
7311 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
7312
7313 2002-02-06 Richard M. Stallman <rms@gnu.org>
7314
7315 * mail/mailabbrev.el: Require sendmail only at compile time.
7316 (mail-mode-header-syntax-table): Var deleted.
7317 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
7318 (sendmail-pre-abbrev-expand-hook): Only temporarily change
7319 local-abbrev-table and the syntax table.
7320 Compute mail-abbrev-syntax-table if that has not been done.
7321
7322 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
7323
7324 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
7325 (debugger-frame-number): Figure out the offset directly.
7326 (debugger-setup-buffer): Don't use debugger-frame-offset.
7327 (debugger-frame, debugger-frame-clear): Likewise.
7328 (debugger-jump): Don't alter debugger-frame-offset.
7329
7330 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7331 Replace foo-p as var name with foo-flag, not foo-p-flag.
7332
7333 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
7334 (highlight-changes-passive-string): Default to -Chg.
7335 (highlight-changes-global-modes): Doc fix.
7336
7337 * dired.el (dired-get-filename): Add /: when appropriate
7338 to avoid taking a local name as remote.
7339
7340 * files.el (file-name-non-special): Add special handling for
7341 file-name-sans-versions, file-name-completion, and
7342 file-name-all-completions.
7343
7344 * isearch.el (isearch-update): Don't update display in kbd macro.
7345 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
7346
7347 * subr.el (force-mode-line-update): Doc fix.
7348
7349 * subr.el (atomic-change-group, prepare-change-group)
7350 (activate-change-group, accept-change-group, cancel-change-group):
7351 New functions.
7352
7353 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
7354 (transpose-subr-1): Use atomic-change-group.
7355
7356 * subr.el (add-minor-mode): Include the mode's lighter string
7357 in the minor mode menu item name.
7358
7359 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
7360 rmail-count-screen-lines starting from (point-min).
7361
7362 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
7363 beyond the image height, to use the fancy splash screen.
7364
7365 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
7366 (text-mode): Set text-mode-variant here.
7367
7368 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
7369
7370 * play/pong.el (pong-height): Don't use height that exceeds the
7371 frame height.
7372 (pong-border-options): Make the border colors slightly more bright.
7373
7374 * play/gamegrid.el (gamegrid-display-type): Treat any
7375 color-capable display as color-x, if display-color-p is fboundp.
7376 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
7377 (gamegrid-make-color-tty-face): Use the value of color, not the
7378 symbol itself. Don't call gamegrid-color.
7379
7380 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
7381
7382 * gud.el (gud-refresh): Call recenter only after we are sure we
7383 are in the right window.
7384
7385 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
7386
7387 * cus-edit.el (customize-mark-to-save): New function.
7388 * menu-bar.el (menu-bar-options-save): Rewrote.
7389
7390 2002-02-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7391
7392 * cus-start.el (x-use-underline-position-properties):
7393 Allow customization.
7394
7395 2002-02-04 Simon Josefsson <jas@extundo.com>
7396
7397 * dired.el (dired-load-hook, dired-mode-hook)
7398 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
7399
7400 2002-02-03 Colin Walters <walters@verbum.org>
7401
7402 * ibuf-ext.el (ibuffer-filter-format-alist)
7403 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
7404 New variables.
7405 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
7406 is now the Emacs CVS tree.
7407 (ibuffer-formats): Doc fix.
7408 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
7409 (ibuffer-current-format): Use them.
7410 (ibuffer-recompile-formats, ibuffer-check-formats)
7411 (ibuffer-switch-format, ibuffer-update-title):
7412 Add support for ibuffer-filter-format-alist.
7413 (define-ibuffer-column process): Remove unncessary consing.
7414
7415 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
7416 for a summary column.
7417
7418 2002-02-03 Andreas Schwab <schwab@suse.de>
7419
7420 * window.el (save-selected-window): Move macro before first use.
7421 (balance-windows): Fix misplaced parenthesis.
7422
7423 2002-02-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7424
7425 * calculator.el (calculator-displayers): Doc fixes.
7426
7427 2002-02-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7428
7429 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
7430 (menu-bar-options-save): Save also the value of `display-time-mode'.
7431 (showhide-date-time): New function.
7432 (menu-bar-showhide-menu): New menu-item "Date and time".
7433
7434 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
7435
7436 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
7437 get-file-buffer to check for rmail buffer existence.
7438
7439 * term.el (term-emulate-terminal): Extract proper command string
7440 which is supplied to term-command-hook.
7441
7442 2002-02-03 Richard M. Stallman <rms@gnu.org>
7443
7444 * international/quail.el (quail-help): Don't call help-setup-xref.
7445
7446 * international/mule-cmds.el (describe-input-method):
7447 Call help-setup-xref here.
7448 (describe-current-input-method): Doc fix.
7449
7450 * novice.el (disabled-command-hook): Clarify output text.
7451 Indent the paragraph from the command's doc string.
7452
7453 * dabbrev.el (dabbrev--goto-start-of-abbrev):
7454 Exit loop on beginning of field rather than bobp.
7455
7456 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7457
7458 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
7459 the message text into the *mail* buffer, and restore the pruned
7460 state after that.
7461
7462 * mail/rmail.el (rmail-redecode-body): Prune the headers before
7463 looking for X-Coding-System header, and restore the pruned state
7464 before returning.
7465
7466 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7467
7468 * cus-edit.el (customize-save-variable): Fix typo in prompt.
7469
7470 These changes integrate new version of flyspell.el from its
7471 maintainer, Manuel Serrano:
7472
7473 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
7474 (flyspell-mode-on, flyspell-notify-misspell)
7475 (flyspell-small-region, flyspell-external-point-words)
7476 (flyspell-large-region): Use it
7477 (flyspell-before-incorrect-word-string)
7478 (flyspell-after-incorrect-word-string): New user options.
7479 (make-flyspell-overlay): Use them.
7480 (flyspell-version): New function.
7481 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
7482 definitions to use :weight.
7483 (flyspell-insert-function): New user option.
7484 (flyspell-auto-correct-word, flyspell-correct-word)
7485 (flyspell-xemacs-correct): Use it.
7486 (flyspell-define-abbrev): New function.
7487 (flyspell-auto-correct-word, flyspell-correct-word)
7488 (flyspell-xemacs-correct): Use it.
7489 (make-flyspell-overlay): Use `evaporate' property.
7490 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
7491 (flyspell-emacs-popup): Use `session' instead of `accept'.
7492 (flyspell-auto-correct-previous-pos): New variable.
7493 (flyspell-auto-correct-previous-hook)
7494 (flyspell-auto-correct-previous-word): New functions.
7495
7496 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7497
7498 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
7499 don't alter the user's ~/.emacs.
7500 (disable-command): If user-init-file is nil or does not exist,
7501 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
7502 But don't alter the init file if Emacs was invoked as "emacs -q"
7503
7504 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
7505
7506 * mail/sendmail.el (mail-mode): Undo half of last change.
7507
7508 * indent.el (indent-for-tab-command): Remove spurious code.
7509
7510 * hi-lock.el (hi-lock-find-patterns): Save restriction.
7511
7512 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
7513
7514 * calendar/time-date.el: Moved from lisp/gnus.
7515
7516 * calendar/parse-time.el: Ditto.
7517
7518 2002-01-31 Richard M. Stallman <rms@gnu.org>
7519
7520 * international/iso-acc.el (iso-languages): Fix ", " in French.
7521
7522 * cus-start.el (history-length): Specify customization for it.
7523
7524 * emacs-lisp/debug.el (debugger-setup-buffer):
7525 When an eval-buffer frame was reading from a buffer,
7526 insert indication of the buffer position.
7527 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
7528 (debugger-frame-clear, debugger-frame): Error on non-frame line.
7529
7530 * simple.el (shell-command-on-region): Err if no mark
7531 before reading the command string.
7532
7533 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
7534 Definitions moved down after hl-line-mode var's definition.
7535
7536 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
7537 (hilit-chg-set-face-on-change): Rename arg.
7538 (hilit-chg-make-ov): Detect error earlier.
7539
7540 * ediff-hook.el: Delete autoload cookies.
7541
7542 * comint.el (comint-scroll-show-maximum-output): Default is t.
7543
7544 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
7545 (batch-byte-compile-if-not-done): New function.
7546
7547 * Makefile.in (compile): New target.
7548 (compile-always): Renamed from compile-files.
7549 (compile-after-backup): Renamed from compile.
7550 (bootstrap): Depend on compile-always, not compile-files.
7551
7552 * emulation/pc-select.el (pc-select-save-and-set-mode):
7553 Properly use MODE-VAR.
7554
7555 2002-01-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7556
7557 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
7558 Version" to "About Emacs".
7559 (menu-bar-options-save): Add `default-frame-alist'
7560 to saved variables.
7561 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
7562 of the variable `scroll-bar-mode'.
7563
7564 * startup.el (normal-splash-screen, display-splash-screen):
7565 New functions (separated from command-line-1).
7566 (command-line-1): Use them.
7567
7568 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
7569
7570 * calendar/calendar.el (generate-calendar-month): Doc fix.
7571
7572 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7573
7574 * time.el (display-time-mail-directory): New option.
7575 (display-time-mail-function): Update doc-string.
7576 (display-time-mail-icon): Use XPM image when available.
7577 (display-time-string-forms): Use more descriptive text as
7578 help-echo property.
7579 (display-time-mail-check-directory): New function.
7580 (display-time-update): Use it.
7581
7582 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
7583 Quote `window-system'.
7584
7585 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
7586 Add Keywords header. Update Commentary section.
7587 Update copyright notice.
7588
7589 * menu-bar.el (menu-bar-scroll-bar-right)
7590 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
7591 (showhide-menu-bar): New functions.
7592 (menu-bar-showhide-menu): New submenu "Show/Hide".
7593 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
7594 "Show/Hide".
7595 Update copyright notice.
7596
7597 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
7598
7599 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
7600
7601 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
7602
7603 * pc-select.el (pc-selection-mode-hook)
7604 (pc-select-saved-settings-alist, pc-select-map)
7605 (pc-select-saved-global-map, pc-select-key-bindings-alist)
7606 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
7607 (pc-select-meta-moves-sexps-key-bindings)
7608 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
7609 New variables.
7610 (pc-select-define-keys, pc-select-restore-keys): New functions.
7611 (pc-select-add-to-alist, pc-select-save-and-set-var)
7612 (pc-select-save-and-set-mode, pc-select-restore-var)
7613 (pc-select-restore-mode): New macros.
7614 (pc-selection-mode): Completely rewrote the body of the function;
7615 the main goal was to make pc-selection-mode "turn-off"-able, like
7616 other minor modes. Use define-minore-mode instead of just a
7617 defun. Store the key bindings into four alists:
7618 pc-select-default-key-bindings, pc-select-extra-key-bindings,
7619 pc-select-meta-moves-sexps-key-bindings, and
7620 pc-select-tty-key-bindings; then have the pc-select-define-keys
7621 function walk those alists instead of calling define-key
7622 repeatedly. When the mode is turned on, set the
7623 keybindings in global-map and remember the old keybindings; when
7624 the mode is turned off, restore the previously-saved keybindings.
7625 (pc-selection-mode defcustom): Reflect the fact that the mode is
7626 now "turn-off"-able.
7627
7628 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
7629
7630 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
7631 returns t, don't treat that as an error.
7632
7633 2002-01-25 Jason Rumney <jasonr@gnu.org>
7634
7635 * faces.el (face-font-registry-alternatives) [windows-nt]:
7636 Add ms-oemlatin as an alternative for iso8859-1.
7637
7638 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
7639
7640 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
7641 args and the absence of an entry. Don't add -f each time.
7642
7643 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
7644
7645 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
7646
7647 Support for more than 8 colors on character terminals:
7648
7649 * term/rxvt.el: New file.
7650
7651 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
7652
7653 * term/xterm.el (xterm-standard-colors): New variable.
7654 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
7655 (xterm-rxvt-set-background-mode): New functions.
7656 (toplevel): Call xterm-register-default-colors,
7657 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
7658 Add support for more keys from xterm's terminfo entry.
7659
7660 * facemenu.el (list-colors-display): If the argument is nil, don't
7661 show more colors that the number returned by display-color-cells.
7662
7663 * term/pc-win.el (msdos-color-values): Reverse the order of the
7664 colors, since tty-color-define now preserves the registration order.
7665
7666 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
7667
7668 * term/tty-colors.el (tty-standard-colors): Reverse the order.
7669 (tty-register-default-colors): New function; code moved from
7670 startup.el's command-line.
7671 (tty-modify-color-alist): Use nconc instead of cons, to preserve
7672 the order the colors where registered.
7673
7674 * frame.el (display-color-cells): Use tty-display-color-cells.
7675
7676 * startup.el (command-line): Call tty-register-default-colors.
7677
7678 2002-01-25 Richard M. Stallman <rms@gnu.org>
7679
7680 * subr.el (remove): Doc fix.
7681
7682 2002-01-24 Richard M. Stallman <rms@gnu.org>
7683
7684 * progmodes/compile.el (compilation-handle-exit):
7685 Add a compilation-handle-exit property to the "finished" message.
7686 (compilation-parse-errors): Stop parsing when that property is seen.
7687
7688 * subr.el (substring-no-properties): New function.
7689 (copy-without-properties): Function deleted.
7690
7691 * term/x-win.el (x-handle-geometry): Put sizes on both
7692 initial-frame-alist and default-frame-alist.
7693
7694 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
7695 for saving .emacs.
7696
7697 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
7698
7699 * calendar/calendar.el (generate-calendar-month): Doc fix.
7700
7701 2002-01-23 Richard M. Stallman <rms@gnu.org>
7702
7703 * play/tetris.el (tetris): New defgroup.
7704 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
7705 (tetris-default-tick-period): Convert to defcustom.
7706 Added * in docstring to indicate user variable.
7707 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
7708 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
7709 (tetris-buffer-height, tetris-width, tetris-height)
7710 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
7711
7712 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
7713
7714 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
7715 and is already matched by adaptive-fill-regexp.
7716
7717 2002-01-22 Richard M. Stallman <rms@gnu.org>
7718
7719 * bindings.el (mode-line-copied-mode-name): New variable.
7720 (mode-line-mode-name): Don't modify mode-name itself!
7721 Instead, make a copy and reuse it.
7722
7723 * subr.el (copy-without-properties): New function.
7724
7725 * progmodes/sh-script.el (sh-set-shell): Doc fix.
7726
7727 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
7728 slash if DIR is just slash.
7729
7730 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
7731
7732 2002-01-21 Richard M. Stallman <rms@gnu.org>
7733
7734 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
7735
7736 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
7737 Move defvar up.
7738
7739 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
7740
7741 * ibuffer.el: Don't require ibuf-ext at load time.
7742 (ibuffer): Require ibuf-ext here.
7743
7744 2002-01-21 Francesco Potorti` <pot@gnu.org>
7745
7746 * generic-x.el (apache-conf-generic-mode): Highlight the first
7747 word in a line even if preceded by blanks.
7748
7749 2002-01-21 Richard M. Stallman <rms@gnu.org>
7750
7751 * window.el (window-body-height): Handle minibuffer window specially.
7752 Otherwise, don't return less than 1.
7753
7754 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
7755
7756 * ange-ftp.el: Added support for BS2000, and for raw ftp
7757 login commands (needed in some circumstances).
7758 (ange-ftp-raw-login): New custom var.
7759 (ange-ftp-normal-login): Perform login with raw ftp commands, if
7760 ange-ftp-raw-login is set and account password is needed.
7761 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
7762 (ange-ftp-bs2000-filename-pubset-regexp)
7763 (ange-ftp-bs2000-filename-username-regexp)
7764 (ange-ftp-bs2000-filename-prefix-regexp)
7765 (ange-ftp-bs2000-name-template): New consts.
7766 (ange-ftp-bs2000-short-filename-regexp)
7767 (ange-ftp-bs2000-fix-name-regexp-reverse)
7768 (ange-ftp-bs2000-fix-name-regexp): New consts.
7769 (ange-ftp-bs2000-special-prefix): New custom var.
7770 (ange-ftp-fix-name-for-bs2000)
7771 (ange-ftp-fix-dir-name-for-bs2000): New funs.
7772 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
7773 (ange-ftp-bs2000-posix-hook-installed): New vars.
7774 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
7775 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
7776 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
7777 (ange-ftp-bs2000-filename-regexp): New const.
7778 (ange-ftp-bs2000-additional-pubsets): New custom var.
7779 (ange-ftp-bs2000-cd-to-posix): New fun.
7780
7781 2002-01-20 Colin Walters <walters@verbum.org>
7782
7783 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
7784 with `byte-compile-dynamic'.
7785 (ibuffer-default-directory, toplevel): Doc files.
7786
7787 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7788
7789 * tempo.el (tempo-define-template): Doc fix.
7790
7791 * scroll-bar.el (scroll-bar-mode): Make argument optional.
7792
7793 2002-01-20 Jason Rumney <jasonr@gnu.org>
7794
7795 * w32-vars.el: New file.
7796
7797 * loadup.el [windows-nt]: Load it.
7798
7799 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
7800 and make them defcustoms.
7801
7802 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
7803
7804 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7805
7806 * language/tibet-util.el (tibetan-decompose-region)
7807 (tibetan-decompose-string): Fix typo in docstring.
7808
7809 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
7810
7811 2002-01-18 Richard M. Stallman <rms@gnu.org>
7812
7813 * comint.el (comint-redirect-send-command-to-process):
7814 Restore previous current buffer.
7815
7816 * window.el (window-body-height): New function.
7817
7818 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
7819
7820 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
7821 "Finish Function" menu map entries for jdb mode.
7822 (gud-jdb-use-classpath): New customization variable.
7823 (gud-jdb-command-name): Add customization.
7824 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
7825 (gud-jdb-classpath-string): New variable.
7826 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
7827 (gud-jdb-build-source-files-list): Likewise.
7828 (gud-jdb-massage-args): Record any command argument classpath
7829 string in `gud-jdb-classpath-string'.
7830 (gud-jdb-lowest-stack-level): New function, finds bottom of current
7831 java call stack in jdb output.
7832 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
7833 (gud-jdb-parse-classpath-string): New functions.
7834 (gud-jdb-marker-filter): Search/detect classpath information in
7835 jdb's output. marker regexp updated to match oldjdb and jdb output
7836 formats. Expand search for source files to include new/old methods
7837 using new functions above. Do not allow `gud-marker-acc' to grow
7838 without bound.
7839 (jdb): Set classpath information (if available) as jdb is started.
7840 Change `gud-break' and `gud-remove'
7841 to use new %c ("class") escape in format strings.
7842 Add `gud-finish', `gud-up', `gud-down' command string functions, and
7843 add them to the local menu map. Update `comint-prompt-regexp' for
7844 jdb and oldjdb. If attaching to an already running java VM and
7845 configured to use classpath, send command to query for classpath,
7846 else use previous method for finding and parsing java
7847 sources. Set `gud-jdb-find-source' function accordingly.
7848 (gud-mode): Doc fix.
7849 (gud-format-command): Add support for new %c ("class") escape.
7850 (gud-find-class): New function in support of %c escape.
7851
7852 2002-01-17 Richard M. Stallman <rms@gnu.org>
7853
7854 * ibuf-ext.el: Enable byte-compile-dynamic.
7855
7856 2002-01-17 Jason Rumney <jasonr@gnu.org>
7857
7858 * term/w32-win.el: Restore conditional require of fontset.
7859
7860 2002-01-16 Richard M. Stallman <rms@gnu.org>
7861
7862 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
7863 more or less.
7864 (mouse-drag-region): New function. For a click in the echo area,
7865 show *Messages*.
7866
7867 * ibuf-ext.el: Delete the autoloads for functions defined with
7868 ibuffer-specific commands.
7869
7870 * help.el (describe-distribution): Really call view-file.
7871
7872 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
7873 (ange-ftp-get-process): Pass that arg.
7874
7875 * comint.el (comint-simple-send): Fix previous change.
7876
7877 * net/telnet.el (telnet-simple-send): Fix previous change.
7878
7879 * progmodes/sql.el (sql-escape-newlines-and-send)
7880 (sql-query-placeholders-and-send): Fix previous change.
7881
7882 2002-01-16 Colin Walters <walters@verbum.org>
7883
7884 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
7885 URL, Compatibility headers. Update copyright notice.
7886 * ibuf-macs.el (toplevel): Require `cl' when compiling.
7887
7888 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
7889
7890 * startup.el (command-line): Set EOL mnemonics for the Mac.
7891
7892 2002-01-16 Andreas Schwab <schwab@suse.de>
7893
7894 * mail/feedmail.el (feedmail): Fix :link spec.
7895
7896 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7897
7898 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
7899 2 ldapsearch.
7900
7901 * net/eudc.el: New maintainer. Change author's address.
7902 (eudc-pre-select-window-configuration, eudc-insertion-marker):
7903 Variables removed.
7904 (eudc-insert-selected): Function removed.
7905 (eudc-select): Reimplemented.
7906 (eudc-expand-inline): Delete the strings only after its expansion
7907 is chosen not before.
7908
7909 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
7910 Minor coding style fixes.
7911
7912 * net/eudcb-ldap.el: New maintainer. Change author's address.
7913 (eudc-attribute-display-method-alist): Display mail with
7914 eudc-display-mail.
7915
7916 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
7917 * net/eudc-vars.el: New maintainer. Change author's address.
7918
7919 * net/eudc-bob.el: New maintainer. Change author's address.
7920 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
7921 (eudc-display-mail): New function.
7922 (eudc-bob-play-sound-at-point): Remove XEmacs case.
7923
7924 2002-01-15 Richard M. Stallman <rms@gnu.org>
7925
7926 * emacs-lisp/autoload.el (make-autoload):
7927 Don't handle define-ibuffer-column, define-ibuffer-filter,
7928 define-ibuffer-sorter, and define-ibuffer-op.
7929
7930 2002-01-14 Richard M. Stallman <rms@gnu.org>
7931
7932 * calendar/calendar.el (diary-date-forms): Doc fix.
7933
7934 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
7935
7936 * startup.el (command-line): Register the default tty colors even
7937 if the terminal doesn't seem to support colors.
7938 <tty-long-option-alist>: New option --color.
7939 (tty-handle-args): Parse the --color arg.
7940
7941 * term/tty-colors.el (tty-color-mode-alist): New variable.
7942
7943 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
7944
7945 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
7946 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
7947 Use it.
7948 (ange-ftp-hook-function): Preserve match-data.
7949 (ange-ftp-insert-directory): Typo.
7950 (ange-ftp-shell-command): Check if regexp matched.
7951
7952 2002-01-13 Richard M. Stallman <rms@gnu.org>
7953
7954 * international/mule-cmds.el: help-map bindings moved to help.el.
7955
7956 * help.el (view-echo-area-messages): New function.
7957 (help-map): Add `e' binding. Delete obsolete `d' binding.
7958 Change old Info bindings C-f, C-k and C-i to F, K, S.
7959 Move view-emacs-FAQ from F to C-f.
7960 Move view-emacs-problems from P to C-e.
7961 Bindings moved here from mule-cmds.el.
7962 C-l binding for describe-language-environment deleted
7963 (help-for-help): Update for all these changes.
7964
7965 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
7966
7967 2002-01-13 Dave Love <fx@gnu.org>
7968
7969 * emacs-lisp/copyright.el: Doc fixes.
7970 (copyright-regexp): Add Latin-9 copyright sign.
7971 Match comment delimiters in year lists.
7972 (copyright-current-year): Initialize to load-time year.
7973
7974 2002-01-13 Andreas Schwab <schwab@suse.de>
7975
7976 * dired-aux.el (dired-do-shell-command): Doc fix.
7977
7978 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
7979
7980 * startup.el (command-line-x-option-alist): New options "-fs",
7981 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
7982
7983 * term/x-win.el (x-handle-initial-switch): New function.
7984
7985 2002-01-13 Colin Walters <walters@debian.org>
7986
7987 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
7988 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
7989
7990 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
7991
7992 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
7993
7994 2002-01-12 Richard M. Stallman <rms@gnu.org>
7995
7996 * net/browse-url.el (browse-url-grail):
7997 Use browse-url-maybe-new-window.
7998
7999 * net/telnet.el (telnet-simple-send):
8000 Handle comint-input-sender-no-newline like comint-simple-send.
8001
8002 * progmodes/sql.el (sql-query-placeholders-and-send):
8003 Handle comint-input-sender-no-newline like comint-simple-send.
8004 (sql-escape-newlines-and-send): Likewise.
8005
8006 * comint.el (comint-input-sender): Doc fix.
8007 (comint-input-sender-no-newline): New variable.
8008 (comint-simple-send): If comint-input-sender-no-newline,
8009 don't output newline, but maybe send eof.
8010 (comint-send-input): New arg NO-NEWLINE.
8011 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
8012
8013 2002-01-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8014
8015 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8016 Prevent delaying when executing keyboard macros.
8017
8018 2002-01-12 Richard M. Stallman <rms@gnu.org>
8019
8020 * simple.el (line-move): If we can't move enough lines,
8021 go to beginning or end of line.
8022
8023 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
8024 and proper window.
8025
8026 * help.el (describe-mode): Call help-setup-xref in the help buffer.
8027 Switch buffers only after calling `help-buffer'.
8028
8029 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
8030 only when they are surrounded by whitespace.
8031 Use dired-mark-separator when adding one file name to a command.
8032 (dired-do-shell-command): Verify that * is surrounded by whitespace.
8033 Ask for confirmation if * or ? is not surrounded by whitespace.
8034 (dired-bunch-files): Re-reverse the partial file list when it is used.
8035
8036 2002-01-12 Richard M. Stallman <rms@gnu.org>
8037
8038 * comint.el (comint-dynamic-list-completions): Repeating the command
8039 after displaying a completion list scrolls the list.
8040
8041 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
8042
8043 * files.el (find-file-noselect): Don't consider a buffer as
8044 visiting a file literally if it is in hexl-mode.
8045
8046 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
8047
8048 2002-01-11 Richard M. Stallman <rms@gnu.org>
8049
8050 * startup.el (initial-scratch-message): Fix custom type, add group.
8051
8052 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
8053 around the decode-coding-region call.
8054
8055 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
8056 after displaying a completion list scrolls the list.
8057
8058 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
8059
8060 * version.el (emacs-version): Bump to 21.2.50.
8061
8062 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
8063
8064 * play/zone.el (zone-timeout): New var.
8065 (zone-hiding-modeline): New macro.
8066 (zone-call): New func.
8067
8068 (zone): Init `modeline-hidden-level' symbol property.
8069 Use `zone-call' instead of `funcall'.
8070
8071 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
8072
8073 (zone-pgm-stress): Use `zone-hiding-modeline'.
8074
8075 (zone-pgm-stress-destress): New zone program.
8076
8077 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
8078
8079 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
8080
8081 2002-01-09 Richard M. Stallman <rms@gnu.org>
8082
8083 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
8084
8085 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
8086
8087 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
8088 flyspell-mouse-map.
8089
8090 2002-01-08 Richard M. Stallman <rms@gnu.org>
8091
8092 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
8093
8094 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
8095
8096 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
8097
8098 2002-01-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8099
8100 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
8101 Do not use make-local-hook.
8102
8103 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
8104
8105 * international/quail.el (quail-start-translation)
8106 (quail-start-conversion): Bind last-command-event, last-command,
8107 and this-command in the first let. This fixes the change from
8108 2000-08-30.
8109
8110 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
8111
8112 * ediff-hook.el: Add an autoload cookie.
8113
8114 2002-01-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8115
8116 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
8117 address of the author.
8118
8119 2002-01-08 Richard M. Stallman <rms@gnu.org>
8120
8121 * replace.el (occur-mode-goto-occurrence-other-window): New command.
8122 (occur-mode-map): Bind `o' to that.
8123
8124 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
8125
8126 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
8127 new macro that replaces viper-emacs-p and viper-xemacs-p in many
8128 cases. Used to reduce the number of warnings.
8129
8130 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
8131 (viper-standard-value): Move here from viper.el.
8132 (viper-set-unread-command-events): Move to viper-util.el
8133 (viper-check-minibuffer-overlay): Make sure
8134 viper-minibuffer-overlay is moved to cover the entire input field.
8135
8136 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
8137 (viper-read-key-sequence, viper-set-unread-command-events)
8138 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
8139
8140 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
8141
8142 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
8143
8144 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
8145
8146 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
8147 (viper-event-vector-p): Move to viper-util.el
8148
8149 * viper.el (viper-standard-value): Move to viper-cmd.el.
8150 Use viper-cond-compile-for-xemacs-or-emacs.
8151
8152 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8153
8154 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8155
8156 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
8157 New macro designed to be used in many places where ediff-emacs-p or
8158 ediff-xemacs-p was previously used. Reduces the number of warnings.
8159 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
8160 of ediff-xemacs-p.
8161 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
8162 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
8163 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
8164 Move to ediff-util.el.
8165 (ediff-event-key): Moved here.
8166
8167 * ediff-merge.el: Got rid of unreferenced variables.
8168
8169 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8170
8171 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8172 (ediff-cleanup-mess): Improve the way windows are set up after
8173 quitting ediff.
8174 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
8175 (ediff-dispose-of-variant-according-to-user): New function
8176 designed to be smarter and also understands indirect buffers.
8177 (ediff-highlight-diff-in-one-buffer)
8178 (ediff-unhighlight-diff-in-one-buffer)
8179 (ediff-unhighlight-diffs-totally-in-one-buffer)
8180 (ediff-highlight-diff, ediff-highlight-diff)
8181 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
8182 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
8183 (ediff-get-region-contents, ediff-make-current-diff-overlay):
8184 Moved here.
8185 (ediff-format-bindings-of): New function by Hannu Koivisto
8186 <azure@iki.fi>.
8187 (ediff-setup): Make sure the merge buffer is always widened and
8188 modifiable.
8189 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
8190 result of a merge into a file visited by another buffer.
8191 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
8192 is visited by another buffer and ask to save/delete that buffer.
8193 (ediff-verify-file-merge-buffer): New function to do the above.
8194
8195 * ediff-vers.el: Load ediff-init.el at compile time.
8196
8197 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8198
8199 * ediff.el (ediff-windows, ediff-regions-wordwise)
8200 (ediff-regions-linewise): Use indirect buffers to improve
8201 robustness and make it possible to compare regions of the same
8202 buffer (even overlapping regions).
8203 (ediff-clone-buffer-for-region-comparison)
8204 (ediff-clone-buffer-for-window-comparison): New functions.
8205 (ediff-files-internal): Refuse to compare identical files.
8206 (ediff-regions-internal): Get rid of the warning about comparing
8207 regions of the same buffer.
8208
8209 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
8210 Plus the following fixes courtesy of Dave Love: Doc fixes.
8211 (ediff-word-1): Use word class and move - to the
8212 front per regexp documentation.
8213 (ediff-wordify): Bind forward-word-function outside loop.
8214 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
8215 consing buffer contents.
8216 (ediff-goto-word): Move syntax table setting outside loop.
8217
8218 2002-01-07 Richard M. Stallman <rms@gnu.org>
8219
8220 * dired.el (dired-copy-filename-as-kill): Call kill-append
8221 if following a kill command.
8222
8223 * help-fns.el (describe-variable, describe-function):
8224 Do save-excursion.
8225
8226 2002-01-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8227
8228 * net/ldap.el (ldap-search-internal): Skip error message from
8229 ldapsearch. Allow listing attribute names only. Do not open
8230 non-existent files.
8231
8232 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
8233 call non-existent function.
8234
8235 * net/eudc.el (top-level): Revert previous change.
8236
8237 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
8238 variables to prevent warning from byte-compiler.
8239
8240 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
8241 string-match on emacs-version again.
8242
8243 * enriched.el (enriched-make-annotation): Fix the change from
8244 2002-01-05.
8245 (enriched-handle-display-prop): Return proper values.
8246
8247 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
8248 Use proper attribute name labeledUri instead of deprecated labeledUrl.
8249
8250 2002-01-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8251
8252 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
8253 editing an empty hotlist.
8254
8255 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
8256 Use buffer-string instead of buffer-substring for the whole buffer.
8257
8258 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
8259 not free.
8260
8261 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
8262 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
8263 (eudc-bob-save-object): Make the buffer unibyte.
8264 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
8265 object to external program.
8266
8267 2002-01-05 Andre Spiegel <spiegel@gnu.org>
8268
8269 * vc.el (vc-branch-part): Return nil if there's no `.'
8270 (vc-default-previous-version): Renamed from vc-previous-version.
8271 New args BACKEND and FILE. Return nil for revision numbers
8272 without a `.'
8273 (vc-version-diff): Call vc-BACKEND-previous-version.
8274 (vc-steal-lock): Steal lock before composing mail, so that no mail
8275 is sent when the stealing goes wrong. And we'll actually see the
8276 error in that case now.
8277 (vc-finish-steal): Removed.
8278
8279 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
8280 the lock, so that we see expanded headers.
8281 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
8282 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
8283 available from vc.el. Updated all callers.
8284
8285 2002-01-05 Richard M. Stallman <rms@gnu.org>
8286
8287 * enriched.el (enriched-make-annotation): Doc fix.
8288
8289 * format.el (format-replace-strings, format-subtract-regions)
8290 (format-annotate-region, format-annotate-location)
8291 (format-annotate-atomic-property-change)
8292 (format-annotate-single-property-change): Doc fixes.
8293
8294 2002-01-05 Jason Rumney <jasonr@gnu.org>
8295
8296 * term/w32-win.el: Require fontset unconditionally.
8297 (w32-handle-scroll-bar-event): Remove.
8298
8299 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8300
8301 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
8302 copyrights to be updated.
8303
8304 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
8305
8306 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
8307 2001-10-24.
8308
8309 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
8310
8311 2002-01-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8312
8313 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
8314 (ldap-ignore-attribute-codings): Change the default value to allow
8315 encoding/decoding of attributes.
8316 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
8317
8318 2002-01-03 Richard M. Stallman <rms@gnu.org>
8319
8320 * files.el (basic-save-buffer): Undo previous change.
8321
8322 * calendar/diary-lib.el (diary-block): Doc fix.
8323
8324 * custom.el (defcustom): Fix syntax of previous change.
8325
8326 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
8327
8328 * custom.el (defcustom): Documented :tag, :link and :load.
8329
8330 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8331
8332 * mail/sendmail.el (mail-recover-1): New function.
8333 (mail-recover): Switch to the *mail* buffer right away.
8334 Use buffer-auto-save-file-name instead of calling
8335 make-auto-save-file-name. Call dired-noselect instead of invoking
8336 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
8337 before reading the auto-save file. If the buffer's auto-save file
8338 does not exist, call mail-recover-1 to allow recovery from past
8339 auto-saved drafts.
8340
8341 2002-01-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8342
8343 * time.el (display-time-load-average-threshold): Fix defcustom
8344 (add type and group).
8345
8346 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
8347 specification from the hostname.
8348
8349 2002-01-02 Richard M. Stallman <rms@gnu.org>
8350
8351 * facemenu.el (facemenu-active-faces):
8352 Use face-attributes-as-vector, not face-attributes-vector.
8353
8354 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
8355
8356 * xscheme.el: Eleven years of updates on a private copy.
8357
8358 Extensive changes to support multiple xscheme buffers:
8359 (run-scheme): Break up into new functions to facilitate starting
8360 processes in other buffers.
8361 (xscheme-start, xscheme-read-command-line): New functions.
8362 (start-scheme, select-scheme)
8363 (default-xscheme-runlight)
8364 (global-set-scheme-interaction-buffer)
8365 (local-set-scheme-interaction-buffer)
8366 (local-clear-scheme-interaction-buffer)
8367 (exit-scheme-interaction-mode)
8368 (verify-xscheme-buffer): New functions.
8369 (xscheme-process-name, xscheme-buffer-name)
8370 (xscheme-runlight): New internal vars.
8371 (default-xscheme-runlight): New const.
8372 (xscheme-start-process): Add args for the process/buffer names.
8373 (reset-scheme): Pass process/buffer names.
8374 (scheme-interaction-mode): Initialize new local vars.
8375 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
8376 (xscheme-select-process-buffer, xscheme-process-buffer)
8377 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
8378 (xscheme-goto-output-point, xscheme-write-message-1): Use new
8379 var xscheme-process-name.
8380 (xscheme-start-process): Initialize xscheme-process-name and
8381 xscheme-buffer-name in the process buffer. Pass buffer name to
8382 xscheme-modeline-initialize.
8383 (xscheme-modeline-initialize): Add argument to specify buffer name
8384 for mode-line vars.
8385 (xscheme-process-sentinel): Make sure sentinel is run in the
8386 process buffer so it sees its local vars.
8387 (xscheme-process-filter-initialize, xscheme-set-runlight):
8388 More elaborate logic to handle multiple-buffer mode lines.
8389
8390 (xscheme-enter-input-wait): Re-enable control-G handler upon
8391 entering input wait.
8392
8393 (scheme-interaction-mode): Add arg to preserve local vars.
8394 (xscheme-enter-interaction-mode)
8395 (xscheme-enter-debugger-mode): Preserve local vars.
8396 (xscheme-start-process): Clobber local vars.
8397
8398 (scheme-interaction-mode-commands): Allow end user to add commands
8399 to scheme-interaction-mode keymap.
8400 (scheme-interaction-mode-commands-alist): New variable.
8401
8402 (xscheme-send-string): Don't use insert-before-markers.
8403
8404 Implement a per-buffer kill ring:
8405 (xscheme-insert-expression)
8406 (xscheme-rotate-yank-pointer, xscheme-yank)
8407 (xscheme-yank-pop, xscheme-yank-push): New functions.
8408 (xscheme-expressions-ring)
8409 (xscheme-expressions-ring-yank-pointer)
8410 (xscheme-expressions-ring-max): New variables.
8411 (xscheme-send-string-1): Call xscheme-insert-expression to save
8412 expression in ring.
8413 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
8414 (xscheme-previous-send): Deleted variable.
8415
8416 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
8417 (xscheme-send-control-g-interrupt): Use process-send-string rather
8418 than send-string.
8419
8420 (xscheme-send-region): Insert a newline after an expression that
8421 is submitted in the interaction buffer, for consistency with
8422 recent changes to Edwin.
8423
8424 (xscheme-delete-output): New function mimics comint-delete-output.
8425 (xscheme-last-input-end): New internal variable.
8426 (xscheme-process-filter-output): Update xscheme-last-input-end.
8427
8428 (xscheme-send-control-g-interrupt): Make sure that
8429 xscheme-control-g-disabled-p is looked up in the right buffer.
8430
8431 (xscheme-enable-control-g): Clear C-g message if visible.
8432 (xscheme-control-g-message-string): New internal var.
8433 (xscheme-send-control-g-interrupt): Use new var.
8434
8435 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
8436 Delay after sending interrupt in order to work around race condition.
8437
8438 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
8439 (xscheme-send-char): Use xscheme-send-char rather than send-string
8440 to send single char.
8441
8442 (xscheme-process-filter, xscheme-process-filter-alist):
8443 Add support for evaluating expressions outside of the call-excursion.
8444 (xscheme-process-filter:string-action-noexcursion): New func.
8445
8446 (xscheme-write-value): Change output string to match that used by
8447 Edwin.
8448
8449 (xscheme-coerce-prompt): Don't write a space after a command
8450 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
8451 for us.
8452
8453 (reset-scheme): Delete process after killing it.
8454
8455 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8456
8457 * bindings.el (function-key-map): Don't bind shifted keypad
8458 numeric keys.
8459
8460 2002-01-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8461
8462 * enriched.el (enriched-handle-display-prop): Remove unused variables.
8463 (enriched-mode): Doc fix.
8464
8465 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8466
8467 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
8468 Hebrew points.
8469
8470 2002-01-01 Richard M. Stallman <rms@gnu.org>
8471
8472 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
8473
8474 2001-12-31 Richard M. Stallman <rms@gnu.org>
8475
8476 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
8477 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
8478 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
8479 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
8480 * progmodes/cperl-mode.el, progmodes/idlwave.el:
8481 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
8482 Adapt face definitions to use :weight and :slant.
8483
8484 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
8485
8486 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
8487
8488 * font-lock.el (initializing from font-lock-face-attributes):
8489 Use :weight and :slant, not :bold and :italic.
8490
8491 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
8492
8493 * cus-edit.el (custom-face-edit-fix-value): New function.
8494 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
8495
8496 2001-12-30 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8497
8498 * progmodes/octave-mod.el (octave-abbrev-table):
8499 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
8500 * progmodes/fortran.el (fortran-mode-abbrev-table):
8501 * progmodes/f90.el (f90-mode-abbrev-table):
8502 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
8503 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
8504 predefined abbrevs as "system" abbrevs.
8505
8506 2001-12-30 Richard M. Stallman <rms@gnu.org>
8507
8508 * info.el (Info-fontify-node): For a **** underline line, put the
8509 invisible and intangible props on the following newline, but not
8510 on the previous newline or the last char of the previous line.
8511
8512 * faces.el (face-set-after-frame-default): Don't change `default' face.
8513
8514 * faces.el (minibuffer-prompt): Adopt some default colors.
8515
8516 * replace.el (query-replace-read-args): Immediate error if read-only.
8517
8518 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
8519 Display the output buffer in a more intelligent way.
8520
8521 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
8522
8523 * ls-lisp.el (insert-directory): Modify the "total" line wording,
8524 in accordance with files.el's insert-directory.
8525
8526 2001-12-29 Richard M. Stallman <rms@gnu.org>
8527
8528 * files.el (basic-save-buffer): If a before-write hook displays
8529 an echo area message, pause before calling basic-save-buffer-1.
8530
8531 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
8532
8533 * textmodes/reftex-global.el (reftex-query-replace-document)
8534 (reftex-change-label): Doc fix.
8535
8536 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
8537
8538 * progmodes/etags.el (tags-query-replace): Doc fix.
8539
8540 2001-12-29 Richard M. Stallman <rms@gnu.org>
8541
8542 * progmodes/compile.el (compile-internal): Fix previous change.
8543
8544 2001-12-28 Richard M. Stallman <rms@gnu.org>
8545
8546 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
8547 shrink the windows above as necessary to get space.
8548 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
8549
8550 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
8551 This fixes a bug that treated all files as directories.
8552 (ange-ftp-insert-directory): Explicitly follow symlinks.
8553
8554 * international/iso-transl.el (iso-transl-char-map) Eliminate the
8555 alias symbols--put the translated sequences here directly.
8556
8557 * progmodes/cc-mode.el (c-mode-abbrev-table)
8558 (c++-mode-abbrev-table, objc-mode-abbrev-table)
8559 (java-mode-abbrev-table, pike-mode-abbrev-table):
8560 Mark all the predefined abbrevs as "system" abbrevs.
8561
8562 * mail/sendmail.el (mail-envelope-from): Fix custom type.
8563 (sendmail-send-it): Check mail-specify-envelope-from
8564 and mail-envelope-from in the mail buffer at start.
8565
8566 2001-12-28 Simon Josefsson <jas@extundo.com>
8567
8568 * mail/sendmail.el (mail-envelope-from): Fix :type.
8569 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
8570
8571 2001-12-28 Richard M. Stallman <rms@gnu.org>
8572
8573 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
8574
8575 * simple.el (line-move-invisible): New subroutine.
8576 (line-move-to-column): New subroutine--smarter about advancing over
8577 invisible parts of a line, or lines, but only as long as hpos grows.
8578 (line-move-finish): New subroutine: repeatedly processes desired
8579 column, intangibility, and fields.
8580 (line-move): Use those subroutines.
8581 When moving lines downward, skip invisible text first rather than last.
8582
8583 2001-12-27 Richard M. Stallman <rms@gnu.org>
8584
8585 * international/mule-diag.el (describe-char-after):
8586 Describe the text properties of the char after point.
8587
8588 * help.el (describe-key): Doc fix.
8589
8590 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
8591
8592 * find-dired.el (find-dired-sentinel): Precede exit message by
8593 two spaces, to match the regexp in dired-between-files.
8594
8595 2001-12-28 Miles Bader <miles@gnu.org>
8596
8597 * wid-edit.el (widget-toggle-value-create): Don't eval actual
8598 images (which are lists too).
8599
8600 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
8601
8602 * language/european.el: Fix the doc string of "Latin-5" language
8603 environment.
8604
8605 2001-12-26 Richard M. Stallman <rms@gnu.org>
8606
8607 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
8608 defined as before 2001-11-09.
8609 (add-minor-mode call): Specify the keymap.
8610
8611 * progmodes/compile.el (compile-internal):
8612 Set TERM variable in process-environment.
8613
8614 2001-12-25 Richard M. Stallman <rms@gnu.org>
8615
8616 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
8617 the buffer.
8618
8619 * startup.el (command-line): Convert command line args
8620 to Emacs internal representation using locale-coding-system.
8621
8622 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
8623
8624 * international/fontset.el: Don't require ind-util when compiling.
8625
8626 2001-12-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8627
8628 * emulation/tpu-edt.el (tpu-reset-screen-size):
8629 Use set-frame-height and set-frame-width instead of set-screen-height
8630 and set-screen-width.
8631
8632 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
8633 of obsolete set-screen-width.
8634
8635 * locate.el (locate): Remove dot at the end of error argument.
8636
8637 * emerge.el (emerge-show-file-name): Use frame-height instead of
8638 obsolete screen-height.
8639
8640 * mail/mh-utils.el (mh-show-msg): Likewise.
8641 (mh-handle-process-error): Use frame-width instead of obsolete
8642 screen-width.
8643
8644 2001-12-25 Richard M. Stallman <rms@gnu.org>
8645
8646 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
8647 to enlarge-window. Use save-selected-window. Don't try
8648 to resize windows that end at the bottom "level".
8649 Retry changing the sizes until the windows get the desired sizes.
8650 Discount the minibuffer when computing total height available.
8651
8652 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
8653 (debugger-make-xrefs): Only make a button for the first symbol
8654 on any line.
8655
8656 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
8657
8658 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
8659 Call IT-setup-unicode-display here instead of adding it to
8660 dos-codepage-setup-hook, so that Unicode display tables are set
8661 before dos-codepage-setup-hook runs.
8662
8663 2001-12-24 Richard M. Stallman <rms@gnu.org>
8664
8665 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
8666 (nslookup-mode-abbrev-table): Don't define it.
8667 (smbclient-mode-abbrev-table): Don't define it.
8668 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
8669 (nslookup-mode, smbclient-mode): Likewise.
8670 (network-connection-service-abbrev-alist): Variable deleted.
8671 (network-connection-mode-setup): Don't set up abbrev table.
8672
8673 * faces.el (minibuffer-prompt): New face.
8674 (minibuffer-prompt-properties): Add `face' property.
8675
8676 * replace.el (occur-mode-display-occurrence): New function.
8677 (occur-mode-map): Bind C-o to it.
8678
8679 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
8680
8681 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
8682 (viper-special-read-and-insert-char): Make C-m work right in the r
8683 comand.
8684 (viper-buffer-search-enable): Fixed format string.
8685
8686 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
8687 instead of viper-info-on-file.
8688 (ex-set-visited-file-name): New function.
8689
8690 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
8691
8692 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
8693 action argument.
8694
8695 * ediff-init.el: Fixed some doc strings.
8696
8697 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
8698 Got rid of make-local-hook.
8699
8700 * ediff-wind.el (ediff-setup-control-frame): Got rid of
8701 make-local-hook.
8702
8703 2001-12-23 Richard M. Stallman <rms@gnu.org>
8704
8705 * term/x-win.el (x-handle-geometry): Put height and width
8706 on default-frame-alist, left and top on initial-frame-alist.
8707 * term/w32-win.el (x-handle-geometry): Likewise.
8708
8709 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
8710
8711 * play/yow.el (yow): Use an arg to distinguish interactive calls,
8712 not interactive-p.
8713
8714 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8715
8716 * emacs-lisp/elint.el (elint-unknown-builtin-args):
8717 Remove mocklisp entries.
8718
8719 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
8720 Lisp. Obsoleted.
8721
8722 * emulation/mlconvert.el: File removed.
8723
8724 * emulation/mlsupport.el: Moved to obsolete.
8725
8726 * obsolete/mlsupport.el: Moved there from lisp/emulation.
8727
8728 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
8729
8730 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8731 Remove mocklisp case.
8732
8733 * help-fns.el (describe-function-1): Remove mocklisp function case.
8734
8735 2001-12-22 Miles Bader <miles@gnu.org>
8736
8737 * textmodes/refill.el (refill-mode): Don't barf when redundantly
8738 turning refill-mode off.
8739
8740 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8741
8742 * time.el (display-time-load-average-threshold): New variable.
8743 (display-time-update): Use it.
8744
8745 These changes allow cycling through past 1, 5 and 15 minutes
8746 load-average displayed in the mode-line.
8747
8748 * time.el (display-time-default-load-average): New customizable option.
8749 (display-time-load-average): New variable.
8750 (display-time-cycle-load-average): New function.
8751 (display-time-update): Use them.
8752
8753 2001-12-21 Richard M. Stallman <rms@gnu.org>
8754
8755 * apropos.el (apropos-print): SPACING is now nil or a separator string.
8756 (apropos-documentation, apropos-value): Pass a suitable string.
8757
8758 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
8759
8760 * dired.el (dired-free-space-program, dired-free-space-args):
8761 Aliases for back-compatibility.
8762
8763 * info.el (Info-select-node): If Info-use-header-line is nil, set
8764 header-line-format to nil.
8765 (Info-fontify-node): Don't put a keymap text property on the
8766 heading if we are not going to display the header line. Remove
8767 any such text properties left over from past visits to this node.
8768
8769 * ls-lisp.el (insert-directory): Insert the amount of free disk
8770 space, like files.el's insert-directory does.
8771
8772 * files.el (directory-free-space-program):
8773 Mention file-system-info in the doc string.
8774 (get-free-disk-space): New function; code moved from insert-directory.
8775 (insert-directory): Call get-free-disk-space to get the amount of
8776 free space.
8777
8778 2001-12-21 Richard M. Stallman <rms@gnu.org>
8779
8780 * help.el (view-order-manuals, view-emacs-news, describe-copying)
8781 (describe-distribution, describe-project): Use view-file.
8782
8783 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
8784
8785 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
8786
8787 * emacs-lisp/easy-mmode.el (define-minor-mode):
8788 Make no arg by default in an interactive call,
8789 so that repeating the command toggles again.
8790
8791 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
8792
8793 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
8794
8795 * antlr-mode.el: More sophisticated indentation of cpp directive.
8796 (antlr-indent-at-bol-alist): New user option.
8797 (antlr-indent-line): Use it.
8798 (antlr-indent-style): New user option.
8799 (antlr-mode): Use it.
8800 (antlr-indent-item-regexp): Customize.
8801
8802 * antlr-mode.el: Syntax highlighting changes.
8803 (antlr-font-lock-literal-regexp): New user option.
8804 (antlr-font-lock-syntax-face): New face used for :, |, ....
8805 (antlr-font-lock-default-face): New face.
8806 (antlr-font-lock-additional-keywords): Use them.
8807
8808 * antlr-mode.el: New command to insert options -- variables.
8809 (antlr-mode-map): New binding [C-c C-o].
8810 (antlr-mode-menu): New submenus.
8811 (antlr-options-use-submenus): New user option.
8812 (antlr-tool-version): New user option.
8813 (antlr-options-auto-colon): New user option.
8814 (antlr-options-style): New user option.
8815 (antlr-options-push-mark): New user option.
8816 (antlr-options-assign-string): New user option.
8817 (antlr-options-headings): New variable.
8818
8819 * antlr-mode.el: New command to insert options -- specific.
8820 (antlr-options-alists): New variable.
8821 (antlr-read-value): New function.
8822 (antlr-read-boolean): New function.
8823 (antlr-language-option-extra): New function.
8824 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
8825 (antlr-c++-mode-extra): New function.
8826 (antlr-grammar-tokens): New function.
8827 (antlr-imenu-create-index-function): New optional argument.
8828
8829 * antlr-mode.el: New command to insert options -- functions.
8830 (antlr-insert-option): New command.
8831 (antlr-insert-option-interactive): New function.
8832 (antlr-options-menu-filter): New function.
8833 (antlr-option-kind): New function.
8834 (antlr-scan-lists): New alias.
8835 (antlr-scan-lists-internal): New function.
8836 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
8837 (antlr-option-level): New function.
8838 (antlr-syntactic-grammar-depth): New function.
8839 (antlr-option-location): New function.
8840 (antlr-insert-option-do): New function.
8841 (antlr-option-spec): New function.
8842 (antlr-version-string): New function.
8843 (antlr-insert-option-existing): New function.
8844 (antlr-insert-option-space): New function.
8845 (antlr-insert-option-area): New function.
8846
8847 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
8848 with narrowing. Menu change. Miscellaneous.
8849 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
8850 (antlr-mode-map): New bindings for characters in ":;|&(){}".
8851 (antlr-electric-character): New command.
8852 (antlr-class-header-regexp): New variable.
8853 (antlr-font-lock-additional-keywords): Use it.
8854 (antlr-imenu-create-index-function): Use it.
8855 (antlr-file-dependencies): Use it.
8856 (antlr-indent-line): Also works with restrictions.
8857 (antlr-indent-command): Interactive spec - changes the buffer.
8858 (antlr-language-for-option): Deletia.
8859 (antlr-language-option): New function, defined instead.
8860 (antlr-mode): Use it.
8861
8862 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
8863
8864 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
8865 instead of a literal /dev/null.
8866
8867 * Makefile.in (distclean): Remove Makefile in the build
8868 directory, not in the source directory.
8869
8870 2001-12-21 Simon Josefsson <jas@extundo.com>.
8871
8872 * mail/smtpmail.el (smtpmail-send-queued-mail):
8873 Use with-temp-buffer instead of find-file-noselect, and bind
8874 coding-system-for-read to no-conversion when reading the queued
8875 messages. (Simon's code modified slightly by Eli Zaretskii.)
8876
8877 2001-12-20 Werner Lemberg <wl@gnu.org>
8878
8879 * international/mule-diag.el (describe-coding-system)
8880 (print-coding-system-briefly): Make printed output have a similar
8881 format as describe-character-set.
8882
8883 2001-12-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8884
8885 * play/blackbox.el (bb-member): Remove, use member instead.
8886 (bb-delete): Remove, use delete instead.
8887 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
8888 bb-score, bb-detour-count and bb-balls-placed.
8889 Propertize results of rays.
8890
8891 2001-12-19 Karl Fogel <kfogel@red-bean.com>
8892
8893 * isearch.el (isearch-forward, isearch-edit-string): Make doc
8894 strings mention keybinding for `isearch-yank-word-or-char',
8895 rather than `isearch-yank-word', since the former is bound now
8896 and the latter is not.
8897 (isearch-yank-word-or-char): Fix formatting.
8898
8899 2001-12-19 Werner Lemberg <wl@gnu.org>
8900
8901 * language/czech.el, language/european.el, language/slovak.el:
8902 More fixes for language info doc strings.
8903
8904 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
8905
8906 * loadup.el: Add "language" to the load-path.
8907
8908 2001-12-19 Richard M. Stallman <rms@gnu.org>
8909
8910 * international/mule-cmds.el (describe-language-environment):
8911 Fix calls to help-xref-button.
8912
8913 2001-12-19 Miles Bader <miles@gnu.org>
8914
8915 * international/fontset.el: Require `ind-util' when compiling.
8916
8917 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8918
8919 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
8920 instead of decompose-composite-char.
8921
8922 2001-12-18 Richard M. Stallman <rms@gnu.org>
8923
8924 * simple.el (eval-expression-print-level)
8925 (eval-expression-print-length): Doc fixes.
8926
8927 * international/mule-diag.el (describe-character-set):
8928 Fix the arg to help-xref-button.
8929
8930 * files.el (directory-free-space-program): New variable.
8931 (directory-free-space-args): New variable.
8932 (insert-directory): Use those two variables for getting free space.
8933 Use file-system-info instead, if that is defined.
8934
8935 * dired.el (dired-free-space-program): Variable deleted.
8936 (dired-free-space-args): Variable deleted.
8937 (dired-insert-directory): Don't try to determine free space.
8938
8939 * files.el (font-lock-defaults): Add risky-local-variables prop.
8940 (hack-one-local-variable): Treat various font-lock variables as risky.
8941
8942 2001-12-18 Werner Lemberg <wl@gnu.org>
8943
8944 * language/chinese.el, language/cyrillic.el:
8945 * language/czech.el, language/european.el, language/greek.el:
8946 * language/hebrew.el, language/indian.el, language/japanese.el:
8947 * language/korean.el, language/lao.el, language/slovak.el:
8948 * language/thai.el, language/tibetan.el, language/vietnamese.el:
8949 Improve documentation strings of coding systems and language infos.
8950
8951 2001-12-18 Werner LEMBERG <wl@gnu.org>
8952
8953 Add support for EUC-TW decoding/encoding.
8954
8955 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
8956 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
8957 New auxiliary functions to build `big5-to-cns'.
8958 (big5-to-cns): New translation alist.
8959
8960 * language/chinese.el: Added new coding system `euc-tw' and its
8961 alias `euc-taiwan'.
8962 Updated language `Chinese-CNS' to include euc-tw encoding also.
8963 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
8964 euc-tw.
8965
8966 2001-12-18 Dave Love <fx@gnu.org>
8967
8968 * loadup.el: Add language/utf-8-lang, language/georgian.
8969
8970 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
8971 (image-file-name-regexps): Doc fix.
8972
8973 * server.el (server-unload-hook): New function.
8974
8975 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
8976 (lm-crack-copyright): Cope with multi-line copyright `lines'.
8977
8978 * simple.el (newline): Doc fix.
8979 (eval-expression-print-level, eval-expression-print-length): Doc
8980 fix. Amend :type.
8981 (next-line, previous-line): Make arg optional.
8982 (newline): Doc fix.
8983
8984 * Makefile.in (DONTCOMPILE): Add various language files.
8985
8986 * international/quail.el (quail-input-string-to-events): Don't use
8987 string-to-list.
8988
8989 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
8990 calling `newline'.
8991
8992 2001-12-17 Richard M. Stallman <rms@gnu.org>
8993
8994 * comint.el (comint-dynamic-list-input-ring-select): New function.
8995 Switches back to the old window configuration.
8996 (comint-dynamic-list-input-ring): Bind RET to that function.
8997 (comint-dynamic-list-input-ring-window-conf): New variable.
8998
8999 2001-12-17 Werner Lemberg <wl@gnu.org>
9000
9001 * international/mule-conf.el: Improve documentation strings of
9002 character sets.
9003
9004 2001-12-16 Richard M. Stallman <rms@gnu.org>
9005
9006 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
9007 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
9008
9009 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
9010
9011 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
9012 Add a DESCRIPTION for the makefile item.
9013
9014 * find-file.el (ff-other-file-name): New function.
9015
9016 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
9017
9018 * international/quail.el (quail-input-string-to-events): Fix last
9019 change.
9020
9021 2001-12-16 Richard M. Stallman <rms@gnu.org>
9022
9023 * isearch.el (isearch-edit-string): When we set isearch-string
9024 to the default, also set isearch-message.
9025
9026 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
9027
9028 * startup.el (command-line-1): Display startup screen
9029 even if there are command line args.
9030 Add a note about how to go to editing your files.
9031 (fancy-splash-head): Add a note about how to go to your files.
9032 (fancy-splash-outer-buffer): New variable.
9033 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
9034
9035 * subr.el (with-temp-message): At the end, always discard
9036 the temp message, even by clearing the echo area.
9037
9038 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
9039
9040 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
9041
9042 * log-view.el (log-view-message-re, log-view-current-tag):
9043 Recognize Subversion's log output format.
9044
9045 * international/fontset.el: Build the list L at compile time.
9046
9047 * language/ind-util.el (mapthread): Make a closure.
9048
9049 2001-12-15 Richard M. Stallman <rms@gnu.org>
9050
9051 * isearch.el (isearch-start-hscroll): New variable.
9052 (isearch-mode): Set isearch-start-hscroll.
9053 (isearch-update): Restore original hscrolling if possible.
9054
9055 * isearch.el (isearch-edit-string):
9056 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
9057
9058 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
9059 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
9060 rather than regexp search and (2) copying text properties
9061 already set up on text unchanged from the previous backtrace.
9062
9063 * case-table.el (set-case-syntax-pair):
9064 Detect invalid calls and signal an error.
9065
9066 2001-12-15 Richard M. Stallman <rms@gnu.org>
9067
9068 * language/ind-util.el (range): Function deleted.
9069 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
9070 All calls changed.
9071
9072 * language/devan-util.el (devanagari-range): Renamed from `range'.
9073 All calls changed.
9074 (devanagari-regexp-of-hashtbl-keys):
9075 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
9076
9077 2001-12-15 Dave Love <fx@gnu.org>
9078
9079 * language/ind-util.el: Don't require cl.
9080 (indian-glyph-char, indian-glyph-max-char)
9081 (indian-char-glyph): Moved from indian.el
9082 (indian--puthash-char, mapthread): Don't quote lambda.
9083 (indian--map): New function.
9084 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
9085 (indian--puthash-cv): Use it.
9086
9087 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
9088 (indian-char-glyph): Moved to ind-util.el
9089
9090 * language/devan-util.el (devanagari-post-read-conversion):
9091 New function.
9092
9093 * language/georgian.el: New file.
9094
9095 * international/mule-cmds.el (locale-language-names): Add various
9096 entries. Remove utf-8 special case.
9097 (locale-charset-language-names, locale-preferred-coding-systems):
9098 Add utf-8 case.
9099 (set-language-environment): Process required-features earlier.
9100
9101 * international/quail.el (quail-keyboard-layout-alist):
9102 Add pc105-uk.
9103 (quail-keyboard-layout-type): Fix :type.
9104 (quail-choose-completion-string): Simplify.
9105 (quail-update-leim-list-file): Don't get fooled by commented-out code.
9106 (quail-input-string-to-events): Run events through
9107 translation-table-for-input.
9108
9109 * international/mule-conf.el (translation-table-for-input):
9110 New variable.
9111 (latin-iso8859-14): Amend description.
9112 (file-coding-system-alist): Add entry for utf-8.
9113
9114 * language/utf-8-lang.el: New file.
9115
9116 * international/code-pages.el: New file.
9117
9118 * language/hebrew.el ("Windows-1255"): New language.
9119
9120 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
9121 ("Latvian"): New languages.
9122
9123 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
9124
9125 * xml.el: Use setq rather than (set 'foo bar).
9126 Use push+nreverse rather than append.
9127 (xml-node-name, xml-node-attributes, xml-node-children):
9128 Use defsubst rather than macros.
9129 (xml-parse-region): Handle a nil return value from xml-parse-tag.
9130 (xml-parse-tag): Don't skip white space. Return nil for a comment.
9131 Concat the two strings surrounding a comment into a single string.
9132
9133 * newcomment.el (comment-indent): Jump to the middle of empty comments.
9134
9135 2001-12-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9136
9137 * select.el (xselect-convert-to-class, xselect-convert-to-name):
9138 Document.
9139
9140 2001-12-14 Andre Spiegel <spiegel@gnu.org>
9141
9142 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
9143 Return nil if FILE is not registered.
9144 (vc-check-master-templates, vc-default-make-version-backups-p):
9145 Doc fix.
9146
9147 2001-12-13 David Ponce <david@dponce.com>
9148
9149 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
9150 (ruler-mode-left-fringe-cols): New macro.
9151 (ruler-mode-right-fringe-cols): New macro.
9152 (ruler-mode-left-scroll-bar-cols): New macro.
9153 (ruler-mode-right-scroll-bar-cols): New macro.
9154 (ruler-mode-ruler): Use above new macros.
9155
9156 2001-12-13 Richard M. Stallman <rms@gnu.org>
9157
9158 * files.el (set-auto-mode): Fix previous change.
9159
9160 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
9161
9162 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
9163 (easy-menu-do-define, easy-menu-convert-item-1)
9164 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
9165 (easy-menu-return-item): Only return nil if there is no binding.
9166
9167 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
9168
9169 * whitespace.el (whitespace-version): 3.2
9170 * whitespace.el (whitespace-force-mode-line-update): Replace with
9171 `whitespace-mode-line-update', which is an alias to the correct
9172 function in various emacsen.
9173 * whitespace.el (whitespace-{un,}highlight-the-space):
9174 Add colorized highlighting of the bogus whitespaces in a buffer/file,
9175 using the `whitespace-highlight-face' if
9176 `whitespace-display-spaces-in-color' is set.
9177
9178 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
9179
9180 * international/mule.el (set-auto-coding): Don't search for
9181 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
9182
9183 2001-12-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9184
9185 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
9186
9187 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
9188
9189 * mail/rmailsum.el (rmail-summary-mode): Likewise.
9190
9191 2001-12-13 Richard M. Stallman <rms@gnu.org>
9192
9193 * simple.el (undo): Always set this-command to `undo',
9194 so that the next undo after an error will not begin redoing.
9195
9196 * simple.el (shell-command): Doc fix.
9197 (shell-command-on-region): If there is output an an error,
9198 add "...Shell command failed" to the output.
9199
9200 2001-12-13 David Ponce <david@dponce.com>
9201
9202 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
9203 (ruler-mode-left-fringe-cols): Function replaced by more efficient
9204 implementation `ruler-mode-extra-left-cols'.
9205 (ruler-mode-ruler): Use above new function. Take into account
9206 that the fringe areas can now be resized.
9207
9208 2001-12-12 Richard M. Stallman <rms@gnu.org>
9209
9210 * international/characters.el (Unicode): Comment out
9211 the specifications for kelvin and angstrom signs.
9212
9213 * international/mule.el (make-translation-table-from-vector):
9214 Allow null elements in VEC.
9215
9216 * international/ucs-tables.el (unify-8859-on-encoding-mode)
9217 (unify-8859-on-decoding-mode): Swap the code in their bodies.
9218 Add :version.
9219
9220 2001-12-11 Richard M. Stallman <rms@gnu.org>
9221
9222 * derived.el (derived-mode-p): Function moved to subr.el.
9223
9224 * subr.el (derived-mode-p): Moved here from derived.el.
9225
9226 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
9227
9228 * files.el (set-auto-mode-1): New subroutine, broken out of
9229 set-auto-mode.
9230 (set-auto-mode, hack-local-variables-prop-line): Use that.
9231
9232 2001-12-11 Dave Love <fx@gnu.org>
9233
9234 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
9235
9236 * language/european.el: Remove autoload cookies. Fix registration
9237 of diacritic composition function.
9238
9239 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9240
9241 * calendar/todo-mode.el: Require time-stamp.
9242
9243 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
9244
9245 2001-12-11 Richard M. Stallman <rms@gnu.org>
9246
9247 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
9248
9249 * textmodes/ispell.el (ispell-buffer-local-parsing):
9250 Match xml like sgml.
9251
9252 * emacs-lisp/advice.el (ad-compile-function):
9253 Byte compile the function under another (uninterned) name.
9254
9255 * gud.el (gdb): Define and bind gud-jump.
9256
9257 * font-lock.el (font-lock-mode):
9258 Put our function at the end of after-change-functions.
9259
9260 * ediff-diff.el (ediff-cmp-options): Doc fix.
9261
9262 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
9263
9264 2001-12-10 Richard M. Stallman <rms@gnu.org>
9265
9266 * isearch.el (isearch-yank-word-or-char): New function.
9267 (isearch-mode-map): Bind C-w to that.
9268
9269 * menu-bar.el (menu-bar-mode): Make arg optional.
9270
9271 * simple.el (line-move): Cope if next-single-property-change
9272 or previous-single-property-change returns nil.
9273
9274 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
9275 Don't use interactive-p; instead, pass the proper args
9276 in (interactive...). Clean up most of the trouble-report strings.
9277
9278 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
9279
9280 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
9281 enqueued messages literally.
9282
9283 2001-12-10 Noah Friedman <friedman@splode.com>
9284
9285 * battery.el (battery-insert-file-contents): Obsolete function
9286 removed.
9287 (battery-read-function): Obsolete function removed.
9288 (battery-linux-proc-apm): Use insert-file-contents.
9289
9290 2001-12-07 Stephen Eglen <stephen@gnu.org>
9291
9292 * iswitchb.el (iswitchb-visit-buffer):
9293 Use `select-frame-set-input-focus'--needed when window manager
9294 uses "click to focus" policy.
9295
9296 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9297
9298 * COPYING: Moved back.
9299
9300 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
9301
9302 * term/internal.el (IT-character-translations): Add entries for
9303 more points.
9304
9305 * international/characters.el: Resurrect the Hebrew category
9306 settings for all Hebrew characters removed by the last change.
9307 Add code for setting the Hebrew category of the Unicode Hebrew
9308 characters. Set syntax entries for Hebrew punctuation characters.
9309
9310 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
9311 points and directional formatting control characters.
9312
9313 2001-12-07 Dave Love <fx@gnu.org>
9314
9315 * language/lao-util.el: Add Unicode equivalents for rules.
9316 (lao-post-read-conversion): New function.
9317
9318 * language/lao.el: Add Unicode equivalents.
9319 (lao): Add post-read conversion.
9320
9321 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
9322 Use iso2022 encoding.
9323 (latin1-char-displayable-p): Doc fix.
9324 (latin1-display-ucs-per-lynx): New option.
9325 (latin1-display-ucs-per-lynx): New command.
9326 (latin1-display-reset): Special-case arabic.
9327 (ucs-tables): Require.
9328 (latin1-display-sets, latin1-display-setup): Add arabic.
9329 (latin1-display) <variable>: Use function latin1-display.
9330 (latin1-display) <function>: Add mule-unicode stuff.
9331 (latin1-display-check-font): Don't lose if `info' is nil.
9332
9333 * international/iso-transl.el: Insert Latin-1 characters, not
9334 unibyte codes.
9335
9336 * language/european.el (diacritic-composition-pattern): New constant.
9337 (diacritic-compose-region, diacritic-compose-string)
9338 (diacritic-compose-buffer, diacritic-post-read-conversion)
9339 (diacritic-composition-function): New functions.
9340
9341 * international/utf-8.el (ucs-mule-to-mule-unicode):
9342 New translation table.
9343 (ccl-encode-mule-utf-8): Use it.
9344 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
9345 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
9346 (utf-8-subst-table): New variable.
9347 (utf-8-compose-scripts): New option.
9348 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
9349
9350 * international/ucs-tables.el, international/utf-8-subst.el:
9351 New files.
9352
9353 * international/characters.el: Don't set word syntax (the default)
9354 explicitly. Add a diacritic category. Add info for Unicode
9355 equivalents of characters in various Mule charsets and for extra
9356 Unicode characters. Don't define specific categories for
9357 Indian/Devanagari, since they aren't used.
9358
9359 2001-12-06 Richard M. Stallman <rms@gnu.org>
9360
9361 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
9362 (set-justification-left, set-justification-right): Doc fix.
9363
9364 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
9365 (bug-f90-mode): Variable deleted.
9366
9367 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
9368
9369 * indent.el (indent-line-function): Default is indent-relative again.
9370
9371 2001-12-07 Miles Bader <miles@gnu.org>
9372
9373 * progmodes/compile.el (compilation-error-regexp-alist):
9374 Added regexps for RXP.
9375
9376 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
9377
9378 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
9379 Add shift-assignment operators to those highlighted, and highlight
9380 the whole operator rather than just the "=".
9381
9382 2001-12-04 Juanma Barranquero <lektu@terra.es>
9383
9384 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
9385 before saving abbrevs if `save-abbrevs' has the value `silently'.
9386
9387 2001-12-04 Andreas Schwab <schwab@suse.de>
9388
9389 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
9390
9391 2001-12-04 Colin Walters <walters@debian.org>
9392
9393 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
9394 for `defmacro*' forms.
9395
9396 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
9397 `defmacro*'.
9398
9399 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
9400
9401 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
9402
9403 2001-12-02 Richard M. Stallman <rms@gnu.org>
9404
9405 * files.el (insert-directory): If the df output does not look right,
9406 don't try to use it. Other cleanups in overall code structure.
9407
9408 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
9409
9410 * textmodes/outline.el (outline-mode-prefix-map):
9411 Add bindings for outline-promote and outline-demote.
9412 (outline-minor-mode-menu-bar-map): New var.
9413 (outline-minor-mode): Use it.
9414 (outline-heading-alist): New var (renamed from outline-level-heading).
9415 (outline-level): Use it.
9416 (outline-insert-heading, outline-promote, outline-demote):
9417 Update to use outline-heading-alist.
9418
9419 * disp-table.el (standard-display-european):
9420 Simplify since the function is not interactive any more.
9421 Don't set the existing buffers to unibyte.
9422
9423 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
9424
9425 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
9426
9427 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
9428
9429 * shell.el (shell): Use shell-file-name.
9430 Pop to buffer before calling comint to set COLUMNS properly.
9431
9432 * emacs-lisp/cl.el (svref): New alias.
9433
9434 * progmodes/antlr-mode.el (antlr-c-common-init):
9435 Don't inhibit adaptive-fill-mode any more.
9436
9437 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
9438
9439 * progmodes/etags.el (tags-with-face): Use make-symbol.
9440 (tags-search, tags-query-replace): Use backquotes.
9441
9442 * textmodes/picture.el (picture-mode-map): Don't use defconst
9443 for a variable.
9444
9445 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9446
9447 * textmodes/reftex-index.el (reftex-index-mode):
9448 Remove make-local-hook.
9449
9450 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
9451
9452 2001-12-02 Kim F. Storm <storm@cua.dk>
9453
9454 * isearch.el (isearch-resume-enabled): New variable.
9455 (isearch-done): Use that variable.
9456
9457 2001-12-01 Richard M. Stallman <rms@gnu.org>
9458
9459 * wid-edit.el (widget-button-click): Don't move point permanently:
9460 Avoid mouse-set-point--instead select the window,
9461 then do save-excursion, then move point.
9462 Specify the buffer for get-char-property.
9463 Don't use `@' in interactive.
9464
9465 * indent.el (indent-line-function):
9466 Default is indent-to-left-margin again.
9467
9468 * replace.el (query-replace-read-args): Display message
9469 if FROM contains `\n' or `\t'.
9470
9471 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
9472
9473 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
9474
9475 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
9476
9477 * emacs-lisp/regexp-opt.el (regexp-opt):
9478 Bind completion-regexp-list to nil.
9479
9480 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
9481
9482 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
9483
9484 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
9485 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
9486 Update maintainer.
9487
9488 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9489
9490 * mail/smtpmail.el: Use with-current-buffer.
9491 (message-make-date, message-make-message-id): Autoload when needed.
9492 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
9493 headers when missing.
9494
9495 * international/encoded-kb.el (encoded-kbd-mode):
9496 Use define-minor-mode.
9497
9498 * enriched.el (enriched-mode): Use define-minor-mode.
9499 Use dolist and pop and push.
9500
9501 * info.el (Info-find-node-2): Don't call info-insert-file-contents
9502 with the `visit' argument.
9503 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
9504
9505 * progmodes/hideif.el (hide-ifdef-mode): Only modify
9506 `change-major-mode-hook' locally. Reset invisibility spec.
9507
9508 * man.el (Man-build-section-alist): Remove last Man-match-substring.
9509
9510 2001-11-30 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9511
9512 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
9513 Clarify error message.
9514
9515 2001-11-29 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9516
9517 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
9518
9519 2001-11-30 Andre Spiegel <spiegel@gnu.org>
9520
9521 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
9522 don't just return it.
9523
9524 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
9525
9526 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
9527 (menu-bar-read-emacs-man, search-emacs-glossary)
9528 (emacs-index-search, elisp-index-search): New functions.
9529 (apropso-documentation, apropos, apropos-value, apropos-variable)
9530 (apropos-commands): Modify menu item names and help text.
9531 (elisp-index-search, emacs-index-search, emacs-glossary):
9532 New menu items.
9533 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
9534 submenu.
9535 (info-elisp, info-elintro): New menu items.
9536 (apropos): Modify the menu item name.
9537
9538 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9539
9540 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
9541
9542 * textmodes/outline.el (outline-promote, outline-demote): Typo.
9543
9544 * man.el (man-follow-mouse): New function.
9545 (Man-mode-map): Bind mouse-2 to it.
9546 (Man-match-substring): Remove. Replace with `match-string'.
9547 (man): Use the `default-value' argument to `read-string'.
9548 (Man-fontify-manpage): Add mouse-face to cross references.
9549
9550 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
9551
9552 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
9553
9554 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
9555 the value of require-match in minibuffer-completion-confirm.
9556 Use crm-local-completion-map.
9557
9558 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
9559 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
9560 (cl-make-type-test): Use char-valid-p for `character'.
9561
9562 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
9563 (Info-complete-menu-item): Rewrite. Add the ability to search
9564 several sequential nodes. Add a simple caching mechanism.
9565 (Info-goto-index): New function extracted from Info-index.
9566 (Info-index): Use it. Add completion to the interactive spec.
9567 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
9568
9569 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9570
9571 * COPYING: Removed.
9572
9573 2001-11-29 Dave Love <fx@gnu.org>
9574
9575 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
9576 (fortran-window-create, fortran-window-create-momentarily):
9577 Rewrite, moving error condition.
9578 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
9579 (fortran-mode-syntax-table): Revert last change.
9580
9581 * international/mule.el: Doc fixes.
9582 (map-charset-chars): New function.
9583 (register-char-codings): Use it to cope with generic chars in
9584 safe-chars.
9585
9586 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9587
9588 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
9589
9590 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
9591
9592 * play/studly.el (studlify-word, studlify-region)
9593 (studlify-buffer): Fix doc-string.
9594 (studlify-buffer): Add autoload cookie.
9595
9596 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
9597
9598 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
9599 (outline-up-heading-all): Remove.
9600 (hide-sublevels): Move to end-of-heading before calling flag-region.
9601 (outline-copy-overlay, outline-discard-overlays): Remove.
9602 (outline-flag-region): Use `remove-overlays'.
9603 Don't move to end-of-heading.
9604 (outline-next-visible-heading, outline-back-to-heading)
9605 (outline-on-heading-p): Use outline-invisible-p.
9606 (outline-font-lock-level): Use outline-up-heading's new arg.
9607 (outline-minor-mode): Simplify.
9608 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
9609 (outline): Put a `reveal-toggle-invisible' property.
9610 (outline-level-heading): New var.
9611 (outline-insert-heading, outline-promote, outline-demote)
9612 (outline-toggle-children): New commands.
9613
9614 * progmodes/hideif.el (hif-end-of-line): New function.
9615 (hide-ifdef-mode): Set line-move-ignore-invisible.
9616 (hide-ifdef-region-internal): New function.
9617 (hide-ifdef-region): Use it.
9618 (hif-defined): Return an integer.
9619 (hif-infix-to-prefix): Remove.
9620 (hif-tokenize): Parse from the buffer rather than from a string.
9621 Correctly tokenize integers. Use forward-comment.
9622 (hif-expr): Use hif-or.
9623 (hif-term): Use hif-and.
9624 (hif-factor): Use hif-not. Handle numbers properly.
9625 Don't require parenthesis around `defined's argument.
9626 (hif-and, hif-or, hif-not): New funs.
9627 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
9628 (hif-hide-line): Don't hide the \n before the line.
9629 (hif-possibly-hide): Correctly handle numeric evaluation results.
9630
9631 * progmodes/make-mode.el: Use line-(end|beginning)-position.
9632 (makefile-mode): Set indent-line-function.
9633 (makefile-browser-insert-continuation): Use with-current-buffer.
9634 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
9635
9636 2001-11-28 Karl Fogel <kfogel@red-bean.com>
9637
9638 * isearch.el (isearch-yank-internal): New helper function.
9639 (isearch-yank-char): New function.
9640 (isearch-yank-word, isearch-yank-line): Rewrite to use
9641 isearch-yank-internal.
9642
9643 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
9644
9645 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
9646 aren't supported. Print a message to that effect if invoked.
9647
9648 2001-11-27 Stephen Eglen <stephen@gnu.org>
9649
9650 * locate.el (locate): Put point at first matching file rather
9651 than top of buffer.
9652
9653 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
9654
9655 * reveal.el: New file.
9656
9657 * progmodes/hideif.el: Misc cleanup.
9658 (hide-ifdef-mode-submap): Put the def in the defvar.
9659 Use substitute-key-definition.
9660 (hide-ifdef-mode): Use define-minor-mode.
9661 (hif-outline-flag-region): Remove.
9662 (hif-show-all): Define in terms of hif-show-ifdef-region.
9663 (hif-after-revert-function): Rename from hif-before-revert-function.
9664 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
9665 (hif-tokenize): Use with-syntax-table.
9666 (hif-make-range): Use `else' also for `else-p'.
9667 (hif-range-else-p): Remove.
9668 (hif-find-range): Simplify.
9669 (hif-hide-line): Don't bother preserving buffer-modified-p.
9670 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
9671 Don't use selective-display and inhibit-read-only.
9672
9673 * subr.el (copy-overlay, remove-overlays): New funs.
9674
9675 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
9676
9677 2001-11-27 Sam Steingold <sds@gnu.org>
9678
9679 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
9680 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
9681 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
9682 * obsolete/c-mode.el, obsolete/cplus-md.el
9683 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
9684 * term/sun-mouse.el, textmodes/artist.el:
9685 Converted backquote to the new style.
9686 * mouse.el, reposition.el: Likewise (in comments).
9687 * expand.el: Likewise (in a string).
9688
9689 2001-11-27 Richard M. Stallman <rms@gnu.org>
9690
9691 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
9692
9693 2001-11-26 Richard M. Stallman <rms@gnu.org>
9694
9695 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
9696 if :on-glyph or :off-glyph is a list, eval it and store it back.
9697 (checkbox): Quote the values for :on-glyph and :off-glyph.
9698
9699 * cus-start.el (recursive-load-depth-limit): Delete item.
9700
9701 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
9702
9703 * help-fns.el (describe-categories, help-describe-category-set): New.
9704 describe-categories moved here from src/category.c.
9705
9706 2001-11-26 Sam Steingold <sds@gnu.org>
9707
9708 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
9709 arguments to `insert' are strings.
9710
9711 2001-11-26 Richard M. Stallman <rms@gnu.org>
9712
9713 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
9714
9715 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
9716
9717 * international/mule-diag.el: Require help-fns instead of
9718 help-funs.
9719
9720 * help-fns.el: Renamed from help-funs.el.
9721
9722 * startup.el (command-line-1): Don't try to call process-list if
9723 it is not fboundp.
9724
9725 2001-11-26 Sam Steingold <sds@gnu.org>
9726
9727 * frame.el (show-trailing-whitespace): Remove :set argument (the
9728 value was essentially identical to the defalt).
9729
9730 2001-11-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9731
9732 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
9733
9734 * icomplete.el (icomplete-minibuffer-setup): Likewise.
9735
9736 * hilit-chg.el (hilit-chg-set): Likewise.
9737
9738 * speedbar.el (speedbar-mode): Likewise.
9739
9740 * calendar/calendar.el (calendar-mode): Likewise.
9741
9742 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
9743 insert-string.
9744
9745 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
9746
9747 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
9748
9749 * term/sun-mouse.el (sun-yank-selection): Likewise.
9750
9751 * textmodes/bib-mode.el (return-key-bib): Likewise.
9752
9753 * calendar/appt.el (appt-disp-window): Likewise.
9754
9755 * calendar/diary-lib.el (list-diary-entries): Likewise.
9756
9757 * array.el (array-reconfigure-rows): Likewise.
9758
9759 * filecache.el (file-cache-minibuffer-complete): Likewise.
9760
9761 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
9762
9763 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
9764
9765 * allout.el (outline-version, outline-open-topic)
9766 (outline-rebullet-heading, outline-insert-listified)
9767 (outline-latex-verbatim-quote-curr-line)
9768 (outline-latexify-one-item, outlineify-sticky): Likewise.
9769
9770 * vc.el (vc-next-action-on-file): Likewise.
9771 (vc-dired-mode): Remove make-local-hook.
9772
9773 2001-11-26 Andre Spiegel <spiegel@gnu.org>
9774
9775 * vc.el (vc-find-version): New function.
9776 (vc-version-other-window): Redefined in terms of the above.
9777
9778 * log-view.el (log-view-find-version): New function.
9779 (log-view-mode-map): Bind it to `f'.
9780
9781 2001-11-26 Gerd Moellmann <gerd@gnu.org>
9782
9783 * language/devan-util.el (dev-char-glyph): Escape `"' in
9784 string literals.
9785 (dev-glyph-glyph, dev-glyph-glyph-2)
9786 (devanagari-compose-syllable-region): Likewise.
9787
9788 2001-11-26 Richard M. Stallman <rms@gnu.org>
9789
9790 * window.el (save-selected-window): No error if saved window is dead.
9791
9792 * help-funs.el (describe-syntax): Put (interactive) after doc string.
9793
9794 2001-11-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9795
9796 * international/quail.el (quail-help): Require help-mode in
9797 top-level instead.
9798
9799 * iswitchb.el (iswitchb-exhibit): Use insert instead of
9800 insert-string.
9801
9802 * icomplete.el (icomplete-exhibit): Likewise.
9803
9804 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
9805
9806 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
9807 (diff-hunk-kill): Simplify.
9808 (diff-post-command-hook): Only apply to a single hunk.
9809 (diff-hunk-text): Make `char-offset' non-optional.
9810 (diff-find-text): Return a cons cell.
9811 (diff-find-approx-text): New fun.
9812 (diff-find-source-location): Use it.
9813 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
9814 Adapt to new retval of diff-find-text.
9815
9816 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
9817 rather than integer- representation of dates.
9818
9819 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
9820
9821 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
9822 (syntax-after): New fun.
9823
9824 * help-funs.el (describe-syntax): New fun.
9825
9826 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
9827 (font-lock-ppss-stats, font-lock-ppss): Remove.
9828 (font-lock-fontify-syntactically-region): Remove tuning code.
9829 (font-lock-compile-keywords): Fix off-by-one bug.
9830 (font-lock-set-defaults): Don't set removed vars.
9831 (c-keywords): Add `inline'.
9832 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
9833
9834 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9835 Set syntax-begin-function.
9836 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
9837 (lisp-interaction-mode): Don't set local-abbrev-table any more.
9838 (lisp-mode-auto-fill): Use syntax-ppss and obey
9839 comment-auto-fill-only-comments.
9840 (lisp-fill-paragraph): Use syntax-ppss.
9841
9842 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
9843
9844 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
9845 version of rmail-enable-mime.
9846 (rmail-forward): Use it.
9847
9848 2001-11-25 Richard M. Stallman <rms@gnu.org>
9849
9850 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
9851
9852 * international/quail.el (quail-keyboard-layout-button):
9853 Define button type.
9854 (quail-keyboard-customize-button): Likewise.
9855 (quail-help): Use those button types. Require `help-mode'.
9856 Avoid altering the argument `package'.
9857
9858 * help-mode.el (help-function, help-variable, help-face)
9859 (help-coding-system, help-input-method, help-character-set):
9860 Define each button type with its own explicit define-button-type.
9861
9862 * language/devan-util.el: Comment out parts of the file
9863 which apparently are garbled.
9864
9865 2001-11-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9866
9867 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
9868 insert-string.
9869
9870 2001-11-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9871
9872 * play/snake.el (snake-mode): Remove make-local-hook.
9873
9874 * play/tetris.el (tetris-mode): Likewise.
9875
9876 * play/decipher.el (decipher-mode): Likewise.
9877
9878 * tmm.el (tmm-add-prompt): Likewise.
9879
9880 2001-11-25 Sam Steingold <sds@gnu.org>
9881
9882 * menu-bar.el (menu-bar-apropos-menu): New variable.
9883 Moved all `apropos' bindings to this menu.
9884 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
9885
9886 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
9887
9888 The following changes are for new indian languages support based
9889 on Unicode charset and CDAC fonts.
9890
9891 * international/mule-conf.el: Change indian-1-column charset to
9892 indian-glyph charset.
9893
9894 * international/characters.el: Adjusted for the change of
9895 indian-1-column -> indian-glyph.
9896
9897 * international/fontset.el: Delete the setting for indian-1-column
9898 and add the setting for indian-glyph in the default fontset.
9899
9900 * language/indian.el: Completely re-written.
9901
9902 * language/devanagari.el: Completely re-written.
9903
9904 * language/devan-util.el: Completely re-written.
9905
9906 * language/ind-util.el: New file.
9907
9908 2001-11-24 Richard M. Stallman <rms@gnu.org>
9909
9910 * startup.el (command-line-1): Don't do startup screen
9911 if a subprocess is running. Call the startup screen buffer
9912 "GNU Emacs". Make a special mode-line-format for it.
9913
9914 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
9915 (browse-url-galeon): Use that variable.
9916
9917 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
9918 eval-expression. Eval and set the variable simply.
9919
9920 * files.el (temporary-file-directory): Use defcustom.
9921 (small-temporary-file-directory): Likewise.
9922 (normal-backup-enable-predicate): Move down in file
9923 after definition of temporary-file-directory.
9924
9925 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
9926
9927 2001-11-24 Colin Walters <walters@debian.org>
9928
9929 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
9930 autoload names to match files renamed on initial calc import.
9931
9932 * calc/calc.el (Commentary): Cleanup, and add logistic curve
9933 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
9934
9935 2001-11-23 Colin Walters <walters@debian.org>
9936
9937 * Makefile.in (finder_setwins, setwins): Include Calc again.
9938
9939 * calc/calc-rules.el: Add header comment.
9940
9941 2001-11-23 Andre Spiegel <spiegel@gnu.org>
9942
9943 * vc.el (with-vc-properties): Don't bind `filename' locally.
9944 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
9945 to avoid name clashes. Fix `lisp-indent-function' property for
9946 both.
9947
9948 2001-11-23 Francesco Potorti` <pot@gnu.org>
9949
9950 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
9951
9952 2001-11-22 Colin Walters <walters@debian.org>
9953
9954 * calc/calc-misc.el (report-calc-bug):
9955 Use `reporter-prompt-for-summary-p'.
9956
9957 * calc/INSTALL, calc/Makefile: Remove.
9958
9959 2001-11-22 Miles Bader <miles@gnu.org>
9960
9961 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
9962 (reb-match-2, reb-match-3): Add dark-background variants.
9963
9964 2001-11-22 Colin Walters <walters@debian.org>
9965
9966 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
9967 (info "Calc").
9968 (report-calc-bug): Use reporter.el.
9969
9970 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
9971
9972 2001-11-21 Richard M. Stallman <rms@gnu.org>
9973
9974 * which-func.el (which-function): Call imenu--make-index-alist
9975 if necessary to get a list of functions.
9976 (which-function-imenu-failed): New variable.
9977 (which-func-update): Handle all visible windows.
9978 (which-func-update-1): New subroutine broken out of which-func-update.
9979
9980 * files.el (temporary-file-directory, null-device)
9981 (small-temporary-file-directory): Definitions moved up.
9982
9983 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
9984 (cperl-non-problems, cperl-praise): Doc fixes.
9985
9986 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
9987 (sh-mode-syntax-table): Function restored.
9988 Variable set up for use by function sh-mode-syntax-table.
9989 (sh-set-shell): Set the syntax table.
9990
9991 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
9992
9993 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
9994
9995 * international/encoded-kb.el: Don't alter minor-map-alist.
9996
9997 2001-11-20 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9998
9999 * files.el (auto-save-file-name-transforms): Put remote files in
10000 temporary-file-directory rather than /tmp.
10001
10002 2001-11-21 Colin Walters <walters@debian.org>
10003
10004 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
10005 of (function ...) wrapper.
10006
10007 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10008
10009 * derived.el (define-derived-mode): Create the abbrev-table
10010 from inside the `defvar'.
10011
10012 * jit-lock.el (jit-lock-defer-time): New var.
10013 (jit-lock-defer-timer, jit-lock-buffers): New vars.
10014 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
10015 (jit-lock-function): Defer fontification if requested.
10016 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
10017 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
10018 text property.
10019 (jit-lock-deferred-fontify): New fun.
10020
10021 2001-11-20 Richard M. Stallman <rms@gnu.org>
10022
10023 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
10024 Set local-abbrev-table to lisp-mode-abbrev-table.
10025
10026 * emacs-lisp/re-builder.el (reb-mode):
10027 Don't use define-derived-mode. Call kill-all-local-variables.
10028
10029 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
10030 Don't use define-derived-mode.
10031
10032 * help-mode.el (help-mode): Undo 2001-10-07 change.
10033
10034 * replace.el (occur-mode): Undo 2001-5-20 change.
10035
10036 2001-11-20 Jason Rumney <jasonr@gnu.org>
10037
10038 * w32-fns.el (w32-system-coding-system): Change to an alias for
10039 locale-coding-system.
10040 (set-w32-system-coding-system): Document the above change.
10041 Set locale-coding-system instead.
10042
10043 2001-11-20 Richard M. Stallman <rms@gnu.org>
10044
10045 * ruler-mode.el: Add pagination.
10046 (ruler-mode-toggle-show-tab-stops): No need to
10047 test `ruler-mode' variable.
10048
10049 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10050
10051 * play/landmark.el: Mark lm-mode as special.
10052
10053 * play/gomoku.el: Mark gomoku-mode as special.
10054
10055 2001-11-20 Juanma Barranquero <lektu@terra.es>
10056
10057 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
10058 (top-level): Bind it to C-c C-b.
10059 (re-builder): Don't re-enter RE Builder Mode.
10060
10061 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
10062
10063 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10064
10065 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
10066 `manual-program'.
10067
10068 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
10069 to a line without a comment.
10070
10071 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10072
10073 * dired.el (dired-listing-switches): Mention in the doc string
10074 that some switches are not supported by ls-lisp.el
10075
10076 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10077
10078 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
10079 (imenu--create-keymap-2): Remove.
10080 (imenu--create-keymap-1): Simplify, remove third argument.
10081 (imenu--generic-function): Use dolist.
10082 (imenu-find-default): New function.
10083 (imenu--completion-buffer): Use it.
10084 (imenu--mouse-menu): Use popup-menu.
10085 (imenu--menubar-select): Return t rather than calling imenu.
10086
10087 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
10088 New functions, extracted from fill-region-as-paragraph.
10089 (fill-region-as-paragraph): Use them.
10090 Use an end marker instead of eob.
10091 Ignore whitespace-only fill-prefixes when indenting according to mode.
10092 Simplify the loop that searches for spaces backwards.
10093
10094 * textmodes/picture.el (picture-vertical-step)
10095 (picture-horizontal-step): Don't use defconst for variables.
10096
10097 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
10098 (mail-extract-address-components): Downcase domain names.
10099 (mail-extr-delete-char): Remove. Use delete-char instead.
10100
10101 * emulation/pc-select.el: Doc string fixes.
10102 (pc-selection-mode): Don't treat macos as a tty.
10103
10104 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
10105
10106 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
10107
10108 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
10109 (mouse-wheel-progessive-speed): New var.
10110 (mwheel-scroll): Use it and handle float values.
10111
10112 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
10113
10114 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
10115 (iswitchb): Fix the case where the result was selected with the mouse.
10116 (iswitchb-completion-help): Use the normal *Completions* now that
10117 mouse selection works.
10118 (iswitchb-minibuffer-setup): Simplify.
10119
10120 * newcomment.el (comment-column, comment-style, comment-multi-line)
10121 (comment-auto-fill-only-comments): Remove :group arg.
10122 (comment-padding): Add :type.
10123 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
10124 if called interactively.
10125
10126 2001-11-19 Colin Walters <walters@verbum.org>
10127
10128 * calc/calc.el (toplevel): Add comment and version header.
10129 (calc-init-base): Bump version to 2.02f, update date.
10130
10131 2001-11-19 Richard M. Stallman <rms@gnu.org>
10132
10133 * net/browse-url.el: Support Mozilla and Galeon.
10134 By default, find the installed browser whichever it is.
10135 (browse-url-mozilla): New function.
10136 (browse-url-mozilla-sentinel): New function.
10137 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
10138 (browse-url-default-browser): New function.
10139 (browse-url-process-environment): Use browse-url-browser-display.
10140 (browse-url-browser-display): Renamed from browse-url-netscape-display.
10141 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
10142 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
10143 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
10144 (browse-url-browser-function): New default, new options.
10145
10146 2001-11-19 Sam Steingold <sds@gnu.org>
10147
10148 * bindings.el (last-buffer, unbury-buffer): New function.
10149 (mode-line-unbury-buffer): Use `unbury-buffer'.
10150
10151 2001-11-18 Stephen Eglen <stephen@gnu.org>
10152
10153 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
10154 control behaviour when no further completion is possible.
10155
10156 2001-11-19 Colin Walters <walters@verbum.org>
10157
10158 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
10159 (math-showing-full-precision, math-with-extra-prec, math-working)
10160 (calc-with-default-simplification)
10161 (calc-with-trail-buffer): Use backtick.
10162 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
10163 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
10164 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
10165 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
10166 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
10167 (Math-num-integerp, Math-bignum-test, Math-equal-int)
10168 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
10169 (calc-record-compilation-date-macro): Deleted. Callers updated.
10170 (math-format-radix-digit): Move to calc-bin.el.
10171
10172 * calc/calc.el (calc-record-compilation-date): Remove.
10173 (calc-bug-address): Update.
10174 (calc-settings-file): Use `user-init-file'.
10175
10176 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
10177 Handle null `calc-settings-file'.
10178
10179 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
10180 * calc/calc-keypd.el (calc-keypad-mode): New.
10181 (calc-do-keypad): Use it.
10182 (calc-keypad-map): Move into `calc-keypad-mode'.
10183
10184 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
10185 to defalias argument.
10186
10187 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
10188 (calcFunc-floor): Ditto.
10189
10190 * calc-units.el (calcFunc-usimplify): Ditto.
10191
10192 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10193 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10194 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10195 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10196 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10197 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10198 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10199 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10200 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10201 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10202 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
10203 and move them before their first use. Use `when', `unless'.
10204 Remove trailing periods from error forms. Add description and
10205 headers suggested by Emacs Lisp coding conventions.
10206
10207 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10208
10209 * newcomment.el (comment-indent):
10210 Fix misindentation for comment-only lines.
10211 (comment-indent-new-line): Only obey comment-multi-line if the
10212 comment-ender is not the end-of-line.
10213
10214 2001-11-19 Richard M. Stallman <rms@gnu.org>
10215
10216 * net/net-utils.el (network-connection-service-abbrev-alist):
10217 New variable.
10218
10219 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
10220 Advance to start of 3rd sexp by moving fwd and backing over it.
10221 At first three elements, act like defun.
10222
10223 * delsel.el (delete-selection-pre-hook): Handle and resignal
10224 file-supersession errors to interact properly with userlock.el.
10225
10226 2001-11-18 Richard M. Stallman <rms@gnu.org>
10227
10228 * progmodes/fortran.el (fortran-mode-syntax-table):
10229 Specify punctuation syntax for backslash.
10230
10231 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
10232 All calls deleted.
10233
10234 * international/mule-util.el (string-to-sequence): Make it obsolete.
10235 (string-to-list, string-to-vector): Implement them directly
10236 using append and vconcat, not with string-to-sequence.
10237
10238 * startup.el (command-line): Set abbrevs-changed to nil after
10239 reading the init file and the abbrevs file.
10240
10241 * isearch.el (isearch): Use magenta2 as bg for (background light)
10242
10243 2001-11-17 Richard M. Stallman <rms@gnu.org>
10244
10245 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
10246
10247 * simple.el (minibuffer-history-sexp-flag): Doc fix.
10248
10249 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
10250
10251 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
10252 If set and if applicable, add a regexp to highlight defun-like
10253 text inside comments and strings.
10254 (font-lock-fontify-keywords-region): Pass that new arg.
10255 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
10256 to the end and pass that new arg.
10257 (c-font-lock-keywords-2): Fix regex for labels.
10258 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
10259 Make it work when LIMIT is several lines further.
10260 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
10261 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
10262 Use backquote and make the regexes for `int a, b, c;' work on
10263 multiple lines.
10264
10265 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
10266 (font-lock-defaults-alist): Don't change it any more.
10267 (reb-subexp-mode-map): Cleanup.
10268
10269 * custom.el (custom-current-group-alist): New var.
10270 (custom-declare-group): Set it.
10271 (custom-current-group): New fun.
10272 (custom-declare-variable, custom-handle-all-keywords):
10273 Use it as a default if no :group argument is specified.
10274
10275 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
10276 (standard-keyboard-coding-systems): New var.
10277 (set-locale-environment): Use it to decide whether or not to call
10278 set-keyboard-coding-system.
10279 (locale-language-names): Use \"French\" for "fr".
10280
10281 2001-11-17 Richard M. Stallman <rms@gnu.org>
10282
10283 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
10284 (add-to-list): Delete compatibility code.
10285 (checkdoc-next-message-error): Doc fix.
10286
10287 2001-11-17 Stephen Eglen <stephen@gnu.org>
10288
10289 * locate.el (locate): Show default locate pattern within the
10290 prompt, but don't insert it into the minibuffer contents.
10291 Catch the case when pattern is the empty string.
10292
10293 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
10294
10295 * language/european.el ("French"): New language environment.
10296
10297 2001-11-16 Richard M. Stallman <rms@gnu.org>
10298
10299 * calendar/todo-mode.el (todo-save): Fix previous change.
10300
10301 * subr.el (functionp): Do use cdr-safe on object.
10302
10303 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10304
10305 * bindings.el (mode-line-mode-name): Only put the help-echo property
10306 if the local-map property was put as well.
10307 (global-map): Bind switch-frame, delete-frame, iconify-frame
10308 and make-frame-visible events.
10309
10310 * emacs-lisp/elp.el (elp-not-profilable): New var.
10311 (elp-not-profilable-p): New function.
10312 (elp-instrument-function): Use it. Use backquotes and push.
10313
10314 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
10315 (byte-stack+-info, byte-compile-last-warned-form)
10316 (byte-compile-last-logged-file): Don't defconst a variable.
10317 (no-byte-compile): Declare.
10318 (byte-compile-file): Don't boundp-check no-byte-compile any more.
10319 (byte-compile-defvar): Leave defconst as is.
10320
10321 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
10322 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
10323 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
10324 (edebug-best-error): Don't defconst a variable.
10325 (edebug-read-syntax-table): Use a char-table.
10326 (edebug-lemacs-specific): Remove.
10327 Toplevel: Eliminate check for Lucid Emacs.
10328
10329 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
10330
10331 * rect.el (move-to-column-force): Mark obsolete.
10332 (operate-on-rectangle, delete-extract-rectangle-line)
10333 (insert-rectangle, delete-whitespace-rectangle-line)
10334 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
10335 (string-rectangle-history): New var.
10336 (string-rectangle, string-insert-rectangle): Use it.
10337 (delete-rectangle-line): Fix pos/column mixup and simplify.
10338
10339 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
10340 (normal-top-level, command-line, command-line-1): Simplify.
10341
10342 * tar-mode.el (tar-mode): Use define-derived-mode.
10343
10344 * view.el (view-mode-enable): Don't use make-local-hook.
10345
10346 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
10347
10348 2001-11-16 Richard M. Stallman <rms@gnu.org>
10349
10350 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
10351 if it doesn't make sense as anything else.
10352 Don't recognize a "telephone number" at the beginning of the name.
10353 (mail-extr-leading-garbage): Match non-word characters only.
10354
10355 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
10356
10357 * startup.el (command-line-processed): Doc fix.
10358
10359 * apropos.el (apropos-next-label-button): Doc fix.
10360
10361 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10362
10363 * comint.el (comint-mode): Simplify.
10364 (make-comint-in-buffer): Run `comint-mode' only if necessary.
10365
10366 * subr.el (eval-after-load): Make it work with features as well.
10367
10368 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
10369
10370 * international/mule-cmds.el (describe-input-method): Setup xref.
10371 (set-language-environment): Use functionp.
10372 (locale-language-names, locale-charset-language-names)
10373 (locale-preferred-coding-systems): Defconst and purecopy.
10374
10375 * language/european.el (mac-roman): Add mime-charset property.
10376
10377 2001-11-15 Richard M. Stallman <rms@gnu.org>
10378
10379 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
10380 (multiple-value-apply, nth-value): Use defsubst rather than defalias
10381 to get better doc strings.
10382
10383 2001-11-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
10384
10385 * derived.el: Fix autoload cookie.
10386
10387 2001-11-15 Richard M. Stallman <rms@gnu.org>
10388
10389 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
10390
10391 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10392
10393 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
10394
10395 2001-11-15 Richard M. Stallman <rms@gnu.org>
10396
10397 * dired.el (dired-undo): Display a message to explain
10398 that this does not undo file system changes.
10399
10400 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
10401
10402 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
10403 into `unread-command-events' instead of trying keymap
10404 lookups ourselves. This makes mouse-clicks do the right
10405 thing even when keymaps of overlays are involved.
10406 (mouse-drag-drag): Likewise.
10407
10408 2001-11-15 Andreas Schwab <schwab@suse.de>
10409
10410 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
10411 characters and append anchor to pattern added to auto-mode-alist.
10412
10413 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10414
10415 * server.el (server-process-filter): Run pre/post-comment-hook
10416 before/after visiting the file.
10417
10418 * info-look.el (makefile-mode): Add info for automake.
10419 (autoconf-mode): Fix the name of the index for automake.
10420
10421 * international/latin-9.el: Give pilcrow punctuation syntax.
10422
10423 2001-11-15 Andre Spiegel <spiegel@gnu.org>
10424
10425 * vc.el: Documentation fixes.
10426
10427 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
10428
10429 * smerge-mode.el (smerge-match-conflict): Fix typo.
10430 (smerge-diff): Be careful to read match-data early enough.
10431
10432 2001-11-14 Colin Walters <walters@verbum.org>
10433
10434 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
10435 (calcFunc-subst): Use `defalias' instead of `fset' and
10436 `symbol-function'.
10437
10438 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
10439 (calcFunc-ceil, calcFunc-round): Ditto.
10440
10441 * calc/calc-bin.el (calcFunc-clip): Ditto.
10442
10443 * calc/calc-ext.el (calcFunc-evalv): Ditto.
10444
10445 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
10446
10447 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
10448 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
10449
10450 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
10451
10452 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10453 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10454 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10455 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10456 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10457 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10458 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10459 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10460 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10461 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10462 * calcsel2.el: Style cleanup; don't put closing parens on their
10463 own line, add "foo.el ends here" to each file, and update
10464 copyright date.
10465
10466 * README: Update maintainer.
10467
10468 2001-11-13 Richard M. Stallman <rms@gnu.org>
10469
10470 * progmodes/compile.el (recompile): Use compilation-arguments if
10471 set, so as to be able to M-x recompile the exact command which
10472 created a compilation-mode buffer.
10473
10474 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
10475
10476 2001-11-13 Gerd Moellmann <gerd@gnu.org>
10477
10478 * mouse.el (mouse-drag-region): Don't run the up-event
10479 handler if window start changed due to the down-mouse event.
10480
10481 2001-11-13 Richard M. Stallman <rms@gnu.org>
10482
10483 * mouse.el (mouse-show-mark): Either move point to the mark
10484 or use highlighting, never both.
10485 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
10486
10487 2001-11-13 Simon Josefsson <jas@extundo.com>
10488
10489 * mail/smtpmail.el (top-level): Change maintainer to Simon
10490 Josefsson, cleanup the smtpmail.el header.
10491
10492 * mail/smtpmail.el (top-level): Don't require cl or base64.
10493 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10494 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
10495 Defsubst instead of defmacro.
10496 (smtpmail-intersection): Return value in reverse order.
10497 (smtpmail-open-stream): Use stringp instead of string-to-list.
10498 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
10499 separated from smtpmail-via-smtp.
10500
10501 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
10502 rfc2104. Require base64 and cl.
10503 (smtpmail-smtp-service): Doc fix. :type fix.
10504 (smtpmail-debug-info): Doc fix.
10505 (smtpmail-debug-verb, smtpmail-auth-credentials)
10506 (smtpmail-starttls-credentials, smtpmail-auth-supported):
10507 New variables.
10508 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
10509 mail-utils (it is autoloaded).
10510 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10511 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
10512 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
10513 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
10514 (smtpmail-via-smtp): Support AUTH.
10515 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
10516
10517 2001-11-13 Richard M. Stallman <rms@gnu.org>
10518
10519 * ebuff-menu.el (electric-buffer-update-highlight): New function.
10520 (electric-buffer-overlay): New variable.
10521 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
10522 (electric-buffer-list): Likewise.
10523
10524 * isearch.el (isearch-whitespace-chars): Doc fix.
10525 (isearch-mode): Handle negative search-slow-window-lines correctly.
10526
10527 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
10528
10529 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
10530
10531 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
10532 From Emmanuel Briot <briot@act-europe.fr>.
10533
10534 2001-11-13 Colin Walters <walters@debian.org>
10535
10536 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
10537
10538 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
10539 "~/.emacs"; use `read-file-name'.
10540
10541 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
10542 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
10543 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
10544 * calc/calc.el: Use `frame-width' instead of `screen-width',
10545 `frame-height' instead of `screen-height', and,
10546 `executing-kbd-macro' instead of `executing-macro'.
10547
10548 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
10549 correct number of arguments.
10550
10551 * calc/calc-aent.el (calc-do-alg-entry):
10552 Use `blink-paren-function' instead of `blink-paren-hook'.
10553
10554 2001-11-12 Richard M. Stallman <rms@gnu.org>
10555
10556 * calendar/todo-mode.el (todo-save): Add save-excursion
10557 and save-restriction.
10558
10559 * server.el (server-edit, server-done): Doc fix.
10560
10561 * simple.el (clone-indirect-buffer): Error if major mode symbol
10562 has a no-clone-indirect property.
10563 (clone-buffer): Check for obvious errors before reading clone name.
10564
10565 * info.el (Info-mode): Add a no-clone-indirect property.
10566
10567 2001-11-12 Sam Steingold <sds@gnu.org>
10568
10569 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
10570 set-buffer-modified-p to nil after `vc-exec-after'.
10571 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
10572 (log-view-mode): Make read-only.
10573 (log-view-current-file): Do final `expand-file-name' in the
10574 current `default-directory'.
10575 (log-view-current-tag): Take an optional `where' arg.
10576 (log-view-diff): New user command.
10577
10578 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
10579
10580 * progmodes/cpp.el (cpp-choose-face): Fix typo.
10581
10582 2001-11-12 Sam Steingold <sds@gnu.org>
10583
10584 * emacs-lisp/cl-indent.el (toplevel): Indent properly
10585 `generic-flet', `generic-labels', `with-accessors',
10586 `with-condition-restarts'.
10587
10588 2001-11-12 Richard M. Stallman <rms@gnu.org>
10589
10590 * dired.el: Many trivial doc fixes.
10591 (dired-get-file-for-visit): New function.
10592 (dired-find-alternate-file, dired-mouse-find-file-other-window)
10593 (dired-view-file, dired-find-file-other-window, dired-display-file)
10594 (dired-find-file): Use dired-get-file-for-visit.
10595
10596 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
10597
10598 * sql.el (sql-mode): Doc change.
10599
10600 * sql.el (sql-mode-syntax-table): The backslash is no longer an
10601 escape character.
10602
10603 2001-11-12 Colin Walters <walters@debian.org>
10604
10605 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
10606 (calc-do-keypad): Don't attempt to use nonexistent global
10607 mouse-map, use calc-keypad-map.
10608 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
10609 (calc-keypad-left-click): Don't use mouse-map; update to new event
10610 interface.
10611 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
10612 (calc-keypad-press): Use `unread-command-events' instead of
10613 `unread-command-char'.
10614
10615 * calc/calc-ext.el (calc-init-extensions): Update autoload names
10616 to match files renamed on initial calc import.
10617
10618 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
10619
10620 * textmodes/flyspell.el (flyspell-default-dictionary):
10621 Fix previous change.
10622
10623 2001-11-12 Richard M. Stallman <rms@gnu.org>
10624
10625 * textmodes/flyspell.el (flyspell-default-dictionary):
10626 Fix custom type.
10627
10628 2001-11-11 Richard M. Stallman <rms@gnu.org>
10629
10630 * calendar/solar.el (solar-sunrise-and-sunset):
10631 Exchange the two extreme values of day-length.
10632
10633 * progmodes/sh-script.el (sh-must-be-shell-mode):
10634 Allow modes derived from sh-mode.
10635
10636 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
10637 Turn off error in some re-search-forward calls.
10638
10639 * replace.el (query-replace-skip-read-only): New variable.
10640 (perform-replace): If that variable is non-nil, ignore matches
10641 that have a read-only property.
10642
10643 * derived.el (define-derived-mode): Doc fix.
10644
10645 * server.el (server-buffer-done): Test of server-existing-buffer
10646 was backwards.
10647 (server-existing-buffer): Doc fix.
10648
10649 * textmodes/flyspell.el (flyspell-default-dictionary):
10650 Allow nil as value, and make nil the default.
10651
10652 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
10653
10654 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
10655 it is not fboundp.
10656 (clipboard-yank): Ditto.
10657
10658 2001-11-11 Colin Walters <walters@verbum.org>
10659
10660 The following changes are based on patches from
10661 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
10662 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
10663
10664 * calc/calc.el (toplevel): Require calc-macs.
10665 (calc-minibuffer-size): New.
10666 (calcDigit-nondigit): Use it instead of `buffer-size'.
10667 (calcDigit-backspace): Likewise.
10668 (calcDigit-nondigit): Use `minibuffer-contents' instead of
10669 `buffer-string'.
10670 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
10671 `point-min'.
10672 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
10673 `save-excursion'.
10674
10675 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
10676 simple `setq' form.
10677
10678 * calc/calc-ext.el: (toplevel): Require calc.
10679 (calc-fancy-prefix-map): New.
10680 (calc-fancy-prefix): Use it.
10681 (calc-fancy-prefix-other-key): New.
10682
10683 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
10684 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
10685 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
10686 (calcAlg-enter): Likewise.
10687 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
10688
10689 2001-11-10 Richard M. Stallman <rms@gnu.org>
10690
10691 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
10692 (quietly-read-abbrev-file): Doc fix.
10693
10694 * startup.el (command-line): Read standard abbrev
10695 file (abbrev-file-name), if it exists.
10696
10697 * files.el (save-abbrevs): Default value is t.
10698
10699 * progmodes/compile.el (compile-goto-error): Fix previous change
10700 in the case where subsequent errors have not been parsed yet
10701 because they are in a different source file.
10702
10703 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
10704
10705 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
10706 Merge two regular expressions into one.
10707 (ps-mode): Make local bindings for `comment-start' and
10708 `comment-start-skip'.
10709 (ps-mode-looking-at-nested): Simplify an if-else construct;
10710 use `set-match-data' to set the result.
10711
10712 2001-11-10 Richard M. Stallman <rms@gnu.org>
10713
10714 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
10715 Function deleted.
10716 (flyspell-correct-word): Old definition deleted.
10717 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
10718 All references renamed too.
10719
10720 2001-11-10 Gerd Moellmann <gerd@gnu.org>
10721
10722 * Makefile.in (finder_setwins, setwins): Exclude Calc.
10723
10724 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
10725
10726 * wid-edit.el (checklist): Removed `:menu-tag'.
10727 (radio-button-choice): Ditto.
10728 (editable-list): Ditto.
10729
10730 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
10731
10732 * play/gomoku.el: Move definitions of constants to the beginning
10733 of file, before their use.
10734
10735 2001-11-09 Richard M. Stallman <rms@gnu.org>
10736
10737 * textmodes/flyspell.el: Use the keymap property
10738 instead of local-map, and don't use a minor-mode map.
10739 (flyspell-mode-map): Variable deleted.
10740 Don't mess with minor-mode-map-alist.
10741 (calling add-minor-mode): Specify nil for keymap.
10742 And always use add-minor-mode, now that it exists.
10743 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
10744 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
10745 or flyspell-local-mouse-map.
10746 (make-flyspell-overlay): Use flyspell-mouse-map directly.
10747 (flyspell-mode): Doc fix.
10748 (flyspell-mode-on): Don't call make-local-hook.
10749
10750 2001-11-09 Sam Steingold <sds@gnu.org>
10751
10752 * emacs-lisp/debug.el (debugger-make-xrefs):
10753 Add buttons to all symbols.
10754
10755 2001-11-09 Andre Spiegel <spiegel@gnu.org>
10756
10757 * vc.el: Add John David Smith to credits.
10758
10759 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
10760
10761 * vc-hooks.el (vc-error-occured): Backquotified.
10762 (vc-file-prop-obarray): Use prime length for better efficiency.
10763
10764 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
10765
10766 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
10767
10768 * info.el (Info-file-list-for-emacs): Add entries for Calc.
10769
10770 2001-11-09 Miles Bader <miles@gnu.org>
10771
10772 * subr.el (functionp): Don't consider macros as functions.
10773
10774 2001-11-08 Miles Bader <miles@gnu.org>
10775
10776 * subr.el (functionp): Make work correctly for macros and unbound
10777 symbols.
10778
10779 * comint.el (comint-send-input): Fix description of
10780 `comint-process-echoes' in the doc-string.
10781
10782 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
10783
10784 * international/mule.el (make-translation-table): Doc fix.
10785 Suggested by Alex Schroeder <alex@gnu.org>.
10786
10787 2001-11-07 Richard M. Stallman <rms@gnu.org>
10788
10789 * info.el (Info-fontify-node): Highlight every third menu item.
10790
10791 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
10792
10793 * cus-edit.el (custom-face-value-create): Don't ignore the
10794 `customized-face' attribute when finding the current face spec.
10795
10796 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
10797
10798 * subr.el (with-local-quit): New macro.
10799 (make-syntax-table): Always inherit.
10800 (functionp): Be more careful when `object' is a symbol.
10801
10802 * dabbrev.el (dabbrev-completion): Use "*Completions*".
10803
10804 2001-11-07 Paul Eggert <eggert@twinsun.com>
10805
10806 * dired.el (dired-move-to-filename-regexp):
10807 Do not distinguish between ASCII letters and non-ASCII characters.
10808 Don't allow comma except in the form "month day, year".
10809 Don't allow space between month name and comma.
10810 Clean up the code that checks for trailing period, comma, and space.
10811 Remove now-obsolete comments, and add more commentary about
10812 Japanese dates.
10813 Always gobble up trailing spaces, instead of doing it only sometimes.
10814
10815 2001-11-07 Miles Bader <miles@gnu.org>
10816
10817 * paren.el (show-paren-match-face): Add dark-background variant.
10818
10819 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
10820
10821 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
10822 (lisp-mode-variables): Don't set paragraph-{start,separate}.
10823 Don't disable adaptive-fill-mode.
10824 (lisp-fill-paragraph): Use tab-width rather than 8.
10825 Prevent filling the first line of docstrings.
10826
10827 2001-11-06 Richard M. Stallman <rms@gnu.org>
10828
10829 * play/gomoku.el (gomoku): Doc fix.
10830
10831 * jka-compr.el (jka-compr-partial-uncompress):
10832 Support an alternative of not using dd.
10833 (jka-compr-dd-program): Use defcustom to define this.
10834 (jka-compr-load-suffixes): Use defcustom.
10835 (jka-compr-mode-alist-additions): Use defcustom.
10836
10837 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
10838
10839 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
10840 Also work when LIMIT is further than the end of line.
10841
10842 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
10843
10844 * international/quail.el (quail-update-leim-list-file): Print the
10845 offending file name if some of its quail-define-package forms is broken.
10846
10847 2001-11-05 Richard M. Stallman <rms@gnu.org>
10848
10849 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
10850 of the evaluated form.
10851
10852 2001-11-05 Paul Eggert <eggert@twinsun.com>
10853
10854 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
10855 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
10856 stamps always line up by default. Also, it uses a slightly
10857 different window to determine whether files are "recent".
10858
10859 2001-11-05 Andrew Innes <andrewi@gnu.org>
10860
10861 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
10862 Don't attempt to remake autoloads before nuking .elc files.
10863
10864 2001-11-04 Richard M. Stallman <rms@gnu.org>
10865
10866 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
10867 previous-single-property-change or next-single-char-property-change
10868 returns nil.
10869
10870 * international/mule-cmds.el (set-locale-environment):
10871 Make it interactive; make arg optional.
10872
10873 * international/mule-diag.el (help-funs): Require help-funs.
10874
10875 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
10876
10877 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
10878
10879 2001-11-04 Miles Bader <miles@gnu.org>
10880
10881 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
10882 shadow of the splash image grey on a dark background instead of black.
10883
10884 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
10885
10886 * term.el (all faces): Don't (copy-face 'default <foo>).
10887
10888 * term/xterm.el (function-key-map):
10889 Add entry for `ESC [ 3 ~' -> <delete>
10890 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
10891 Use inheritance so that .emacs and terminfo take precedence.
10892
10893 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
10894
10895 * tooltip.el (tooltip-delay): Decrease to 0.7.
10896 (tooltip-hide-delay): Enlarge to 10.
10897
10898 2001-11-03 Richard M. Stallman <rms@gnu.org>
10899
10900 * startup.el (fancy-splash-tail): Explain how to recover
10901 from a crash, if there was a crash.
10902 (command-line-1): Reorganize display of startup screen,
10903 to simplify the logic. Use a temp buffer for it.
10904
10905 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
10906
10907 * frame.el (set-background-color, set-foreground-color):
10908 Call face-set-after-frame-default, to propagate the new colors to
10909 the frame's parameters alist.
10910
10911 * calendar/timeclock.el (timeclock-out): Signal an error if
10912 timeclock-last-event is nil.
10913
10914 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
10915
10916 * textmodes/fill.el (fill-context-prefix): Fix braino.
10917
10918 * international/quail.el (quail-help):
10919 Use `help-buffer' and move `help-setup-xref' to beginning.
10920
10921 * international/mule-cmds.el (describe-language-environment):
10922 Use `help-buffer' and move `help-setup-xref' to beginning.
10923
10924 * international/mule-diag.el (list-character-sets)
10925 (sort-listed-character-sets, describe-character-set)
10926 (describe-coding-system, describe-fontset, list-fontsets):
10927 Use `help-buffer' and move `help-setup-xref' to beginning.
10928 (describe-char-after): Use `internal-describe-syntax-value'.
10929
10930 2001-11-02 Richard M. Stallman <rms@gnu.org>
10931
10932 * mouse.el (popup-menu): If the user refuses to select
10933 from a menu, don't try to invoke the menu.
10934
10935 2001-11-02 Miles Bader <miles@gnu.org>
10936
10937 * help-mode.el (help-xref): New button type.
10938 (help-function, help-variable, help-face, help-coding-system)
10939 (help-input-method, help-character-set, help-type, help-symbol)
10940 (help-back, help-info, help-customize-variable, help-customize-face)
10941 (help-function-def, help-variable-def): Use it as a supertype.
10942 Remove `action' property.
10943
10944 * international/mule-diag.el (describe-character-set)
10945 (describe-coding-system): Pass correct args to `help-xref-button'.
10946 (sort-listed-character-sets): New button type.
10947 (list-character-sets): Use it.
10948 (list-charset-chars): New button type.
10949 (list-character-sets-1): Use it.
10950
10951 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
10952
10953 * indent.el (tab-always-indent, indent-for-tab-command):
10954 Remove redundant `never' setting.
10955
10956 * fill.el (fill-region-as-paragraph): Don't forget to skip
10957 over current whitespace before looking for a preceding space.
10958
10959 2001-11-01 Richard M. Stallman <rms@gnu.org>
10960
10961 * files.el (file-newest-backup): Don't pass backup file name
10962 thru file-name-sans-versions, because it never has version numbers.
10963
10964 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
10965 to avoid ambiguous nested loops.
10966
10967 * files.el (find-file-noselect): Offer to change buffer-read-only
10968 only when the file's read-only status has changed from before
10969 as well as disagreeing with the buffer's current status.
10970 (buffer-file-read-only): New var, local in all buffers.
10971
10972 * buff-menu.el (buffer-menu): Doc fix.
10973 (buffer-menu-other-window): Doc fix.
10974 (list-buffers, list-buffers-noselect): Doc fix.
10975
10976 2001-11-01 Gerd Moellmann <gerd@gnu.org>
10977
10978 * startup.el (command-line): If the terminal Emacs is running on
10979 has erase char set to ^H, use the Backspace key for deleting
10980 backward, and the Delete key for deleting forward.
10981
10982 2001-11-01 Miles Bader <miles@gnu.org>
10983
10984 * button.el (define-button-type): Make sure every user-defined
10985 button type has a supertype.
10986
10987 2001-10-31 Jason Rumney <jasonr@gnu.org>
10988
10989 * international/mule-cmds.el (locale-language-names): Add chs and
10990 cht as aliases for Chinese-GB and Chinese-BIG5.
10991
10992 2001-10-31 Richard M. Stallman <rms@gnu.org>
10993
10994 * bindings.el (mode-line-frame-identification): Add doc string.
10995 (mode-line-position, mode-line-modes): New variables.
10996 (mode-line-format): Use mode-line-position for the part
10997 that displays the position-in-buffer info.
10998 Use mode-line-modes for the part that displays major and minor modes.
10999
11000 2001-10-31 Sam Steingold <sds@gnu.org>
11001
11002 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
11003 (debugger-setup-buffer): Call it.
11004 (debugger-mode-map): Bind RET and mouse-2.
11005
11006 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
11007
11008 * startup.el: Document command line option --no-window-system
11009 instead of --no-windows.
11010
11011 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11012
11013 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
11014
11015 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
11016 (font-lock-defaults-alist): Use it.
11017 From David Ponce <david.ponce@wanadoo.fr>
11018
11019 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
11020 output of `char-after'.
11021
11022 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
11023
11024 * simple.el (reindent-then-newline-and-indent): Insert the newline
11025 before indenting the first line.
11026 (undo-get-state, undo-revert-to-state): New funs.
11027 (shell-command): Don't kill the buffer even if empty.
11028 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
11029 (transpose-subr-end2): Remove.
11030 (transpose-subr): Add `special' arg and simplify.
11031 (transpose-subr-1): Rewrite.
11032 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
11033 (rfc822-goto-eoh): Simplify.
11034
11035 2001-10-30 Richard M. Stallman <rms@gnu.org>
11036
11037 * enriched.el (enriched-face-ans): Fix previous change.
11038
11039 2001-10-30 Gerd Moellmann <gerd@gnu.org>
11040
11041 * international/iso-acc.el (iso-accents-compose): Remove a
11042 superfluous setq.
11043
11044 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
11045
11046 * buff-menu.el (list-buffers-noselect): If the buffer's name
11047 starts with a blank, but it visits a file, do show it (for files
11048 whose names start with a blank).
11049
11050 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11051
11052 * textmodes/fill.el (sentence-end-double-space)
11053 (sentence-end-without-period): Move to paragraphs.el.
11054 (fill-indent-according-to-mode): Change default to t.
11055 (fill-context-prefix): Simplify control-flow and use a more
11056 sophisticated merge that unifies both previous checks.
11057 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
11058 (fill-nobreak-predicate): Make it into a defcustom'd hook.
11059 (fill-nobreak-p): New fun.
11060 (fill-region-as-paragraph): Use it.
11061 Handle `fill-indent-according-to-mode' slightly differently.
11062 (fill-individual-paragraphs-prefix): Simplify the control-flow.
11063 (fill-individual-paragraphs-citation): Fix.
11064
11065 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
11066 (paragraph-start): Change default to the `text-mode' value.
11067 (sentence-end-double-space, sentence-end-without-period):
11068 Move from fill.el.
11069 (forward-paragraph): Use `parstart' and `parsep' for temp variables
11070 rather than rebinding `paragraph-start' and `paragraph-separate'.
11071
11072 * indent.el (indent-line-function): Change default to indent-relative.
11073 (tab-always-indent): Add an `never' setting.
11074 (indent-according-to-mode): Handle `indent-relative' and
11075 `indent-relative-maybe' specially.
11076 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
11077 Handle the `never' case for `tab-always-indent'.
11078 Don't call indent-according-to-mode for indent-relative' and
11079 `indent-relative-maybe'.
11080 (insert-tab): Rename `prefix-arg' to `arg'.
11081 (indent-region): Indent the first line as well.
11082 (indent-relative): Don't mark the buffer modified if the indentation
11083 is unchanged.
11084
11085 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11086 Don't set paragraph-separate. Set paragraph-start more carefully.
11087 Set indent-line-function.
11088 (paragraph-indent-text-mode): Use it and define-derived-mode.
11089 (text-mode-map): Remove the \t binding.
11090 (text-mode): Simplify now that the default is more favorable.
11091
11092 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
11093
11094 * emacs-lisp/find-func.el (find-function-search-for-symbol):
11095 If the regexp doesn't match, use a looser one.
11096 (find-variable-noselect): Add `file' argument.
11097
11098 * pcvs.el (cvs-mode-commit-hook): New hook.
11099 (cvs-mode-commit): Run it.
11100
11101 * log-edit.el (log-edit): Run hook after `log-edit-files'.
11102
11103 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
11104 (edebug-instrument-function): Use `find-function-noselect'.
11105
11106 2001-10-29 Richard M. Stallman <rms@gnu.org>
11107
11108 * term.el (term-if-emacs19): Macro deleted.
11109 Callers changed to use progn instead.
11110
11111 * frame.el (blink-cursor-mode): Doc fix.
11112
11113 * files.el (find-backup-file-name): Use make-backup-file-name.
11114
11115 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
11116 window-live-p.
11117 (edebug-set-conditional-breakpoint): Unconditionally use
11118 the former Emacs >=19 definition.
11119 (edebug-mark): Define unconditionally.
11120 (edebug-eval-expression): Always call read-from-minibuffer
11121 and specify history list.
11122 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
11123 edebug-set-conditional-breakpoint.
11124 (edebug-emacs-version-specific): Function deleted;
11125 do the job at top level.
11126 (edebug-emacs-19-specific): Function deleted, this is the default.
11127
11128 2001-10-29 Sam Steingold <sds@gnu.org>
11129
11130 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
11131 "/cygdrive/LETTER/" pathnames.
11132
11133 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
11134
11135 * faces.el (invert-face): Check for 'unspecified, not for nil,
11136 when testing whether face colors are not specified.
11137 From David.Kastrup@t-online.de (David Kastrup).
11138 (read-face-name): Doc fix.
11139 (make-face-bold, make-face-unbold, make-face-italic)
11140 (make-face-unitalic, make-face-bold-italic, invert-face):
11141 Remove trailing blank from the prompt passed to read-face-name.
11142
11143 2001-10-29 Sam Steingold <sds@gnu.org>
11144
11145 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11146 Report numbers of files skipped and failed too.
11147 (byte-compile-file): Return 'no-byte-compile for skipped files.
11148
11149 2001-10-29 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11150
11151 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
11152 and `M p'.
11153
11154 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11155
11156 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
11157 as is on unread-command-events instead of `(SECOND-CHAR)'.
11158
11159 2001-10-29 Andre Spiegel <spiegel@gnu.org>
11160
11161 * vc.el: Mention vc-*-switches in backend API documentation.
11162 (vc-annotate): Adapt doc string to recent change.
11163
11164 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11165
11166 * enriched.el (enriched-face-ans): Handle face attributes
11167 of the form `(FACE1 FACE2 ...)'.
11168
11169 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
11170
11171 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
11172
11173 * progmodes/sql.el (sql-mysql): Doc change by RMS.
11174
11175 * progmodes/sql.el (sql-db2): Doc change.
11176 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
11177 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
11178
11179 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11180
11181 * env.el (substitute-env-vars): Don't quote argument to `rx';
11182 it's a macro.
11183
11184 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
11185
11186 * cus-start.el (recursive-load-depth-limit): Added.
11187
11188 2001-10-28 Richard M. Stallman <rms@gnu.org>
11189
11190 * textmodes/ispell.el (version18p, version20p): Vars deleted.
11191 All uses removed--assume Emacs version is >= 20.
11192
11193 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
11194 by really checking that it is not version 18.
11195
11196 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
11197
11198 2001-10-28 Miles Bader <miles@gnu.org>
11199
11200 * faces.el (face-attribute): Add INHERIT argument, consider face
11201 inheritance if it's non-nil.
11202 (face-attribute-merged-with): New function.
11203 (face-attribute-specified-or): New macro.
11204 (face-foreground, face-background, face-stipple): Add INHERIT
11205 argument. Use `face-attribute-specified-or'.
11206
11207 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
11208
11209 * font-lock.el: Require `syntax'.
11210 (font-lock-defaults-alist): Don't define keywords for lisp languages.
11211 Use `c-font-lock-syntactic-face-function' for c languages.
11212 (font-lock-mode): Don't unset vars when turning the mode off.
11213 (font-lock-default-fontify-buffer): Don't unset vars at the end.
11214 (font-lock-extra-managed-props): New var.
11215 (font-lock-default-unfontify-region): Use it.
11216 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
11217 Don't eval the value when there's no match.
11218 (font-lock-ppss-stats): New var.
11219 (font-lock-ppss): New fun.
11220 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
11221 (font-lock-apply-highlight): Allow `highlight' to set several props.
11222 (font-lock-set-defaults): Use dolist.
11223 (font-lock-unset-defaults): Remove.
11224 (font-lock-match-c-style-declaration-item-and-skip-to-next):
11225 Try to recognize prototypes using `foo P_ ((args))'.
11226 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
11227 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
11228 (c-font-lock-syntactic-face-function): New function.
11229 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
11230 (c++-keywords): Use a more sophisticated regexp to handle
11231 shallowly nested templates.
11232
11233 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11234
11235 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
11236 (sgml-tag): Use it. Cleanup with `cond'.
11237 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
11238 Mark the overlays and only delete those that are marked.
11239 (sgml-skip-close-p): Remove.
11240 (sgml-value): Replace sgml-skip-close-p with its definition.
11241 (html-tag-alist): Use sgml-xml a bit more.
11242 (html-mode): Set sgml-empty-tags.
11243
11244 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
11245 (texinfo-update-node, texinfo-sequential-node-update):
11246 Don't bind the obsolete `auto-fill-hook'.
11247 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
11248 Use `set-buffer' rather than `switch-to-buffer'.
11249 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
11250 Use `set-buffer' rather than `switch-to-buffer'.
11251
11252 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
11253 text-mode-syntax-table.
11254 (mail-mode): Use define-derived-mode.
11255 Fix ordering of alternatives in adaptive-fill-regexp.
11256 (mail-mode-map): Don't rely on keymap's internal representation.
11257
11258 2001-10-27 Sam Steingold <sds@gnu.org>
11259
11260 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
11261 (sgml-xml-guess): Extracted from `html-mode' and generalized.
11262 (sgml-mode-common): Call it.
11263 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
11264 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
11265 (html-horizontal-rule, html-image, html-ordered-list):
11266 (html-unordered-list, html-list-item, html-paragraph):
11267 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
11268 `html-xhtml'.
11269
11270 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
11271
11272 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
11273 (ifnothtml): New alias.
11274
11275 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11276
11277 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
11278 (toggle-text-mode-auto-fill): Use derived-mode-p.
11279
11280 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
11281
11282 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
11283 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
11284
11285 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11286
11287 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
11288 Add make-obsolete cookies, to follow faces.el.
11289
11290 These changes avoid warnings from the byte compiler in faces.el:
11291
11292 * faces.el (internal-get-face): Use facep instead of the obsolete
11293 internal-find-face.
11294 (internal-frob-font-weight, internal-frob-font-slant):
11295 New defaliases for obsolete functions.
11296 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
11297 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
11298 (x-make-font-bold-italic): Use internal-frob-font-weight and
11299 internal-frob-font-slant aliases instead of the obsolete
11300 x-frob-... functions.
11301
11302 2001-10-26 Sam Steingold <sds@gnu.org>
11303
11304 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
11305 DOCTYPE; set `mode-name' based on it.
11306 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
11307 (sgml-tag): Close empty tags in XHTML.
11308
11309 2001-10-26 Jason Rumney <jasonr@gnu.org>
11310
11311 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
11312 when UNICODE is not defined.
11313
11314 2001-10-26 Sam Steingold <sds@gnu.org>
11315
11316 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
11317 be alone on the line.
11318
11319 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11320
11321 * button.el (button): Special face definition for MS-DOS terminals.
11322
11323 2001-10-26 Sam Steingold <sds@gnu.org>
11324
11325 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
11326 Protect the /= test by checking that the args are non-nil.
11327 (sh-font-lock-close-heredoc): Check eof for being non-nil.
11328
11329 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
11330
11331 * textmodes/artist.el (artist-version): 1.2.4.
11332 (artist-butlast-fn): New variable.
11333 (artist-butlast): New function.
11334 (artist-ellipse-mirror-quadrant): Use it.
11335 (artist-mouse-draw-poly): Use nil for `point-list'.
11336 (artist-mouse-draw-poly): Check for point-list being nil.
11337
11338 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
11339
11340 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
11341 lambda expression.
11342 (ps-mode-menu-main): Submenu with options on/off was replaced with
11343 a toggle button.
11344 (ps-mode, ps-run-mode): Define with `define-derived-mode'
11345 (ps-mode): Autoload cookie added on same line as comment
11346 (ps-mode-tabkey, ps-mode-backward-delete-char):
11347 (ps-mode-r-balance): Replace `delete-horizontal-space' and
11348 `indent-to' with `indent-line-to'
11349 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
11350 instead of `eval'.
11351 (ps-mode-print-region): Use `with-temp-buffer'.
11352 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
11353 (numerous places): Add back-tick and tick around names in
11354 docstrings, fix punctuation in docstrings, remove trailing spaces.
11355
11356 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11357
11358 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
11359 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
11360 (sgml-font-lock-syntactic-keywords): New var.
11361 (sgml-mode-common): Drop the two args.
11362 Don't make buffer-local variables that aren't used.
11363 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
11364 Don't set `before-string' props from sgml-display-text.
11365 (sgml-mode): Use define-derived-mode.
11366 (sgml-tags-invisible): Use sgml-display-text.
11367 (sgml-quote): New command.
11368 (html-tag-alist): Add args for `span'.
11369 (html-mode): Use define-derived-mode.
11370 Set sgml-display-text and sgml-tag-face-alist.
11371
11372 2001-10-25 Sam Steingold <sds@gnu.org>
11373
11374 * add-log.el (add-log-always-start-new-record): New user option.
11375 (add-change-log-entry): Use it.
11376
11377 2001-10-25 Richard M. Stallman <rms@gnu.org>
11378
11379 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
11380 bind case-fold-search if FROM is not all lower case.
11381
11382 2001-10-25 Gerd Moellmann <gerd@gnu.org>
11383
11384 * startup.el (normal-top-level): Check for frame-initial-frame
11385 only if it's really used.
11386
11387 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
11388
11389 * progmodes/compile.el (compilation-parse-errors-filename-function):
11390 New variable.
11391 (compilation-parse-errors): Use it.
11392
11393 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11394
11395 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
11396 interactively so that C-u M-C-x still does edebug.
11397 (checkdoc-sentencespace-region-engine): Don't force a double-space
11398 after `.' if it doesn't look like an end-of-sentence.
11399 (debug-ignored-errors): Add `disambiguate ...'.
11400
11401 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
11402
11403 * textmodes/texinfo.el (texinfo-environments)
11404 (texinfo-environment-regexp): Hoist.
11405 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
11406 Only highlight the menu name in menu items.
11407 Setup `@foo ... @end foo' as text clones.
11408 (texinfo-clone-environment): New function.
11409 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
11410 (texinfo-insert-block): Simplify.
11411 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
11412 the command is repeated.
11413 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
11414 (texinfo-insert-@end): Simplify.
11415
11416 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
11417 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
11418 (texinfo-subsubsection-level-regexp)
11419 (texinfo-update-menu-same-level-regexps)
11420 (texinfo-update-menu-higher-regexps)
11421 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
11422
11423 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
11424 (derived-mode-p): Autoload.
11425
11426 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
11427 New vars and functions.
11428 (text-clone-maintain, text-clone-create): New functions.
11429
11430 2001-10-25 Miles Bader <miles@gnu.org>
11431
11432 * facemenu.el (facemenu-add-new-face): Fix variable names.
11433
11434 2001-10-24 Richard M. Stallman <rms@gnu.org>
11435
11436 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
11437 of t and nil values.
11438 (facemenu-set-face): Handle START and END interactively.
11439 (facemenu-set-foreground): Don't use a face; specify color directly.
11440 (facemenu-set-background): Likewise.
11441 (facemenu-set-face-from-menu): Doc fix.
11442 (facemenu-active-faces): Use face-attribute-vector
11443 to handle bare attributes not in faces.
11444 (facemenu-get-face): Don't handle face names fg:... and bg:...
11445 specially.
11446 (facemenu-add-new-face): New argument MENU.
11447 New way to handle adding colors to the color menus.
11448
11449 * env.el (substitute-env-vars): Quote the arg to rx.
11450
11451 2001-10-24 Sam Steingold <sds@gnu.org>
11452
11453 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
11454 Control" and "SGML" groups.
11455
11456 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
11457
11458 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
11459 Better handling of C++ template args to avoid confusion with `<'
11460 and `>' used as operators in member init expressions.
11461
11462 2001-10-24 Gerd Moellmann <gerd@gnu.org>
11463
11464 * replace.el (perform-replace): Move START and END parameters
11465 to the end of the argument list and make them optional.
11466
11467 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
11468 perform-replace.
11469
11470 * international/fontset.el (x-must-resolve-font-name): New function.
11471 (x-complement-fontset-spec): Use it.
11472
11473 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
11474
11475 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
11476
11477 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
11478 Turn caadr into caar of cdr.
11479
11480 2001-10-23 Gerd Moellmann <gerd@gnu.org>
11481
11482 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
11483 of mouse-{1,2} since dragging is on the down event.
11484
11485 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
11486
11487 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
11488 if ARG is nil.
11489
11490 * desktop.el (desktop-last-buffer): New variable.
11491 (desktop-create-buffer): Set it.
11492 (desktop-read): Bind it and switch to that buffer.
11493
11494 2001-10-22 Gerd Moellmann <gerd@gnu.org>
11495
11496 * progmodes/compile.el (compilation-set-window-height):
11497 Select old window only if it's still live.
11498
11499 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
11500
11501 * help-mode.el (help-buffer): Remove debugging code.
11502 From Stefan Monnier <monnier@cs.yale.edu>.
11503
11504 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11505
11506 * files.el (file-name-sans-extension, file-name-extension):
11507 Don't count the leading dots in file names as signaling an extension.
11508
11509 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11510
11511 * vc.el (vc-diff-switches): Doc rewritten.
11512
11513 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11514
11515 * tooltip.el (tooltip-set-param): Doc fix.
11516
11517 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
11518 127 to sgml-maybe-name-self.
11519 (sgml-name-8bit-mode): Doc fix.
11520 (sgml-char-names-table): New variable.
11521 (sgml-name-char): Support non-ASCII and mule-unicode-*
11522 characters. Doc fix.
11523 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
11524
11525 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
11526 doc string the effect of `left' and `top' parameters in
11527 tooltip-frame-parameters, the default values, and the units.
11528 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
11529 (tooltip-show): Mention in the doc string the `top' and `left'
11530 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
11531
11532 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11533
11534 Add autoscaling support for vc-annotate.
11535 From J.D. Smith <jdsmith@alum.mit.edu>.
11536
11537 * vc.el (vc-annotate-display-default): Accept colormap scaling
11538 ratio (now deprecated).
11539 (vc-annotate-display-autoscale): Added.
11540 (vc-annotate-add-menu): New autoscaling menu options "Span to
11541 Oldest" and "Span Oldest->Newest". Easymenu support added for
11542 toggle menus driven by customize variable `vc-annotate-display-mode'.
11543 (vc-annotate-display-select): Added.
11544 (vc-annotate): Changed temp-buffer-show-function to
11545 `vc-annotate-display-select'.
11546 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
11547 Added argument OFFSET. Instead of backend function, calls now
11548 generic `vc-annotate-difference'.
11549 (vc-annotate-difference): Added as generic function instead of
11550 backend-specific function. No longer takes argument POINT, but
11551 instead accepts a time OFFSET.
11552 (vc-default-annotate-current-time): Added.
11553
11554 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
11555 version in vc.el, with
11556 (vc-cvs-annotate-current-time): Added, as override of default.
11557 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
11558 `vc-cvs-annotate-difference'.
11559
11560 2001-10-22 Gerd Moellmann <gerd@gnu.org>
11561
11562 * saveplace.el (save-place): Require `saveplace'.
11563
11564 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
11565 Use `sexp' for :value-type instead of `face'.
11566
11567 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
11568
11569 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
11570 regexps due to 5-digit message IDs.
11571
11572 2001-10-21 Jason Rumney <jasonr@gnu.org>
11573
11574 * term/w32-win.el (redisplay-dont-pause): Don't set.
11575
11576 2001-10-21 Miles Bader <miles@gnu.org>
11577
11578 * help-funs.el (help-manyarg-func-alist): Variable removed.
11579
11580 2001-10-21 Miles Bader <miles@gnu.org>
11581
11582 * help-funs.el (help-manyarg-func-alist): Remove entries for
11583 `insert', `insert-and-inherit', `insert-before-markers',
11584 `insert-before-markers-and-inherit', `message', `message-box',
11585 `message-or-box', `propertize', `format', `encode-time', `append',
11586 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
11587 `insert-string', `ml-if', `ml-provide-prefix-argument', and
11588 `ml-prefix-argument-loop'.
11589
11590 2001-10-21 Andre Spiegel <spiegel@gnu.org>
11591
11592 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
11593 (vc-default-diff-tree): New functions.
11594 (vc-version-diff): Use them. As a result, coding systems are now
11595 set up properly for all sorts of diffs, and tree diffs can now
11596 also be done locally.
11597 (vc-diff): With a prefix argument, don't require that it's called
11598 from a buffer under version control.
11599 (diff-switches): Remove duplicate definition.
11600
11601 * vc-cvs.el (vc-cvs-diff-tree): New function.
11602
11603 2001-10-21 Miles Bader <miles@gnu.org>
11604
11605 * help-funs.el (help-manyarg-func-alist): Remove entries for
11606 `list', `vector', `make-byte-code', `call-process',
11607 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
11608 `logand', `logior', and `logxor'.
11609
11610 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
11611 image bits to compensate. Use `make-string' instead of
11612 `make-bool-vector' (XBM apparently wants byte-aligned rows).
11613
11614 2001-10-20 Kim F. Storm <storm@cua.dk>
11615
11616 * simple.el (kill-ring-save): Don't show extent of copied region
11617 if using transient-mark-mode and region is fully visible.
11618
11619 See ChangeLog.9 for earlier changes.
11620
11621 ;; Local Variables:
11622 ;; coding: iso-2022-7bit
11623 ;; End:
11624
11625 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
11626 Copying and distribution of this file, with or without modification,
11627 are permitted provided the copyright notice and this notice are preserved.