d6e24578db8304afe5dc6bf8d4c91e8a8ceacede
[bpt/emacs.git] / lisp / ChangeLog
1 2002-06-12 Miles Bader <miles@gnu.org>
2
3 * comint.el (comint-send-input): Properly handle empty and
4 no-newline input regions.
5
6 2002-06-12 Colin Walters <walters@gnu.org>
7
8 * calc/calc.el: Use `when', `unless'.
9 (calc-trail-mode): Use an italic `font-lock-face'.
10 (calc-refresh): Ditto.
11
12 2002-06-12 Colin Walters <walters@debian.org>
13
14 * font-core.el (font-lock-core-only): Variable deleted. All uses
15 removed.
16 (font-lock-set-defaults): Variable alist settings moved back into
17 font-lock-set-defaults-1.
18 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
19 is specifically excluded by the user.
20
21 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
22
23 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
24
25 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
26
27 * info.el (Info-mode): Don't set `font-lock-defaults'.
28
29 * replace.el (occur-mode): Don't set `font-lock-defaults'.
30
31 * help-mode.el (help-highlight-p, help-highlight-face): Variable
32 was unused; deleted.
33 (help-make-xrefs): Doc fix.
34
35 2002-06-11 Richard M. Stallman <rms@gnu.org>
36
37 * format.el (format-alist): Document new element PRESERVE.
38 (format-write-file): Implement PRESERVE elt for a format.
39
40 * files.el (make-auto-save-file-name): Rename local `filename' to
41 `file-name'.
42
43 2002-06-10 Richard M. Stallman <rms@gnu.org>
44
45 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
46 (ebrowse-copy-list): Function deleted.
47
48 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
49
50 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
51
52 * eshell/esh-util.el (eshell-copy-list): Function deleted.
53 (eshell-sublist): Use copy-sequence.
54 (eshell-copy-tree): Make it an alias for copy-tree.
55
56 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
57
58 * subr.el (copy-list): Moved to cl.el.
59 (copy-tree): Don't use copy-list or cl-pop.
60
61 2002-06-10 Miles Bader <miles@gnu.org>
62
63 Make comint use text properties for highlighting instead of overlays:
64 * comint.el (comint-last-output-overlay): Variable removed.
65 (comint-send-input, comint-output-filter): Use text properties
66 instead of overlays.
67 (comint-insert-clicked-input): Rewrite to work with text
68 properties as well as overlays
69 (comint-snapshot-last-prompt): Snapshot using text properties.
70 (comint-get-old-input-default, comint-extract-string): Don't copy
71 text properties.
72
73 * simple.el (line-move-finish): Inhibit field motion when
74 computing `line-end'.
75
76 * files.el (revert-buffer): Correct typo: variable name is
77 `buffer-file-format', not `buffer-file-formats'.
78
79 * comint.el (comint-send-input, comint-output-filter): Use the
80 `font-lock-face' property instead of `face'. Don't check the
81 highlight-enabling variables anymore.
82 (comint-highlight-input, comint-highlight-prompt): Variables
83 removed.
84
85 * faces.el (display-supports-face-attributes-p): New function.
86 (face-spec-set-match-display): Support `supports' predicate.
87 (italic): Try underlining for displays that don't support real italics.
88 * cus-edit.el (custom-display): Add support for `supports' predicate.
89 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
90 instead of 8-bit, for consistency with the rest of emacs.
91 (tty-color-canonicalize): Only copy COLOR if we need to change it.
92 (tty-color-approximate): Scale values from `color-name-rgb-alist'
93 appropriately. Return the whole color description, rather than
94 just the RGB values.
95 (tty-color-standard-values): New function. Code mostly taken from
96 `tty-color-translate'.
97 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
98 do all the work.
99 (tty-color-desc): Do color lookup here instead of calling
100 `tty-color-translate' and `tty-color-by-index'; this is now the
101 main place to do it.
102
103 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
104
105 * progmodes/cc-style.el (c-set-style, c-set-style-1): Added
106 another state for the `dont-override' flag where it only keeps
107 globally set variables.
108
109 2002-06-08 Colin Walters <walters@gnu.org>
110
111 * descr-text.el (describe-text-properties): Sort the output by the
112 size of the values. Put `font-lock-face' property on property
113 names.
114 (toplevel): Provide `descr-text'.
115
116 * international/mule-diag.el (describe-char-after): When there are
117 text properties, require `descr-text', and just call
118 `describe-text-properties'.
119
120 * international/mule.el (sgml-html-meta-auto-coding-function): New
121 function.
122 (auto-coding-from-file-contents): Delete; merge functionality into
123 `set-auto-coding'.
124 (set-auto-coding): Move tests from `auto-coding-functions' so that
125 they have a lower priority than coding: tags. Put
126 `auto-coding-regexp-alist' tests before coding: tag tests.
127 (sgml-xml-auto-coding-function): Simply `intern' the match, and
128 test if it's a valid coding system.
129 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
130
131 2002-06-08 Colin Walters <walters@verbum.org>
132
133 * subr.el (copy-list): Moved here from cl.el.
134 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
135
136 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
137 subr.el. Add a defalias with the old name.
138
139 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
140
141 * replace.el (occur-mode): Don't set up categories. Do set
142 `font-lock-defaults', and be sure to set `font-lock-core-only'.
143 (occur-1): Pass `list-matching-lines-face' and
144 `list-matching-lines-buffer-name-face'.
145 (occur-engine): Use `font-lock-face' instead of categories.
146
147 * info.el (Info-mode): Don't set up categories. Do set
148 `font-lock-defaults', and be sure to set `font-lock-core-only'.
149 (Info-fontify-menu-headers): Use `font-lock-face' instead of
150 categories.
151 (Info-fontify-node): Ditto.
152
153 * ibuffer.el (ibuffer-category-alist): Delete.
154 (ibuffer-get-category): Delete.
155 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
156 of categories.
157 (ibuffer-compile-format): Don't treat `name' category specially.
158 (ibuffer-column name): Use `font-lock-face'.
159 (filename-and-process): Ditto.
160 (ibuffer-buffer-name-category): Renamed to
161 `ibuffer-buffer-name-face'. Don't use categories.
162 (ibuffer-update-title-and-summary): Use `font-lock-face'.
163 (ibuffer-insert-filter-group): Ditto.
164 (ibuffer-mode): Don't set up categories. Do set
165 `font-lock-defaults', and be sure to set `font-lock-core-only'.
166 (ibuffer-compile-format): Don't pass third argument
167 to column functions.
168 (filename-and-process): Ditto.
169
170 * ibuf-macs.el (define-ibuffer-column): Don't create a third
171 argument for the generated function.
172
173 * font-core.el (font-lock-category-alist): Delete.
174 (turn-on-font-lock-if-enabled): Don't use it.
175 (font-lock-symbol-category-alist): Delete.
176 (font-lock-default-function): Use new `char-property-alias-alist'
177 to make `font-lock-face' an alias for `face' when font-lock mode
178 is enabled.
179 (font-lock-core-only): New variable.
180 (font-lock-set-defaults): Use it.
181
182 2002-06-08 Richard M. Stallman <rms@gnu.org>
183
184 * files.el (find-file-noselect-1): Undo previous change.
185
186 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
187
188 2002-06-07 Karl Fogel <kfogel@red-bean.com>
189
190 * bookmark.el (bookmark-file-or-variation-thereof): Just use
191 Info-suffix-list, as suggested by Stefan Monnier.
192
193 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
194
195 * select.el (xselect-convert-to-string): If VALUE is a string,
196 return a cons of TYPE and the string.
197
198 2002-06-05 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
199
200 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
201 Fix the table to contain correct characters.
202
203 2002-06-04 Richard M. Stallman <rms@gnu.org>
204
205 * simple.el: Don't require cl.
206
207 2002-06-03 Richard M. Stallman <rms@gnu.org>
208
209 * dired.el (dired-do-shell-command): Doc fix in autoload.
210
211 * info.el (Info-extract-pointer): Ignore Info-header-line.
212
213 * progmodes/cc-mode.el (c-postprocess-file-styles):
214 Do nothing except in CC modes.
215
216 * international/mule-cmds.el (select-safe-coding-system):
217 When computing auto-cs, narrow to FROM...TO.
218 Put save-excursion outside save-restriction.
219 New arg FILE; use that for set-auto-coding.
220
221 2002-06-01 Richard M. Stallman <rms@gnu.org>
222
223 * simple.el (choose-completion-string-functions): Doc fix.
224 (choose-completion-string): Add doc string.
225
226 2002-06-01 Kim F. Storm <storm@cua.dk>
227
228 * simple.el: Reworked previous change.
229 (choose-completion-string1): Merged back into choose-completion-string.
230 (choose-completion-string): Run choose-completion-string-functions
231 after checking for proper minibuffer window. Added mini-p arg to
232 the hook functions. Insert choice if all hook functions return nil.
233 (choose-completion-string-functions): Doc update.
234
235 2002-06-01 Sam Steingold <sds@gnu.org>
236
237 * files.el (auto-mode-alist): Strip trailing ".in" from the file
238 name when deciding the mode (for config.h.in, Makefile.in etc).
239
240 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
241
242 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
243 ?/ and ?* entries to support /* */ style comments.
244 (prolog-font-lock-keywords): New var.
245 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
246
247 2002-06-01 Kim F. Storm <storm@cua.dk>
248
249 * simple.el (choose-completion-string-functions): New special hook.
250 (choose-completion-string1): Renamed from choose-completion-string.
251 (choose-completion-string): Run choose-completion-string-functions
252 until success, and only call choose-completion-string1 if it fails.
253
254 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
255
256 * textmodes/ispell.el (autoloaded toplevel): Don't use
257 ispell-library-directory without checking that it's bound.
258
259 2002-05-31 Kim F. Storm <storm@cua.dk>
260
261 * emulation/cua-base.el (cua--last-deleted-region-pos)
262 (cua--last-deleted-region-text): New aux variables.
263 (cua-delete-region): Set them.
264 (cua-repeat-replace-region): Use them to find the replacement text.
265
266 2002-05-31 Juanma Barranquero <lektu@terra.es>
267
268 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
269 Fix typos.
270
271 2002-05-31 Kim F. Storm <storm@cua.dk>
272
273 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
274 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
275 New custom variables.
276 (grep-compute-defaults): Compute grep-tree-command's default value.
277 (grep-expand-command-macros): New aux function.
278 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
279 (grep-tree): New command like grep-find but extended prompting.
280
281 2002-05-30 Richard M. Stallman <rms@gnu.org>
282
283 * files.el (find-file-default): Add defvar for var already used.
284
285 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
286
287 * subr.el (open-network-stream, open-network-stream-nowait)
288 (open-network-stream-server, process-kill-without-query):
289 Moved from simple.el.
290
291 * simple.el (open-network-stream, open-network-stream-nowait)
292 (open-network-stream-server, process-kill-without-query):
293 Moved to subr.el.
294
295 * simple.el (byte-compiling-files-p): Function deleted.
296
297 * textmodes/ispell.el (ispell-library-directory): Renamed from
298 ispell-library-path. If Ispell is not installed, init to nil.
299 (check-ispell-version): Doc fix.
300 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
301 initialize this unconditionally when ispell-menu-map-needed is t.
302 Local `path' renamed to `dir'.
303
304 2002-05-30 Miles Bader <miles@gnu.org>
305
306 * calc/calc.el (calc-show-banner): New variable.
307 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
308 (calc-mode-var-list): Add `calc-show-banner'.
309 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
310 (calc-toggle-banner): New function.
311 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
312
313 2002-05-29 Richard M. Stallman <rms@gnu.org>
314
315 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
316 When recognizing a def... construct, make that indentation
317 tentative, so that it can be overridden if the list in question
318 is not actually an expression.
319 (common-lisp-indent-call-method): New subroutine.
320
321 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
322 Delete the output file if we get a file-error.
323
324 * tooltip.el (tooltip-mouse-motions-active): New variable.
325 (tooltip-activate-mouse-motions): Don't kill track-mouse local
326 if it was not made by us.
327
328 * mouse.el (mouse-set-font): Avoid misleading error message
329 if user makes no selection.
330
331 * info.el (Info-setup-header-line): Don't hide the links line.
332
333 * files.el (find-file-noselect-1): Return the buffer we created
334 even if it has been killed within `after-find-file'.
335
336 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
337
338 2002-05-29 Kim F. Storm <storm@cua.dk>
339
340 * simple.el (open-network-stream-server): Pass on optional args
341 sentinel and filter to make-network-process (from Luke Gorrie).
342
343 2002-05-28 Colin Walters <walters@gnu.org>
344
345 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
346
347 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
348 (byte-compile-delete-first): New function.
349 (byte-compile-read-position): New variable.
350 (byte-compile-last-position): New variable.
351 (byte-compile-current-buffer): New variable.
352 (byte-compile-log-1): Use it.
353 (byte-compile-set-symbol-position): New function.
354 (byte-compile-obsolete, byte-compile-callargs-warn)
355 (byte-compile-arglist-warn, byte-compile-arglist-warn)
356 (byte-compile-print-syms, byte-compile-file-form-defmumble)
357 (byte-compile-check-lambda-list, byte-compile-lambda)
358 (byte-compile-form, byte-compile-variable-ref)
359 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
360 (byte-compile-condition-case, byte-compile-defun)
361 (byte-compile-defvar, byte-compile-autoload)
362 (byte-compile-lambda-form): Use it.
363 (byte-compile-from-buffer): Set it, and bind
364 `read-with-symbol-positions' and `read-symbol-positions-list'.
365
366 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
367
368 2002-05-28 Kim F. Storm <storm@cua.dk>
369
370 * files.el (read-directory-name): New function.
371 (cd): Use it instead of read-file-name.
372
373 2002-05-27 Kim F. Storm <storm@cua.dk>
374
375 * simple.el (push-mark-command): Added optional NOMSG arg.
376
377 * emulation/cua-base.el (cua-set-mark): Align pop to mark
378 behaviour with standard set-mark-command.
379 (cua--pre-command-handler): Use push-mark-command.
380 (cua-repeat-replace-region): Improve functionality when
381 repeated after moving point or changing buffer.
382
383 2002-05-26 Colin Walters <walters@verbum.org>
384
385 * startup.el (command-line): Use `when', `unless'.
386 (command-line-1): New argument "--nosplash". Handle it.
387
388 * startup.el (inhibit-splash-screen): New variable alias for
389 `inhibit-startup-message'.
390
391 * replace.el (perform-replace): Document return value. Use `pop'.
392
393 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
394
395 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
396 and slightly changed behaviour, for `f90-previous-block-start' and
397 `f90-next-block-end'.
398 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
399
400 2002-05-26 Simon Josefsson <jas@extundo.com>
401
402 * fringe.el (set-fringe-mode): Work when updating
403 `default-frame-alist'.
404
405 2002-05-26 Kim F. Storm <storm@cua.dk>
406
407 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
408 (cua-repeat-replace-region): New command.
409 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
410 Misc improvements to the commantary.
411
412 2002-05-26 Simon Josefsson <jas@extundo.com>
413
414 * fringe.el (fringe-query-style): New fringe style "minimal".
415
416 2002-05-24 Simon Josefsson <jas@extundo.com>
417
418 * rot13.el (rot13-translate-table): New variable.
419 (rot13, rot13-string, rot13-region): New functions.
420
421 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
422
423 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
424 of wrong anchoring, e.g. for else-if compounds.
425
426 2002-05-25 Miles Bader <miles@gnu.org>
427
428 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
429 (menu-bar-showhide-fringe-menu-customize-right)
430 (menu-bar-showhide-fringe-menu-customize-disable):
431 Use proper calling convention for `customize-set-value'.
432 Require `fringe' before setting variable.
433
434 2002-05-25 Kim F. Storm <storm@cua.dk>
435
436 * emulation/cua-base.el (cua--self-insert-char-p): New function.
437
438 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
439 binding in cua--global-mark-keymap using cua--self-insert-char-p
440 to handle all global self inserting characters in gmark mode.
441
442 * emulation/cua-rect.el (cua--init-rectangles): Install default
443 binding in cua--rectangle-keymap using cua--self-insert-char-p
444 to handle all global self inserting characters in rectangle mode.
445
446 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
447
448 * net/ange-ftp.el (read-file-name-internal): Remove the
449 `ange-ftp' property.
450 (ange-ftp-real-read-file-name-internal): Remove.
451
452 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
453
454 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
455 `forward-line'.
456 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
457 (f90-previous-block-start): New navigation commands.
458
459 2002-05-20 Simon Josefsson <jas@extundo.com>
460
461 * fringe.el: New file.
462
463 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
464 (menu-bar-showhide-fringe-menu): New menu.
465 (menu-bar-showhide-menu): Add Fringe sub-menu.
466
467 2002-05-23 Colin Walters <walters@verbum.org>
468
469 * replace.el (occur-engine): Include all text properties except
470 mouse-face on the newline at the end of occurences.
471
472 2002-05-23 Kim F. Storm <storm@cua.dk>
473
474 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
475 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
476 (apropos-command, apropos-value, apropos-documentation-internal)
477 (apropos-documentation-check-doc-file)
478 (apropos-documentation-check-elc-file): Use them to filter out
479 false matches where only one keyword matches, but more than once.
480
481 * apropos.el (apropos-show-scores, apropos-orig-regexp)
482 (apropos-all-regexp, apropos-synonyms, apropos-words)
483 (apropos-all-words): New variables.
484 (aprpos-words-to-regexp, apropos-rewrite-regexp)
485 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
486 (apropos-score-symbol): New functions.
487 (apropos-command, apropos, apropos-value, apropos-documentation):
488 Allow keywords in addition to regexp. Added scoring.
489 (apropos-documentation-check-doc-file)
490 (apropos-documentation-check-elc-file): Added scoring.
491 (apropos-print): Sort according to score.
492
493 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
494
495 * info.el (Info-mode-hook): Change `font-lock-mode' to
496 `turn-on-font-lock'.
497
498 * font-core.el (font-lock-function): New variable.
499 (font-lock-default-function): New function, created from
500 `font-lock-mode'.
501 (font-lock-mode): Just funcall `font-lock-function'.
502 (font-lock-symbol-category-alist): New variable.
503
504 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
505
506 * files.el (file-newest-backup): Use file-name-sans-versions.
507
508 * diff.el (diff-latest-backup-file): Replace the main code by
509 a call of file-newest-backup.
510
511 2002-05-22 Mike Williams <mdub@bigfoot.com>
512
513 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
514 the buffer.
515
516 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
517
518 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
519 the last patch works around the wu-ftpd misfeature that prompted
520 the disabling of this optimization.
521
522 2002-05-21 Colin Walters <walters@gnu.org>
523
524 * international/mule.el (make-coding-system): Doc fixes.
525
526 * international/mule.el (auto-coding-functions): New variable.
527 (auto-coding-from-file-contents): Use it.
528 (set-auto-coding): Update docs.
529 (sgml-xml-auto-coding-function): New function.
530
531 * international/mule-util.el (truncate-string-to-width):
532 New optional argument `ellipsis'. Add commented-out test suite, and
533 change coding to iso-2022-7bit.
534
535 2002-05-21 Colin Walters <walters@verbum.org>
536
537 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
538 (font-lock-multiline, font-lock-fontified, font-lock-mode)
539 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
540 (font-lock-global-modes): Moved to font-core.el.
541 (font-lock-set-defaults-1): Partially moved to font-core.el.
542
543 * font-core.el: New file, with functions taken from font-lock.el.
544 (font-lock-category-alist): New variable.
545 (font-lock-mode): Use it.
546 (font-lock-set-defaults): Partially taken from font-lock.el.
547 Only load font-lock.el when necessary.
548
549 * loadup.el: Add font-core.el.
550
551 * replace.el (occur-mode-hook): New variable.
552 (occur-fontify-region-function): Deleted.
553 (occur-mode): Don't use it. Set up `font-lock-category-alist'
554 instead.
555 (occur-fontify-on-property): Deleted.
556 (occur-engine): Use categories from `font-lock-category-alist'.
557
558 * info.el (Info-fontify): Deleted.
559 (Info-select-node): Don't use it.
560 (Info-mode-hook): New variable.
561 (Info-mode): Set up categories.
562 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
563
564 * ibuffer.el (ibuffer-formats): Update docs.
565 (ibuffer-category-alist): New variable.
566 (ibuffer-get-category): New function.
567 (ibuffer-compile-make-eliding-form): Use category property instead
568 of face.
569 (ibuffer-compile-format): Pass current ibuffer buffer to column
570 functions too.
571 (ibuffer-buffer-name-category): New function.
572 (ibuffer-compile-format): If the current column is a `name'
573 column, figure out the appropriate category to put on it.
574 (filename-and-process): Use category property.
575 (ibuffer-fontify-region-function): Deleted.
576 (ibuffer-unfontify-region-function): Deleted.
577 (ibuffer-update-title-and-summary): Use category properties.
578 (ibuffer-insert-filter-group): Ditto.
579 (ibuffer-mode): Set up category properties.
580
581 2002-05-21 Colin Walters <walters@debian.org>
582
583 * replace.el (occur-engine): Increment globalcount all at once
584 after searching a buffer.
585 (occur-mode-map): Don't escape plain "o".
586
587 * ibuf-macs.el (define-ibuffer-column): Add third argument
588 `ibuffer-buf'.
589
590 * ibuffer.el (toplevel): Require font-lock, to get the face
591 definitions.
592 (ibuffer-use-fontification): Deleted.
593 (column filename-and-process): New column.
594 (ibuffer-formats): Use it by default.
595 (ibuffer-name-map, ibuffer-mode-name-map)
596 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
597 (ibuffer-do-save, ibuffer-do-toggle-modified)
598 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
599 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
600 (ibuffer): New optional argument `formats'.
601
602 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
603
604 * indent.el (indent-rigidly): Mention how to remove all indentation.
605
606 2002-05-21 Colin Walters <walters@gnu.org>
607
608 * international/mule-diag.el (describe-char-after): Order display
609 of text properties by the size of their value, for clarity.
610
611 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
612
613 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
614 (ange-ftp-file-name-completion): Don't cons unnecessarily.
615 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
616
617 * wid-edit.el (widget-color-complete):
618 * progmodes/etags.el (tags-complete-tags-table-file):
619 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
620
621 * textmodes/outline.el (outline-reveal-toggle-invisible):
622 Reverse the meaning of the second arg.
623
624 * reveal.el (reveal-post-command): Reverse the semantics of
625 reveal-toggle-invisible and support isearch-open-invisible-temporary.
626
627 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
628
629 * mail/sendmail.el (mail-recover-1): Remove (debug).
630 (mail-signature): Fix :type.
631 (mail-default-directory): New user option.
632 (mail, mail-recover): Use that option.
633
634 2002-05-20 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
635
636 * international/mule.el (auto-coding-alist): Use emacs-mule
637 for auto-save files.
638
639 2002-05-20 Miles Bader <miles@gnu.org>
640
641 * files.el (find-file-read-args): Don't trash existing value of
642 `minibuffer-setup-hook', just add our hook to it.
643
644 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
645
646 * international/ucs-tables.el (unify-8859-on-encoding-mode)
647 (unify-8859-on-decoding-mode): Change :version attributes to strings.
648
649 * simple.el (yank-excluded-properties): Change :version attribute
650 to a string.
651
652 * dired.el (dired-view-command-alist): Change :version attribute
653 to a string.
654
655 * xscheme.el (xscheme-start-hook): Change :version attribute to a
656 string.
657
658 * find-dired.el (find-dired): Implement revert-buffer-function.
659
660 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
661
662 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
663
664 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
665 (f90-get-present-comment-type): Fix earlier change.
666 (f90-comment-indent): Doc fix.
667 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
668 (f90-looking-at-if-then): Remove lets.
669 (f90-looking-at-where-or-forall): Handle if split over lines.
670 (f90-change-keywords): Doc fix.
671
672 2002-05-19 Richard M. Stallman <rms@gnu.org>
673
674 * indent.el (indent-region): Make COLUMN arg optional.
675
676 * files.el (find-file-read-args): New function.
677 (find-file, find-file-other-window, find-file-other-frame)
678 (find-file-read-only, find-file-read-only-other-window)
679 (find-file-read-only-other-frame): Use it.
680
681 * custom.el (custom-load-symbol): Verify that LOADED is a string.
682
683 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
684 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
685 (archive-zip-update-case): Use locate-file to decide whether
686 to use pkzip.
687 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
688
689 * files.el (locate-file): Doc fix.
690
691 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
692
693 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
694 as an option.
695
696 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
697
698 * uniquify.el (uniquify-rationalize-file-buffer-names):
699 Always strip the trailing / even if the file is not a directory.
700
701 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
702
703 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
704 initialization in the defvar.
705 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
706 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
707 (f90-font-lock-4): Move the doc strings.
708 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
709 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
710 (f90-mode-abbrev-table): Initialize in the defvar, with
711 define-abbrev-table.
712
713 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
714
715 * tar-mode.el (tar-octal-time): Fix last change.
716
717 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
718
719 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
720 (report-emacs-bug): Store the prompt in
721 `report-emacs-bug-text-prompt'. Move Configuration/Important
722 settings information after the user's report.
723 (report-emacs-bug-hook): Unclutter by deleting the content of
724 `report-emacs-bug-text-prompt'.
725
726 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
727
728 * forms.el (forms-jump-record, forms-insert-record)
729 (forms-delete-record): Calculate lines from the beginning of the
730 accessible portion rather than from the beginning of the buffer.
731
732 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
733
734 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
735 possibly missing encode-char.
736 (ps-mule-font-info-database-bdf): Add associations for Unicode
737 fonts. Doc fix.
738 (ps-mule-font-info-database-ps-bdf): Doc fix.
739 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
740
741 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
742
743 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
744
745 * emacs-lisp/find-func.el (find-function-search-for-symbol):
746 Find funs defined with defun-cvs-mode.
747 (find-function-space-re): New const. Skips comments as well.
748 (find-function-regexp, find-variable-regexp): Use it.
749
750 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
751 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
752 (cvs-mode-set-flags): Don't cons unnecessarily.
753
754 2002-05-16 Colin Walters <walters@debian.org>
755
756 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
757 "Simple Calculator".
758 (menu-bar-tools-menu) <calc>: New.
759
760 2002-05-16 Juanma Barranquero <lektu@terra.es>
761
762 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
763
764 * filesets.el (filesets-ormap): Fix typo.
765
766 * faces.el (describe-face): Fix typo.
767
768 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
769
770 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
771 Don't treat (lambda () ...) as an expression.
772
773 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
774
775 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
776
777 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
778
779 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
780
781 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
782
783 * progmodes/fortran.el (fortran-directive-re): New name for
784 fortran-preprocessor-re. All usage updated.
785 (fortran-calculate-indent): Give directives zero indentation.
786
787 2002-05-14 Jason Rumney <jasonr@gnu.org>
788
789 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
790 displayed text and internal name as string.
791
792 2002-05-14 Kim F. Storm <storm@cua.dk>
793
794 * emulation/cua-rect.el (cua--rectangle-operation):
795 Don't highlight empty lines in rectangles.
796
797 * emulation/keypad.el: Improved commentary.
798 (keypad-setup, keypad-shifted-setup): Added choice to setup
799 Numeric keypad with decimal key; value is selected character.
800 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
801 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
802 (keypad-setup): Arg list changed to support the new options.
803
804 2002-05-14 Richard M. Stallman <rms@gnu.org>
805
806 * dabbrev.el (dabbrev-case-distinction): New option.
807 (dabbrev--try-find): Handle dabbrev-case-distinction.
808 (dabbrev--search): Clean up the code.
809 (dabbrev-upcase-means-case-search): Doc fix.
810 (dabbrev-case-replace): Fix custom tags and docs.
811
812 2002-05-14 Jochen K\e,A|\e(Bpper <jochen@jochen-kuepper.de>
813
814 * calc/calc-units.el (math-standard-units): Update from CODATA.
815
816 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
817
818 * skeleton.el (skeleton-transformation): Default to `identity'.
819 (skeleton-insert): Use `move-after' markers and `insert' rather
820 than rely on insert-before-markers.
821 (skeleton-internal-1): Handle `> \n' specially so that the newline
822 is inserted before the first line is indented.
823
824 2002-05-14 Mike Williams <mdub@bigfoot.com>
825
826 * textmodes/sgml-mode.el (sgml-tag):
827 Default skeleton-transformation to `identity'.
828
829 2002-05-14 Francesco Potorti` <pot@gnu.org>
830
831 * shell.el (shell-mode): Make second part of initialisation
832 depend on whether comint-input-ring is empty, rather than depend
833 on it being nil.
834
835 2002-05-14 Richard M. Stallman <rms@gnu.org>
836
837 * files.el (make-auto-save-file-name):
838 Delete the auto-save file after make-temp-file creates it.
839
840 2002-05-13 Kim F. Storm <storm@cua.dk>
841
842 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
843 (cua-mode): Print Enabled/Disabled messages if interactive.
844 Disable delete-selection-mode and pc-selection-mode when cua-mode
845 is enabled; reenable if cua-mode is turned off.
846 Remember setting of transient-mark-mode when cua-mode is enabled;
847 restore if cua-mode is disabled.
848
849 2002-05-13 Richard M. Stallman <rms@gnu.org>
850
851 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
852
853 2002-05-13 Colin Walters <walters@gnu.org>
854
855 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
856
857 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
858 (ibuffer-redisplay-engine): Handle it.
859
860 * add-log.el (add-log-mailing-address): Can be a list, too.
861 (add-change-log-entry): If `add-log-mailing-address' is a list,
862 then handle it.
863
864 2002-05-12 Colin Walters <walters@debian.org>
865
866 * replace.el (occur-1): New optional argument `buf-name'.
867 (occur-revert-function): Use it.
868
869 (occur-1): Handle plurals.
870
871 (occur-engine): If there are no more matches, then finish
872 searching the current buffer.
873
874 2002-05-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
875
876 * net/ange-ftp.el (ange-ftp-try-passive-mode)
877 (ange-ftp-passive-host-alist): Change :version attributes to be
878 strings.
879
880 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
881
882 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
883 define-minor-mode.
884
885 * emacs-lisp/find-func.el (find-function-search-for-symbol):
886 Handle more whitespace/newline combinations in symbol definitions.
887
888 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
889
890 * w32-vars.el (w32)
891 * vc-cvs.el (vc-cvs-global-switches)
892 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
893 * textmodes/sgml-mode.el (sgml-xml-mode)
894 * ruler-mode.el (ruler-mode)
895 * replace.el (query-replace-skip-read-only)
896 * progmodes/fortran.el (fortran-preprocessor-re)
897 * net/ange-ftp.el (ange-ftp-passive-host-alist)
898 * mail/sendmail.el (mail-use-dsn)
899 * faces.el (mode-line-inactive, minibuffer-prompt)
900 * add-log.el (add-log-always-start-new-record): Change all
901 post-21.1 :version attributes to 21.4.
902
903 2002-05-12 Richard M. Stallman <rms@gnu.org>
904
905 * mail/smtpmail.el (smtpmail-mail-address): New variable.
906 (smtpmail-send-it): Bind and use that instead of `mail-address'.
907 (smtpmail-via-smtp): Likewise.
908
909 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
910 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
911
912 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
913
914 * subr.el (functionp): Catch errors in indirect-function.
915
916 2002-05-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
917
918 * net/ldap.el (ldap-search-internal): Unfold folded lines before
919 parsing.
920
921 * cus-edit.el (customize-set-value): Rename `var' to `variable'
922 and `val' to `value'.
923 (customize-save-variable): Rename `var' to `'variable.
924
925 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
926
927 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
928 Use it for font-locking and indentation.
929 (fortran-previous-statement, fortran-next-statement): Make them
930 skip over preprocessor lines.
931 (fortran-calculate-indent): Use fortran-preprocessor-re.
932
933 2002-05-10 Kim F. Storm <storm@cua.dk>
934
935 * emulation/cua-base.el (cua-enable-cua-keys)
936 (cua-enable-register-prefix): Added value for `other' choice.
937
938 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
939
940 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
941 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
942 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
943 Run a named function.
944 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
945 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
946 Fix help text.
947
948 2002-05-10 Kim F. Storm <storm@cua.dk>
949
950 * emulation/cua-base.el (cua-mode): Misc. changes to use
951 emulation-mode-map-alists instead of minor-mode-map-alist.
952
953 2002-05-09 Richard M. Stallman <rms@gnu.org>
954
955 * mail/rmail.el (rmail-show-message):
956 Catch error in check-coding-system.
957
958 * progmodes/compile.el (compilation-error-regexp-alist):
959 New element to recognize Python error messages.
960
961 * shell.el (shell-replace-by-expanded-directory):
962 If there's already a / at the end, don't add one.
963
964 2002-05-09 Colin Walters <walters@verbum.org>
965
966 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
967 `ibuffer-filter-disable', `ibuffer-pop-filter',
968 `ibuffer-or-filter', `ibuffer-negate-filter',
969 `ibuffer-decompose-filter', `ibuffer-save-filters',
970 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
971 `ibuffer-save-filter-groups',
972 `ibuffer-switch-to-saved-filter-groups',
973 `ibuffer-delete-saved-filter-groups'.
974
975 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
976
977 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
978
979 * woman.el (woman-menu): Move symbol before the comment so that
980 find-function-search-for-symbol finds it.
981
982 2002-05-10 Miles Bader <miles@gnu.org>
983
984 * facemenu.el (list-colors-display): Don't use
985 `display-color-cells' unless the display class is one for which
986 that info is relevant.
987
988 2002-05-09 Simon Josefsson <jas@extundo.com>
989
990 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
991 calling buffer.
992 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
993 have the patch).
994
995 2002-05-09 Kim F. Storm <storm@cua.dk>
996
997 * wid-edit.el (checkbox): New check-mark image.
998
999 2002-05-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1000
1001 * filesets.el (filesets-running-xemacs): Fix last change.
1002
1003 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
1004
1005 * help-fns.el (describe-function-1): If the source is
1006 `loaddefs.el', look for the real source. This is necessary only
1007 for defaliases.
1008
1009 * emacs-lisp/find-func.el (find-function-search-for-symbol):
1010 Add autoload cookie.
1011 (find-function-regexp): Include
1012 "\(quote " to match the defaliases in loaddefs.el.
1013
1014 * filesets.el (filesets-conditional-sort): Use copy-sequence,
1015 not copy-list.
1016 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
1017 Defvar them to nil if running in Emacs.
1018
1019 2002-05-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1020
1021 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
1022 to flyspell overlays.
1023
1024 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
1025
1026 2002-05-08 Richard M. Stallman <rms@gnu.org>
1027
1028 * diff.el (diff-regexp-alist): Doc fix.
1029
1030 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
1031
1032 2002-05-08 Simon Marshall <simon@gnu.org>
1033
1034 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
1035 the frame name as the car of a menu entry, rather than the frame.
1036
1037 2002-05-08 Juanma Barranquero <lektu@terra.es>
1038
1039 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
1040 in docstring.
1041
1042 2002-05-07 Colin Walters <walters@verbum.org>
1043
1044 * replace.el (occur-unfontify-region-function): Delete.
1045 (occur-mode): Don't use it.
1046 (occur-engine): Respect `keep-props'.
1047 (occur-accumulate-lines): If we're moving forward, decrement;
1048 don't increment, and vice versa.
1049
1050 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
1051
1052 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
1053 (tibetan-canonicalize-for-unicode-regexp): New variables.
1054 (tibetan-canonicalize-for-unicode-region): New function.
1055 (tibetan-strict-unicode): New variable.
1056 (tibetan-pre-write-canonicalize-for-unicode): New function.
1057
1058 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
1059
1060 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
1061 the autoload-cookie. Remove comment.
1062
1063 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
1064
1065 * rect.el (close-rectangle): Don't hide it behind the
1066 autoload-cookie.
1067
1068 2002-05-07 Juanma Barranquero <lektu@terra.es>
1069
1070 * windmove.el (windmove-default-keybindings): Add optional
1071 parameter to allow using a modifier other than 'shift.
1072
1073 2002-05-07 Thomas Link <t.link@gmx.at>
1074
1075 * filesets.el:
1076 (filesets-external-viewers): Fix customization problem.
1077 (filesets-some): Replaces cl's `some'. Calls changed.
1078 (filesets-member): Replaces cl's `member*'. Calls changed.
1079 (filesets-ormap): New function.
1080
1081 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
1082
1083 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
1084 menu items.
1085
1086 2002-05-07 Colin Walters <walters@gnu.org>
1087
1088 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
1089 (ibuffer-clear-filter-groups): Likewise.
1090 (ibuffer-kill-filter-group): Likewise.
1091 (ibuffer-kill-line): Likewise.
1092 (ibuffer-read-filter-group-name): New function.
1093 (ibuffer-jump-to-filter-group): Use it.
1094 (ibuffer-kill-filter-group): Likewise.
1095 (ibuffer-yank-filter-group): Likewise.
1096 (ibuffer-decompose-filter-group): New function.
1097
1098 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
1099 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
1100 guards for `ibuffer-pop-filter-group' and
1101 `ibuffer-clear-filter-groups'.
1102
1103 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
1104
1105 * emacs-lisp/find-func.el (find-function-search-for-symbol):
1106 Use with-syntax-table.
1107
1108 2002-05-06 Francesco Potorti` <pot@gnu.org>
1109
1110 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
1111
1112 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
1113
1114 * time-stamp.el (time-stamp-format): Doc fix: escape open
1115 parenthesis in column 0.
1116
1117 2002-05-04 Richard M. Stallman <rms@gnu.org>
1118
1119 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
1120 Handle both cases: when the menu item has cached info
1121 and when it doesn't.
1122
1123 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
1124 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
1125 (filesets-tree-max-level): Doc fix.
1126 (filesets-commands, filesets-external-viewers)
1127 (filesets-ingroup-patterns): Mark as risky.
1128 (filesets-cache-hostname-flag): Doc fix.
1129 (filesets-menu-cache-file): Doc fix. Mark as risky.
1130 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
1131 Don't defcustom them if running in Emacs.
1132
1133 2002-05-04 Thomas Link <t.link@gmx.at>
1134
1135 * filesets.el (filesets-ingroup-collect-files):
1136 Fix problem with inclusion groups' :scan-depth property.
1137
1138 2002-05-04 Colin Walters <walters@verbum.org>
1139
1140 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
1141 "Default" group earlier. Push killed group on
1142 `ibuffer-filter-group-kill-ring'.
1143 (ibuffer-kill-line): Document. Don't push killed group ourselves.
1144 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
1145 (ibuffer-insert-filter-group-before): New function, broken out
1146 from `ibuffer-yank'.
1147 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
1148
1149 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
1150 (ibuffer-mode-view-menu): Unused variables; deleted.
1151 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
1152
1153 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
1154
1155 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
1156 (toplevel): Bind filter group menu entries in it. Add :enable
1157 forms for some menu items.
1158 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
1159 to `ibuffer-mouse-popup-menu'.
1160 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
1161 group name, and if so, pop up a filter group menu.
1162
1163 2002-05-04 Jason Rumney <jasonr@gnu.org>
1164
1165 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
1166 (mwheel-scroll): Recognize nil scroll amount as documented.
1167
1168 * term/w32-win.el (mouse-wheel-scroll-line)
1169 (mouse-wheel-scroll-screen): Remove.
1170 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
1171
1172 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
1173
1174 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
1175
1176 * emacs-lisp/find-func.el (find-function-search-for-symbol):
1177 Bind case-fold-search when searching.
1178
1179 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
1180
1181 * apropos.el (apropos-print): Fix the reference to mouse-2.
1182
1183 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
1184
1185 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
1186
1187 2002-05-04 Kim F. Storm <storm@cua.dk>
1188
1189 * cus-edit.el (custom-buffer-verbose-help): New variable.
1190 (custom-buffer-create-internal): Remove verbose introduction
1191 in customization buffer when it is nil.
1192
1193 2002-05-03 Dave Love <fx@gnu.org>
1194
1195 * international/mule-cmds.el (select-safe-coding-system):
1196 Don't offer coding systems that use locking shift.
1197 Ask for confirmation if chosen coding system disagrees with
1198 a `coding:' spec in the file.
1199
1200 2002-05-03 John Wiegley <johnw@gnu.org>
1201
1202 * eshell/esh-var.el (eshell-modify-global-environment): Added this
1203 customization variable, which will cause any "export" commands
1204 within any eshell buffer to modify the global Emacs environment.
1205 It defaults to nil, which means that such commands will only
1206 modify that Eshell buffer's environment.
1207 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
1208
1209 * eshell/em-cmpl.el (eshell-command-completions-alist):
1210 Improve default completion targets for objdump, nm and readelf.
1211
1212 2002-05-03 Colin Walters <walters@verbum.org>
1213
1214 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
1215 (gamegrid-add-score-with-update-game-score):
1216 Use `shared-game-score-directory'. Correctly handle non-setuid case.
1217
1218 2002-05-02 Colin Walters <walters@verbum.org>
1219
1220 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
1221 (occur-1): If one of the buffers we're searching is the *Occur*
1222 buffer itself, handle it by creating a temporary buffer. If any
1223 of the buffers being searched are killed, note that in the search
1224 result message. Also, set local variables before we possibly kill
1225 the buffer.
1226
1227 2002-05-02 Kim F. Storm <storm@cua.dk>
1228
1229 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
1230 (menu-bar-options-save): Added cua-mode.
1231 (menu-bar-options-menu): Added toggle for cua-mode.
1232 Disable toggle for transient-mark-mode if cua-mode is enabled.
1233
1234 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
1235 variable.
1236
1237 2002-05-01 Richard M. Stallman <rms@gnu.org>
1238
1239 * help.el (view-todo): New function.
1240 (help-map): Bind C-h C-t to view-todo.
1241 (help-for-help): Change the text.
1242
1243 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
1244
1245 * progmodes/f90.el: Yet more doc string, commment and whitespace
1246 changes.
1247 (f90-imenu-flag): New name for internal variable f90-imenu.
1248 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
1249 (f90-no-break-re): Use regexp-opt.
1250 (f90-end-type-re): Add closing "\\>".
1251 (f90-indent-region): Correctly indent comments embedded in
1252 continued lines.
1253 (f90-indent-new-line): Make it indent the current line, as it should.
1254 (f90-line-continued, f90-get-present-comment-type)
1255 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
1256 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
1257 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
1258 (f90-change-keywords): Minor code tidying.
1259
1260 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
1261 typo `fortran-strip-sqeuence-nos'.
1262
1263 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
1264
1265 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
1266 pop-up-window.
1267
1268 2002-05-01 Kim F. Storm <storm@cua.dk>
1269
1270 * emulation/cua-base.el (cua--pre-command-handler):
1271 Only interpret delete-selection property if mark-active.
1272 (cua-mode): Fixed require in defcustom.
1273
1274 2002-05-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1275
1276 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
1277 error call.
1278
1279 2002-05-01 Colin Walters <walters@verbum.org>
1280
1281 * textmodes/tex-mode.el (tex-validate-buffer):
1282 Use `occur-revert-arguments' instead of setting `occur-nlines' and
1283 `occur-buffer'. Don't test for `input-pending-p' in loop.
1284 Set text property `occur-target' instead of `occur'.
1285
1286 2002-04-30 John Wiegley <johnw@gnu.org>
1287
1288 * align.el (align-region): Fixed the fix to align-region, because
1289 the "name" argument was appearing twice.
1290
1291 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
1292
1293 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
1294 to handle protection labels, one which doesn't get confused by
1295 inherit colons.
1296
1297 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
1298 functions that have "class" or "struct" in the return type as
1299 classes or structs.
1300
1301 2002-04-30 Kim F. Storm <storm@cua.dk>
1302
1303 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
1304 Options" to "New Options..."; rephrase tooltip.
1305 Rephrase tooltip for "Specific Option...".
1306 Added "Saved Options" item. [from Simon Marshall]
1307
1308 2002-04-30 Richard M. Stallman <rms@gnu.org>
1309
1310 * time.el (display-time-mail-directory)
1311 (display-time-mail-function): Doc fixes.
1312
1313 * ediff-hook.el: Remove autoload cookies.
1314
1315 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
1316
1317 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
1318
1319 * align.el (align-region): Fix call to `message'.
1320 Check that (car rule) is a symbol.
1321
1322 * autoinsert.el (auto-insert-directory): Doc fix.
1323
1324 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
1325
1326 * descr-text.el: New file, broken out of facemenu.el.
1327
1328 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
1329
1330 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
1331
1332 * mail/emacsbug.el (report-emacs-bug-hook):
1333 Use replace-match only if search was successful.
1334
1335 2002-04-29 Richard M. Stallman <rms@gnu.org>
1336
1337 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
1338
1339 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
1340 if the user edits the Emacs version number in the text.
1341
1342 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
1343 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
1344 (filesets-error): Simplify definition and make conditional
1345 on filesets-running-xemacs.
1346 (filesets-find-file-using): Renamed from fsfind-file-using.
1347
1348 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
1349
1350 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
1351 (Info-read-node-name-1): Complete file names.
1352 (Info-complete-menu-item): Don't cons unnecessarily.
1353
1354 * files.el (locate-file): New fun.
1355 (locate-file-completion): Rename from load-completion and generalize.
1356 (load-library): Use it.
1357 (make-auto-save-file-name): Expand caddr.
1358
1359 * newcomment.el (comment-fill-column): New var.
1360 (comment-indent): Use it.
1361 (comment-or-uncomment-region): New fun.
1362 (comment-dwim): Use it.
1363
1364 2002-04-29 Colin Walters <walters@verbum.org>
1365
1366 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
1367 (ibuffer-kill-line): Copy the filter group data structure when killing.
1368 (ibuffer-yank): Handle case where we're yanking on the default
1369 group correctly.
1370 (ibuffer-delete-saved-filter-groups): Doc fix.
1371
1372 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1373 Test whether or not update-game-score is setuid, and do the right
1374 thing.
1375
1376 2002-04-29 Kim F. Storm <storm@cua.dk>
1377
1378 * subr.el (remove-yank-excluded-properties): New helper function.
1379 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
1380
1381 * simple.el (yank-excluded-properties): Added help-echo to list.
1382
1383 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
1384
1385 * autoinsert.el (auto-insert-directory): Doc fix.
1386
1387 * progmodes/f90.el: Add/change doc strings for many inline
1388 functions. Whitespace changes.
1389 (f90-indent-line-no, f90-update-line): Minor code changes.
1390
1391 2002-04-29 Kim F. Storm <storm@cua.dk>
1392
1393 * emulation/cua-base.el: New file.
1394
1395 * emulation/cua-rect.el: New file.
1396
1397 * emulation/cua-gmrk.el: New file.
1398
1399 * emulation/keypad.el: New file.
1400
1401 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
1402
1403 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
1404 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
1405 New Vietnamese coding system.
1406
1407 * language/viet-util.el: Update Commentary section.
1408
1409 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1410
1411 * filesets.el (filesets-data): Doc fix.
1412 (filesets-running-xemacs): Define even when compiling.
1413
1414 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
1415 sentence.
1416
1417 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
1418
1419 * textmodes/fill.el (fill-context-prefix): Fix last change with
1420 yet-another-approach.
1421
1422 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
1423
1424 * net/ange-ftp.el (ange-ftp-passive-host-alist)
1425 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
1426
1427 * files.el (small-temporary-file-directory): Fix custom type.
1428
1429 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
1430
1431 * progmodes/f90.el (f90-xemacs-flag): New variable.
1432 (f90-mark-subprogram-overlay): New variable.
1433 (f90-mark-subprogram): Now it highlights the subprogram.
1434 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
1435 Fix highlighting of various "type" forms.
1436
1437 2002-04-28 Colin Walters <walters@verbum.org>
1438
1439 * ibuffer.el (ibuffer-mode): Additional documentation on filter
1440 groups.
1441
1442 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
1443
1444 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
1445 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
1446
1447 2002-04-28 Richard M. Stallman <rms@gnu.org>
1448
1449 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
1450 by 1 for the newly-readded #.
1451
1452 * files.el (make-auto-save-file-name): Specify # as suffix
1453 in the non-file-visiting case.
1454
1455 * subr.el (make-temp-file): New arg SUFFIX.
1456
1457 * filesets.el: New file.
1458
1459 * replace.el (occur-accumulate-lines): Avoid incf and decf.
1460 (occur-engine-add-prefix): New function.
1461 (occur-engine): Avoid using macrolet, incf and decf.
1462 Use occur-engine-add-prefix instead.
1463 Rename `l' to `lines' and `c' to `matches'.
1464
1465 * replace.el (occur-engine, occur-mode-mouse-goto)
1466 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
1467 (occur-mode-goto-occurrence-other-window)
1468 (occur-mode-display-occurrence): A position is just a marker,
1469 not a list.
1470
1471 * replace.el (occur-revert-arguments):
1472 Renamed from occur-revert-properties. All uses changed.
1473
1474 2002-04-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1475
1476 * recentf.el (recentf-menu-before): Use string to specify path in
1477 the menu.
1478
1479 * international/mule-cmds.el (read-language-name): Take care of
1480 non-list values.
1481
1482 2002-04-27 Richard M. Stallman <rms@gnu.org>
1483
1484 * custom.el (custom-load-symbol): Moved from cus-edit.el.
1485 (custom-load-recursion): Likewise.
1486
1487 * cus-edit.el (custom-load-symbol): Moved to custom.el.
1488 (custom-load-recursion): Likewise.
1489
1490 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
1491 generated by easymenu are now lowercase.
1492
1493 2002-04-27 Richard M. Stallman <rms@gnu.org>
1494
1495 * menu-bar.el (menu-bar-update-buffers): Add menu items
1496 Next Buffer and Previous Buffer.
1497
1498 * simple.el (next-buffer, prev-buffer): New commands.
1499 Bind C-x left and C-x right to them.
1500
1501 * info.el (Info-header-line): Mark it as risky-local-variable.
1502
1503 * subr.el (insert-for-yank): Replace `category' property
1504 with whatever properties it stands for.
1505
1506 * subr.el (member-ignore-case): Ignore non-strings in LIST.
1507
1508 2002-04-27 Miles Bader <miles@gnu.org>
1509
1510 * faces.el (read-face-name): Format the prompt correctly when
1511 there's no default.
1512
1513 2002-04-26 Andrew Choi <akochoi@shaw.ca>
1514
1515 * term/mac-win.el: Don't call ediff-toggle-multiframe.
1516 Set default directory. Set process-connection-type to nil.
1517
1518 2002-04-26 Richard M. Stallman <rms@gnu.org>
1519
1520 * loadup.el: Explicitly load cus-face and timer.
1521
1522 * isearch.el: Don't require timer.
1523
1524 * faces.el: Don't require cus-face.
1525
1526 * cus-edit.el (customize-face): Use read-face-name
1527 and handle multiple faces.
1528 (customize-face-other-window): Make it work similarly.
1529
1530 * faces.el (read-face-name): New defaulting features.
1531 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
1532 (list-faces-display): Use the face, not its name string,
1533 as arg when running customize-face.
1534 Put a `read-face-name' prop on the entire line.
1535 (describe-face): Handle multiple faces via read-face-name.
1536
1537 * textmodes/tex-mode.el (tex-start-options): New variable.
1538 (tex-start-commands): New variable.
1539 (tex-start-options-string): Variable deleted.
1540 (tex-start-tex): Use tex-start-options and tex-start-commands,
1541 not tex-start-options-string.
1542 (tex-command): Doc fix.
1543
1544 2002-04-26 Sam Steingold <sds@gnu.org>
1545
1546 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
1547 not in the authinfo/netrc, keep `cred' at nil.
1548
1549 2002-04-26 Gerd Moellmann <gerd@gnu.org>
1550
1551 * find-file.el: Remove Ada-specific example code.
1552
1553 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
1554
1555 * ediff-hooks.el: Put back the autoloads.
1556
1557 2002-04-25 Colin Walters <walters@verbum.org>
1558
1559 * ibuffer.el (define column process): Use `ibuffer-aif'.
1560
1561 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
1562 defaults.
1563 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
1564 (ibuffer-save-filter-groups): Correctly structure filter groups.
1565 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
1566 groups.
1567
1568 2002-04-25 Simon Josefsson <jas@extundo.com>
1569
1570 * mail/sendmail.el (mail-use-dsn): New variable to request
1571 delivery status notification from MTA.
1572 (sendmail-send-it): Use it.
1573
1574 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
1575 (smtpmail-send-it): Use it to construct new queue filenames
1576 (needed if you send more than one message per second, which is
1577 possible if you use Gnus Agent).
1578
1579 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
1580 files as well.
1581 (smtpmail-try-auth-methods): Support netrc data.
1582 (netrc-parse): Autoload netrc.
1583
1584 2002-04-25 Colin Walters <walters@verbum.org>
1585
1586 * replace.el (multi-occur-by-filename-regexp): Doc fix.
1587 (occur-engine): Go to `point-min'. Make nlines argument actually
1588 mean number of context lines. Handle it. Pad digits to the right.
1589
1590 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
1591 `ibuffer-filter-groups'. All users updated.
1592 (ibuffer-show-empty-filter-groups): New variable.
1593 (ibuffer-saved-filter-groups): New variable.
1594 (ibuffer-maybe-save-stuff): Renamed from
1595 `ibuffer-maybe-save-saved-filters'. Callers updated.
1596 Handle `ibuffer-saved-filter-groups'.
1597 (ibuffer-hidden-filtering-groups): Renamed to
1598 `ibuffer-hidden-filter-groups'.
1599 (ibuffer-filter-group-kill-ring): New variable.
1600 (ibuffer-save-with-custom): Doc fix.
1601 (ibuffer-set-filter-groups-by-mode): New function.
1602 (ibuffer-clear-filter-groups): New function.
1603 (ibuffer-current-filter-groups-with-position): Renamed from
1604 `ibuffer-current-filter-groups'. Callers updated.
1605 (ibuffer-kill-filter-group): New function.
1606 (ibuffer-kill-line): New function.
1607 (ibuffer-yank): New function.
1608 (ibuffer-save-filter-groups): New function.
1609 (ibuffer-delete-saved-filter-groups): New function.
1610 (ibuffer-switch-to-saved-filter-groups): New function.
1611 (ibuffer-mark-on-buffer): Add optional arguments for adding a
1612 specific mark, and marking on a specific group.
1613
1614 * ibuffer.el (ibuffer-formats): Doc fix.
1615 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
1616 Bind new functions from ibuf-ext.el. Add menu entries for them.
1617 Remove superfluous tooltips.
1618 (ibuffer-toggle-marks): If on a group name, then toggle marks just
1619 in that group.
1620 (ibuffer-mark-interactive): Handle filter groups.
1621 (ibuffer-mark-forward, ibuffer-unmark-forward)
1622 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
1623 (ibuffer-mark-for-delete-backwards): Update docs.
1624 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
1625 to `ibuffer-current-filter-groups-with-position'.
1626 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
1627 (ibuffer-mode): Add some documentation about filter groups.
1628
1629 2002-04-25 Andreas Schwab <schwab@suse.de>
1630
1631 * find-dired.el (find-name-dired): Don't quote pattern twice.
1632
1633 2002-04-26 Miles Bader <miles@gnu.org>
1634
1635 * cus-edit.el (customize-face, customize-face-other-window):
1636 Use default instead of initial-input for suggested face.
1637
1638 2002-04-25 Gerd Moellmann <gerd@gnu.org>
1639
1640 * cus-edit.el (customize-face-other-window, customize-face):
1641 Interactively, when point is on text with a face, suggest to
1642 customize that face.
1643
1644 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
1645
1646 * progmodes/f90.el: General tidy-up of commentary and some doc
1647 strings.
1648
1649 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
1650
1651 * scroll-all.el (scroll-all-function-all) New function to do the
1652 actual work.
1653 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
1654 scroll-all-page-down-all, scroll-all-page-up-all,
1655 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
1656 Make them use scroll-all-function-all.
1657
1658 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
1659 with line-beginning-position.
1660 (f90-get-end-of-line): Removed and replaced with line-end-position.
1661 (f90-match-piece): Removed and replaced with match-string.
1662 (f90-current-indentation): Remove `current-column'.
1663 (f90-get-present-comment-type): Use match-string rather than
1664 buffer-substring.
1665 (f90-match-end): Use line-beginning-position, line-end-position
1666 rather than beginning-of-line, end-of-line.
1667 (f90-startup-message): Variable removed.
1668
1669 2002-04-24 Colin Walters <walters@verbum.org>
1670
1671 * replace.el (occur-accumulate-lines): Add optional argument
1672 `no-props'. Handle it.
1673 (occur-engine): Use it.
1674
1675 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
1676 up autoloads manually.
1677 (ibuffer-split-list): New function.
1678 (ibuffer-filtering-groups): New variable.
1679 (ibuffer-hidden-filtering-groups): New variable.
1680 (ibuffer-mouse-toggle-filter-group): New function.
1681 (ibuffer-toggle-filter-group): New function.
1682 (ibuffer-toggle-filter-group-1): New function.
1683 (ibuffer-forward-filter-group): New function.
1684 (ibuffer-backward-filter-group): New funtion.
1685 (ibuffer-generate-filter-groups): New function.
1686 (ibuffer-filters-to-filter-group): New function.
1687 (ibuffer-pop-filter-group): New function.
1688 (ibuffer-jump-to-filter-group): New function.
1689 (ibuffer-do-occur): Just use `occur-read-primary-args'
1690
1691 * ibuffer.el (ibuffer-filter-group-name-face): New.
1692 (ibuffer-mode-map): Bind and add menu entries for most new
1693 functions; also, bind the arrow keys to the movement functions.
1694 (ibuffer-mode-filter-group-map): New.
1695 (ibuffer-mouse-toggle-mark): Handle group names.
1696 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
1697 (ibuffer-skip-properties): New function.
1698 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
1699 group names. Also, handle new properties.
1700 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
1701 Move error handling to `ibuffer-current-buffer'.
1702 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
1703 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
1704 (ibuffer-toggle-marks): Add optional group argument.
1705 (ibuffer-mark-interactive): Skip group names.
1706 (ibuffer-current-buffer): Clean up error handling.
1707 (ibuffer-fontify-region-function): Fontify group names.
1708 (ibuffer-map-lines): Add extra group argument. Handle it.
1709 (ibuffer-current-filter-groups): New function.
1710 (ibuffer-redisplay): Handle hidden filtering groups.
1711 (ibuffer-sort-bufferlist): New function, taken from
1712 `ibuffer-insert-buffers-and-marks'.
1713 (ibuffer-insert-filter-group): New function.
1714 (ibuffer-redisplay-engine): Renamed from
1715 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
1716 (ibuffer): Add filter-groups argument. Handle it.
1717 Use `save-selected-window'.
1718 (ibuffer-mode): Make `ibuffer-filtering-groups' and
1719 `ibuffer-hidden-filtering-groups' buffer-local.
1720
1721 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
1722
1723 2002-04-24 Richard M. Stallman <rms@gnu.org>
1724
1725 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
1726 (easy-menu-define-key-intern): Function deleted; callers intern
1727 and then call easy-menu-define-key.
1728 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
1729 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
1730 (easy-menu-name-match): New function.
1731 (add-submenu): New function.
1732 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
1733
1734 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
1735
1736 * menu-bar.el (menu-bar-adv-search-menu)
1737 (menu-bar-adv-search-menu): Improve the help text.
1738
1739 2002-04-24 Simon Josefsson <jas@extundo.com>
1740
1741 * net/netrc.el: New file.
1742
1743 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
1744
1745 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
1746 Check if any of the available selection sources has new content
1747 and if so it will return that content.
1748
1749 2002-04-24 Miles Bader <miles@gnu.org>
1750
1751 * menu-bar.el (buffers-menu-show-directories)
1752 (buffers-menu-show-status): New variables.
1753 (menu-bar-update-buffers-1): Use them.
1754
1755 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
1756
1757 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
1758 from `c-do-auto-fill' and point is at or near the limit of the
1759 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
1760 is longer than the text on the first line of the comment when
1761 it's masked.
1762
1763 2002-04-24 Miles Bader <miles@gnu.org>
1764
1765 * menu-bar.el (menu-bar-update-buffers-1): Make sure
1766 `uniquify-buffer-name-style' is bound.
1767
1768 2002-04-23 Colin Walters <walters@verbum.org>
1769
1770 * replace.el (toplevel): Require `cl' while compiling.
1771 (occur-buffer, occur-nlines): Delete.
1772 (occur-revert-properties): Rename to `occur-revert-properties'.
1773 (occur-mode): Handle it. Set up font lock.
1774 (occur-revert-function): Simply apply `occur-1'.
1775 (occur-mode-find-occurence, occur-mode-mouse-goto)
1776 (occur-mode-goto-occurrence-other-window)
1777 (occur-mode-display-occurrence): Handle buffer property.
1778 (list-matching-lines-face): Use defcustom.
1779 (list-matching-lines-buffer-name-face): New variable.
1780 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
1781 in ibuffer.el.
1782 (occur-read-primary-args): Move out of `occur'.
1783 (occur): Delete. Now simply call `occur-1'.
1784 (multi-occur, multi-occur-by-filename-regexp): New functions.
1785 (occur-1): New function.
1786 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
1787 previous implementation of `occur'; taken from ibuf-ext.el.
1788 (occur-fontify-on-property): New function.
1789 (occur-fontify-region-function, occur-unfontify-region-function):
1790 New functions.
1791
1792 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
1793
1794 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
1795 (ibuffer-occur-match-face): Delete.
1796 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
1797 (ibuffer-occur-mouse-display-occurence): Delete.
1798 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
1799 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
1800 (ibuffer-occur-engine): Moved to replace.el.
1801 (ibuffer-do-occur): Simply call `occur-1'.
1802
1803 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1804 Handle the case where we're already viewing the score file.
1805
1806 2002-04-23 Andreas Schwab <schwab@suse.de>
1807
1808 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
1809 next-tag-otherw.
1810
1811 2002-04-23 Miles Bader <miles@gnu.org>
1812
1813 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
1814 directory separator if there's no directory. Don't display
1815 directories at all if uniquify is active. Some code cleanup.
1816 (uniquify-buffer-name-style): Declare (but don't initialize).
1817
1818 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
1819 for command menu entries, since the low-level menu code modifies
1820 them. Cache the resulting list.
1821 (menu-bar-buffers-menu-command-entries): New variable.
1822
1823 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
1824 Add separator line before commands
1825 Remove old crufty code that tried to line things up by adding
1826 spaces to entries (it doesn't work).
1827 Move `Frames' submenu after the normal buffers, and add a
1828 separator line before it.
1829 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
1830
1831 2002-04-22 Richard M. Stallman <rms@gnu.org>
1832
1833 * files.el (after-find-file): Use %s to output MSG.
1834
1835 * dired.el (dired-mouse-find-file-other-window):
1836 Handle events that move out of the window.
1837
1838 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
1839
1840 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
1841 was moved to the following line when it was at the first line
1842 of a block comment where comment-start-skip matched to eol.
1843
1844 2002-04-22 Richard M. Stallman <rms@gnu.org>
1845
1846 * simple.el (line-move-finish): Find beg and end of line
1847 before calling line-move-to-column. Do consider intangible
1848 when finding the end. Take more care in analyzing the results
1849 of intangibility after line-move-to-column.
1850
1851 2002-04-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1852
1853 * international/mule-diag.el (list-input-methods-1): Doc fix
1854 (LEIM is now part of the standard distribution).
1855
1856 * tmm.el (tmm-completion-prompt): Doc fix.
1857
1858 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
1859
1860 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
1861
1862 * diary-lib.el (include-other-diary-files): Allow modifying
1863 included buffer, to turn off selective display.
1864
1865 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1866
1867 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
1868 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
1869 emacsen that doesn't support it.
1870
1871 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1872
1873 * progmodes/cc-align.el, progmodes/cc-engine.el,
1874 progmodes/cc-styles.el, progmodes/cc-vars.el
1875 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
1876 Find correct anchor for statement-cont in top level constructs.
1877 Analyze variable initializations in top level constructs as
1878 topmost-intro-cont instead of statement-cont. That is an
1879 incompatible change but it gives better consistency. The new
1880 lineup function c-lineup-topmost-intro-cont' compensates for
1881 it and is now put on topmost-intro-cont by default.
1882
1883 * progmodes/cc-align.el, progmodes/cc-engine.el,
1884 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
1885 contributed by Kevin Ryde.
1886
1887 (c-in-gcc-asm-p): Function to recognize asm statements.
1888 Contributed by Kevin Ryde.
1889
1890 (c-opt-asm-stmt-key): New language variable to recognize the
1891 beginning of asm statements.
1892
1893 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1894
1895 * progmodes/cc-engine.el (c-guess-basic-syntax):
1896 Detect variable declarations after class and struct declarations
1897 correctly. Fixed limit error when finding the anchor for
1898 template-args-cont and topmost-intro-cont.
1899
1900 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1901
1902 * progmodes/cc-cmds.el (c-beginning-of-defun)
1903 (c-declaration-limits): Find the "line oriented" declaration
1904 start too, just like the "line oriented" end is found.
1905
1906 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1907
1908 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
1909 for `inexpr-statement'. This is not compatible, though.
1910 I think the benefit of a good default style outweights that in
1911 this case. Besides, `inexpr-statement' is not very common.
1912
1913 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1914
1915 * progmodes/cc-cmds.el (c-electric-delete-forward):
1916 Fix silly bug that caused it to delete backwards in hungry delete
1917 mode. (It's amazing that this bug hasn't been reported.)
1918
1919 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
1920 Extracted the code to get the declaration limits from
1921 `c-mark-function' to a new `c-declaration-limits'.
1922
1923 (c-indent-defun): Use the same method to get the limits of the
1924 declaration or macro as `c-mark-function'.
1925
1926 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
1927 list initializers correctly (but costly; it ought to be
1928 integrated into `c-beginning-of-statement-1').
1929
1930 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1931
1932 * progmodes/cc-cmds.el, progmodes/cc-engine.el
1933 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
1934 Rewritten to detect the declaration limits better.
1935 Now handles K&R argdecls, class definitions followed by variables etc.
1936
1937 (c-in-knr-argdecl): Broke out the K&R argdecl test in
1938 `c-beginning-of-decl-1' to this new function.
1939
1940 (c-end-of-statement-1, c-end-of-decl-1):
1941 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
1942 handles declarations that continue after the block.
1943
1944 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1945 Added an option to restrict matching to the top level of the
1946 current paren sexp.
1947
1948 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
1949 New regexp to recognize declarations that continue after the block.
1950
1951 (c-syntactic-eol): New regexp to match a "syntactic" eol.
1952
1953 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1954
1955 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
1956 that often caused the backward limit to be lost at the top
1957 level. This improves performance a bit.
1958
1959 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1960 New function that works like `re-search-forward' but only returns
1961 matches in syntactically significant text.
1962
1963 * progmodes/cc-engine.el: Fixed a faster and more accurate way
1964 to recognize K&R argdecls.
1965
1966 (c-beginning-of-decl-1): New function that put point at the
1967 beginning of the declaration. It handles K&R argdecl blocks.
1968
1969 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
1970 code with one that doesn't depend on the current indentation.
1971 The anchor position for `knr-argdecl' has also changed, but in
1972 a way that is unlikely to cause compatibility problems.
1973
1974 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1975
1976 * progmodes/cc-defs.el, progmodes/cc-engine.el
1977 (c-forward-comment): `forward-comment' in XEmacs skips over
1978 line continuations in the backward direction. Correct for
1979 that. Also made this a defun since it has grown too large now
1980 to be a defsubst.
1981
1982 * progmodes/cc-langs.el: More convenient and decentralized
1983 setup of the language specific variables. The regexp-opt
1984 mangling is also done at compile time now.
1985
1986 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1987
1988 * progmodes/cc-cmds.el (c-indent-line-or-region):
1989 Call `c-indent-line' directly instead of through
1990 `indent-according-to-mode' so that this function always
1991 indents syntactically.
1992
1993 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
1994 where a class beginning with a nested class could cause an
1995 infinite loop (the state outside the narrowed out class is
1996 never used now).
1997
1998 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1999
2000 * progmodes/cc-align.el, progmodes/cc-cmds.el,
2001 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
2002 the context sensitive analysis inside macros is restricted to
2003 the bodies of #define's; other things, like #if expressions,
2004 never have anything in common with their surroundings.
2005 The old `cpp-macro-cont' syntax is now used in situations where
2006 the syntactic analysis isn't applicable, and a new syntactic
2007 element `cpp-define-intro' is used to add indentation in
2008 #define bodies.
2009
2010 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
2011 better reflect its use.
2012
2013 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
2014 continuation backslashes in the detection of `arglist-cont-nonempty'.
2015
2016 * progmodes/cc-align.el: Use the vector form in the return
2017 value in all cases where lineup functions return absolute columns.
2018
2019 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2020
2021 * progmodes/cc-engine.el (c-add-stmt-syntax)
2022 (c-guess-basic-syntax): Anchor `brace-list-intro' and
2023 `bracec-list-close' better for brace lists nested inside expressions.
2024
2025 * progmodes/cc-engine.el, progmodes/cc-langs.el,
2026 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
2027 various language specific variables and their initialization.
2028 The keyword regexps are now lists that are combined with
2029 regexp-opt. Some variables have changed names to fit better
2030 with the naming convention.
2031
2032 * progmodes/cc-defs.el, progmodes/cc-vars.el
2033 (c-buffer-is-cc-mode): The value is the mode symbol of the
2034 original CC Mode mode.
2035
2036 (c-major-mode-is): Compare against the buffer local variable
2037 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
2038
2039 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2040
2041 * progmodes/cc-engine.el (c-forward-syntactic-ws)
2042 (c-backward-syntactic-ws, c-forward-token-1)
2043 (c-backward-token-1, c-in-literal, c-literal-limits)
2044 (c-collect-line-comments, c-literal-type, c-on-identifier)
2045 (c-guess-basic-syntax): These functions are now considered part
2046 of the "CC Mode API" and may be used by other code.
2047 That's signified by making their documentation into docstrings.
2048
2049 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
2050 Removed these internal functions since they aren't used.
2051
2052 (c-forward-to-cpp-expression): Classified this function as internal.
2053
2054 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2055
2056 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
2057 Simplified these regexps; the class keywords they contain
2058 ought to be enough to avoid false matches, so checking for
2059 following identifiers etc is just unnecessary (and might also
2060 fail for oddly formatted code).
2061
2062 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2063
2064 * progmodes/cc-engine.el, progmodes/cc-cmds.el
2065 (c-forward-comment-lc): New function that behaves like
2066 `c-forward-comment', with the exception that line
2067 continuations are treated as whitespace.
2068
2069 (c-beginning-of-statement): Use `c-forward-comment-lc', to
2070 work correctly in macros and other places where line
2071 continuations should be treated as whitespace.
2072
2073 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
2074 normal label in a switch block as a case label, to get
2075 consistent lineup with the case labels.
2076
2077 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
2078 in skipping over a macro that ends with an empty line.
2079
2080 * progmodes/cc-styles.el: Require cc-align since styles added
2081 with `c-add-style' often contains references to functions
2082 defined there, and so the `c-valid-offset' check might
2083 otherwise complain on them.
2084
2085 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2086
2087 * progmodes/cc-align.el, progmodes/cc-mode.texi,
2088 progmodes/cc-vars.el: Added two new lineup functions:
2089
2090 (c-lineup-knr-region-comment): A new lineup function to get
2091 (what most people think is) better indentation of comments in
2092 the "K&R region" between the function header and its body.
2093
2094 (c-lineup-gcc-asm-reg): New lineup function for better
2095 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
2096
2097 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
2098 `c-lineup-knr-region-comment' in the default offset
2099 configuration, since these two functions have little impact
2100 outside their intended use, and they generally do the right
2101 thing when they kick in.
2102
2103 * progmodes/cc-engine.el (c-guess-continued-construct)
2104 (c-guess-basic-syntax): Handle nested functions in all
2105 languages, not just Pike. In C and C++ there's a gcc
2106 extension for this, and it also gives better treatment of
2107 macros that are followed by blocks.
2108
2109 * progmodes/cc-langs.el (c-symbol-key): Made this variable
2110 mode specific, to handle Pike special symbols like `== better.
2111
2112 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2113
2114 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
2115 progmodes/cc-vars.el (c-report-syntactic-errors): A new
2116 variable to control the syntactic error messages. It defaults
2117 to off; since CC Mode ignores most syntactic errors it might
2118 as well ignore them all for the sake of consistency.
2119
2120 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2121
2122 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
2123 Optimization. Can give a noticeable speedup if there's a
2124 large preceding function or class body.
2125
2126 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2127
2128 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
2129 efficient and correct insertion functions in many places.
2130 Always inherit text properties correctly if the text is
2131 permanent. Also do it for speed in temporary insertions,
2132 since I figure it's less work to continue the surrounding text
2133 properties than to break them.
2134
2135 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
2136 completion to make it easier to enter lists.
2137
2138 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2139
2140 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
2141 c-state-cache was clobbered.
2142
2143 * progmodes/cc-cmds.el, progmodes/cc-engine.el
2144 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
2145 to dependency.
2146
2147 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2148
2149 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
2150 open parens in macros (if point isn't in the same one).
2151
2152 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2153
2154 * progmodes/cc-cmds.el (c-context-open-line): New function
2155 that is the `open-line' equivalent to `c-context-line-break'.
2156
2157 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
2158 for Emacs 21 since `indent-new-comment-line' has been changed
2159 to `comment-indent-new-line' there.
2160
2161 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2162
2163 * progmodes/cc-engine.el, progmodes/cc-langs.el
2164 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
2165 New variables containing the character sets used to recognize
2166 statement/declaration boundaries. These variables might help
2167 to support languages like javascript and awk, where newlines
2168 sometimes delimits statements.
2169
2170 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
2171 the set of statement delimiting characters, to allow it to be
2172 changed dynamically and per-mode.
2173
2174 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2175
2176 * progmodes/cc-engine.el (c-looking-at-bos)
2177 (c-looking-at-inexpr-block, c-add-stmt-syntax)
2178 (c-guess-basic-syntax): Treat blocks directly inside function
2179 calls like "bare" statements inside function calls, and not
2180 like in-expression statements. This to make indentation of
2181 such blocks consistent with other statements inside macro calls.
2182
2183 * progmodes/cc-engine.el (c-guess-basic-syntax):
2184 Made arglist-cont anchor correctly in arglists that contain statements.
2185
2186 * progmodes/cc-engine.el (c-guess-basic-syntax):
2187 Fixed consistent anchoring of defun-block-intro in defuns in code
2188 blocks (can only occur in Pike).
2189
2190 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
2191 (c-looking-at-inexpr-block-backward): Changed the arguments to
2192 require containing sexps and paren state, for better efficiency.
2193
2194 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2195
2196 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
2197 progmodes/cc-vars.el: Improved anchoring of statement and
2198 handling of labels in front of substatements.
2199
2200 (c-guess-continued-construct, c-guess-basic-syntax):
2201 Improved and unified anchoring at statements. Statements beginning
2202 with comments or labels are now avoided, by going out of
2203 blocks and containing statements if necessary. This nesting
2204 handling also fixes the case when there's a statement after a
2205 block open brace. Added the syntactic symbol `substatement-label'.
2206
2207 (c-electric-colon): Map the new `substatement-label' to
2208 `label' when consulting `c-hanging-colons-alist'.
2209
2210 (c-offsets-alist): Added substatement-label. Updated the
2211 comments for the new anchoring positions at statements.
2212
2213 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
2214 anchor points for knr-argdecl-intro and access-label.
2215 They used to refer to some point on the same line, a bug which was
2216 neutralized by a kludge in `c-get-syntactic-indentation' which
2217 ignored such anchor points.
2218
2219 (c-get-syntactic-indentation): Removed the kludge that was
2220 necessary due to buggy anchor points.
2221
2222 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
2223 the absence of a comma before arglist-close (case 7A) in any
2224 language, since there's nothing better to do that case anyway.
2225 Added special case to make in-expression statements be
2226 recognized as normal arglist-cont if we're directly in a macro
2227 arglist, for consistency with other "bare" statements.
2228
2229 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
2230 limit arg for backward searches.
2231
2232 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
2233 Anchor gcc in-expression statements at the surrounding open
2234 parenthesis. Treat a class body as an in-expression class if
2235 it's used in an object clone expression in Pike.
2236
2237 * progmodes/cc-engine.el (c-get-offset)
2238 (c-get-syntactic-indentation): Allow several anchor positions
2239 in the list of syntactic symbols. Only the first is used as
2240 the base for the offset calculation.
2241
2242 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2243
2244 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
2245 macro if inside one at the top level. Do not throw an error
2246 if used at the top level outside a macro.
2247
2248 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
2249 alignment only if the backslashes can't be aligned with
2250 surrounding backslashes.
2251
2252 * progmodes/cc-engine.el (c-end-of-macro): New function.
2253
2254 * progmodes/cc-engine.el (c-least-enclosing-brace):
2255 Rewritten to not be destructive.
2256
2257 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2258
2259 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
2260 line break when point is inside the content of it; if it's in
2261 the cpp keyword a normal line break is done.
2262
2263 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
2264 cpp-macro-cont inside the argument list to a #define.
2265
2266 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2267
2268 * progmodes/cc-defs.el (c-forward-comment): Implemented a
2269 kludge to avoid the problem most forward-comment incarnations
2270 have with `\' together with comment parsing.
2271
2272 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2273
2274 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
2275 which could cause the state returned by `c-parse-state' to
2276 lack a closed paren element. That in turn could result in
2277 very long searches, since it's common that they start from the
2278 last preceding close brace.
2279
2280 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2281
2282 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
2283 treat else-if as a single continuation, since that'd make it
2284 hard to get the right anchor point when there's a line break
2285 between the two keywords. This change causes else-clause to
2286 be anchored on the closest preceding else-if and not always on
2287 the starting if, but that doesn't affect the indentation for
2288 any reasonably sane style. Also introduced a noerror flag.
2289
2290 (c-beginning-of-closest-statement): Removed;
2291 c-beginning-of-statement-1 now avoids the problem this one solved.
2292
2293 * progmodes/cc-engine.el (c-guess-continued-construct)
2294 (c-guess-basic-syntax): Better and more uniform anchor points
2295 for 'statement-cont and 'substatement. The effect is
2296 noticeable mostly when there's a label on the same line as the
2297 beginning of the statement, or when there are more stuff
2298 before the start of the statement.
2299
2300 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
2301 Added flag to disable looking at the type of the surrounding paren
2302 since that confuses c-beginning-of-statement-1 and a couple of
2303 other places.
2304
2305 * progmodes/cc-engine.el (c-guess-basic-syntax):
2306 Avoid stepping to the previous statement in case 18.
2307 Improvements in recognition of statement blocks on the top level.
2308
2309 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2310
2311 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2312 (c-crosses-statement-barrier-p): Rewritten to get a well
2313 defined and documented behavior. This fixes some tricky cases
2314 in recognition of do-while constructs.
2315
2316 (c-backward-to-start-of-do, c-backward-to-start-of-if):
2317 Removed; use c-beginning-of-statement-1 instead.
2318
2319 (c-guess-continued-construct, c-guess-basic-syntax):
2320 Various fixes to not depend on the bugs previously in
2321 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
2322 use the new behavior of c-beginning-of-statement-1 better.
2323 Fixed recognition of catch blocks inside macros.
2324
2325 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
2326 in skipping over a macro.
2327
2328 * progmodes/cc-langs.el (c-label-kwds): New variable to
2329 contain the appropriate c-*-label-kwds value.
2330
2331 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
2332 evaluation bug that caused the widget for
2333 c-block-comment-prefix to bug out.
2334
2335 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2336
2337 * progmodes/cc-engine.el (c-guess-basic-syntax):
2338 Improved recognition of statements: They are now recognized in
2339 contexts where they normally can't occur, e.g. on the top level or
2340 in function call arguments. This is mainly useful to recognize
2341 statements in macros at the top level, and in arguments to
2342 macros. The cases has been moved around quite a bit, and case
2343 10 has been copied to case 18. (The cases has not been
2344 renumbered because of this.)
2345
2346 (c-guess-continued-construct): New function which has the
2347 rules which are common between cases 10 and 18.
2348
2349 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2350 (c-backward-to-start-of-do, c-backward-to-start-of-if):
2351 Fixes so that they really obey the passed limits.
2352
2353 (c-safe-position): Return nil if the state doesn't contain a
2354 suitable position.
2355
2356 (c-guess-basic-syntax): Fixes some too short limits in calls
2357 to c-beginning-of-statement-1. Some fixes for top level
2358 analysis in ObjC mode.
2359
2360 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2361 Fixed bug in do-while statements where the body is not a block.
2362
2363 * progmodes/cc-styles.el (c-set-style):
2364 Reset c-special-indent-hook to its global value if in override mode.
2365 Fixes problem where functions on that hook remained after
2366 style switch.
2367
2368 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
2369 Use c-benign-error to report the c-strict-syntax-p error.
2370
2371 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2372
2373 * progmodes/cc-align.el, progmodes/cc-defs.el,
2374 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
2375 Several fixes to treat macros as code and not literals and to
2376 handle line continuations transparently.
2377
2378 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
2379 through whitespace and line continuations, but not comments
2380 and macros.
2381
2382 (c-in-literal): No longer recognizes macros as literals by
2383 default. An extra flag argument is required to do that.
2384
2385 (c-macro-start, c-query-macro-start)
2386 (c-query-and-set-macro-start): Added a cache for the macro
2387 start position.
2388
2389 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
2390 more speed when limits are given. Workaround for bad behavior
2391 in forward-comment in some emacsen when it hits a buffer limit
2392 with a large repeat count.
2393
2394 (c-lineup-macro-cont): Improved behavior when
2395 c-syntactic-indentation-in-macros is nil.
2396
2397 (c-syntactic-indentation-in-macros, c-backslash-max-column)
2398 (c-auto-align-backslashes): New customization variables to
2399 control macro handling.
2400
2401 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
2402 Fixes to handle line continuations.
2403
2404 * progmodes/cc-defs.el, progmodes/cc-styles.el
2405 (c-get-style-variables, c-set-offset): Report style errors
2406 with message and ding instead of error signal. This to avoid
2407 interrupted mode init if there's some style problem.
2408
2409 (c-benign-error): New macro to report errors that doesn't need
2410 to interrupt the operation.
2411
2412 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
2413
2414 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2415
2416 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
2417 Removed most of the c-state-cache fiddling, since the global
2418 state cache now handles this.
2419
2420 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
2421 when there's an open paren at the very first char of the
2422 visible buffer region.
2423
2424 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
2425 Cache the state globally and invalidate it below every buffer
2426 change with the new after change function
2427 `c-check-state-cache'. This gives a considerable performance
2428 boost when editing large functions or classes.
2429
2430 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
2431
2432 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2433
2434 * progmodes/cc-engine.el, progmodes/cc-langs.el,
2435 progmodes/cc-align.el: Improvements to syntactic analysis
2436 inside macros:
2437
2438 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
2439 by `c-guess-basic-syntax'.
2440
2441 (c-parse-state): Fixed bug with braces inside macros when
2442 using cached state info.
2443
2444 (c-forward-to-cpp-expression): New function to aid in
2445 syntactic analysis inside macros.
2446
2447 (c-beginning-of-statement-1, c-backward-syntactic-ws):
2448 Fixes to work better inside macros.
2449
2450 (c-forward-syntactic-ws): Whitespace between the # and the
2451 command should be allowed in preprocessor directives.
2452
2453 (c-lineup-macro-cont): New lineup function to get context
2454 sensitive indentation inside macros.
2455
2456 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
2457 cpp-macro-cont.
2458
2459 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2460
2461 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2462 (c-forward-syntactic-ws): Fixes to handle continued lines.
2463
2464 (c-backward-to-start-of-if, c-guess-basic-syntax):
2465 Do syntactic analysis inside macros.
2466
2467 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2468
2469 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
2470 possible by the more flexible state cache.
2471
2472 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
2473 (c-whack-state-after, c-hack-state)
2474 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
2475 Improved the state cache system. It now can use partial info from
2476 an old cached state to calculate a new one at a different
2477 position. Removed some kludges to avoid the state cache.
2478 The new functions `c-whack-state-before' and `c-whack-state-after'
2479 replace the now obsolete `c-whack-state'.
2480
2481 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2482 Optimized backing through a macro. This can speed things up
2483 quite a bit when there are long macros before point.
2484
2485 (c-beginning-of-macro): Do not ignore the limit.
2486
2487 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2488
2489 * progmodes/cc-cmds.el (c-electric-continued-statement):
2490 Fixed a bug where the keyword wasn't reindented correctly if
2491 followed by another keyword or identifier.
2492
2493 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
2494 pairs that are in macros. Fixes some cases where e.g. the
2495 second of two "do { } while (0)" macros after each other
2496 indented differently.
2497
2498 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2499
2500 * progmodes/cc-engine.el (c-beginning-of-macro)
2501 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
2502 directive when it begins a line, to allow for script
2503 interpreter lines like "#!/usr/bin/pike" at the beginning of
2504 the file.
2505
2506 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2507
2508 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
2509 Recognize brace blocks inside a parenthesis expression as
2510 inexpr-statement. Useful when writing statements as macro arguments.
2511
2512 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2513
2514 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
2515 (c-mask-comment): Broke out the comment masking code from
2516 `c-fill-paragraph' to a new function `c-mask-comment', to be
2517 able to do the same thing in `c-do-auto-fill'. This should
2518 make auto-fill-mode behave better.
2519
2520 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2521
2522 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
2523 Check `executing-macro' to avoid blinking parens when macros
2524 are executed.
2525
2526 * progmodes/cc-mode.el, progmodes/cc-styles.el
2527 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
2528 consistency with `c-setup-paragraph-variables' (which was
2529 placed there due to the dependency from `c-set-style').
2530
2531 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
2532 incomplete initialization from the style variable fallbacks if
2533 there already is a style called "user" defined when CC Mode
2534 starts up for the first time.
2535
2536 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2537
2538 * progmodes/cc-cmds.el, progmodes/cc-vars.el
2539 (c-comment-indent, c-indent-comment-alist): Added new variable
2540 `c-indent-comment-alist' to allow better control over
2541 `c-comment-indent'.
2542
2543 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2544
2545 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
2546 both `comment-start-skip' and the comment prefix on the
2547 current line with the comment starter, so that we line up
2548 comments which matches `c-comment-prefix-regexp' on the first
2549 line (after the `/') without the need to make
2550 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
2551
2552 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
2553 (c-set-style-1, c-setup-paragraph-variables): Moved the
2554 variable initialization based on `c-comment-prefix-regexp' to
2555 a new function `c-setup-paragraph-variables', which is now
2556 used both at mode init and when a style that sets
2557 `c-comment-prefix-regexp' is activated.
2558
2559 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2560
2561 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
2562 Better handling of C++ template args to avoid confusion with
2563 `<' and `>' used as operators in member init expressions.
2564
2565 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2566
2567 * progmodes/cc-engine.el (c-most-enclosing-brace)
2568 (c-least-enclosing-brace): Added optional second arg to limit
2569 the search to before a certain point.
2570
2571 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
2572 which could cause incorrect analysis if a cached state is used
2573 (usually only happens when an electric key reindents a line).
2574
2575 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2576
2577 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
2578 insulation. This time for XEmacs 21.
2579
2580 * progmodes/cc-engine.el, progmodes/cc-langs.el:
2581 Improved handling of inheritance lists:
2582
2583 (c-beginning-of-inheritance-list): Rewritten to use a more
2584 syntactically correct method that doesn't get confused by
2585 badly placed linebreaks and comments.
2586
2587 (c-guess-basic-syntax): Several fixes to the handling of
2588 inheritance lists in combination with templates. 'inher-intro
2589 is now anchored on the start of the class declaration and not
2590 the indentation of the current line. Switched places on cases
2591 5D.3 and 5D.4 and made them use more syntactically correct methods.
2592
2593 (c-inher-key): Removed since the code in
2594 `c-guess-basic-syntax' now uses token-based search.
2595
2596 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
2597 Added a submenu to access some toggles.
2598
2599 (c-toggle-syntactic-indentation): New function to toggle the
2600 variable `c-syntactic-indentation'.
2601
2602 * progmodes/cc-styles.el (c-set-style): Improved the error
2603 message for incorrect offsets a bit.
2604
2605 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2606
2607 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
2608 sexp follows point immediately, instead find the closest
2609 following open paren that ends on another line.
2610
2611 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2612
2613 * progmodes/cc-align.el (c-lineup-cascaded-calls):
2614 New indentation function.
2615
2616 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
2617 directives with whitespace between the '#' and the name.
2618
2619 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2620
2621 * progmodes/cc-engine.el (c-forward-syntactic-ws)
2622 (c-backward-syntactic-ws): Handle line continuations as
2623 whitespace. Don't move past a macro if that'd take us past
2624 the limit.
2625
2626 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2627
2628 * progmodes/cc-engine.el (c-beginning-of-macro)
2629 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
2630 Pike, and that shouldn't be confused with a preprocessor directive.
2631
2632 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2633
2634 * progmodes/cc-cmds.el: Extended the kludge to interoperate
2635 with the delsel and pending-del packages wrt to the new
2636 function `c-electric-delete-forward'.
2637
2638 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2639
2640 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
2641 the block itself, i.e. only indent the contents in it.
2642
2643 * progmodes/cc-styles.el (c-set-style): Use the default
2644 argument to completing-read instead of initial-contents, if
2645 the function is recent enough to support it.
2646
2647 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2648
2649 * progmodes/cc-mode.el (c-mode-help-address):
2650 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
2651 I've almost never seen a bug reported this way that should go
2652 to that list, but it's rather common that the reports concern
2653 the combination CC Mode and XEmacs instead.
2654
2655 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2656
2657 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
2658 brace-elseif-brace and brace-catch-brace are active and
2659 there's a "else if"-block before the catch block.
2660
2661 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
2662 Detect function headers that span lines.
2663
2664 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2665
2666 * progmodes/cc-cmds.el (c-electric-brace)
2667 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
2668 Check for last on line only for doing the auto-newline-mode
2669 stuff, not for the reindentation.
2670
2671 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
2672 handling of c-syntactic-indentation: When it's nil, indent the
2673 new lines but don't reindent the current one. Reindent the
2674 line only when the inserted brace comes first on it, instead
2675 of last.
2676
2677 * progmodes/cc-cmds.el (c-electric-brace)
2678 (c-electric-semi&comma): Fixed two places where
2679 c-syntactic-indentation wasn't heeded.
2680
2681 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
2682 inside a macro.
2683
2684 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
2685 little harder to find a fallback position when an orphan else
2686 is found. Fixed case where an else following a do-while
2687 statement could be associated with an if inside the do-while.
2688
2689 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2690
2691 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
2692 for the fallback to add a single space after the comment prefix.
2693
2694 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
2695 behavior in some special cases, especially for single-line comments.
2696 Avoid breaking up a comment starter or ender.
2697
2698 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2699
2700 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
2701 the Emacs sources to make this work in invisible text.
2702
2703 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
2704 not be confused by a later ':' on the same line as the label.
2705
2706 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2707
2708 * progmodes/cc-cmds.el, progmodes/cc-mode.el
2709 (c-electric-delete, c-electric-delete-forward):
2710 Split `c-electric-delete' into two functions where
2711 `c-electric-delete-forward' always deletes forward and
2712 `c-electric-delete' only contains the code necessary for
2713 XEmacs to choose between backward and forward deletion.
2714 `c-electric-delete-forward' is now bound to C-d to get the
2715 electric behavior on that key too.
2716
2717 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2718
2719 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
2720 use of c-comment-prefix-regexp, which caused an error when
2721 it's a list.
2722
2723 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2724
2725 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
2726 (c-default-style): Removed the hardcoded switch to "java" style
2727 in Java mode. It's instead taken care of by the default value
2728 for c-default-style.
2729
2730 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2731
2732 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
2733 was triggered by equal signs in string literals.
2734
2735 2002-04-21 Kim F. Storm <storm@cua.dk>
2736
2737 * subr.el (insert-buffer-substring-no-properties): New function.
2738 (insert-buffer-substring-as-yank): New function.
2739
2740 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
2741
2742 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
2743 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
2744 prefix from scroll commands. Ignore end-of-buffer errors from
2745 other windows.
2746 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
2747 commands.
2748 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
2749 New functions.
2750
2751 * files.el: (auto-mode-alist): .f95 files in f90-mode.
2752
2753 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
2754 a DO statement irrespective of numeric label.
2755
2756 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
2757
2758 * files.el (auto-save-file-name-transforms): Doc fix.
2759 Add third element to "uniquify" filenames.
2760 (make-auto-save-file-name): Use new element of
2761 auto-save-file-name-transforms.
2762 * startup.el (command-line): Add third element to
2763 auto-save-file-name-transforms.
2764
2765 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
2766
2767 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
2768 return value of file-name-completion and file-name-all-completions.
2769
2770 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2771
2772 * progmodes/f90.el: Update maintainer.
2773 (f90-line-continued): Recognize blank/comment lines embedded in
2774 continuation lines.
2775 (f90-looking-at-program-block-start): No extra indentation after
2776 function or subroutine keyword appears in single quotes.
2777
2778 2002-04-19 Miles Bader <miles@gnu.org>
2779
2780 * custom.el (customize-mark-to-save, customize-mark-as-set)
2781 (custom-quote): Moved here from `cus-edit.el'.
2782 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
2783 (custom-quote): Moved to `custom.el'.
2784
2785 2002-04-18 Richard M. Stallman <rms@gnu.org>
2786
2787 * facemenu.el (list-text-properties-at): Command deleted.
2788
2789 * rect.el (insert-rectangle): Use insert-for-yank.
2790
2791 * register.el (insert-register): Use insert-for-yank.
2792 (describe-register-1): Discard text props in yank-excluded-properties.
2793
2794 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
2795 Fix parts in construction of `menu-item' item at end.
2796
2797 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
2798
2799 * subr.el (insert-for-yank): New function.
2800
2801 * simple.el (yank-excluded-properties): New user option.
2802 (yank-pop, yank): Use insert-for-yank.
2803
2804 2002-04-19 Kim F. Storm <storm@cua.dk>
2805
2806 * simple.el (pop-to-mark-command): Do not set this-command.
2807 (set-mark-command): Always jump to mark when called with arg.
2808
2809 2002-04-18 Francesco Potorti` <pot@gnu.org>
2810
2811 * comint.el (comint-watch-for-password-prompt): Remove whitespace
2812 at the beginning of password prompts.
2813
2814 2002-04-18 Andrew Innes <andrewi@gnu.org>
2815
2816 * facemenu.el: Remove require of wid-edit.
2817
2818 2002-04-17 Colin Walters <walters@verbum.org>
2819
2820 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
2821 one window.
2822 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
2823 (ibuffer-current-state-list): Reinstate optional argument; now
2824 just call `point' inside the mapping function.
2825
2826 2002-04-17 Francesco Potorti` <pot@gnu.org>
2827
2828 * dired-aux.el (dired-star-subst-regexp)
2829 (dired-quark-subst-regexp): New constants.
2830 (dired-do-shell-command, dired-shell-stuff-it): Use them.
2831 (dired-do-shell-command): Raise an error if both `*' and `?'
2832 substitution marks are used in the same command.
2833 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
2834 in a command given via dired-do-shell-command.
2835
2836 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
2837
2838 2002-04-16 Jason Rumney <jasonr@gnu.org>
2839
2840 * international/mule-cmds.el (locale-preferred-coding-systems):
2841 Add "jpn".
2842
2843 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2844
2845 * term.el (term-emulate-terminal): Fix last change.
2846
2847 2002-04-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2848
2849 * bindings.el (mode-line-mode-menu): Update names to reflect
2850 latest changes.
2851
2852 2002-04-16 Mike Williams <mdub@bigfoot.com>
2853
2854 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
2855 compilation error.
2856
2857 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
2858
2859 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
2860 (viper-ex-print-buf-name): New variable.
2861 (viper-ex-print-buf): New variable.
2862 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
2863 (ex-g-marks): New variable.
2864 (ex-print): New function.
2865 (ex-print-display-lines): New function.
2866
2867 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
2868 the cursor color.
2869
2870 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
2871 when the window is not in its own frame.
2872 (ediff-clone-buffer-for-region-comparison): More robust window
2873 arrangement while prompting for regions to compare.
2874 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
2875 (ediff-inferior-compare-regions): Deleted unused vars
2876 ctl-buf and quit-now.
2877
2878 2002-04-15 Richard M. Stallman <rms@gnu.org>
2879
2880 * facemenu.el (facemenu-add-new-face): Use this only for faces.
2881 Delete arg MENU.
2882 (facemenu-add-new-color): New function.
2883 (facemenu-set-foreground, facemenu-set-background):
2884 Use facemenu-add-new-color.
2885
2886 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
2887
2888 * ediff-init.el (ediff-current-diff-face-A)
2889 (ediff-current-diff-face-B, ediff-current-diff-face-C)
2890 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
2891 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
2892 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
2893 (ediff-even-diff-face-B, ediff-even-diff-face-C)
2894 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
2895 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
2896 (ediff-odd-diff-face-Ancestor): Add special color definitions for
2897 tty and MS-DOS displays.
2898
2899 2002-04-15 Andrew Innes <andrewi@gnu.org>
2900
2901 * facemenu.el: Require wid-edit.
2902
2903 2002-04-15 Miles Bader <miles@gnu.org>
2904
2905 * faces.el (highlight): Force foreground to be black on a tty, so
2906 this face is readable on a dark-background tty.
2907 * wid-edit.el (widget-field-face, widget-single-line-field-face):
2908 Likewise.
2909
2910 2002-04-14 Kim F. Storm <storm@cua.dk>
2911
2912 * simple.el (pop-to-mark-command, push-mark-command): New commands.
2913 (set-mark-command): Use them.
2914 Enhanced functionality when command is repeated:
2915 - If first command set the mark (no prefix arg), repeat temporarily
2916 enables transient-mark-mode.
2917 - If first command jumped to mark off ring (with argument),
2918 repeat (with or without arg) jump to next mark off ring.
2919 - Use C-u C-u prefix to set mark after jump.
2920 (exchange-point-and-mark): Temporarily enable transient-mark-mode
2921 if prefix arg.
2922
2923 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2924
2925 * speedbar.el (speedbar-tag-hierarchy-method)
2926 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
2927
2928 2002-04-14 Mike Williams <mdub@bigfoot.com>
2929
2930 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
2931 beginning of buffer.
2932
2933 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2934
2935 * speedbar.el (speedbar-generic-item-info)
2936 (speedbar-sort-tags): Doc fix.
2937 (speedbar-add-supported-extension): Fix typo in interactive spec.
2938
2939 2002-04-13 Colin Walters <walters@verbum.org>
2940
2941 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
2942 only moving one line forward.
2943 (ibuffer-map-lines): Preserve point position even if we delete
2944 lines. Only call mapping functions with buffer and mark
2945 arguments; the other two were unused.
2946 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
2947
2948 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
2949
2950 * calc/calc-bin.el (math-format-radix-float): Use `when'.
2951
2952 * calc/calc.el (math-format-number): Load `calc-ext' before we
2953 call `math-group-float'.
2954
2955 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2956 Renamed from `gamegrid-add-score'.
2957 (gamegrid-add-score-insecure): Restored from the old
2958 `gamegrid-add-score'.
2959 (gamegrid-add-score): Just dispatch on `system-type' to one of the
2960 previous two functions.
2961
2962 2002-04-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2963
2964 * iswitchb.el: Update commentary to include new function
2965 iswitchb-exclude-nonmatching.
2966
2967 2002-04-12 John Wiegley <johnw@gnu.org>
2968
2969 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
2970 operating systems to the regexp used to detect a script's interpreter.
2971
2972 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
2973
2974 * frame.el (frames-on-display-list): Use `equal' to compare the
2975 `display' frame parameter to the argument DISPLAY.
2976
2977 2002-04-12 Dave Love <fx@gnu.org>
2978
2979 * help.el (string-key-binding): Deal with margin events.
2980
2981 2002-04-12 Francesco Potorti` <pot@gnu.org>
2982
2983 * comint.el (comint-password-prompt-regexp): Match " SMB password".
2984
2985 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
2986
2987 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
2988
2989 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
2990
2991 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
2992 (buffer-syntactic-context-depth): New funs.
2993
2994 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
2995 on variables.
2996
2997 * emacs-lisp/debug.el (debug-on-entry): Use push.
2998 (debugger-make-xrefs): Don't assume point-min == 1.
2999
3000 * progmodes/cc-engine.el (c-backward-to-start-of-if):
3001 Don't assume point-min == 1.
3002
3003 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
3004 (etags-list-tags, etags-tags-apropos, select-tags-table):
3005 Don't assume point-min == 1.
3006
3007 2002-04-12 Mike Williams <mdub@bigfoot.com>
3008
3009 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
3010
3011 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
3012
3013 * textmodes/fill.el (fill-context-prefix): Fix up last change.
3014
3015 * simple.el (line-move): Use memq rather than or.
3016 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
3017 (do-auto-fill): Use fill-move-to-break-point.
3018 (syntax-code-table): Remove.
3019
3020 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
3021 Don't add spaces at end of sentences at end of line.
3022 (fill-move-to-break-point): Make sure the result is always greater
3023 than linebeg, so we ensure forward progress.
3024 (fill-region-as-paragraph): Compare to `to' rather than eobp.
3025 (fill-paragraph): Don't rebind fill-paragraph-function.
3026
3027 2002-04-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3028
3029 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
3030
3031 2002-04-11 Andreas Schwab <schwab@suse.de>
3032
3033 * files.el (file-name-non-special): Handle return value of t from
3034 `file-name-completion'.
3035
3036 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
3037
3038 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
3039 differently to avoid pathological exponential-time case.
3040 (adaptive-fill-regexp): Add ! and %.
3041 (fill-delete-prefix): Remove indentation while removing prefix.
3042 (fill-delete-newlines): Obey sentence-end.
3043 (fill-move-to-break-point, fill-newline): New functions extracted
3044 from fill-region-as-paragraph.
3045 (fill-region-as-paragraph): Use them.
3046 Don't fiddle with fill-indent-according-to-mode.
3047
3048 2002-04-10 Colin Walters <walters@verbum.org>
3049
3050 * play/snake.el (snake-score-file): Default to just "snake-scores".
3051
3052 * play/tetris.el (tetris-score-file): Likewise.
3053
3054 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
3055 use `update-game-score'.
3056
3057 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
3058 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
3059 ourselves; take it as an argument. Caller updated.
3060 (ibuffer-mode): Make mode-class special.
3061
3062 2002-04-10 Richard M. Stallman <rms@gnu.org>
3063
3064 * dired.el (dired-view-command-alist): New variable.
3065 (dired-view-file): Use external viewers for some files names.
3066
3067 * mouse.el (mouse-drag-region-1): Display region highlight
3068 only in the selected window.
3069
3070 * subr.el (remove-hook): When there are no more local hooks,
3071 kill the buffer-local value.
3072
3073 * isearch.el (isearch-mode): Don't call make-frame-visible
3074 if frame is already visible.
3075
3076 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
3077
3078 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
3079
3080 * progmodes/ada-prj.el: Add support for the new project file
3081 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd. Fix
3082 widget handling for Emacs 21. ada-mode now only supports a single
3083 active project file, instead of one per buffer. This is far less
3084 confusing.
3085
3086 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
3087 (ada-func-or-proc-name): Get real subprogram name, after change in
3088 ada-mode.el.
3089
3090 * progmodes/ada-xref.el: Ada-mode no longer supports a different
3091 project file per buffer. This was too complex. Instead, there is
3092 now a single active project file at any given time, and the user
3093 can switch the active one through the Ada menu. This revision
3094 also provides better handling of the Windows command line, and the
3095 various available shells on that platform. ada-mode is now fully
3096 integrated with the GNU visual debugger gvd, see
3097 http://libre.act-europe.fr.
3098 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
3099 This is only available with GNAT 3.14.
3100 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
3101 (ada-quote-cmd): New function.
3102 (ada-initialize-runtime-library): Get the location of the actual
3103 runtime the compiler will be using, including support for
3104 cross-platform environments.
3105 (ada-treat-cmd-string): Add support for the new variable
3106 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
3107 two commands to run just prior to running the debugger, and just
3108 after starting it. This provide better support for cross-platform
3109 and remote debugging.
3110 (ada-get-absolute-dir): Remove, replace with expand-file-name.
3111 (ada-gdb-application): New parameter executable-name.
3112 (ada-get-ali-file-name): Better handling of separate packages.
3113 Checkin on behalf of the ada-mode maintainer.
3114
3115 * progmodes/ada-mode.el (ada-case-exception-file)
3116 (ada-indent-handle-comment-special): New variables.
3117 (ada-case-exception-substring): New variable. Casing exceptions
3118 can now also be defined for substrings, in addition to full
3119 identifier names. This provides more flexibility.
3120 (ada-align-list): New fun, provide support for align.el in ada-mode.
3121 (ada-procedure-start-regexp): Add support for operators and
3122 generic formal subprograms and packages.
3123 (ada-imenu-comment-re): New variable.
3124 (ada-imenu-generic-expression): Add support for protected types.
3125 (ada-mode): Set comment-start only after running ada-mode-hook, so
3126 that the user can change ada-comment-start in the hook.
3127 Add support for ispell in comments. Add support for align.el.
3128 (ada-save-exception-file, ada-create-case-exception-substring)
3129 (ada-adjust-case-substring): New functions.
3130 (ada-get-current-indent): Properly handles keywords with uppercases.
3131 (ada-goto-matching-end): Rewritten, fixes problems in the handling
3132 of nested blocks.
3133 (ada-untab-hard): Do not touch the contents of comments and strings.
3134
3135 2002-04-09 Mike Williams <mdub@bigfoot.com>
3136
3137 * textmodes/sgml-mode.el (sgml-lexical-context):
3138 Use sgml-parse-tag-backward to find start point.
3139 (sgml-looking-back-at): Doc fix.
3140
3141 2002-04-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3142
3143 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
3144 for prompt.
3145
3146 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
3147
3148 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
3149 Use define-minor-mode.
3150 (auto-revert-buffers): Use with-current-buffer.
3151 Avoid changing the minor modes.
3152
3153 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
3154 rather than char-to-string since last-input-char can be any event.
3155
3156 * international/titdic-cnv.el (tit-dictionary):
3157 Use defvar for non-constants.
3158
3159 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
3160 (global-cwarn-mode): Use easy-mmode-define-global-mode.
3161 (cwarn-font-lock-keywords): New function.
3162 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
3163 (cwarn-font-lock-match): New macro.
3164 (cwarn-font-lock-match-assignment-in-expression)
3165 (cwarn-font-lock-match-dangerous-semicolon)
3166 (cwarn-font-lock-match-reference): Use it.
3167
3168 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
3169 Use defvar rather than defconst since it's meant to be settable.
3170 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
3171 (cperl-fix-line-spacing): Add missing \ in [ t].
3172
3173 * loadup.el: Call ucs-unify-8859 directly rather than
3174 unify-8859-on-encoding-mode.
3175 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
3176
3177 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
3178 (sgml-mode): Use it for comment-line-break-function.
3179
3180 2002-04-08 Jason Rumney <jasonr@gnu.org>
3181
3182 * international/mule-cmds.el (reset-language-environment):
3183 Handle coding-systems not being defined yet.
3184
3185 2002-04-08 Sam Steingold <sds@gnu.org>
3186
3187 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
3188 (vc-cvs-checkin): Use it.
3189
3190 2002-04-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3191
3192 * files.el (display-time-string): Fix last change.
3193
3194 2002-04-07 Sam Steingold <sds@gnu.org>
3195
3196 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
3197
3198 2002-04-07 Jason Rumney <jasonr@gnu.org>
3199
3200 * international/mule-cmds.el (set-default-coding-systems)
3201 (reset-language-environment): Preserve eols on
3202 default-process-coding-system.
3203 (coding-system-change-text-conversion): Fix case where CODING is nil.
3204
3205 2002-04-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3206
3207 * subr.el (play-sound): Move here from simple.el.
3208
3209 * simple.el (play-sound): Move to subr.el.
3210
3211 2002-04-06 Richard M. Stallman <rms@gnu.org>
3212
3213 * files.el (display-time-string-forms): Mark as risky.
3214
3215 * enriched.el (enriched-decode-foreground, enriched-decode-background):
3216 Use proper format for desired elts of `face' property.
3217 Don't test display-color-p; make the properties unconditionally.
3218
3219 * progmodes/compile.el (compilation-error-regexp-alist):
3220 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
3221
3222 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
3223
3224 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
3225 for customization type.
3226 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
3227
3228 2002-04-06 Mike Williams <mdub@bigfoot.com>
3229
3230 * textmodes/xml-lite.el: Remove.
3231
3232 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3233
3234 * simple.el (play-sound): New function (uses play-sound-internal).
3235
3236 2002-04-04 Richard M. Stallman <rms@gnu.org>
3237
3238 * files.el (mode-line-format, mode-line-modified)
3239 (mode-line-mule-info, mode-line-buffer-identification)
3240 (mode-line-modes, mode-line-position): Explicitly mark as risky.
3241 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
3242
3243 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
3244
3245 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
3246 Use (syntax-table), not old-syntax-table.
3247
3248 * enriched.el (enriched-decode-foreground)
3249 (enriched-decode-background): Don't call facemenu-get-face.
3250
3251 2002-04-04 Mike Williams <mdub@bigfoot.com>
3252
3253 * textmodes/sgml-mode.el: Add missing require.
3254 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
3255
3256 2002-04-03 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3257
3258 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
3259 spot indicated by text property `cvs-goal-column', if present.
3260
3261 * pcvs-info.el (cvs-fileinfo-pp): Use text property
3262 `cvs-goal-column' to indicate position of file name (if present).
3263
3264 2002-04-03 Richard M. Stallman <rms@gnu.org>
3265
3266 * mail/mailabbrev.el (mail-abbrev-complete-alias):
3267 Call mail-abbrev-make-syntax-table.
3268
3269 * format.el (format-deannotate-region): Doc fix.
3270
3271 * enriched.el (enriched-face-ans): Delete special treatment
3272 for fg:... and bg:... faces.
3273 (enriched-decode-foreground): Return a list that specifies
3274 the foreground color, rather than creating a face.
3275 (enriched-decode-background): Likewise.
3276
3277 * shell.el (shell-mode): Don't reinit comint-input-ring
3278 if that was already done.
3279
3280 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
3281
3282 * solar.el (solar-spring-or-summer-season): Delete.
3283 (solar-northern-spring-or-summer-season): New variable.
3284 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
3285 Rewrite.
3286
3287 * solar.el (diary-sabbath-candles-minutes): New variable.
3288 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
3289
3290 * calendar.el (update-calendar-mode-line): Force mode-line update.
3291 Make date under the cursor available as `date' in
3292 calendar-mode-line-format.
3293 Eval items in calendar-mode-line-format list.
3294
3295 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
3296 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
3297
3298 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
3299
3300 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
3301 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
3302 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3303 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
3304
3305 * cal-tex.el: Change all instances (interactive "P") to
3306 (interactive "p").
3307 (cal-tex-cursor-month): Add hfill and newline at end of month that
3308 ended on Saturday.
3309 (cal-tex-preamble): Change to LaTeX2e.
3310 (cal-tex-cursor-filofax-year): Don't use default month names in
3311 LaTeX macros in case user changes them.
3312 (cal-tex-month-name): New function. Used throughout in case user
3313 has done something funny with month names.
3314
3315 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
3316 (diary-rosh-hodesh): Spelling correction.
3317
3318 2002-04-03 Mike Williams <mdub@bigfoot.com>
3319
3320 * textmodes/sgml-mode.el (sgml-lexical-context)
3321 (sgml-parse-tag-backward): Extend support for CDATA to include
3322 conditional sections.
3323
3324 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3325
3326 * cus-start.el: Rename `autoselect-window' to
3327 `mouse-autoselect-window'.
3328
3329 2002-04-02 Richard M. Stallman <rms@gnu.org>
3330
3331 * files.el (hack-one-local-variable):
3332 Clear text props from string value.
3333
3334 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
3335
3336 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3337 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
3338 Use regexp-opt.
3339 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
3340 from F95.
3341 (f90-procedures-re): Add `null' and `cpu_time' from F95.
3342 (f90-font-lock-keywords-1): Minor reorganization so we don't need
3343 `override' any more.
3344 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
3345 (f90-indent-subprogram): Use indent-region.
3346 (f90-break-line): Use indent-according-to-mode.
3347
3348 2002-04-02 Mike Williams <mdub@bigfoot.com>
3349
3350 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
3351 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
3352 (sgml-get-context): Remove use of sgml-inside-tag-p.
3353 (sgml-inside-tag-p): Remove.
3354 (sgml-looking-back-at): Short-circuit at beg of buffer.
3355 (sgml-lexical-context, sgml-calculate-indent): Add support for
3356 CDATA sections.
3357
3358 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
3359
3360 * help.el (help-key-description): New fun.
3361 (describe-key-briefly, describe-key): Use it and
3362 this-single-command-raw-keys plus new arg `untranslated'.
3363
3364 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
3365 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
3366 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
3367 (sgml-insert-end-tag): New funs taken from xml-lite.el.
3368 (sgml-calculate-indent): Use them.
3369 (sgml-slash-matching): Rename from sgml-slash.
3370 (sgml-slash): Copied from xml-lite and changed to use
3371 sgml-slash-matching and sgml-quick-keys.
3372
3373 * international/mule-cmds.el (standard-keyboard-coding-systems):
3374 Add koi8-u and koi8-r.
3375
3376 * eshell/.cvsignore: New file.
3377
3378 * eshell/esh-groups.el: Remove.
3379
3380 * progmodes/tcl.el: Change maintainer.
3381 (tcl-electric-hash-style): Change default to nil.
3382 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
3383 (tcl-do-auto-fill): Remove.
3384 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
3385
3386 2002-04-01 Mike Williams <mdub@bigfoot.com>
3387
3388 * textmodes/sgml-mode.el: Doc fixes.
3389 (sgml-mode): Set indent-line-function to sgml-indent-line.
3390 (sgml-calculate-indent): Add an explicit check for 'text syntax,
3391 to protect against future enhancements to sgml-lexical-context.
3392 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
3393
3394 * textmodes/xml-lite.el: Removed much redundant stuff.
3395 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
3396 always start within text. Make use of sgml-unclosed-tag-p.
3397
3398 2002-04-01 Ville Skytt\e,Ad\e(B <ville.skytta@xemacs.org>
3399
3400 * tcl.el (tcl-imenu-generic-expression): New value.
3401 (tcl-imenu-create-index-function): Function deleted.
3402 (tcl-mode): Check for filladapt-mode.
3403 Use tcl-imenu-generic-expression instead of
3404 tcl-imenu-create-index-function.
3405 (inferior-tcl-mode): Doc fix.
3406 Change not legally significant.
3407
3408 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3409
3410 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
3411
3412 * window.el (handle-select-window): New function.
3413 Update copyright.
3414
3415 2002-04-01 Richard M. Stallman <rms@gnu.org>
3416
3417 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
3418
3419 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
3420 tool-bar-add-item, and new arg MAP.
3421 (tool-bar-add-item): Now calls tool-bar-local-item.
3422 (tool-bar-local-item-from-menu): Renamed from
3423 tool-bar-add-item-from-menu, and new arg IN-MAP.
3424 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
3425
3426 * help-fns.el (help-with-tutorial): Allow various ways
3427 to specify the text in the [...] line, in handling the <...> line.
3428
3429 * progmodes/idlw-rinfo.el (idlwave-system-routines):
3430 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
3431
3432 * subr.el (redraw-modeline): Define alias.
3433
3434 2002-03-31 Richard M. Stallman <rms@gnu.org>
3435
3436 * files.el (file-expand-wildcards): Use save-match-data.
3437
3438 * files.el (format-alist): Mark as risky.
3439
3440 * simple.el (kill-new): Doc fix.
3441
3442 * emacs-lisp/byte-opt.el (side-effect-free-fns)
3443 (side-effect-and-error-free-fns): Add many functions, remove some.
3444
3445 2002-03-30 Richard M. Stallman <rms@gnu.org>
3446
3447 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
3448
3449 2002-03-30 Eli Zaretskii <eliz@gnu.org>
3450
3451 * font-lock.el (save-buffer-state): Fix last change.
3452
3453 * files.el (auto-save-file-name-transforms): Fix last change.
3454
3455 * startup.el (command-line): Fix last change.
3456
3457 2002-03-29 Richard M. Stallman <rms@gnu.org>
3458
3459 * subr.el (play-sound-file): Moved to simple.el.
3460
3461 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
3462
3463 2002-03-29 Colin Walters <walters@verbum.org>
3464
3465 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
3466 instead of `forward-line'.
3467 (ibuffer-forward-line): Be sure to skip over special properties
3468 before moving, too.
3469
3470 * calc/calc.el (calc-was-split): Var deleted.
3471 (calc): Remove reference to it.
3472 (calc): Ditto.
3473 (calc-quit): Ditto.
3474 (calc-init-base): Ditto.
3475
3476 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
3477
3478 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
3479
3480 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
3481 instead of nil when point is outside of any tag.
3482 (sgml-beginning-of-tag): Adjust to the change.
3483 (sgml-calculate-indent): Use the new info returned by
3484 sgml-lexical-context. Try to handle unclosed tags.
3485
3486 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
3487 at unclosed tags unless it is at indentation.
3488 Kill nested unclosed tags.
3489 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
3490 (xml-lite-mode): Use sgml-indent-line instead.
3491
3492 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
3493
3494 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
3495 expand-file-name.
3496
3497 * startup.el (command-line): Recompute auto-save-file-name-transforms
3498 using the updated value of temporary-file-directory.
3499
3500 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
3501
3502 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
3503 even with an empty context. Don't save excursion any more.
3504 Don't complain about unmatched start-tags in sgml-unclosed-tags.
3505 Ignore end-tags in sgml-empty-tags.
3506 (xml-lite-get-context, xml-lite-calculate-indent)
3507 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
3508 (xml-lite-indent-line): Use back-to-indentation.
3509
3510 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
3511 (sgml-name-re, sgml-attrs-re): New consts.
3512 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
3513 (sgml-mode): Use them.
3514 (sgml-lexical-context): Default to (point-min) if nothing else works.
3515 (sgml-calculate-indent): Indent slightly differently.
3516 (sgml-indent-line): Use back-to-indentation.
3517 (sgml-parse-dtd): New function.
3518 (sgml-unclosed-tags): New var.
3519 (html-mode): Set it.
3520
3521 2002-03-29 Simon Marshall <simon.marshall@misys.com>
3522
3523 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
3524
3525 2002-03-29 Richard M. Stallman <rms@gnu.org>
3526
3527 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
3528 Use FILTER arg in dired-get-marked-files to exclude directories.
3529 (dired-nondirectory-p): New function.
3530
3531 * dired.el (dired-get-marked-files): New arg FILTER
3532 allows selection of some files.
3533
3534 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
3535
3536 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
3537
3538 * speedbar.el (speedbar-default-directory-list): Made robust
3539 against deleted directories.
3540
3541 2002-03-28 Richard M. Stallman <rms@gnu.org>
3542
3543 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
3544 Bindings changed.
3545
3546 * progmodes/compile.el (compilation-handle-exit):
3547 If compilation-window-height is 0, display status in echo area.
3548
3549 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
3550
3551 * rect.el (replace-rectangle): Add autoload.
3552
3553 * files.el: Mark many more variables as risky.
3554 (hack-one-local-variable): Recognize several additional
3555 patterns as risky.
3556
3557 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
3558
3559 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
3560
3561 * textmodes/xml-lite.el (xml-lite-in-string-p):
3562 Use sgml-lexical-context.
3563 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
3564 (xml-lite-get-context): Check that open/close tags match.
3565 Don't stop scanning while we're ignoring matching tags.
3566
3567 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
3568 (sgml-mode-syntax-table): Use it.
3569 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
3570 (sgml-tags-invisible): Use it.
3571 (sgml-lexical-context): New fun.
3572 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
3573 (sgml-quote): Accept \n as entity reference terminator.
3574 (sgml-calculate-indent, sgml-indent-line): New funs.
3575
3576 2002-03-28 Andre Spiegel <spiegel@gnu.org>
3577
3578 * vc-cvs.el (vc-cvs-global-switches): New user option.
3579 (vc-cvs-command): New function. Update all callers of
3580 `vc-do-command' in vc-cvs.el to use this instead.
3581
3582 2002-03-27 Andrew Innes <andrewi@gnu.org>
3583
3584 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
3585 relying on shell globbing.
3586
3587 2002-03-27 Colin Walters <walters@debian.org>
3588
3589 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
3590 (ibuffer-fontification-alist): Use it.
3591 (ibuffer-backward-line): Handle `ibuffer-summary' area.
3592 (ibuffer-forward-line): Ditto.
3593
3594 * ibuf-ext.el (sorter mode-name): Doc fix.
3595 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
3596 (operation query-replace): Use new `noerror' arg for
3597 `query-replace-read-args'.
3598 (operation query-replace-regexp): Ditto.
3599
3600 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
3601
3602 * textmodes/xml-lite.el: Fix copyright notice.
3603 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
3604 (xml-lite-indent-comment-offset): Remove.
3605 (xml-lite-calculate-indent): Use new name. Use natural alignment
3606 for comments.
3607 (xml-lite-in-string-p): Simplify.
3608
3609 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3610
3611 * allout.el (outline-layout): Doc fix.
3612
3613 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
3614
3615 * textmodes/xml-lite.el: Don't require `custom'.
3616 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
3617 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
3618 (xml-lite-get-context): Drop nested tags not just for comments.
3619 (xml-lite-indent-line): Be more careful about moving point.
3620 (xml-lite-insert-end-tag, xml-lite-slash):
3621 Use indent-according-to-mode instead of xml-lite-indent-line.
3622 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
3623 Set sgml-xml-mode. Don't call force-mode-line-update.
3624 (xml-lite-mode-map): Don't bind TAB.
3625
3626 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
3627
3628 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
3629 parameter value.
3630 (gud-jdb-build-source-files-list): Comment clarification.
3631 (gud-jdb-massage-args): Reworked into loop-based argument list
3632 processing in order to support -classpath and -sourcepath argument
3633 processing.
3634 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
3635 to gud-jdb-classpath to obtain search list.
3636 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
3637 directory names in classpath/sourcepath lists, update comment.
3638 (jdb): Add setting of gud-jdb-sourcepath, update comment.
3639 (gud-find-class): Add gud-jdb-sourcepath use, and correct
3640 behaviour for the case when classpath is not used--backward
3641 compatibility fix.
3642
3643 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
3644
3645 * Makefile.in (compile, compile-always): Don't try to compile
3646 non-existent files or files in empty directories.
3647
3648 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
3649
3650 * compare-w.el (compare-windows-whitespace): Match all whitespace.
3651
3652 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
3653 copy of standard Lisp directories.
3654
3655 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
3656 Support "next has longname" link type.
3657
3658 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
3659
3660 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
3661 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
3662 New functions.
3663 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
3664 (end-of-xml-tag): Remove.
3665 (xml-lite-get-context): Better handling of comments.
3666 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
3667 (xml-lite-parse-tag-backward): Rewrite.
3668
3669 2002-03-26 Juanma Barranquero <lektu@terra.es>
3670
3671 * makefile.w32-in (WINS): Add the toolbar directory.
3672
3673 2002-03-26 Richard M. Stallman <rms@gnu.org>
3674
3675 * subr.el (substring-no-properties): Function deleted (now in C).
3676
3677 2002-03-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3678
3679 * mwheel.el (mouse-wheel-mode): Use global-set-key and
3680 global-unset-key.
3681
3682 2002-03-24 Richard M. Stallman <rms@gnu.org>
3683
3684 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
3685
3686 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
3687 to query-replace-read-args.
3688
3689 * progmodes/compile.el (compilation-forget-errors):
3690 Don't adjust compilation-parsing-end if it's nil.
3691
3692 * replace.el (query-replace-read-args): New optional arg NOERROR.
3693 (perform-replace): Use save-window-excursion around recursive edit.
3694
3695 2002-03-24 Colin Walters <walters@verbum.org>
3696
3697 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
3698 non-nil, then always use another window.
3699
3700 2002-03-24 Gerd Moellmann <gerd@gnu.org>
3701
3702 * subr.el (macro-declaration-function): New function. Set the
3703 variable macro-declaration-function to it.
3704
3705 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3706 Handle declarations in macro definitions.
3707
3708 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
3709
3710 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
3711
3712 * enriched.el (enriched-face-ans): Support FACE of the form
3713 (:foreground COLOR) and (:background COLOR).
3714 (enriched-decode-foreground, enriched-decode-background): Set the
3715 fore- and background colors of the faces we create, since facemenu
3716 doesn't.
3717
3718 2002-03-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3719
3720 * mwheel.el (mouse-wheel-mode): Use the result of
3721 current-global-map instead of the variable `global-map'.
3722
3723 2002-03-23 Richard M. Stallman <rms@gnu.org>
3724
3725 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
3726 broken out of sendmail-pre-abbrev-expand-hook.
3727 (sendmail-pre-abbrev-expand-hook): Use it.
3728
3729 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
3730
3731 * Makefile.in (finder-inf.el): Remove.
3732 (finder-data): Don't depend on finder-inf.el any more.
3733 (compile, compile-always): Handle the case where some files
3734 from DONTCOMPILE are missing (it tried to compile them).
3735 (bootstrap-clean): Use src/emacs only if executable.
3736 (bootstrap): Update subdirs.el and finder-inf.el.
3737
3738 * finder.el: Don't load finder-inf.el during byte-compilation.
3739
3740 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
3741 Don't consider cvs-removed files as under VC control.
3742 VC wouldn't handle them properly anyway and it confuses
3743 vc-file-not-found-hook.
3744
3745 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
3746 Add autoload cookie.
3747
3748 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
3749
3750 * calendar/calendar.el (calendar): Doc fix.
3751
3752 2002-03-22 Juanma Barranquero <lektu@terra.es>
3753
3754 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
3755 (gomoku-font-lock-X-face): Likewise.
3756 (gomoku-font-lock-keywords): Use faces instead of variables.
3757
3758 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
3759
3760 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
3761
3762 2002-03-21 Kim F. Storm <storm@cua.dk>
3763
3764 * simple.el (open-network-stream, open-network-stream-nowait)
3765 (open-network-stream-server): Use featurep to test for
3766 supported networking features.
3767
3768 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
3769
3770 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
3771 directions as the last action.
3772
3773 2002-03-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3774
3775 * startup.el (fancy-splash-tail, normal-splash-screen):
3776 Update copyright.
3777
3778 * novice.el (disabled-command-hook): Clarify output text to match
3779 prompt.
3780
3781 2002-03-20 Jason Rumney <jasonr@gnu.org>
3782
3783 * frame.el (display-images-p): Do not explicitly check display type.
3784
3785 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
3786
3787 * mail-utils.el:
3788 Eliminate compilation warnings due to `rfc822-addresses'.
3789 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
3790 warning free compile.
3791
3792 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
3793
3794 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
3795 Take the current highlighting style into account.
3796 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
3797 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
3798
3799 * ediff-init.el (ediff-patch-job): New macro.
3800
3801 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
3802 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
3803
3804 * ediff-ptch.el (ediff-map-patch-buffer):
3805 Use ediff-make-new-meta-list-header.
3806 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
3807
3808 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
3809 (ediff-select-difference): Take highlighting style into account.
3810 (ediff-clone-buffer-for-region-comparison): New function.
3811 (ediff-inferior-compare-regions): Added comparison of current diff
3812 regions.
3813
3814 * ediff.el (ediff-clone-buffer-for-region-comparison)
3815 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
3816
3817 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
3818
3819 * mail-utils.el (rmail-dont-reply-to):
3820 Overhaul to correctly apply the regular
3821 expressions in the variable `rmail-dont-reply-to-names' to the list of
3822 destination addresses. Contributed by lorentey@elte.hu.
3823
3824 * rmail.el (rmail-dont-reply-to-names):
3825 Modify the documentation to make it email
3826 address centric rather than login name centric. Contributed by
3827 lorentey@elte.hu.
3828
3829 2002-03-18 Colin Walters <walters@verbum.org>
3830
3831 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
3832 we don't require `cl' at runtime.
3833 (sorting mode mode-name): Don't take the symbol-name of a string.
3834
3835 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
3836 line after setting the mark.
3837 (ibuffer-insert-buffers-and-marks): Invert the test for
3838 `ibuffer-sorting-reversep'.
3839
3840 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
3841
3842 * international/ucs-tables.el (unify-8859-on-decoding-mode)
3843 (unify-8859-on-encoding-mode): Remove autoload cookie.
3844
3845 2002-03-18 Andre Spiegel <spiegel@gnu.org>
3846
3847 * vc-rcs.el (vc-rcs-register): Fix handling of
3848 vc-[rcs-]register-switches.
3849 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
3850 Variables removed, since they weren't used yet.
3851
3852 * vc-cvs.el (vc-cvs-register): Fix handling of
3853 vc-[cvs-]register-switches.
3854
3855 * vc-sccs.el (vc-sccs-register): Fix handling of
3856 vc-[sccs-]register-switches.
3857
3858 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
3859
3860 * loadup.el ("emacs-lisp/backquote"): Load earlier.
3861 ("international/ucs-tables"): Load and turn on
3862 unify-8859-on-encoding-mode unconditionally.
3863 (emacs-version): Use `defconst' rather than `setq'.
3864
3865 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
3866
3867 2002-03-18 Richard M. Stallman <rms@gnu.org>
3868
3869 * menu-bar.el (menu-bar-options-menu): Cope if
3870 text-mode-hook is not a list.
3871
3872 2002-03-17 Richard M. Stallman <rms@gnu.org>
3873
3874 * emulation/pc-select.el (pc-selection-mode):
3875 Alter the existing global map, don't replace it.
3876
3877 * files.el (list-directory): Set default-directory at the end.
3878
3879 * dabbrev.el (dabbrev--goto-start-of-abbrev):
3880 Put a limit on field-beginning search.
3881
3882 2002-03-17 Simon Josefsson <jas@extundo.com>
3883
3884 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
3885 (browse-url-mosaic): Use it.
3886
3887 * net/browse-url.el (browse-url-filename-alist): Don't begin
3888 docstring with *, you don't want to set this one with M-x set-variable.
3889
3890 * net/browse-url.el: Put * in user option doc strings.
3891
3892 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
3893
3894 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
3895 (sgml-xml-guess): Simplify.
3896 (sgml-mode-common): Remove (move into sgml-mode).
3897 (sgml-mode): Add code from sgml-mode-common.
3898 Remove redundant setting of indent-line-function.
3899 Don't set skeleton-transformation when in XML mode.
3900
3901 * international/mule-diag.el (describe-char-after):
3902 Use `internal-describe-syntax-value' again (got lost somewhere).
3903
3904 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
3905 Use unify-8859-on-decoding-mode.
3906 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
3907 (ucs-insert): Give an error if the unicode char can't be created.
3908
3909 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
3910 (cvs-parse-status): Handle the "used to have a conflict" marker.
3911
3912 2002-03-17 Kim F. Storm <storm@cua.dk>
3913
3914 The following changes are related to the enhanced network process
3915 support.
3916
3917 * simple.el: Update copyright.
3918 (clone-process): Use make-network-process to clone network
3919 processes. Get command list via (process-contact ... t).
3920 Use set-process-query-on-exit-flag and process-query-on-exit-flag
3921 instead of process-kill-without-query.
3922 (open-network-stream): Replaces C-version from process.c.
3923 (open-network-stream-nowait, open-network-stream-server): New funs.
3924 (process-kill-without-query): Replaces C-version from process.c.
3925
3926 * files.el: Update copyright.
3927 (save-buffers-kill-emacs): Also check for active server
3928 processes. Use process-query-on-exit-flag. Only list processes
3929 which has the query-on-exit flag set in connection with user query.
3930
3931 * shadowfile.el: Update copyright.
3932 (shadow-save-buffers-kill-emacs): Also check for active server
3933 processes. Use process-query-on-exit-flag.
3934
3935 2002-03-16 Simon Marshall <simon.marshall@misys.com>
3936
3937 * imenu.el (imenu-menubar-modified-tick): Renamed from
3938 imenu-update-menubar-modified-tick.
3939 (imenu-update-menubar): Update imenu-menubar-modified-tick
3940 whenever outer condition succeeds.
3941
3942 * lazy-lock.el (save-buffer-state):
3943 Bind inhibit-modification-hooks and buffer-file-truename
3944 instead of before-change-functions and after-change-functions.
3945
3946 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
3947
3948 * international/codepage.el (codepage-setup): Don't define a
3949 codepage if it is already defined.
3950
3951 * textmodes/po.el (po-content-type-charset-alist): Convert the
3952 car of each association to a string.
3953 (po-find-file-coding-system-guts): If the charset matches a name
3954 of a codepage, set up that codepage and return it as a coding
3955 system to decode the file.
3956 (po-find-charset): Search for the Charset= header even if we've
3957 read less than 4KB.
3958 <top-level>: Remove the setup for all known codepages: it seems
3959 to cause crashes in the CCL driver.
3960
3961 2002-03-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3962
3963 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
3964 (bibtex-entry-field-alist): Doc fix.
3965
3966 2002-03-16 Richard M. Stallman <rms@gnu.org>
3967
3968 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
3969 Move definition above cperl-outline-regexp.
3970
3971 * bindings.el (mode-line-mule-info): In computing help-echo prop,
3972 avoid using save-window-excursion. And compile the function.
3973
3974 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
3975
3976 * files.el (load-completion): New function.
3977 (load-library): Use it.
3978
3979 2002-03-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3980
3981 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
3982 to match the actual code.
3983
3984 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
3985
3986 * textmodes/po.el (po-find-file-coding-system-guts):
3987 Use with-temp-buffer instead of po-with-temp-buffer.
3988
3989 * international/mule-conf.el (file-coding-system-alist): Add an
3990 association for PO files.
3991
3992 * textmodes/po.el: New file.
3993
3994 2002-03-15 Gerd Moellmann <gerd@gnu.org>
3995
3996 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3997 Fix simple loop indentation.
3998
3999 2002-03-14 Miles Bader <miles@gnu.org>
4000
4001 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
4002
4003 2002-03-14 Richard M. Stallman <rms@gnu.org>
4004
4005 * textmodes/picture.el (picture-insert)
4006 (picture-clear-column, picture-draw-rectangle):
4007 Use move-to-column, not move-to-column-force.
4008
4009 * dired.el (dired-readin): Clear out undo list.
4010 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
4011 (dired-delete-entry): New function.
4012 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
4013 and dired-delete-entry, to update this buffer (and others).
4014
4015 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
4016
4017 * facemenu.el (facemenu-add-new-face):
4018 Pass region args to facemenu-set-face, when there is a region.
4019 (facemenu-set-foreground, facemenu-set-background)
4020 (facemenu-add-face): Doc fixes.
4021
4022 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
4023
4024 2002-03-14 Miles Bader <miles@gnu.org>
4025
4026 * emacs-lisp/debug.el: Require `button'.
4027 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
4028 to get TAB and <backtab> bindings.
4029
4030 * net/rlogin.el (rlogin-carriage-filter): Function removed.
4031 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
4032 comint removes carriage returns itself now.
4033
4034 * rfn-eshadow.el (rfn-eshadow-update-overlay):
4035 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
4036 getting hosed by our own intangible property.
4037
4038 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
4039
4040 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
4041 Add fortran-comment-line-start-skip to comment-start-skip.
4042 (fortran-comment-indent): Keep whole-line comments in column 0.
4043 (fortran-find-comment-start-skip): New arg `all'.
4044 If ALL is nil, make sure we only match comment-start-skip if we
4045 can't match fortran-comment-line-start-skip.
4046 Fix bug that made it return t but without moving point when
4047 matching '!'! (a false-comment followed by a real comment).
4048 (fortran-indent-comment): Use new `all' argument above.
4049 Be careful not to add an incorrect comment-starter like "C"
4050 in comment-column.
4051 (fortran-split-line): When splitting a comment, reuse the comment
4052 starter from the current line rather than fortran-comment-line-start.
4053 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
4054 cleaner behavior of fortran-find-comment-start-skip.
4055 (fortran-fill): Don't be confused by ! inside a comment.
4056 (fortran-break-line): Minor cleanup and simplification.
4057
4058 2002-03-13 Francesco Potorti` <pot@gnu.org>
4059
4060 * progmodes/etags.el (tag-exact-file-name-match-p)
4061 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
4062 simpler regexp.
4063
4064 2002-03-12 Colin Walters <walters@debian.org>
4065
4066 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
4067 redisplaying a line.
4068
4069 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
4070
4071 * term/x-win.el (emacs-session-restore): Take previous id as
4072 an argument.
4073 (emacs-session-save): Add comment that return t means cancel shutdown
4074
4075 * startup.el (command-line): Must check that x-session-previous-id
4076 is bound also, for non-X platforms.
4077
4078 2002-03-12 Gerd Moellmann <gerd@gnu.org>
4079
4080 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
4081 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
4082 New user options.
4083 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
4084 (common-lisp-indent-function-1): Renamed from
4085 common-lisp-indent-function.
4086 (common-lisp-indent-function): Handle loop forms specially.
4087 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
4088 (lisp-backquote-indentation): New user option.
4089
4090 2002-03-12 Francesco Potorti` <pot@gnu.org>
4091
4092 * progmodes/etags.el (tag-exact-file-name-match-p)
4093 (tag-file-name-match-p, tag-partial-file-name-match-p):
4094 Assume that the header of a tags section has either a number
4095 or nothing after the last comma.
4096
4097 2002-03-11 Richard M. Stallman <rms@gnu.org>
4098
4099 * imenu.el (imenu-update-menubar-modified-tick): New variable.
4100 (imenu-update-menubar): Don't call imenu--make-index-alist
4101 if buffer has not changed since last time.
4102
4103 * desktop.el (desktop-buffer-handlers): Doc fix.
4104 (desktop-buffer-file): Explicitly return BUF.
4105
4106 * paren.el (show-paren-function): Move back in other direction
4107 to verify the match is correct.
4108
4109 * mail/supercite.el (sc-select-attribution): Accept whatever value
4110 we get in CHOICE; there is no value meaning "try again".
4111
4112 2002-03-11 Colin Walters <walters@verbum.org>
4113
4114 * shell.el (toplevel): Revert previous change to use pcomplete.
4115 (shell-mode): Ditto.
4116 (shell-pcomplete-setup-done): Remove.
4117 (shell-pcomplete): Ditto.
4118 (shell-pcomplete-reverse): Ditto.
4119
4120 * comint.el: Remove documentation on setting up pcomplete.
4121
4122 2002-03-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4123
4124 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
4125 item. Doc fix.
4126
4127 * image.el (image-type-from-file-header): Make temporary buffer
4128 unibyte.
4129
4130 * subr.el (add-to-list): Doc fix.
4131
4132 2002-03-11 Miles Bader <miles@gnu.org>
4133
4134 * pcomplete.el (pcomplete-entries): Expand environment variables
4135 in filename.
4136
4137 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
4138
4139 * play/mpuz.el: Use defface instead of facemenu-get-face.
4140
4141 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
4142
4143 * startup.el (command-line): Add call to emacs-session-restore if
4144 both x-session-id and x-session-previous-id are strings.
4145
4146 * term/x-win.el (x-handle-smid): New function.
4147 (emacs-session-filename): New function.
4148 (emacs-session-save): New function.
4149 (emacs-save-session-functions): New variable.
4150 (emacs-session-restore): New function.
4151
4152 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
4153
4154 * simple.el (shell-command-on-region): Call push-mark with
4155 non-nil second arg, to suppress the "Mark set" message.
4156
4157 2002-03-08 Richard M. Stallman <rms@gnu.org>
4158
4159 * textmodes/picture.el (picture-forward-column): New arg `interactive'
4160 is non-nil for an interactive call. Use instead of interactive-p.
4161 (picture-backward-column): Likewise.
4162
4163 * tar-mode.el (tar-untar-buffer): New function.
4164
4165 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
4166 Put the mouse-face on the entire xref, like the local keymap.
4167
4168 * find-dired.el (find-name-dired): Use shell-quote-argument.
4169
4170 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
4171
4172 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
4173 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
4174 (mpuz-allow-double-multiplicator): New options for nicer look and
4175 new features.
4176 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
4177 (mpuz-check-all-solved, mpuz-random-puzzle)
4178 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
4179 (mpuz-show-solution): Functions streamlined and removed french
4180 style space before punctuation, added face support and optional
4181 solving of trivial results.
4182
4183 2002-03-07 Colin Walters <walters@verbum.org>
4184
4185 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
4186
4187 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
4188 instead of "recency" for clarity.
4189 (ibuffer-compile-format): Document more. Handle new "summarizer"
4190 columns.
4191 (ibuffer-fontify-region-function): Ditto.
4192 (ibuffer-insert-buffer-line): Ditto.
4193 (ibuffer-map-lines): Ditto.
4194 (ibuffer-insert-buffers-and-marks): Ditto.
4195 (ibuffer-update-title-and-summary): Renamed from
4196 `ibuffer-update-title'. Handle "summarizer" columns.
4197 (ibuffer-clear-summary-columns): New function.
4198
4199 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
4200
4201 2002-03-07 Gerd Moellmann <gerd@gnu.org>
4202
4203 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4204 Use the other-window instead of the other-frame functions when
4205 the window is dedicated.
4206
4207 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
4208
4209 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
4210 with SILENT so that a new field can be added.
4211
4212 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
4213
4214 * files.el (make-auto-save-file-name): Make sure the produced file
4215 name does not contain characters that are invalid for DOS/Windows
4216 filesystems.
4217
4218 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
4219 Remove replacement functions.
4220
4221 2002-03-06 Gerd Moellmann <gerd@gnu.org>
4222
4223 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
4224 the form `:x'.
4225
4226 * vc.el (vc-branch-part): Add autoload cookie. This function can
4227 be called from vc-rcs-find-most-recent-rev when visiting a file
4228 checked into RCS in a CVS sandbox.
4229
4230 2002-03-06 Andreas Schwab <schwab@suse.de>
4231
4232 * progmodes/hideif.el: Augment expression parser to handle
4233 conditional expressions.
4234 (hif-token-regexp): Also match `?' and `:'.
4235 (hif-tokenize): Handle `?' and ':' as tokens.
4236 (hif-expr): Parse conditional expressions.
4237 (hif-or-expr): Parse `||' expressions.
4238 (hif-and-expr): Renamed from hif-term.
4239 (hif-conditional): New function to evaluate a conditional
4240 expression.
4241
4242 2002-03-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4243
4244 * language/czech.el ("Czech"): Fix the documentation.
4245
4246 * language/slovak.el ("Slovak"): Likewise.
4247
4248 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
4249
4250 * xml.el (xml-parse-attlist): Accept empty strings.
4251
4252 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
4253
4254 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
4255 all terminals now support highlighting of some kind.
4256
4257 * language/european.el (mac-roman): Fix the safe-chars property.
4258
4259 2002-03-05 Andre Spiegel <spiegel@gnu.org>
4260
4261 * vc.el (vc-transfer-file): Use `make-temp-file'.
4262 (vc-default-update-changelog): Remove conditional use of
4263 `make-temp-name'.
4264
4265 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
4266
4267 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
4268
4269 * ediff-init.el: Comments.
4270
4271 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
4272 is loaded.
4273
4274 * ediff-mult.el (ediff-intersect-directories)
4275 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
4276 Cleanup.
4277 (ediff-draw-dir-diffs): Now supports the "C" command in directory
4278 difference buffer.
4279 (ediff-dir-diff-copy-file): New function that implements copying
4280 of files from one Ediff dir to another
4281 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
4282 (ediff-append-custom-diff): Better error msgs.
4283
4284 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
4285 (ediff-inferior-compare-regions): Use
4286 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
4287
4288 * ediff.el (ediff-directories-internal): Cleanup.
4289 (ediff-clone-buffer-for-region-comparison): Better interface.
4290
4291 2002-03-04 Richard M. Stallman <rms@gnu.org>
4292
4293 * emacs-lisp/easy-mmode.el (define-minor-mode):
4294 Use "P" in interactive spec of minor mode commands.
4295
4296 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
4297
4298 * faces.el (face-spec-choose): Allow `t' to appear before the end.
4299 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
4300 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
4301 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
4302 (mode-line-inactive, header-line): Move the `t' section to the
4303 beginning so the `:inherit' setting can be shared.
4304
4305 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4306
4307 * net/snmp-mode.el: Require tempo when compiling to prevent
4308 warnings. Update copyright notice.
4309
4310 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
4311 like not defined at all.
4312
4313 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
4314
4315 * textmodes/sgml-mode.el: Change maintainer to FSF.
4316 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
4317 (sgml-tags-invisible, sgml-beginning-of-tag):
4318 Allow _ : and non-ASCII in tag names, as required for XML.
4319 (sgml-name-char): Don't assume anything about charsets handled by
4320 encode-char.
4321
4322 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
4323 where one of the buffers is narrowed.
4324
4325 * hexl.el (hexlify-command, dehexlify-command): Remove.
4326 (hexlify-buffer, dehexlify-buffer): Use call-process-region
4327 rather than shell-command-on-region.
4328
4329 * newcomment.el (comment-forward): Use forward-comment to skip
4330 over whitespace (or comments) even when comment-use-syntax is nil.
4331
4332 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
4333
4334 * textmodes/xml-lite.el: New file.
4335
4336 2002-03-03 Richard M. Stallman <rms@gnu.org>
4337
4338 * textmodes/artist.el (artist-system): Use make-temp-file.
4339
4340 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
4341
4342 * mail/sendmail.el (mail-recover-1): Increase non-random-len
4343 by 1 since we changed make-auto-save-file-name to add one
4344 fewer character to the buffer name.
4345 (mail-recover): Really show point at the right place
4346 in the *Directory* buffer.
4347
4348 * files.el (make-auto-save-file-name): Use make-temp-file.
4349
4350 * terminal.el (te-create-terminfo): Use make-temp-file
4351 to create the source file in a safe way.
4352
4353 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
4354
4355 * cus-start.el: Rename automatic-hscroll-step and
4356 automatic-hscroll-margin into hscroll-step and hscroll-margin.
4357
4358 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
4359 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
4360
4361 * mouse.el (mouse-region-delete-keys): Add deletechar.
4362
4363 2002-03-03 Sam Steingold <sds@gnu.org>
4364
4365 * play/snake.el (snake-score-file): Fixed parens (broken by the
4366 last patch).
4367 * play/tetris.el (tetris-score-file): Ditto.
4368
4369 2002-03-03 Richard M. Stallman <rms@gnu.org>
4370
4371 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
4372
4373 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
4374
4375 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
4376 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
4377
4378 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
4379
4380 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
4381 instead of `buffer-substring-no-properties' to support enriched mode.
4382
4383 2002-03-02 Richard M. Stallman <rms@gnu.org>
4384
4385 * find-dired.el (find-grep-dired): Call shell-quote-argument.
4386 Specify the -e option.
4387 Rename arg to `regexp'.
4388
4389 2002-03-02 Milan Zamazal <pdm@zamazal.org>
4390
4391 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
4392
4393 2002-03-02 Miles Bader <miles@gnu.org>
4394
4395 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
4396 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
4397 If there's no applicable modifiers entry in the alist in
4398 `mouse-wheel-scroll-amount', fall back to the default, not to
4399 nil (which causes full screen scrolls).
4400
4401 2002-03-01 Andreas Schwab <schwab@suse.de>
4402
4403 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
4404 Remove extra paren in regexp.
4405
4406 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
4407
4408 * mouse.el (mouse-show-mark): Use display-mouse-p, not
4409 display-graphic-p, to decide whether to move point or use the
4410 highlighting.
4411
4412 2002-02-28 Colin Walters <walters@verbum.org>
4413
4414 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
4415
4416 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
4417 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
4418 (calc-temp-file-name): Use `make-temp-file'.
4419
4420 2002-02-28 Richard M. Stallman <rms@gnu.org>
4421
4422 * font-lock.el (java-font-lock-extra-types):
4423 Match java.net.URL, etc.
4424
4425 2002-02-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4426
4427 * hexl.el (hexl-options): Doc fix.
4428 Update Commentary section.
4429
4430 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
4431 Doc fixes.
4432
4433 2002-02-28 Andre Spiegel <spiegel@gnu.org>
4434
4435 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
4436 the user to do that first.
4437 (vc-update): New function.
4438
4439 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
4440 which calls vc-update. Use the term "Base Version" instead of
4441 "Last Version" for the entries "Revert" and "Compare".
4442
4443 2002-02-28 Kim F. Storm <storm@cua.dk>
4444
4445 * simple.el (shell-command-on-region): Report non-zero exit
4446 status in mode line instead of buffer.
4447
4448 2002-02-27 Richard M. Stallman <rms@gnu.org>
4449
4450 * comint.el (comint-preoutput-filter-functions): Doc fix.
4451 (comint-output-filter-functions, comint-input-filter-functions)
4452 (comint-redirect-filter-functions): Likewise.
4453
4454 (comint-redirect-preoutput-filter): Do the local-hook
4455 handling of t when running comint-redirect-filter-functions.
4456 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
4457
4458 2002-02-26 Richard M. Stallman <rms@gnu.org>
4459
4460 * paths.el (remote-shell-program): Add doc string.
4461
4462 2002-02-26 Colin Walters <walters@debian.org>
4463
4464 * ibuf-ext.el (sorter mode-name): New.
4465 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
4466
4467 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
4468 interactively, so they do something.
4469 (calc-scroll-right): Ditto.
4470
4471 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
4472
4473 * international/mule.el (ctext-pre-write-conversion): Handle the
4474 case when FROM is a string, and when we are called from
4475 build_annotations_2.
4476
4477 2002-02-26 Richard M. Stallman <rms@gnu.org>
4478
4479 * rect.el (clear-rectangle-line): Reindent to the same column
4480 that move-to-column reached when it tried to go to endcol.
4481
4482 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
4483
4484 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
4485
4486 * winner.el (winner-boring-buffers, winner-set): A window which
4487 displays a buffer whose name is in the list
4488 `winner-boring-buffers', will no longer be restored by `winner-undo'.
4489 (winner-sorted-window-list): Used to improve comparison between
4490 window configurations.
4491 (winner-win-data): Simplified and moved.
4492 (winner-conf): Simplified (now uses `winner-win-data').
4493 (winner-change-fun, winner-save-old-configurations)
4494 (winner-save-(un)conditionally, winner-redo): Changes made while in
4495 the minibuffer will be ignored. (Such changes are undone upon
4496 exit for the minibuffer, anyway.)
4497 (winner-set-conf): Preserve selected window whenever possible.
4498 (winner-make-point-alist): Simplified.
4499 (winner-mode, winner-save-unconditionally): Save current window
4500 configuration on entering minibuffer.
4501 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
4502 since it does not change the overall behavior of Emacs.
4503
4504 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
4505
4506 * international/mule-conf.el (compound-text): Renamed back from
4507 compound-text-no-extensions.
4508 (ctext-no-compositions): Remove the mime-charset property.
4509 (compound-text-with-extensions): Renamed from compound-text.
4510 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
4511
4512 2002-02-26 Juanma Barranquero <lektu@terra.es>
4513
4514 * faces.el (list-faces-display): Fix typo.
4515
4516 2002-02-25 Richard M. Stallman <rms@gnu.org>
4517
4518 * frame.el (focus-follows-mouse): Doc fix.
4519
4520 2002-02-26 Miles Bader <miles@gnu.org>
4521
4522 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
4523 to `define-key', since it no longer accepts the latter.
4524
4525 2002-02-25 Jason Rumney <jasonr@gnu.org>
4526
4527 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
4528 mouse-wheel-scroll-amount.
4529
4530 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
4531 mwheel.el.
4532
4533 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
4534
4535 2002-02-25 Andre Spiegel <spiegel@gnu.org>
4536
4537 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
4538 consistent with the others that take a backend name as a symbol.
4539
4540 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
4541
4542 2002-02-25 Kim F. Storm <no-spam@cua.dk>
4543
4544 * comint.el (comint-replace-by-expanded-filename): Do nothing if
4545 comint-match-partial-filename returns nil.
4546
4547 * shell.el (shell-pcomplete-setup-done): New variable.
4548 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
4549 (shell-pcomplete-reverse): Ditto.
4550
4551 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
4552
4553 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
4554
4555 2002-02-25 Juanma Barranquero <lektu@terra.es>
4556
4557 * subr.el (save-match-data): Doc fix.
4558
4559 * ielm.el (ielm-prompt): Allow customization; make it read-only.
4560
4561 2002-02-25 Kim F. Storm <storm@cua.dk>
4562
4563 * shell.el (shell-mode-map): Add "Complete" header so completion
4564 menu is shown on the menu bar in shell mode.
4565
4566 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
4567
4568 * ielm.el (ielm-match-data): New var.
4569 (inferior-emacs-lisp-mode): Make it buffer-local.
4570 (ielm-eval-input): Use it to preserve match-data between inputs.
4571
4572 2002-02-24 Juanma Barranquero <lektu@terra.es>
4573
4574 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
4575
4576 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
4577
4578 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
4579 `custom-buffer' customize group.
4580
4581 2002-02-23 Kim F. Storm <storm@cua.dk>
4582
4583 * help.el (where-is): Use remap-command.
4584
4585 * help-fns.el (describe-function-1): Use remap-command.
4586
4587 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
4588 change (no longer accept a symbol for the KEY argument).
4589
4590 2002-02-23 Colin Walters <walters@debian.org>
4591
4592 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
4593 * calc/calcalg2.el (math-solve-get-sign): Ditto.
4594
4595 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
4596 in generated function.
4597
4598 * ibuf-ext.el (ibuffer-old-time): Change to hours.
4599 (ibuffer-mark-old-buffers): Handle it.
4600
4601 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
4602 (toplevel): Bind them.
4603 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
4604 not necessary now that we use pcomplete.
4605
4606 * comint.el: Document how use new pcomplete completion facility.
4607
4608 2002-02-23 Richard M. Stallman <rms@gnu.org>
4609
4610 * mail/rmailsum.el (rmail-summary-output): Properly advance
4611 to next message, by calling rmail-summary-goto-msg.
4612
4613 * net/browse-url.el (browse-url-galeon): Specify --existing
4614 for an existing window. Use --noraise rather than --no-raise.
4615 Don't use -x.
4616
4617 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
4618
4619 * progmodes/etags.el (find-tag-noselect, find-tag)
4620 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
4621 Fix a typo in doc strings.
4622
4623 2002-02-20 Deepak Goel <deego@glue.umd.edu>
4624
4625 * play/snake.el (snake-velocity-queue, snake-update-velocity)
4626 (snake-final-x-velocity, snake-final-y-velocity):
4627 New variable and functions. Store user's keypresses
4628 into a queue and pop from the queue each subsequent turn.
4629 (snake-update-game, snake-move-left)
4630 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
4631 (snake-start-game): Use that queue.
4632 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
4633 (snake-use-color-flag): Likewise.
4634 (snake-mode): Rename uses of those variables.
4635
4636 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
4637
4638 Support for ICCCM Extended Segments in X selections:
4639
4640 * international/mule-conf.el (ctext-no-compositions): New coding
4641 system.
4642 (compount-text-no-extensions): Renamed from compound-text.
4643 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
4644 compound-text-no-extensions.
4645 (compound-text): Redefined using post-read and pre-write conversions.
4646
4647 * international/mule.el (non-standard-icccm-encodings-alist)
4648 (non-standard-designations-alist): New variables.
4649 (ctext-post-read-conversion, ctext-pre-write-conversion):
4650 New functions.
4651
4652 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
4653
4654 * vc.el (vc-default-init-version): Update documentation to
4655 indicate that the backend can override the default init version.
4656 (vc-register): Use the backend init-version function, if it
4657 exists, to determine the initial version of a file.
4658 (vc-diff-switches-list): Don't symbol-quote backend, since it's
4659 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
4660
4661 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
4662 not version-controlled. This is necessary, e.g., if the file has
4663 just been reverted, and thus was previously under version control
4664 but isn't any longer.
4665 (vc-find-file-hook): Likewise.
4666
4667 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
4668
4669 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
4670 (vc-cvs-sticky-tag-display): New variable.
4671 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
4672 (vc-cvs-checkin): If the input revision is a valid symbolic tag
4673 name, we create it as a branch, commit and switch to it.
4674 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
4675 (vc-cvs-valid-symbolic-tag-name-p): New function.
4676 (vc-cvs-parse-sticky-tag): New function.
4677 (vc-cvs-parse-entry): Added parsing of sticky tags.
4678
4679 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
4680
4681 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
4682 nil, and then explicitly set the standard-value to t.
4683
4684 2002-02-20 Sam Steingold <sds@gnu.org>
4685
4686 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
4687 since it is used in the menu bar.
4688
4689 2002-02-20 Richard M. Stallman <rms@gnu.org>
4690
4691 * simple.el (shell-command-on-region): Display the exit status
4692 when a command fails.
4693
4694 * subr.el (add-hook): Doc fix.
4695
4696 * frame.el (other-frame): Doc fix.
4697
4698 * simple.el (yank): Clear `field' property.
4699
4700 2002-02-20 Tom Tromey <tromey@cachet>
4701
4702 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
4703 natural paragraph boundaries. Don't fail at beginning of buffer.
4704
4705 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4706
4707 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
4708 call the argument "arg" to match plain next-line and
4709 previous-line. From Kevin Ryde <user42@zip.com.au>.
4710
4711 2002-02-19 Sam Steingold <sds@gnu.org>
4712
4713 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
4714 scroll amounts for different modifiers now.
4715 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
4716 format properly.
4717 (mouse-wheel-mode): Ditto.
4718
4719 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
4720
4721 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
4722 around function body.
4723
4724 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
4725 sense of the comparison, to match the doc strings of functions
4726 that use this macro.
4727
4728 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
4729
4730 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
4731
4732 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
4733 * menu-bar.el (menu-bar-mode): Ditto.
4734
4735 2002-02-18 Andreas Schwab <schwab@suse.de>
4736
4737 * replace.el (query-replace-regexp-eval): Doc fix.
4738
4739 2002-02-18 Colin Walters <walters@verbum.org>
4740
4741 * calc/calcalg2.el (math-solve-get-int): Convert return value from
4742 `math-get-from-counter' to a string before calling `concat' on it.
4743
4744 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
4745 (calc-public-autoloads): Obsolete; remove.
4746 (calc-private-autoloads): Ditto.
4747 (calc-add-autoloads): Ditto.
4748
4749 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
4750 for body.
4751
4752 2002-02-17 Jason Rumney <jasonr@gnu.org>
4753
4754 * w32-win.el (x-option-alist, x-long-option-alist)
4755 (x-switch-definitions): Remove, use command-line-x-option-alist
4756 instead to be consistent with X.
4757 (x-handle-initial-switch): New function.
4758
4759 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
4760
4761 * faces.el (mode-line-inactive, header-line): Add the :inherit
4762 attribute for the tty case.
4763
4764 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
4765
4766 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
4767 invoked from Rmail with full headers displayed.
4768
4769 2002-02-17 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4770
4771 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
4772 when repeated.
4773 * textmodes/paragraphs.el (mark-paragraph): Ditto.
4774
4775 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
4776
4777 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
4778 (menu-bar-tools-menu): Removed speedbar.
4779
4780 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
4781 and `flyspell-mode' entries.
4782
4783 * textmodes/flyspell.el (flyspell): Add to ispell group.
4784
4785 2002-02-17 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4786
4787 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
4788 repeated.
4789 (mark-defun): Mark more if repeated.
4790
4791 2002-02-17 Colin Walters <walters@verbum.org>
4792
4793 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
4794
4795 * ibuffer.el (ibuffer-truncate-lines): New option.
4796 (ibuffer-mode): Use it.
4797
4798 2002-02-17 Kim F. Storm <storm@cua.dk>
4799
4800 * cus-start.el: Add mouse-highlight.
4801
4802 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
4803
4804 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
4805
4806 * cus-start.el: Add automatic-hscroll-margin and
4807 automatic-hscroll-step.
4808
4809 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4810
4811 * cus-start.el (x-autoselect-window): Allow customization.
4812
4813 * eshell/em-alias.el (eshell-alias-initialize): Do not use
4814 make-local-hook.
4815
4816 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
4817
4818 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
4819
4820 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
4821
4822 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
4823
4824 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
4825
4826 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
4827
4828 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
4829
4830 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
4831
4832 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
4833
4834 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
4835
4836 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
4837
4838 * eshell/esh-io.el (eshell-io-initialize): Likewise.
4839
4840 * eshell/esh-mode.el (eshell-mode): Likewise.
4841
4842 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
4843
4844 * eshell/esh-var.el (eshell-var-initialize): Likewise.
4845
4846 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
4847
4848 * progmodes/idlwave.el (idlwave-mode): Likewise.
4849
4850 * textmodes/reftex-sel.el (reftex-select-label-mode)
4851 (reftex-select-bib-mode): Likewise.
4852
4853 2002-02-16 John Wiegley <johnw@gnu.org>
4854
4855 * eshell/em-hist.el (eshell-hist-initialize): When in the
4856 minibuffer, use the global value of `eshell-history-ring', and
4857 never save it to disk, or ask to save it to disk. This allows
4858 users of session.el to control whether its global state should be
4859 persisted or not.
4860 (eshell-add-command-to-history): Don't write Eshell's history out
4861 to disk, let the governing mode control that upon exit.
4862
4863 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
4864
4865 * eshell/eshell.el (eshell-command): Before reading from the
4866 minibuffer, add eshell-add-command-to-history to
4867 minibuffer-exit-hook, and remove it after read-from-minibuffer
4868 returns.
4869
4870 * eshell/em-hist.el (eshell-add-input-to-history): New function,
4871 with most of the code from eshell-add-to-history.
4872 (eshell-add-command-to-history): New function, to record in
4873 eshell-history the commands run via eshell-command.
4874 (eshell-add-to-history): Call eshell-add-command-to-history to do
4875 most of the work.
4876
4877 2002-02-16 John Wiegley <johnw@gnu.org>
4878
4879 * eshell/esh-ext.el (eshell-external-command): Added a fix for
4880 XEmacs' new dired.el, which adds a global entry in the
4881 `file-name-handler-alist'.
4882
4883 2002-02-16 John Wiegley <johnw@gnu.org>
4884
4885 * align.el (align-region): Added a missing name argument.
4886
4887 2002-02-16 John Wiegley <johnw@gnu.org>
4888
4889 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
4890 after the #! of a shell interpretor specification.
4891
4892 2002-02-15 Richard M. Stallman <rms@gnu.org>
4893
4894 * help.el (describe-key-briefly): Make output in INSERT case
4895 look just like what is displayed in the normal case.
4896
4897 2002-02-15 Andreas Schwab <schwab@suse.de>
4898
4899 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
4900 Require non-letter after specials.
4901
4902 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
4903
4904 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
4905
4906 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4907
4908 * simple.el (mark-word): Mark more if repeated.
4909 * textmodes/paragraphs.el (mark-paragraph): Ditto.
4910 (mark-end-of-sentence): Ditto.
4911
4912 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
4913
4914 * wid-edit.el (widgetp): Made it more robust.
4915
4916 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
4917
4918 * facemenu.el (describe-text-done): New function.
4919 (describe-text-mode-map): New variable.
4920 (describe-text-mode-hook): New option.
4921 (describe-text-mode): New function.
4922 (describe-text-widget): New function.
4923 (describe-text-sexp): New function.
4924 (describe-text-properties): New function.
4925 (describe-text-category): New command.
4926 (describe-text-at): New command.
4927 (facemenu-menu): Replace `list-text-properties-at' with
4928 `describe-text-at' in the menu.
4929
4930 * wid-edit.el (widgetp): New function.
4931 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
4932
4933 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
4934
4935 * wid-browse.el: Removed version and x-url keywords.
4936
4937 2002-02-13 Kim F. Storm <storm@cua.dk>
4938
4939 * cus-start.el (mode-line-in-non-selected-windows):
4940 Allow customization.
4941
4942 2002-02-13 Richard M. Stallman <rms@gnu.org>
4943
4944 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
4945 Tell bibtex-parse-keys to output no progress messages.
4946
4947 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
4948
4949 * progmodes/pascal.el (pascal-imenu-generic-expression):
4950 Add menu-title and fix parentheses.
4951
4952 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
4953
4954 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
4955 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
4956
4957 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
4958
4959 * menu-bar.el (menu-bar-options-save): Only save
4960 `current-language-environment' and `default-input-method' when
4961 marked as customized.
4962
4963 * international/mule-cmds.el
4964 (setup-specified-language-environment):
4965 Mark `current-language-environment' as customized.
4966 (set-input-method): Mark `default-input-method' as customized when
4967 called interactively.
4968 (toggle-input-method): Ditto.
4969
4970 2002-02-11 Colin Walters <walters@verbum.org>
4971
4972 * ibuffer.el (ibuffer-switch-format): Supply required argument for
4973 `ibuffer-current-formats'.
4974
4975 2002-02-11 Miles Bader <miles@gnu.org>
4976
4977 * faces.el (mode-line-inactive): Add dark-background variant.
4978
4979 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
4980
4981 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
4982 * menu-bar.el (menu-bar-mode): Ditto.
4983 * cus-edit.el (customize-mark-to-save): Always save variables
4984 without a standard value.
4985
4986 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
4987 (menu-bar-options-save): Ditto.
4988 (menu-bar-showhide-menu): Ditto.
4989 (menu-bar-options-menu): Ditto.
4990 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
4991 (menu-bar-scroll-bar-none): Remove.
4992 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
4993 expressions instead.
4994
4995 * cus-edit.el (customize-set-value): Return value.
4996 (customize-set-variable): Ditto.
4997 (customize-save-variable): Ditto.
4998 (customize-set-variable): Load dependencies before setting value.
4999 (custom-load-symbol): Autoload it.
5000 (customize-mark-as-set): New function.
5001
5002 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
5003
5004 * cus-start.el: Don't warn about "x-*" symbols when building a
5005 non-GUI version.
5006
5007 2002-02-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5008
5009 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
5010 Doc fix.
5011 (strokes-help): Do not use doubled with-output-to-temp-buffer.
5012 Fix the help string.
5013 (strokes-prompt-user-save-strokes): Fix typo.
5014 (strokes-list-strokes): Use proper exit-action argument for
5015 view-buffer. Update copyright notice.
5016
5017 * international/mule-diag.el: Various doc and message fixes.
5018 (non-iso-charset-alist): Add mac-roman. Don't add entries for
5019 codepages already present.
5020 (list-block-of-chars): Display space for null entries in
5021 translation table. Display tab specially.
5022 (list-non-iso-charset-chars): Check for null charsets. Use pop
5023 for clarity. Don't break 8-bit sets into sections between ranges.
5024 (list-charset-chars): Avoid indent-tabs-mode.
5025 (describe-char-after): Maybe use the text property for syntax
5026 table information. Maybe report char-code-property-table info.
5027 Maybe report character's unicode. Tweak printing of list info.
5028 (list-input-methods): Add xref buttons.
5029 (dump-charsets, dump-codings): Deleted (obsolete).
5030 From Dave Love <fx@gnu.org>.
5031
5032 2002-02-10 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5033
5034 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
5035
5036 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
5037
5038 * viper-util.el (viper-read-key-sequence): Fix so it'll read
5039 fast key sequences in emacs native mode
5040 (viper-events-to-keys): Delete.
5041
5042 * viper.el (describe-key, describe-key-briefly): Get rid of
5043 viper-events-to-keys.
5044
5045 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
5046
5047 * ediff-wind.el (ediff-setup-control-frame):
5048 Use ediff-has-gutter-support.
5049
5050 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
5051 check if buff is alive.
5052
5053 * ediff.el: Typo in comment.
5054
5055 2002-02-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5056
5057 * menu-bar.el (menu-bar-options-save): Take care of
5058 line-number-mode and column-number-mode variables.
5059 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
5060 "Show Column Number" in "Show/Hide" menu.
5061
5062 2002-02-09 Richard M. Stallman <rms@gnu.org>
5063
5064 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
5065
5066 2002-02-09 Kim F. Storm <storm@cua.dk>
5067
5068 * faces.el (mode-line-inactive): New face for mode-line for
5069 non-selected windows.
5070 (mode-line): Doc fix: Only used for selected window.
5071
5072 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
5073
5074 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
5075 name to "Insert Diary Entry".
5076
5077 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
5078
5079 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
5080 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
5081
5082 2002-02-08 Richard M. Stallman <rms@gnu.org>
5083
5084 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
5085
5086 2002-02-08 Andreas Schwab <schwab@suse.de>
5087
5088 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
5089 of point-min.
5090
5091 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
5092
5093 * net/ange-ftp.el (ange-ftp-process-handle-line)
5094 (ange-ftp-set-xfer-size): If the file's size is a float, divide
5095 by 1024 instead of using ash.
5096
5097 * international/mule-cmds.el (select-safe-coding-system):
5098 State the buffer's name in the message popped in the *Warning* buffer,
5099 and make sure the offending buffer is displayed.
5100
5101 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
5102
5103 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
5104
5105 2002-02-07 Richard M. Stallman <rms@gnu.org>
5106
5107 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
5108
5109 * register.el (list-registers): New command.
5110 (describe-register-1): New subroutine, taken out of view-register.
5111
5112 * emacs-lisp/copyright.el (copyright-regexp):
5113 Delete the unibyte copyright symbol; it's redundant.
5114 Fix a spazz in the multibyte encoding here.
5115
5116 2002-02-07 Dave Love <fx@gnu.org>
5117
5118 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
5119 (cyrillic-encode-alternativnyj-char): Get translation tables from
5120 symbol properties, not as variables.
5121 (standard-display-cyrillic-translit): Include unicodes.
5122
5123 2002-02-06 Kim F. Storm <storm@cua.dk>
5124
5125 * help.el (where-is): Report remapped commands.
5126
5127 * help-fns.el (describe-function-1): Ditto.
5128
5129 * subr.el (global-set-key, local-set-key): Accept a symbol for the
5130 KEY argument (like define-key).
5131
5132 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5133
5134 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
5135
5136 2002-02-06 Richard M. Stallman <rms@gnu.org>
5137
5138 * mail/mailabbrev.el: Require sendmail only at compile time.
5139 (mail-mode-header-syntax-table): Var deleted.
5140 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
5141 (sendmail-pre-abbrev-expand-hook): Only temporarily change
5142 local-abbrev-table and the syntax table.
5143 Compute mail-abbrev-syntax-table if that has not been done.
5144
5145 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
5146
5147 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
5148 (debugger-frame-number): Figure out the offset directly.
5149 (debugger-setup-buffer): Don't use debugger-frame-offset.
5150 (debugger-frame, debugger-frame-clear): Likewise.
5151 (debugger-jump): Don't alter debugger-frame-offset.
5152
5153 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5154 Replace foo-p as var name with foo-flag, not foo-p-flag.
5155
5156 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
5157 (highlight-changes-passive-string): Default to -Chg.
5158 (highlight-changes-global-modes): Doc fix.
5159
5160 * dired.el (dired-get-filename): Add /: when appropriate
5161 to avoid taking a local name as remote.
5162
5163 * files.el (file-name-non-special): Add special handling for
5164 file-name-sans-versions, file-name-completion, and
5165 file-name-all-completions.
5166
5167 * isearch.el (isearch-update): Don't update display in kbd macro.
5168 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
5169
5170 * subr.el (force-mode-line-update): Doc fix.
5171
5172 * subr.el (atomic-change-group, prepare-change-group)
5173 (activate-change-group, accept-change-group, cancel-change-group):
5174 New functions.
5175
5176 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
5177 (transpose-subr-1): Use atomic-change-group.
5178
5179 * subr.el (add-minor-mode): Include the mode's lighter string
5180 in the minor mode menu item name.
5181
5182 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
5183 rmail-count-screen-lines starting from (point-min).
5184
5185 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
5186 beyond the image height, to use the fancy splash screen.
5187
5188 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
5189 (text-mode): Set text-mode-variant here.
5190
5191 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
5192
5193 * play/pong.el (pong-height): Don't use height that exceeds the
5194 frame height.
5195 (pong-border-options): Make the border colors slightly more bright.
5196
5197 * play/gamegrid.el (gamegrid-display-type): Treat any
5198 color-capable display as color-x, if display-color-p is fboundp.
5199 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
5200 (gamegrid-make-color-tty-face): Use the value of color, not the
5201 symbol itself. Don't call gamegrid-color.
5202
5203 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5204
5205 * gud.el (gud-refresh): Call recenter only after we are sure we
5206 are in the right window.
5207
5208 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
5209
5210 * cus-edit.el (customize-mark-to-save): New function.
5211 * menu-bar.el (menu-bar-options-save): Rewrote.
5212
5213 2002-02-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5214
5215 * cus-start.el (x-use-underline-position-properties):
5216 Allow customization.
5217
5218 2002-02-04 Simon Josefsson <jas@extundo.com>
5219
5220 * dired.el (dired-load-hook, dired-mode-hook)
5221 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
5222
5223 2002-02-03 Colin Walters <walters@verbum.org>
5224
5225 * ibuf-ext.el (ibuffer-filter-format-alist)
5226 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
5227 New variables.
5228 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
5229 is now the Emacs CVS tree.
5230 (ibuffer-formats): Doc fix.
5231 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
5232 (ibuffer-current-format): Use them.
5233 (ibuffer-recompile-formats, ibuffer-check-formats)
5234 (ibuffer-switch-format, ibuffer-update-title):
5235 Add support for ibuffer-filter-format-alist.
5236 (define-ibuffer-column process): Remove unncessary consing.
5237
5238 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
5239 for a summary column.
5240
5241 2002-02-03 Andreas Schwab <schwab@suse.de>
5242
5243 * window.el (save-selected-window): Move macro before first use.
5244 (balance-windows): Fix misplaced parenthesis.
5245
5246 2002-02-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5247
5248 * calculator.el (calculator-displayers): Doc fixes.
5249
5250 2002-02-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5251
5252 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
5253 (menu-bar-options-save): Save also the value of `display-time-mode'.
5254 (showhide-date-time): New function.
5255 (menu-bar-showhide-menu): New menu-item "Date and time".
5256
5257 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
5258
5259 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
5260 get-file-buffer to check for rmail buffer existence.
5261
5262 * term.el (term-emulate-terminal): Extract proper command string
5263 which is supplied to term-command-hook.
5264
5265 2002-02-03 Richard M. Stallman <rms@gnu.org>
5266
5267 * international/quail.el (quail-help): Don't call help-setup-xref.
5268
5269 * international/mule-cmds.el (describe-input-method):
5270 Call help-setup-xref here.
5271 (describe-current-input-method): Doc fix.
5272
5273 * novice.el (disabled-command-hook): Clarify output text.
5274 Indent the paragraph from the command's doc string.
5275
5276 * dabbrev.el (dabbrev--goto-start-of-abbrev):
5277 Exit loop on beginning of field rather than bobp.
5278
5279 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
5280
5281 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
5282 the message text into the *mail* buffer, and restore the pruned
5283 state after that.
5284
5285 * mail/rmail.el (rmail-redecode-body): Prune the headers before
5286 looking for X-Coding-System header, and restore the pruned state
5287 before returning.
5288
5289 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5290
5291 * cus-edit.el (customize-save-variable): Fix typo in prompt.
5292
5293 These changes integrate new version of flyspell.el from its
5294 maintainer, Manuel Serrano:
5295
5296 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
5297 (flyspell-mode-on, flyspell-notify-misspell)
5298 (flyspell-small-region, flyspell-external-point-words)
5299 (flyspell-large-region): Use it
5300 (flyspell-before-incorrect-word-string)
5301 (flyspell-after-incorrect-word-string): New user options.
5302 (make-flyspell-overlay): Use them.
5303 (flyspell-version): New function.
5304 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
5305 definitions to use :weight.
5306 (flyspell-insert-function): New user option.
5307 (flyspell-auto-correct-word, flyspell-correct-word)
5308 (flyspell-xemacs-correct): Use it.
5309 (flyspell-define-abbrev): New function.
5310 (flyspell-auto-correct-word, flyspell-correct-word)
5311 (flyspell-xemacs-correct): Use it.
5312 (make-flyspell-overlay): Use `evaporate' property.
5313 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
5314 (flyspell-emacs-popup): Use `session' instead of `accept'.
5315 (flyspell-auto-correct-previous-pos): New variable.
5316 (flyspell-auto-correct-previous-hook)
5317 (flyspell-auto-correct-previous-word): New functions.
5318
5319 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
5320
5321 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
5322 don't alter the user's ~/.emacs.
5323 (disable-command): If user-init-file is nil or does not exist,
5324 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
5325 But don't alter the init file if Emacs was invoked as "emacs -q"
5326
5327 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
5328
5329 * mail/sendmail.el (mail-mode): Undo half of last change.
5330
5331 * indent.el (indent-for-tab-command): Remove spurious code.
5332
5333 * hi-lock.el (hi-lock-find-patterns): Save restriction.
5334
5335 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
5336
5337 * calendar/time-date.el: Moved from lisp/gnus.
5338
5339 * calendar/parse-time.el: Ditto.
5340
5341 2002-01-31 Richard M. Stallman <rms@gnu.org>
5342
5343 * international/iso-acc.el (iso-languages): Fix ", " in French.
5344
5345 * cus-start.el (history-length): Specify customization for it.
5346
5347 * emacs-lisp/debug.el (debugger-setup-buffer):
5348 When an eval-buffer frame was reading from a buffer,
5349 insert indication of the buffer position.
5350 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
5351 (debugger-frame-clear, debugger-frame): Error on non-frame line.
5352
5353 * simple.el (shell-command-on-region): Err if no mark
5354 before reading the command string.
5355
5356 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
5357 Definitions moved down after hl-line-mode var's definition.
5358
5359 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
5360 (hilit-chg-set-face-on-change): Rename arg.
5361 (hilit-chg-make-ov): Detect error earlier.
5362
5363 * ediff-hook.el: Delete autoload cookies.
5364
5365 * comint.el (comint-scroll-show-maximum-output): Default is t.
5366
5367 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
5368 (batch-byte-compile-if-not-done): New function.
5369
5370 * Makefile.in (compile): New target.
5371 (compile-always): Renamed from compile-files.
5372 (compile-after-backup): Renamed from compile.
5373 (bootstrap): Depend on compile-always, not compile-files.
5374
5375 * emulation/pc-select.el (pc-select-save-and-set-mode):
5376 Properly use MODE-VAR.
5377
5378 2002-01-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5379
5380 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
5381 Version" to "About Emacs".
5382 (menu-bar-options-save): Add `default-frame-alist'
5383 to saved variables.
5384 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
5385 of the variable `scroll-bar-mode'.
5386
5387 * startup.el (normal-splash-screen, display-splash-screen):
5388 New functions (separated from command-line-1).
5389 (command-line-1): Use them.
5390
5391 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
5392
5393 * calendar/calendar.el (generate-calendar-month): Doc fix.
5394
5395 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5396
5397 * time.el (display-time-mail-directory): New option.
5398 (display-time-mail-function): Update doc-string.
5399 (display-time-mail-icon): Use XPM image when available.
5400 (display-time-string-forms): Use more descriptive text as
5401 help-echo property.
5402 (display-time-mail-check-directory): New function.
5403 (display-time-update): Use it.
5404
5405 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
5406 Quote `window-system'.
5407
5408 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
5409 Add Keywords header. Update Commentary section.
5410 Update copyright notice.
5411
5412 * menu-bar.el (menu-bar-scroll-bar-right)
5413 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
5414 (showhide-menu-bar): New functions.
5415 (menu-bar-showhide-menu): New submenu "Show/Hide".
5416 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
5417 "Show/Hide".
5418 Update copyright notice.
5419
5420 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
5421
5422 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
5423
5424 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
5425
5426 * pc-select.el (pc-selection-mode-hook)
5427 (pc-select-saved-settings-alist, pc-select-map)
5428 (pc-select-saved-global-map, pc-select-key-bindings-alist)
5429 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
5430 (pc-select-meta-moves-sexps-key-bindings)
5431 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
5432 New variables.
5433 (pc-select-define-keys, pc-select-restore-keys): New functions.
5434 (pc-select-add-to-alist, pc-select-save-and-set-var)
5435 (pc-select-save-and-set-mode, pc-select-restore-var)
5436 (pc-select-restore-mode): New macros.
5437 (pc-selection-mode): Completely rewrote the body of the function;
5438 the main goal was to make pc-selection-mode "turn-off"-able, like
5439 other minor modes. Use define-minore-mode instead of just a
5440 defun. Store the key bindings into four alists:
5441 pc-select-default-key-bindings, pc-select-extra-key-bindings,
5442 pc-select-meta-moves-sexps-key-bindings, and
5443 pc-select-tty-key-bindings; then have the pc-select-define-keys
5444 function walk those alists instead of calling define-key
5445 repeatedly. When the mode is turned on, set the
5446 keybindings in global-map and remember the old keybindings; when
5447 the mode is turned off, restore the previously-saved keybindings.
5448 (pc-selection-mode defcustom): Reflect the fact that the mode is
5449 now "turn-off"-able.
5450
5451 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
5452
5453 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
5454 returns t, don't treat that as an error.
5455
5456 2002-01-25 Jason Rumney <jasonr@gnu.org>
5457
5458 * faces.el (face-font-registry-alternatives) [windows-nt]:
5459 Add ms-oemlatin as an alternative for iso8859-1.
5460
5461 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
5462
5463 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
5464 args and the absence of an entry. Don't add -f each time.
5465
5466 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
5467
5468 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
5469
5470 Support for more than 8 colors on character terminals:
5471
5472 * term/rxvt.el: New file.
5473
5474 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
5475
5476 * term/xterm.el (xterm-standard-colors): New variable.
5477 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
5478 (xterm-rxvt-set-background-mode): New functions.
5479 (toplevel): Call xterm-register-default-colors,
5480 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
5481 Add support for more keys from xterm's terminfo entry.
5482
5483 * facemenu.el (list-colors-display): If the argument is nil, don't
5484 show more colors that the number returned by display-color-cells.
5485
5486 * term/pc-win.el (msdos-color-values): Reverse the order of the
5487 colors, since tty-color-define now preserves the registration order.
5488
5489 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
5490
5491 * term/tty-colors.el (tty-standard-colors): Reverse the order.
5492 (tty-register-default-colors): New function; code moved from
5493 startup.el's command-line.
5494 (tty-modify-color-alist): Use nconc instead of cons, to preserve
5495 the order the colors where registered.
5496
5497 * frame.el (display-color-cells): Use tty-display-color-cells.
5498
5499 * startup.el (command-line): Call tty-register-default-colors.
5500
5501 2002-01-25 Richard M. Stallman <rms@gnu.org>
5502
5503 * subr.el (remove): Doc fix.
5504
5505 2002-01-24 Richard M. Stallman <rms@gnu.org>
5506
5507 * progmodes/compile.el (compilation-handle-exit):
5508 Add a compilation-handle-exit property to the "finished" message.
5509 (compilation-parse-errors): Stop parsing when that property is seen.
5510
5511 * subr.el (substring-no-properties): New function.
5512 (copy-without-properties): Function deleted.
5513
5514 * term/x-win.el (x-handle-geometry): Put sizes on both
5515 initial-frame-alist and default-frame-alist.
5516
5517 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
5518 for saving .emacs.
5519
5520 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
5521
5522 * calendar/calendar.el (generate-calendar-month): Doc fix.
5523
5524 2002-01-23 Richard M. Stallman <rms@gnu.org>
5525
5526 * play/tetris.el (tetris): New defgroup.
5527 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
5528 (tetris-default-tick-period): Convert to defcustom.
5529 Added * in docstring to indicate user variable.
5530 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
5531 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
5532 (tetris-buffer-height, tetris-width, tetris-height)
5533 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
5534
5535 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
5536
5537 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
5538 and is already matched by adaptive-fill-regexp.
5539
5540 2002-01-22 Richard M. Stallman <rms@gnu.org>
5541
5542 * bindings.el (mode-line-copied-mode-name): New variable.
5543 (mode-line-mode-name): Don't modify mode-name itself!
5544 Instead, make a copy and reuse it.
5545
5546 * subr.el (copy-without-properties): New function.
5547
5548 * progmodes/sh-script.el (sh-set-shell): Doc fix.
5549
5550 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
5551 slash if DIR is just slash.
5552
5553 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
5554
5555 2002-01-21 Richard M. Stallman <rms@gnu.org>
5556
5557 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
5558
5559 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
5560 Move defvar up.
5561
5562 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
5563
5564 * ibuffer.el: Don't require ibuf-ext at load time.
5565 (ibuffer): Require ibuf-ext here.
5566
5567 2002-01-21 Francesco Potorti` <pot@gnu.org>
5568
5569 * generic-x.el (apache-conf-generic-mode): Highlight the first
5570 word in a line even if preceded by blanks.
5571
5572 2002-01-21 Richard M. Stallman <rms@gnu.org>
5573
5574 * window.el (window-body-height): Handle minibuffer window specially.
5575 Otherwise, don't return less than 1.
5576
5577 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
5578
5579 * ange-ftp.el: Added support for BS2000, and for raw ftp
5580 login commands (needed in some circumstances).
5581 (ange-ftp-raw-login): New custom var.
5582 (ange-ftp-normal-login): Perform login with raw ftp commands, if
5583 ange-ftp-raw-login is set and account password is needed.
5584 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
5585 (ange-ftp-bs2000-filename-pubset-regexp)
5586 (ange-ftp-bs2000-filename-username-regexp)
5587 (ange-ftp-bs2000-filename-prefix-regexp)
5588 (ange-ftp-bs2000-name-template): New consts.
5589 (ange-ftp-bs2000-short-filename-regexp)
5590 (ange-ftp-bs2000-fix-name-regexp-reverse)
5591 (ange-ftp-bs2000-fix-name-regexp): New consts.
5592 (ange-ftp-bs2000-special-prefix): New custom var.
5593 (ange-ftp-fix-name-for-bs2000)
5594 (ange-ftp-fix-dir-name-for-bs2000): New funs.
5595 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
5596 (ange-ftp-bs2000-posix-hook-installed): New vars.
5597 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
5598 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
5599 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
5600 (ange-ftp-bs2000-filename-regexp): New const.
5601 (ange-ftp-bs2000-additional-pubsets): New custom var.
5602 (ange-ftp-bs2000-cd-to-posix): New fun.
5603
5604 2002-01-20 Colin Walters <walters@verbum.org>
5605
5606 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
5607 with `byte-compile-dynamic'.
5608 (ibuffer-default-directory, toplevel): Doc files.
5609
5610 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5611
5612 * tempo.el (tempo-define-template): Doc fix.
5613
5614 * scroll-bar.el (scroll-bar-mode): Make argument optional.
5615
5616 2002-01-20 Jason Rumney <jasonr@gnu.org>
5617
5618 * w32-vars.el: New file.
5619
5620 * loadup.el [windows-nt]: Load it.
5621
5622 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
5623 and make them defcustoms.
5624
5625 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
5626
5627 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5628
5629 * language/tibet-util.el (tibetan-decompose-region)
5630 (tibetan-decompose-string): Fix typo in docstring.
5631
5632 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
5633
5634 2002-01-18 Richard M. Stallman <rms@gnu.org>
5635
5636 * comint.el (comint-redirect-send-command-to-process):
5637 Restore previous current buffer.
5638
5639 * window.el (window-body-height): New function.
5640
5641 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
5642
5643 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
5644 "Finish Function" menu map entries for jdb mode.
5645 (gud-jdb-use-classpath): New customization variable.
5646 (gud-jdb-command-name): Add customization.
5647 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
5648 (gud-jdb-classpath-string): New variable.
5649 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
5650 (gud-jdb-build-source-files-list): Likewise.
5651 (gud-jdb-massage-args): Record any command argument classpath
5652 string in `gud-jdb-classpath-string'.
5653 (gud-jdb-lowest-stack-level): New function, finds bottom of current
5654 java call stack in jdb output.
5655 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
5656 (gud-jdb-parse-classpath-string): New functions.
5657 (gud-jdb-marker-filter): Search/detect classpath information in
5658 jdb's output. marker regexp updated to match oldjdb and jdb output
5659 formats. Expand search for source files to include new/old methods
5660 using new functions above. Do not allow `gud-marker-acc' to grow
5661 without bound.
5662 (jdb): Set classpath information (if available) as jdb is started.
5663 Change `gud-break' and `gud-remove'
5664 to use new %c ("class") escape in format strings.
5665 Add `gud-finish', `gud-up', `gud-down' command string functions, and
5666 add them to the local menu map. Update `comint-prompt-regexp' for
5667 jdb and oldjdb. If attaching to an already running java VM and
5668 configured to use classpath, send command to query for classpath,
5669 else use previous method for finding and parsing java
5670 sources. Set `gud-jdb-find-source' function accordingly.
5671 (gud-mode): Doc fix.
5672 (gud-format-command): Add support for new %c ("class") escape.
5673 (gud-find-class): New function in support of %c escape.
5674
5675 2002-01-17 Richard M. Stallman <rms@gnu.org>
5676
5677 * ibuf-ext.el: Enable byte-compile-dynamic.
5678
5679 2002-01-17 Jason Rumney <jasonr@gnu.org>
5680
5681 * term/w32-win.el: Restore conditional require of fontset.
5682
5683 2002-01-16 Richard M. Stallman <rms@gnu.org>
5684
5685 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
5686 more or less.
5687 (mouse-drag-region): New function. For a click in the echo area,
5688 show *Messages*.
5689
5690 * ibuf-ext.el: Delete the autoloads for functions defined with
5691 ibuffer-specific commands.
5692
5693 * help.el (describe-distribution): Really call view-file.
5694
5695 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
5696 (ange-ftp-get-process): Pass that arg.
5697
5698 * comint.el (comint-simple-send): Fix previous change.
5699
5700 * net/telnet.el (telnet-simple-send): Fix previous change.
5701
5702 * progmodes/sql.el (sql-escape-newlines-and-send)
5703 (sql-query-placeholders-and-send): Fix previous change.
5704
5705 2002-01-16 Colin Walters <walters@verbum.org>
5706
5707 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
5708 URL, Compatibility headers. Update copyright notice.
5709 * ibuf-macs.el (toplevel): Require `cl' when compiling.
5710
5711 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
5712
5713 * startup.el (command-line): Set EOL mnemonics for the Mac.
5714
5715 2002-01-16 Andreas Schwab <schwab@suse.de>
5716
5717 * mail/feedmail.el (feedmail): Fix :link spec.
5718
5719 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5720
5721 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
5722 2 ldapsearch.
5723
5724 * net/eudc.el: New maintainer. Change author's address.
5725 (eudc-pre-select-window-configuration, eudc-insertion-marker):
5726 Variables removed.
5727 (eudc-insert-selected): Function removed.
5728 (eudc-select): Reimplemented.
5729 (eudc-expand-inline): Delete the strings only after its expansion
5730 is chosen not before.
5731
5732 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
5733 Minor coding style fixes.
5734
5735 * net/eudcb-ldap.el: New maintainer. Change author's address.
5736 (eudc-attribute-display-method-alist): Display mail with
5737 eudc-display-mail.
5738
5739 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
5740 * net/eudc-vars.el: New maintainer. Change author's address.
5741
5742 * net/eudc-bob.el: New maintainer. Change author's address.
5743 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
5744 (eudc-display-mail): New function.
5745 (eudc-bob-play-sound-at-point): Remove XEmacs case.
5746
5747 2002-01-15 Richard M. Stallman <rms@gnu.org>
5748
5749 * emacs-lisp/autoload.el (make-autoload):
5750 Don't handle define-ibuffer-column, define-ibuffer-filter,
5751 define-ibuffer-sorter, and define-ibuffer-op.
5752
5753 2002-01-14 Richard M. Stallman <rms@gnu.org>
5754
5755 * calendar/calendar.el (diary-date-forms): Doc fix.
5756
5757 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
5758
5759 * startup.el (command-line): Register the default tty colors even
5760 if the terminal doesn't seem to support colors.
5761 <tty-long-option-alist>: New option --color.
5762 (tty-handle-args): Parse the --color arg.
5763
5764 * term/tty-colors.el (tty-color-mode-alist): New variable.
5765
5766 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
5767
5768 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
5769 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
5770 Use it.
5771 (ange-ftp-hook-function): Preserve match-data.
5772 (ange-ftp-insert-directory): Typo.
5773 (ange-ftp-shell-command): Check if regexp matched.
5774
5775 2002-01-13 Richard M. Stallman <rms@gnu.org>
5776
5777 * international/mule-cmds.el: help-map bindings moved to help.el.
5778
5779 * help.el (view-echo-area-messages): New function.
5780 (help-map): Add `e' binding. Delete obsolete `d' binding.
5781 Change old Info bindings C-f, C-k and C-i to F, K, S.
5782 Move view-emacs-FAQ from F to C-f.
5783 Move view-emacs-problems from P to C-e.
5784 Bindings moved here from mule-cmds.el.
5785 C-l binding for describe-language-environment deleted
5786 (help-for-help): Update for all these changes.
5787
5788 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
5789
5790 2002-01-13 Dave Love <fx@gnu.org>
5791
5792 * emacs-lisp/copyright.el: Doc fixes.
5793 (copyright-regexp): Add Latin-9 copyright sign.
5794 Match comment delimiters in year lists.
5795 (copyright-current-year): Initialize to load-time year.
5796
5797 2002-01-13 Andreas Schwab <schwab@suse.de>
5798
5799 * dired-aux.el (dired-do-shell-command): Doc fix.
5800
5801 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
5802
5803 * startup.el (command-line-x-option-alist): New options "-fs",
5804 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
5805
5806 * term/x-win.el (x-handle-initial-switch): New function.
5807
5808 2002-01-13 Colin Walters <walters@debian.org>
5809
5810 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
5811 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
5812
5813 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
5814
5815 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
5816
5817 2002-01-12 Richard M. Stallman <rms@gnu.org>
5818
5819 * net/browse-url.el (browse-url-grail):
5820 Use browse-url-maybe-new-window.
5821
5822 * net/telnet.el (telnet-simple-send):
5823 Handle comint-input-sender-no-newline like comint-simple-send.
5824
5825 * progmodes/sql.el (sql-query-placeholders-and-send):
5826 Handle comint-input-sender-no-newline like comint-simple-send.
5827 (sql-escape-newlines-and-send): Likewise.
5828
5829 * comint.el (comint-input-sender): Doc fix.
5830 (comint-input-sender-no-newline): New variable.
5831 (comint-simple-send): If comint-input-sender-no-newline,
5832 don't output newline, but maybe send eof.
5833 (comint-send-input): New arg NO-NEWLINE.
5834 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
5835
5836 2002-01-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5837
5838 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5839 Prevent delaying when executing keyboard macros.
5840
5841 2002-01-12 Richard M. Stallman <rms@gnu.org>
5842
5843 * simple.el (line-move): If we can't move enough lines,
5844 go to beginning or end of line.
5845
5846 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
5847 and proper window.
5848
5849 * help.el (describe-mode): Call help-setup-xref in the help buffer.
5850 Switch buffers only after calling `help-buffer'.
5851
5852 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
5853 only when they are surrounded by whitespace.
5854 Use dired-mark-separator when adding one file name to a command.
5855 (dired-do-shell-command): Verify that * is surrounded by whitespace.
5856 Ask for confirmation if * or ? is not surrounded by whitespace.
5857 (dired-bunch-files): Re-reverse the partial file list when it is used.
5858
5859 2002-01-12 Richard M. Stallman <rms@gnu.org>
5860
5861 * comint.el (comint-dynamic-list-completions): Repeating the command
5862 after displaying a completion list scrolls the list.
5863
5864 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
5865
5866 * files.el (find-file-noselect): Don't consider a buffer as
5867 visiting a file literally if it is in hexl-mode.
5868
5869 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
5870
5871 2002-01-11 Richard M. Stallman <rms@gnu.org>
5872
5873 * startup.el (initial-scratch-message): Fix custom type, add group.
5874
5875 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
5876 around the decode-coding-region call.
5877
5878 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
5879 after displaying a completion list scrolls the list.
5880
5881 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
5882
5883 * version.el (emacs-version): Bump to 21.2.50.
5884
5885 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
5886
5887 * play/zone.el (zone-timeout): New var.
5888 (zone-hiding-modeline): New macro.
5889 (zone-call): New func.
5890
5891 (zone): Init `modeline-hidden-level' symbol property.
5892 Use `zone-call' instead of `funcall'.
5893
5894 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
5895
5896 (zone-pgm-stress): Use `zone-hiding-modeline'.
5897
5898 (zone-pgm-stress-destress): New zone program.
5899
5900 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
5901
5902 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
5903
5904 2002-01-09 Richard M. Stallman <rms@gnu.org>
5905
5906 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
5907
5908 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
5909
5910 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
5911 flyspell-mouse-map.
5912
5913 2002-01-08 Richard M. Stallman <rms@gnu.org>
5914
5915 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
5916
5917 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
5918
5919 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
5920
5921 2002-01-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5922
5923 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
5924 Do not use make-local-hook.
5925
5926 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
5927
5928 * international/quail.el (quail-start-translation)
5929 (quail-start-conversion): Bind last-command-event, last-command,
5930 and this-command in the first let. This fixes the change from
5931 2000-08-30.
5932
5933 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
5934
5935 * ediff-hook.el: Add an autoload cookie.
5936
5937 2002-01-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5938
5939 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
5940 address of the author.
5941
5942 2002-01-08 Richard M. Stallman <rms@gnu.org>
5943
5944 * replace.el (occur-mode-goto-occurrence-other-window): New command.
5945 (occur-mode-map): Bind `o' to that.
5946
5947 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
5948
5949 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
5950 new macro that replaces viper-emacs-p and viper-xemacs-p in many
5951 cases. Used to reduce the number of warnings.
5952
5953 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
5954 (viper-standard-value): Move here from viper.el.
5955 (viper-set-unread-command-events): Move to viper-util.el
5956 (viper-check-minibuffer-overlay): Make sure
5957 viper-minibuffer-overlay is moved to cover the entire input field.
5958
5959 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
5960 (viper-read-key-sequence, viper-set-unread-command-events)
5961 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
5962
5963 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
5964
5965 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
5966
5967 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
5968
5969 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
5970 (viper-event-vector-p): Move to viper-util.el
5971
5972 * viper.el (viper-standard-value): Move to viper-cmd.el.
5973 Use viper-cond-compile-for-xemacs-or-emacs.
5974
5975 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5976
5977 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5978
5979 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
5980 New macro designed to be used in many places where ediff-emacs-p or
5981 ediff-xemacs-p was previously used. Reduces the number of warnings.
5982 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
5983 of ediff-xemacs-p.
5984 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
5985 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
5986 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
5987 Move to ediff-util.el.
5988 (ediff-event-key): Moved here.
5989
5990 * ediff-merge.el: Got rid of unreferenced variables.
5991
5992 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5993
5994 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5995 (ediff-cleanup-mess): Improve the way windows are set up after
5996 quitting ediff.
5997 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
5998 (ediff-dispose-of-variant-according-to-user): New function
5999 designed to be smarter and also understands indirect buffers.
6000 (ediff-highlight-diff-in-one-buffer)
6001 (ediff-unhighlight-diff-in-one-buffer)
6002 (ediff-unhighlight-diffs-totally-in-one-buffer)
6003 (ediff-highlight-diff, ediff-highlight-diff)
6004 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
6005 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
6006 (ediff-get-region-contents, ediff-make-current-diff-overlay):
6007 Moved here.
6008 (ediff-format-bindings-of): New function by Hannu Koivisto
6009 <azure@iki.fi>.
6010 (ediff-setup): Make sure the merge buffer is always widened and
6011 modifiable.
6012 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
6013 result of a merge into a file visited by another buffer.
6014 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
6015 is visited by another buffer and ask to save/delete that buffer.
6016 (ediff-verify-file-merge-buffer): New function to do the above.
6017
6018 * ediff-vers.el: Load ediff-init.el at compile time.
6019
6020 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
6021
6022 * ediff.el (ediff-windows, ediff-regions-wordwise)
6023 (ediff-regions-linewise): Use indirect buffers to improve
6024 robustness and make it possible to compare regions of the same
6025 buffer (even overlapping regions).
6026 (ediff-clone-buffer-for-region-comparison)
6027 (ediff-clone-buffer-for-window-comparison): New functions.
6028 (ediff-files-internal): Refuse to compare identical files.
6029 (ediff-regions-internal): Get rid of the warning about comparing
6030 regions of the same buffer.
6031
6032 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
6033 Plus the following fixes courtesy of Dave Love: Doc fixes.
6034 (ediff-word-1): Use word class and move - to the
6035 front per regexp documentation.
6036 (ediff-wordify): Bind forward-word-function outside loop.
6037 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
6038 consing buffer contents.
6039 (ediff-goto-word): Move syntax table setting outside loop.
6040
6041 2002-01-07 Richard M. Stallman <rms@gnu.org>
6042
6043 * dired.el (dired-copy-filename-as-kill): Call kill-append
6044 if following a kill command.
6045
6046 * help-fns.el (describe-variable, describe-function):
6047 Do save-excursion.
6048
6049 2002-01-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6050
6051 * net/ldap.el (ldap-search-internal): Skip error message from
6052 ldapsearch. Allow listing attribute names only. Do not open
6053 non-existent files.
6054
6055 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
6056 call non-existent function.
6057
6058 * net/eudc.el (top-level): Revert previous change.
6059
6060 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
6061 variables to prevent warning from byte-compiler.
6062
6063 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
6064 string-match on emacs-version again.
6065
6066 * enriched.el (enriched-make-annotation): Fix the change from
6067 2002-01-05.
6068 (enriched-handle-display-prop): Return proper values.
6069
6070 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
6071 Use proper attribute name labeledUri instead of deprecated labeledUrl.
6072
6073 2002-01-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6074
6075 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
6076 editing an empty hotlist.
6077
6078 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
6079 Use buffer-string instead of buffer-substring for the whole buffer.
6080
6081 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
6082 not free.
6083
6084 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
6085 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
6086 (eudc-bob-save-object): Make the buffer unibyte.
6087 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
6088 object to external program.
6089
6090 2002-01-05 Andre Spiegel <spiegel@gnu.org>
6091
6092 * vc.el (vc-branch-part): Return nil if there's no `.'
6093 (vc-default-previous-version): Renamed from vc-previous-version.
6094 New args BACKEND and FILE. Return nil for revision numbers
6095 without a `.'
6096 (vc-version-diff): Call vc-BACKEND-previous-version.
6097 (vc-steal-lock): Steal lock before composing mail, so that no mail
6098 is sent when the stealing goes wrong. And we'll actually see the
6099 error in that case now.
6100 (vc-finish-steal): Removed.
6101
6102 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
6103 the lock, so that we see expanded headers.
6104 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
6105 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
6106 available from vc.el. Updated all callers.
6107
6108 2002-01-05 Richard M. Stallman <rms@gnu.org>
6109
6110 * enriched.el (enriched-make-annotation): Doc fix.
6111
6112 * format.el (format-replace-strings, format-subtract-regions)
6113 (format-annotate-region, format-annotate-location)
6114 (format-annotate-atomic-property-change)
6115 (format-annotate-single-property-change): Doc fixes.
6116
6117 2002-01-05 Jason Rumney <jasonr@gnu.org>
6118
6119 * term/w32-win.el: Require fontset unconditionally.
6120 (w32-handle-scroll-bar-event): Remove.
6121
6122 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6123
6124 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
6125 copyrights to be updated.
6126
6127 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
6128
6129 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
6130 2001-10-24.
6131
6132 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
6133
6134 2002-01-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6135
6136 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
6137 (ldap-ignore-attribute-codings): Change the default value to allow
6138 encoding/decoding of attributes.
6139 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
6140
6141 2002-01-03 Richard M. Stallman <rms@gnu.org>
6142
6143 * files.el (basic-save-buffer): Undo previous change.
6144
6145 * calendar/diary-lib.el (diary-block): Doc fix.
6146
6147 * custom.el (defcustom): Fix syntax of previous change.
6148
6149 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
6150
6151 * custom.el (defcustom): Documented :tag, :link and :load.
6152
6153 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
6154
6155 * mail/sendmail.el (mail-recover-1): New function.
6156 (mail-recover): Switch to the *mail* buffer right away.
6157 Use buffer-auto-save-file-name instead of calling
6158 make-auto-save-file-name. Call dired-noselect instead of invoking
6159 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
6160 before reading the auto-save file. If the buffer's auto-save file
6161 does not exist, call mail-recover-1 to allow recovery from past
6162 auto-saved drafts.
6163
6164 2002-01-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6165
6166 * time.el (display-time-load-average-threshold): Fix defcustom
6167 (add type and group).
6168
6169 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
6170 specification from the hostname.
6171
6172 2002-01-02 Richard M. Stallman <rms@gnu.org>
6173
6174 * facemenu.el (facemenu-active-faces):
6175 Use face-attributes-as-vector, not face-attributes-vector.
6176
6177 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
6178
6179 * xscheme.el: Eleven years of updates on a private copy.
6180
6181 Extensive changes to support multiple xscheme buffers:
6182 (run-scheme): Break up into new functions to facilitate starting
6183 processes in other buffers.
6184 (xscheme-start, xscheme-read-command-line): New functions.
6185 (start-scheme, select-scheme)
6186 (default-xscheme-runlight)
6187 (global-set-scheme-interaction-buffer)
6188 (local-set-scheme-interaction-buffer)
6189 (local-clear-scheme-interaction-buffer)
6190 (exit-scheme-interaction-mode)
6191 (verify-xscheme-buffer): New functions.
6192 (xscheme-process-name, xscheme-buffer-name)
6193 (xscheme-runlight): New internal vars.
6194 (default-xscheme-runlight): New const.
6195 (xscheme-start-process): Add args for the process/buffer names.
6196 (reset-scheme): Pass process/buffer names.
6197 (scheme-interaction-mode): Initialize new local vars.
6198 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
6199 (xscheme-select-process-buffer, xscheme-process-buffer)
6200 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
6201 (xscheme-goto-output-point, xscheme-write-message-1): Use new
6202 var xscheme-process-name.
6203 (xscheme-start-process): Initialize xscheme-process-name and
6204 xscheme-buffer-name in the process buffer. Pass buffer name to
6205 xscheme-modeline-initialize.
6206 (xscheme-modeline-initialize): Add argument to specify buffer name
6207 for mode-line vars.
6208 (xscheme-process-sentinel): Make sure sentinel is run in the
6209 process buffer so it sees its local vars.
6210 (xscheme-process-filter-initialize, xscheme-set-runlight):
6211 More elaborate logic to handle multiple-buffer mode lines.
6212
6213 (xscheme-enter-input-wait): Re-enable control-G handler upon
6214 entering input wait.
6215
6216 (scheme-interaction-mode): Add arg to preserve local vars.
6217 (xscheme-enter-interaction-mode)
6218 (xscheme-enter-debugger-mode): Preserve local vars.
6219 (xscheme-start-process): Clobber local vars.
6220
6221 (scheme-interaction-mode-commands): Allow end user to add commands
6222 to scheme-interaction-mode keymap.
6223 (scheme-interaction-mode-commands-alist): New variable.
6224
6225 (xscheme-send-string): Don't use insert-before-markers.
6226
6227 Implement a per-buffer kill ring:
6228 (xscheme-insert-expression)
6229 (xscheme-rotate-yank-pointer, xscheme-yank)
6230 (xscheme-yank-pop, xscheme-yank-push): New functions.
6231 (xscheme-expressions-ring)
6232 (xscheme-expressions-ring-yank-pointer)
6233 (xscheme-expressions-ring-max): New variables.
6234 (xscheme-send-string-1): Call xscheme-insert-expression to save
6235 expression in ring.
6236 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
6237 (xscheme-previous-send): Deleted variable.
6238
6239 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
6240 (xscheme-send-control-g-interrupt): Use process-send-string rather
6241 than send-string.
6242
6243 (xscheme-send-region): Insert a newline after an expression that
6244 is submitted in the interaction buffer, for consistency with
6245 recent changes to Edwin.
6246
6247 (xscheme-delete-output): New function mimics comint-delete-output.
6248 (xscheme-last-input-end): New internal variable.
6249 (xscheme-process-filter-output): Update xscheme-last-input-end.
6250
6251 (xscheme-send-control-g-interrupt): Make sure that
6252 xscheme-control-g-disabled-p is looked up in the right buffer.
6253
6254 (xscheme-enable-control-g): Clear C-g message if visible.
6255 (xscheme-control-g-message-string): New internal var.
6256 (xscheme-send-control-g-interrupt): Use new var.
6257
6258 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
6259 Delay after sending interrupt in order to work around race condition.
6260
6261 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
6262 (xscheme-send-char): Use xscheme-send-char rather than send-string
6263 to send single char.
6264
6265 (xscheme-process-filter, xscheme-process-filter-alist):
6266 Add support for evaluating expressions outside of the call-excursion.
6267 (xscheme-process-filter:string-action-noexcursion): New func.
6268
6269 (xscheme-write-value): Change output string to match that used by
6270 Edwin.
6271
6272 (xscheme-coerce-prompt): Don't write a space after a command
6273 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
6274 for us.
6275
6276 (reset-scheme): Delete process after killing it.
6277
6278 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
6279
6280 * bindings.el (function-key-map): Don't bind shifted keypad
6281 numeric keys.
6282
6283 2002-01-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6284
6285 * enriched.el (enriched-handle-display-prop): Remove unused variables.
6286 (enriched-mode): Doc fix.
6287
6288 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
6289
6290 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
6291 Hebrew points.
6292
6293 2002-01-01 Richard M. Stallman <rms@gnu.org>
6294
6295 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
6296
6297 2001-12-31 Richard M. Stallman <rms@gnu.org>
6298
6299 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
6300 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
6301 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
6302 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
6303 * progmodes/cperl-mode.el, progmodes/idlwave.el:
6304 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
6305 Adapt face definitions to use :weight and :slant.
6306
6307 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
6308
6309 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
6310
6311 * font-lock.el (initializing from font-lock-face-attributes):
6312 Use :weight and :slant, not :bold and :italic.
6313
6314 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
6315
6316 * cus-edit.el (custom-face-edit-fix-value): New function.
6317 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
6318
6319 2001-12-30 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6320
6321 * progmodes/octave-mod.el (octave-abbrev-table):
6322 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
6323 * progmodes/fortran.el (fortran-mode-abbrev-table):
6324 * progmodes/f90.el (f90-mode-abbrev-table):
6325 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
6326 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
6327 predefined abbrevs as "system" abbrevs.
6328
6329 2001-12-30 Richard M. Stallman <rms@gnu.org>
6330
6331 * info.el (Info-fontify-node): For a **** underline line, put the
6332 invisible and intangible props on the following newline, but not
6333 on the previous newline or the last char of the previous line.
6334
6335 * faces.el (face-set-after-frame-default): Don't change `default' face.
6336
6337 * faces.el (minibuffer-prompt): Adopt some default colors.
6338
6339 * replace.el (query-replace-read-args): Immediate error if read-only.
6340
6341 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
6342 Display the output buffer in a more intelligent way.
6343
6344 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
6345
6346 * ls-lisp.el (insert-directory): Modify the "total" line wording,
6347 in accordance with files.el's insert-directory.
6348
6349 2001-12-29 Richard M. Stallman <rms@gnu.org>
6350
6351 * files.el (basic-save-buffer): If a before-write hook displays
6352 an echo area message, pause before calling basic-save-buffer-1.
6353
6354 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
6355
6356 * textmodes/reftex-global.el (reftex-query-replace-document)
6357 (reftex-change-label): Doc fix.
6358
6359 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
6360
6361 * progmodes/etags.el (tags-query-replace): Doc fix.
6362
6363 2001-12-29 Richard M. Stallman <rms@gnu.org>
6364
6365 * progmodes/compile.el (compile-internal): Fix previous change.
6366
6367 2001-12-28 Richard M. Stallman <rms@gnu.org>
6368
6369 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
6370 shrink the windows above as necessary to get space.
6371 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
6372
6373 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
6374 This fixes a bug that treated all files as directories.
6375 (ange-ftp-insert-directory): Explicitly follow symlinks.
6376
6377 * international/iso-transl.el (iso-transl-char-map) Eliminate the
6378 alias symbols--put the translated sequences here directly.
6379
6380 * progmodes/cc-mode.el (c-mode-abbrev-table)
6381 (c++-mode-abbrev-table, objc-mode-abbrev-table)
6382 (java-mode-abbrev-table, pike-mode-abbrev-table):
6383 Mark all the predefined abbrevs as "system" abbrevs.
6384
6385 * mail/sendmail.el (mail-envelope-from): Fix custom type.
6386 (sendmail-send-it): Check mail-specify-envelope-from
6387 and mail-envelope-from in the mail buffer at start.
6388
6389 2001-12-28 Simon Josefsson <jas@extundo.com>
6390
6391 * mail/sendmail.el (mail-envelope-from): Fix :type.
6392 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
6393
6394 2001-12-28 Richard M. Stallman <rms@gnu.org>
6395
6396 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
6397
6398 * simple.el (line-move-invisible): New subroutine.
6399 (line-move-to-column): New subroutine--smarter about advancing over
6400 invisible parts of a line, or lines, but only as long as hpos grows.
6401 (line-move-finish): New subroutine: repeatedly processes desired
6402 column, intangibility, and fields.
6403 (line-move): Use those subroutines.
6404 When moving lines downward, skip invisible text first rather than last.
6405
6406 2001-12-27 Richard M. Stallman <rms@gnu.org>
6407
6408 * international/mule-diag.el (describe-char-after):
6409 Describe the text properties of the char after point.
6410
6411 * help.el (describe-key): Doc fix.
6412
6413 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
6414
6415 * find-dired.el (find-dired-sentinel): Precede exit message by
6416 two spaces, to match the regexp in dired-between-files.
6417
6418 2001-12-28 Miles Bader <miles@gnu.org>
6419
6420 * wid-edit.el (widget-toggle-value-create): Don't eval actual
6421 images (which are lists too).
6422
6423 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
6424
6425 * language/european.el: Fix the doc string of "Latin-5" language
6426 environment.
6427
6428 2001-12-26 Richard M. Stallman <rms@gnu.org>
6429
6430 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
6431 defined as before 2001-11-09.
6432 (add-minor-mode call): Specify the keymap.
6433
6434 * progmodes/compile.el (compile-internal):
6435 Set TERM variable in process-environment.
6436
6437 2001-12-25 Richard M. Stallman <rms@gnu.org>
6438
6439 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
6440 the buffer.
6441
6442 * startup.el (command-line): Convert command line args
6443 to Emacs internal representation using locale-coding-system.
6444
6445 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
6446
6447 * international/fontset.el: Don't require ind-util when compiling.
6448
6449 2001-12-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6450
6451 * emulation/tpu-edt.el (tpu-reset-screen-size):
6452 Use set-frame-height and set-frame-width instead of set-screen-height
6453 and set-screen-width.
6454
6455 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
6456 of obsolete set-screen-width.
6457
6458 * locate.el (locate): Remove dot at the end of error argument.
6459
6460 * emerge.el (emerge-show-file-name): Use frame-height instead of
6461 obsolete screen-height.
6462
6463 * mail/mh-utils.el (mh-show-msg): Likewise.
6464 (mh-handle-process-error): Use frame-width instead of obsolete
6465 screen-width.
6466
6467 2001-12-25 Richard M. Stallman <rms@gnu.org>
6468
6469 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
6470 to enlarge-window. Use save-selected-window. Don't try
6471 to resize windows that end at the bottom "level".
6472 Retry changing the sizes until the windows get the desired sizes.
6473 Discount the minibuffer when computing total height available.
6474
6475 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
6476 (debugger-make-xrefs): Only make a button for the first symbol
6477 on any line.
6478
6479 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
6480
6481 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
6482 Call IT-setup-unicode-display here instead of adding it to
6483 dos-codepage-setup-hook, so that Unicode display tables are set
6484 before dos-codepage-setup-hook runs.
6485
6486 2001-12-24 Richard M. Stallman <rms@gnu.org>
6487
6488 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
6489 (nslookup-mode-abbrev-table): Don't define it.
6490 (smbclient-mode-abbrev-table): Don't define it.
6491 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
6492 (nslookup-mode, smbclient-mode): Likewise.
6493 (network-connection-service-abbrev-alist): Variable deleted.
6494 (network-connection-mode-setup): Don't set up abbrev table.
6495
6496 * faces.el (minibuffer-prompt): New face.
6497 (minibuffer-prompt-properties): Add `face' property.
6498
6499 * replace.el (occur-mode-display-occurrence): New function.
6500 (occur-mode-map): Bind C-o to it.
6501
6502 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
6503
6504 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
6505 (viper-special-read-and-insert-char): Make C-m work right in the r
6506 comand.
6507 (viper-buffer-search-enable): Fixed format string.
6508
6509 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
6510 instead of viper-info-on-file.
6511 (ex-set-visited-file-name): New function.
6512
6513 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
6514
6515 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
6516 action argument.
6517
6518 * ediff-init.el: Fixed some doc strings.
6519
6520 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
6521 Got rid of make-local-hook.
6522
6523 * ediff-wind.el (ediff-setup-control-frame): Got rid of
6524 make-local-hook.
6525
6526 2001-12-23 Richard M. Stallman <rms@gnu.org>
6527
6528 * term/x-win.el (x-handle-geometry): Put height and width
6529 on default-frame-alist, left and top on initial-frame-alist.
6530 * term/w32-win.el (x-handle-geometry): Likewise.
6531
6532 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
6533
6534 * play/yow.el (yow): Use an arg to distinguish interactive calls,
6535 not interactive-p.
6536
6537 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6538
6539 * emacs-lisp/elint.el (elint-unknown-builtin-args):
6540 Remove mocklisp entries.
6541
6542 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
6543 Lisp. Obsoleted.
6544
6545 * emulation/mlconvert.el: File removed.
6546
6547 * emulation/mlsupport.el: Moved to obsolete.
6548
6549 * obsolete/mlsupport.el: Moved there from lisp/emulation.
6550
6551 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
6552
6553 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6554 Remove mocklisp case.
6555
6556 * help-fns.el (describe-function-1): Remove mocklisp function case.
6557
6558 2001-12-22 Miles Bader <miles@gnu.org>
6559
6560 * textmodes/refill.el (refill-mode): Don't barf when redundantly
6561 turning refill-mode off.
6562
6563 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6564
6565 * time.el (display-time-load-average-threshold): New variable.
6566 (display-time-update): Use it.
6567
6568 These changes allow cycling through past 1, 5 and 15 minutes
6569 load-average displayed in the mode-line.
6570
6571 * time.el (display-time-default-load-average): New customizable option.
6572 (display-time-load-average): New variable.
6573 (display-time-cycle-load-average): New function.
6574 (display-time-update): Use them.
6575
6576 2001-12-21 Richard M. Stallman <rms@gnu.org>
6577
6578 * apropos.el (apropos-print): SPACING is now nil or a separator string.
6579 (apropos-documentation, apropos-value): Pass a suitable string.
6580
6581 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
6582
6583 * dired.el (dired-free-space-program, dired-free-space-args):
6584 Aliases for back-compatibility.
6585
6586 * info.el (Info-select-node): If Info-use-header-line is nil, set
6587 header-line-format to nil.
6588 (Info-fontify-node): Don't put a keymap text property on the
6589 heading if we are not going to display the header line. Remove
6590 any such text properties left over from past visits to this node.
6591
6592 * ls-lisp.el (insert-directory): Insert the amount of free disk
6593 space, like files.el's insert-directory does.
6594
6595 * files.el (directory-free-space-program):
6596 Mention file-system-info in the doc string.
6597 (get-free-disk-space): New function; code moved from insert-directory.
6598 (insert-directory): Call get-free-disk-space to get the amount of
6599 free space.
6600
6601 2001-12-21 Richard M. Stallman <rms@gnu.org>
6602
6603 * help.el (view-order-manuals, view-emacs-news, describe-copying)
6604 (describe-distribution, describe-project): Use view-file.
6605
6606 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
6607
6608 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
6609
6610 * emacs-lisp/easy-mmode.el (define-minor-mode):
6611 Make no arg by default in an interactive call,
6612 so that repeating the command toggles again.
6613
6614 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
6615
6616 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
6617
6618 * antlr-mode.el: More sophisticated indentation of cpp directive.
6619 (antlr-indent-at-bol-alist): New user option.
6620 (antlr-indent-line): Use it.
6621 (antlr-indent-style): New user option.
6622 (antlr-mode): Use it.
6623 (antlr-indent-item-regexp): Customize.
6624
6625 * antlr-mode.el: Syntax highlighting changes.
6626 (antlr-font-lock-literal-regexp): New user option.
6627 (antlr-font-lock-syntax-face): New face used for :, |, ....
6628 (antlr-font-lock-default-face): New face.
6629 (antlr-font-lock-additional-keywords): Use them.
6630
6631 * antlr-mode.el: New command to insert options -- variables.
6632 (antlr-mode-map): New binding [C-c C-o].
6633 (antlr-mode-menu): New submenus.
6634 (antlr-options-use-submenus): New user option.
6635 (antlr-tool-version): New user option.
6636 (antlr-options-auto-colon): New user option.
6637 (antlr-options-style): New user option.
6638 (antlr-options-push-mark): New user option.
6639 (antlr-options-assign-string): New user option.
6640 (antlr-options-headings): New variable.
6641
6642 * antlr-mode.el: New command to insert options -- specific.
6643 (antlr-options-alists): New variable.
6644 (antlr-read-value): New function.
6645 (antlr-read-boolean): New function.
6646 (antlr-language-option-extra): New function.
6647 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
6648 (antlr-c++-mode-extra): New function.
6649 (antlr-grammar-tokens): New function.
6650 (antlr-imenu-create-index-function): New optional argument.
6651
6652 * antlr-mode.el: New command to insert options -- functions.
6653 (antlr-insert-option): New command.
6654 (antlr-insert-option-interactive): New function.
6655 (antlr-options-menu-filter): New function.
6656 (antlr-option-kind): New function.
6657 (antlr-scan-lists): New alias.
6658 (antlr-scan-lists-internal): New function.
6659 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
6660 (antlr-option-level): New function.
6661 (antlr-syntactic-grammar-depth): New function.
6662 (antlr-option-location): New function.
6663 (antlr-insert-option-do): New function.
6664 (antlr-option-spec): New function.
6665 (antlr-version-string): New function.
6666 (antlr-insert-option-existing): New function.
6667 (antlr-insert-option-space): New function.
6668 (antlr-insert-option-area): New function.
6669
6670 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
6671 with narrowing. Menu change. Miscellaneous.
6672 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
6673 (antlr-mode-map): New bindings for characters in ":;|&(){}".
6674 (antlr-electric-character): New command.
6675 (antlr-class-header-regexp): New variable.
6676 (antlr-font-lock-additional-keywords): Use it.
6677 (antlr-imenu-create-index-function): Use it.
6678 (antlr-file-dependencies): Use it.
6679 (antlr-indent-line): Also works with restrictions.
6680 (antlr-indent-command): Interactive spec - changes the buffer.
6681 (antlr-language-for-option): Deletia.
6682 (antlr-language-option): New function, defined instead.
6683 (antlr-mode): Use it.
6684
6685 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
6686
6687 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
6688 instead of a literal /dev/null.
6689
6690 * Makefile.in (distclean): Remove Makefile in the build
6691 directory, not in the source directory.
6692
6693 2001-12-21 Simon Josefsson <jas@extundo.com>.
6694
6695 * mail/smtpmail.el (smtpmail-send-queued-mail):
6696 Use with-temp-buffer instead of find-file-noselect, and bind
6697 coding-system-for-read to no-conversion when reading the queued
6698 messages. (Simon's code modified slightly by Eli Zaretskii.)
6699
6700 2001-12-20 Werner Lemberg <wl@gnu.org>
6701
6702 * international/mule-diag.el (describe-coding-system)
6703 (print-coding-system-briefly): Make printed output have a similar
6704 format as describe-character-set.
6705
6706 2001-12-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6707
6708 * play/blackbox.el (bb-member): Remove, use member instead.
6709 (bb-delete): Remove, use delete instead.
6710 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
6711 bb-score, bb-detour-count and bb-balls-placed.
6712 Propertize results of rays.
6713
6714 2001-12-19 Karl Fogel <kfogel@red-bean.com>
6715
6716 * isearch.el (isearch-forward, isearch-edit-string): Make doc
6717 strings mention keybinding for `isearch-yank-word-or-char',
6718 rather than `isearch-yank-word', since the former is bound now
6719 and the latter is not.
6720 (isearch-yank-word-or-char): Fix formatting.
6721
6722 2001-12-19 Werner Lemberg <wl@gnu.org>
6723
6724 * language/czech.el, language/european.el, language/slovak.el:
6725 More fixes for language info doc strings.
6726
6727 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
6728
6729 * loadup.el: Add "language" to the load-path.
6730
6731 2001-12-19 Richard M. Stallman <rms@gnu.org>
6732
6733 * international/mule-cmds.el (describe-language-environment):
6734 Fix calls to help-xref-button.
6735
6736 2001-12-19 Miles Bader <miles@gnu.org>
6737
6738 * international/fontset.el: Require `ind-util' when compiling.
6739
6740 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6741
6742 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
6743 instead of decompose-composite-char.
6744
6745 2001-12-18 Richard M. Stallman <rms@gnu.org>
6746
6747 * simple.el (eval-expression-print-level)
6748 (eval-expression-print-length): Doc fixes.
6749
6750 * international/mule-diag.el (describe-character-set):
6751 Fix the arg to help-xref-button.
6752
6753 * files.el (directory-free-space-program): New variable.
6754 (directory-free-space-args): New variable.
6755 (insert-directory): Use those two variables for getting free space.
6756 Use file-system-info instead, if that is defined.
6757
6758 * dired.el (dired-free-space-program): Variable deleted.
6759 (dired-free-space-args): Variable deleted.
6760 (dired-insert-directory): Don't try to determine free space.
6761
6762 * files.el (font-lock-defaults): Add risky-local-variables prop.
6763 (hack-one-local-variable): Treat various font-lock variables as risky.
6764
6765 2001-12-18 Werner Lemberg <wl@gnu.org>
6766
6767 * language/chinese.el, language/cyrillic.el:
6768 * language/czech.el, language/european.el, language/greek.el:
6769 * language/hebrew.el, language/indian.el, language/japanese.el:
6770 * language/korean.el, language/lao.el, language/slovak.el:
6771 * language/thai.el, language/tibetan.el, language/vietnamese.el:
6772 Improve documentation strings of coding systems and language infos.
6773
6774 2001-12-18 Werner LEMBERG <wl@gnu.org>
6775
6776 Add support for EUC-TW decoding/encoding.
6777
6778 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
6779 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
6780 New auxiliary functions to build `big5-to-cns'.
6781 (big5-to-cns): New translation alist.
6782
6783 * language/chinese.el: Added new coding system `euc-tw' and its
6784 alias `euc-taiwan'.
6785 Updated language `Chinese-CNS' to include euc-tw encoding also.
6786 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
6787 euc-tw.
6788
6789 2001-12-18 Dave Love <fx@gnu.org>
6790
6791 * loadup.el: Add language/utf-8-lang, language/georgian.
6792
6793 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
6794 (image-file-name-regexps): Doc fix.
6795
6796 * server.el (server-unload-hook): New function.
6797
6798 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
6799 (lm-crack-copyright): Cope with multi-line copyright `lines'.
6800
6801 * simple.el (newline): Doc fix.
6802 (eval-expression-print-level, eval-expression-print-length): Doc
6803 fix. Amend :type.
6804 (next-line, previous-line): Make arg optional.
6805 (newline): Doc fix.
6806
6807 * Makefile.in (DONTCOMPILE): Add various language files.
6808
6809 * international/quail.el (quail-input-string-to-events): Don't use
6810 string-to-list.
6811
6812 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
6813 calling `newline'.
6814
6815 2001-12-17 Richard M. Stallman <rms@gnu.org>
6816
6817 * comint.el (comint-dynamic-list-input-ring-select): New function.
6818 Switches back to the old window configuration.
6819 (comint-dynamic-list-input-ring): Bind RET to that function.
6820 (comint-dynamic-list-input-ring-window-conf): New variable.
6821
6822 2001-12-17 Werner Lemberg <wl@gnu.org>
6823
6824 * international/mule-conf.el: Improve documentation strings of
6825 character sets.
6826
6827 2001-12-16 Richard M. Stallman <rms@gnu.org>
6828
6829 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
6830 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
6831
6832 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
6833
6834 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
6835 Add a DESCRIPTION for the makefile item.
6836
6837 * find-file.el (ff-other-file-name): New function.
6838
6839 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
6840
6841 * international/quail.el (quail-input-string-to-events): Fix last
6842 change.
6843
6844 2001-12-16 Richard M. Stallman <rms@gnu.org>
6845
6846 * isearch.el (isearch-edit-string): When we set isearch-string
6847 to the default, also set isearch-message.
6848
6849 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
6850
6851 * startup.el (command-line-1): Display startup screen
6852 even if there are command line args.
6853 Add a note about how to go to editing your files.
6854 (fancy-splash-head): Add a note about how to go to your files.
6855 (fancy-splash-outer-buffer): New variable.
6856 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
6857
6858 * subr.el (with-temp-message): At the end, always discard
6859 the temp message, even by clearing the echo area.
6860
6861 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
6862
6863 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
6864
6865 * log-view.el (log-view-message-re, log-view-current-tag):
6866 Recognize Subversion's log output format.
6867
6868 * international/fontset.el: Build the list L at compile time.
6869
6870 * language/ind-util.el (mapthread): Make a closure.
6871
6872 2001-12-15 Richard M. Stallman <rms@gnu.org>
6873
6874 * isearch.el (isearch-start-hscroll): New variable.
6875 (isearch-mode): Set isearch-start-hscroll.
6876 (isearch-update): Restore original hscrolling if possible.
6877
6878 * isearch.el (isearch-edit-string):
6879 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
6880
6881 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
6882 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
6883 rather than regexp search and (2) copying text properties
6884 already set up on text unchanged from the previous backtrace.
6885
6886 * case-table.el (set-case-syntax-pair):
6887 Detect invalid calls and signal an error.
6888
6889 2001-12-15 Richard M. Stallman <rms@gnu.org>
6890
6891 * language/ind-util.el (range): Function deleted.
6892 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
6893 All calls changed.
6894
6895 * language/devan-util.el (devanagari-range): Renamed from `range'.
6896 All calls changed.
6897 (devanagari-regexp-of-hashtbl-keys):
6898 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
6899
6900 2001-12-15 Dave Love <fx@gnu.org>
6901
6902 * language/ind-util.el: Don't require cl.
6903 (indian-glyph-char, indian-glyph-max-char)
6904 (indian-char-glyph): Moved from indian.el
6905 (indian--puthash-char, mapthread): Don't quote lambda.
6906 (indian--map): New function.
6907 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
6908 (indian--puthash-cv): Use it.
6909
6910 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
6911 (indian-char-glyph): Moved to ind-util.el
6912
6913 * language/devan-util.el (devanagari-post-read-conversion):
6914 New function.
6915
6916 * language/georgian.el: New file.
6917
6918 * international/mule-cmds.el (locale-language-names): Add various
6919 entries. Remove utf-8 special case.
6920 (locale-charset-language-names, locale-preferred-coding-systems):
6921 Add utf-8 case.
6922 (set-language-environment): Process required-features earlier.
6923
6924 * international/quail.el (quail-keyboard-layout-alist):
6925 Add pc105-uk.
6926 (quail-keyboard-layout-type): Fix :type.
6927 (quail-choose-completion-string): Simplify.
6928 (quail-update-leim-list-file): Don't get fooled by commented-out code.
6929 (quail-input-string-to-events): Run events through
6930 translation-table-for-input.
6931
6932 * international/mule-conf.el (translation-table-for-input):
6933 New variable.
6934 (latin-iso8859-14): Amend description.
6935 (file-coding-system-alist): Add entry for utf-8.
6936
6937 * language/utf-8-lang.el: New file.
6938
6939 * international/code-pages.el: New file.
6940
6941 * language/hebrew.el ("Windows-1255"): New language.
6942
6943 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
6944 ("Latvian"): New languages.
6945
6946 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
6947
6948 * xml.el: Use setq rather than (set 'foo bar).
6949 Use push+nreverse rather than append.
6950 (xml-node-name, xml-node-attributes, xml-node-children):
6951 Use defsubst rather than macros.
6952 (xml-parse-region): Handle a nil return value from xml-parse-tag.
6953 (xml-parse-tag): Don't skip white space. Return nil for a comment.
6954 Concat the two strings surrounding a comment into a single string.
6955
6956 * newcomment.el (comment-indent): Jump to the middle of empty comments.
6957
6958 2001-12-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6959
6960 * select.el (xselect-convert-to-class, xselect-convert-to-name):
6961 Document.
6962
6963 2001-12-14 Andre Spiegel <spiegel@gnu.org>
6964
6965 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
6966 Return nil if FILE is not registered.
6967 (vc-check-master-templates, vc-default-make-version-backups-p):
6968 Doc fix.
6969
6970 2001-12-13 David Ponce <david@dponce.com>
6971
6972 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
6973 (ruler-mode-left-fringe-cols): New macro.
6974 (ruler-mode-right-fringe-cols): New macro.
6975 (ruler-mode-left-scroll-bar-cols): New macro.
6976 (ruler-mode-right-scroll-bar-cols): New macro.
6977 (ruler-mode-ruler): Use above new macros.
6978
6979 2001-12-13 Richard M. Stallman <rms@gnu.org>
6980
6981 * files.el (set-auto-mode): Fix previous change.
6982
6983 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
6984
6985 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
6986 (easy-menu-do-define, easy-menu-convert-item-1)
6987 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
6988 (easy-menu-return-item): Only return nil if there is no binding.
6989
6990 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
6991
6992 * whitespace.el (whitespace-version): 3.2
6993 * whitespace.el (whitespace-force-mode-line-update): Replace with
6994 `whitespace-mode-line-update', which is an alias to the correct
6995 function in various emacsen.
6996 * whitespace.el (whitespace-{un,}highlight-the-space):
6997 Add colorized highlighting of the bogus whitespaces in a buffer/file,
6998 using the `whitespace-highlight-face' if
6999 `whitespace-display-spaces-in-color' is set.
7000
7001 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
7002
7003 * international/mule.el (set-auto-coding): Don't search for
7004 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
7005
7006 2001-12-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7007
7008 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
7009
7010 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
7011
7012 * mail/rmailsum.el (rmail-summary-mode): Likewise.
7013
7014 2001-12-13 Richard M. Stallman <rms@gnu.org>
7015
7016 * simple.el (undo): Always set this-command to `undo',
7017 so that the next undo after an error will not begin redoing.
7018
7019 * simple.el (shell-command): Doc fix.
7020 (shell-command-on-region): If there is output an an error,
7021 add "...Shell command failed" to the output.
7022
7023 2001-12-13 David Ponce <david@dponce.com>
7024
7025 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
7026 (ruler-mode-left-fringe-cols): Function replaced by more efficient
7027 implementation `ruler-mode-extra-left-cols'.
7028 (ruler-mode-ruler): Use above new function. Take into account
7029 that the fringe areas can now be resized.
7030
7031 2001-12-12 Richard M. Stallman <rms@gnu.org>
7032
7033 * international/characters.el (Unicode): Comment out
7034 the specifications for kelvin and angstrom signs.
7035
7036 * international/mule.el (make-translation-table-from-vector):
7037 Allow null elements in VEC.
7038
7039 * international/ucs-tables.el (unify-8859-on-encoding-mode)
7040 (unify-8859-on-decoding-mode): Swap the code in their bodies.
7041 Add :version.
7042
7043 2001-12-11 Richard M. Stallman <rms@gnu.org>
7044
7045 * derived.el (derived-mode-p): Function moved to subr.el.
7046
7047 * subr.el (derived-mode-p): Moved here from derived.el.
7048
7049 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
7050
7051 * files.el (set-auto-mode-1): New subroutine, broken out of
7052 set-auto-mode.
7053 (set-auto-mode, hack-local-variables-prop-line): Use that.
7054
7055 2001-12-11 Dave Love <fx@gnu.org>
7056
7057 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
7058
7059 * language/european.el: Remove autoload cookies. Fix registration
7060 of diacritic composition function.
7061
7062 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7063
7064 * calendar/todo-mode.el: Require time-stamp.
7065
7066 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
7067
7068 2001-12-11 Richard M. Stallman <rms@gnu.org>
7069
7070 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
7071
7072 * textmodes/ispell.el (ispell-buffer-local-parsing):
7073 Match xml like sgml.
7074
7075 * emacs-lisp/advice.el (ad-compile-function):
7076 Byte compile the function under another (uninterned) name.
7077
7078 * gud.el (gdb): Define and bind gud-jump.
7079
7080 * font-lock.el (font-lock-mode):
7081 Put our function at the end of after-change-functions.
7082
7083 * ediff-diff.el (ediff-cmp-options): Doc fix.
7084
7085 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
7086
7087 2001-12-10 Richard M. Stallman <rms@gnu.org>
7088
7089 * isearch.el (isearch-yank-word-or-char): New function.
7090 (isearch-mode-map): Bind C-w to that.
7091
7092 * menu-bar.el (menu-bar-mode): Make arg optional.
7093
7094 * simple.el (line-move): Cope if next-single-property-change
7095 or previous-single-property-change returns nil.
7096
7097 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
7098 Don't use interactive-p; instead, pass the proper args
7099 in (interactive...). Clean up most of the trouble-report strings.
7100
7101 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
7102
7103 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
7104 enqueued messages literally.
7105
7106 2001-12-10 Noah Friedman <friedman@splode.com>
7107
7108 * battery.el (battery-insert-file-contents): Obsolete function
7109 removed.
7110 (battery-read-function): Obsolete function removed.
7111 (battery-linux-proc-apm): Use insert-file-contents.
7112
7113 2001-12-07 Stephen Eglen <stephen@gnu.org>
7114
7115 * iswitchb.el (iswitchb-visit-buffer):
7116 Use `select-frame-set-input-focus'--needed when window manager
7117 uses "click to focus" policy.
7118
7119 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7120
7121 * COPYING: Moved back.
7122
7123 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
7124
7125 * term/internal.el (IT-character-translations): Add entries for
7126 more points.
7127
7128 * international/characters.el: Resurrect the Hebrew category
7129 settings for all Hebrew characters removed by the last change.
7130 Add code for setting the Hebrew category of the Unicode Hebrew
7131 characters. Set syntax entries for Hebrew punctuation characters.
7132
7133 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
7134 points and directional formatting control characters.
7135
7136 2001-12-07 Dave Love <fx@gnu.org>
7137
7138 * language/lao-util.el: Add Unicode equivalents for rules.
7139 (lao-post-read-conversion): New function.
7140
7141 * language/lao.el: Add Unicode equivalents.
7142 (lao): Add post-read conversion.
7143
7144 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
7145 Use iso2022 encoding.
7146 (latin1-char-displayable-p): Doc fix.
7147 (latin1-display-ucs-per-lynx): New option.
7148 (latin1-display-ucs-per-lynx): New command.
7149 (latin1-display-reset): Special-case arabic.
7150 (ucs-tables): Require.
7151 (latin1-display-sets, latin1-display-setup): Add arabic.
7152 (latin1-display) <variable>: Use function latin1-display.
7153 (latin1-display) <function>: Add mule-unicode stuff.
7154 (latin1-display-check-font): Don't lose if `info' is nil.
7155
7156 * international/iso-transl.el: Insert Latin-1 characters, not
7157 unibyte codes.
7158
7159 * language/european.el (diacritic-composition-pattern): New constant.
7160 (diacritic-compose-region, diacritic-compose-string)
7161 (diacritic-compose-buffer, diacritic-post-read-conversion)
7162 (diacritic-composition-function): New functions.
7163
7164 * international/utf-8.el (ucs-mule-to-mule-unicode):
7165 New translation table.
7166 (ccl-encode-mule-utf-8): Use it.
7167 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
7168 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
7169 (utf-8-subst-table): New variable.
7170 (utf-8-compose-scripts): New option.
7171 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
7172
7173 * international/ucs-tables.el, international/utf-8-subst.el:
7174 New files.
7175
7176 * international/characters.el: Don't set word syntax (the default)
7177 explicitly. Add a diacritic category. Add info for Unicode
7178 equivalents of characters in various Mule charsets and for extra
7179 Unicode characters. Don't define specific categories for
7180 Indian/Devanagari, since they aren't used.
7181
7182 2001-12-06 Richard M. Stallman <rms@gnu.org>
7183
7184 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
7185 (set-justification-left, set-justification-right): Doc fix.
7186
7187 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
7188 (bug-f90-mode): Variable deleted.
7189
7190 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
7191
7192 * indent.el (indent-line-function): Default is indent-relative again.
7193
7194 2001-12-07 Miles Bader <miles@gnu.org>
7195
7196 * progmodes/compile.el (compilation-error-regexp-alist):
7197 Added regexps for RXP.
7198
7199 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
7200
7201 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
7202 Add shift-assignment operators to those highlighted, and highlight
7203 the whole operator rather than just the "=".
7204
7205 2001-12-04 Juanma Barranquero <lektu@terra.es>
7206
7207 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
7208 before saving abbrevs if `save-abbrevs' has the value `silently'.
7209
7210 2001-12-04 Andreas Schwab <schwab@suse.de>
7211
7212 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
7213
7214 2001-12-04 Colin Walters <walters@debian.org>
7215
7216 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
7217 for `defmacro*' forms.
7218
7219 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
7220 `defmacro*'.
7221
7222 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
7223
7224 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
7225
7226 2001-12-02 Richard M. Stallman <rms@gnu.org>
7227
7228 * files.el (insert-directory): If the df output does not look right,
7229 don't try to use it. Other cleanups in overall code structure.
7230
7231 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
7232
7233 * textmodes/outline.el (outline-mode-prefix-map):
7234 Add bindings for outline-promote and outline-demote.
7235 (outline-minor-mode-menu-bar-map): New var.
7236 (outline-minor-mode): Use it.
7237 (outline-heading-alist): New var (renamed from outline-level-heading).
7238 (outline-level): Use it.
7239 (outline-insert-heading, outline-promote, outline-demote):
7240 Update to use outline-heading-alist.
7241
7242 * disp-table.el (standard-display-european):
7243 Simplify since the function is not interactive any more.
7244 Don't set the existing buffers to unibyte.
7245
7246 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
7247
7248 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
7249
7250 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
7251
7252 * shell.el (shell): Use shell-file-name.
7253 Pop to buffer before calling comint to set COLUMNS properly.
7254
7255 * emacs-lisp/cl.el (svref): New alias.
7256
7257 * progmodes/antlr-mode.el (antlr-c-common-init):
7258 Don't inhibit adaptive-fill-mode any more.
7259
7260 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
7261
7262 * progmodes/etags.el (tags-with-face): Use make-symbol.
7263 (tags-search, tags-query-replace): Use backquotes.
7264
7265 * textmodes/picture.el (picture-mode-map): Don't use defconst
7266 for a variable.
7267
7268 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7269
7270 * textmodes/reftex-index.el (reftex-index-mode):
7271 Remove make-local-hook.
7272
7273 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
7274
7275 2001-12-02 Kim F. Storm <storm@cua.dk>
7276
7277 * isearch.el (isearch-resume-enabled): New variable.
7278 (isearch-done): Use that variable.
7279
7280 2001-12-01 Richard M. Stallman <rms@gnu.org>
7281
7282 * wid-edit.el (widget-button-click): Don't move point permanently:
7283 Avoid mouse-set-point--instead select the window,
7284 then do save-excursion, then move point.
7285 Specify the buffer for get-char-property.
7286 Don't use `@' in interactive.
7287
7288 * indent.el (indent-line-function):
7289 Default is indent-to-left-margin again.
7290
7291 * replace.el (query-replace-read-args): Display message
7292 if FROM contains `\n' or `\t'.
7293
7294 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
7295
7296 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
7297
7298 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
7299
7300 * emacs-lisp/regexp-opt.el (regexp-opt):
7301 Bind completion-regexp-list to nil.
7302
7303 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
7304
7305 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
7306
7307 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
7308 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
7309 Update maintainer.
7310
7311 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
7312
7313 * mail/smtpmail.el: Use with-current-buffer.
7314 (message-make-date, message-make-message-id): Autoload when needed.
7315 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
7316 headers when missing.
7317
7318 * international/encoded-kb.el (encoded-kbd-mode):
7319 Use define-minor-mode.
7320
7321 * enriched.el (enriched-mode): Use define-minor-mode.
7322 Use dolist and pop and push.
7323
7324 * info.el (Info-find-node-2): Don't call info-insert-file-contents
7325 with the `visit' argument.
7326 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
7327
7328 * progmodes/hideif.el (hide-ifdef-mode): Only modify
7329 `change-major-mode-hook' locally. Reset invisibility spec.
7330
7331 * man.el (Man-build-section-alist): Remove last Man-match-substring.
7332
7333 2001-11-30 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7334
7335 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
7336 Clarify error message.
7337
7338 2001-11-29 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7339
7340 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
7341
7342 2001-11-30 Andre Spiegel <spiegel@gnu.org>
7343
7344 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
7345 don't just return it.
7346
7347 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
7348
7349 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
7350 (menu-bar-read-emacs-man, search-emacs-glossary)
7351 (emacs-index-search, elisp-index-search): New functions.
7352 (apropso-documentation, apropos, apropos-value, apropos-variable)
7353 (apropos-commands): Modify menu item names and help text.
7354 (elisp-index-search, emacs-index-search, emacs-glossary):
7355 New menu items.
7356 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
7357 submenu.
7358 (info-elisp, info-elintro): New menu items.
7359 (apropos): Modify the menu item name.
7360
7361 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
7362
7363 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
7364
7365 * textmodes/outline.el (outline-promote, outline-demote): Typo.
7366
7367 * man.el (man-follow-mouse): New function.
7368 (Man-mode-map): Bind mouse-2 to it.
7369 (Man-match-substring): Remove. Replace with `match-string'.
7370 (man): Use the `default-value' argument to `read-string'.
7371 (Man-fontify-manpage): Add mouse-face to cross references.
7372
7373 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
7374
7375 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
7376
7377 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
7378 the value of require-match in minibuffer-completion-confirm.
7379 Use crm-local-completion-map.
7380
7381 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
7382 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
7383 (cl-make-type-test): Use char-valid-p for `character'.
7384
7385 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
7386 (Info-complete-menu-item): Rewrite. Add the ability to search
7387 several sequential nodes. Add a simple caching mechanism.
7388 (Info-goto-index): New function extracted from Info-index.
7389 (Info-index): Use it. Add completion to the interactive spec.
7390 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
7391
7392 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7393
7394 * COPYING: Removed.
7395
7396 2001-11-29 Dave Love <fx@gnu.org>
7397
7398 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
7399 (fortran-window-create, fortran-window-create-momentarily):
7400 Rewrite, moving error condition.
7401 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
7402 (fortran-mode-syntax-table): Revert last change.
7403
7404 * international/mule.el: Doc fixes.
7405 (map-charset-chars): New function.
7406 (register-char-codings): Use it to cope with generic chars in
7407 safe-chars.
7408
7409 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7410
7411 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
7412
7413 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
7414
7415 * play/studly.el (studlify-word, studlify-region)
7416 (studlify-buffer): Fix doc-string.
7417 (studlify-buffer): Add autoload cookie.
7418
7419 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
7420
7421 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
7422 (outline-up-heading-all): Remove.
7423 (hide-sublevels): Move to end-of-heading before calling flag-region.
7424 (outline-copy-overlay, outline-discard-overlays): Remove.
7425 (outline-flag-region): Use `remove-overlays'.
7426 Don't move to end-of-heading.
7427 (outline-next-visible-heading, outline-back-to-heading)
7428 (outline-on-heading-p): Use outline-invisible-p.
7429 (outline-font-lock-level): Use outline-up-heading's new arg.
7430 (outline-minor-mode): Simplify.
7431 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
7432 (outline): Put a `reveal-toggle-invisible' property.
7433 (outline-level-heading): New var.
7434 (outline-insert-heading, outline-promote, outline-demote)
7435 (outline-toggle-children): New commands.
7436
7437 * progmodes/hideif.el (hif-end-of-line): New function.
7438 (hide-ifdef-mode): Set line-move-ignore-invisible.
7439 (hide-ifdef-region-internal): New function.
7440 (hide-ifdef-region): Use it.
7441 (hif-defined): Return an integer.
7442 (hif-infix-to-prefix): Remove.
7443 (hif-tokenize): Parse from the buffer rather than from a string.
7444 Correctly tokenize integers. Use forward-comment.
7445 (hif-expr): Use hif-or.
7446 (hif-term): Use hif-and.
7447 (hif-factor): Use hif-not. Handle numbers properly.
7448 Don't require parenthesis around `defined's argument.
7449 (hif-and, hif-or, hif-not): New funs.
7450 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
7451 (hif-hide-line): Don't hide the \n before the line.
7452 (hif-possibly-hide): Correctly handle numeric evaluation results.
7453
7454 * progmodes/make-mode.el: Use line-(end|beginning)-position.
7455 (makefile-mode): Set indent-line-function.
7456 (makefile-browser-insert-continuation): Use with-current-buffer.
7457 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
7458
7459 2001-11-28 Karl Fogel <kfogel@red-bean.com>
7460
7461 * isearch.el (isearch-yank-internal): New helper function.
7462 (isearch-yank-char): New function.
7463 (isearch-yank-word, isearch-yank-line): Rewrite to use
7464 isearch-yank-internal.
7465
7466 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
7467
7468 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
7469 aren't supported. Print a message to that effect if invoked.
7470
7471 2001-11-27 Stephen Eglen <stephen@gnu.org>
7472
7473 * locate.el (locate): Put point at first matching file rather
7474 than top of buffer.
7475
7476 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
7477
7478 * reveal.el: New file.
7479
7480 * progmodes/hideif.el: Misc cleanup.
7481 (hide-ifdef-mode-submap): Put the def in the defvar.
7482 Use substitute-key-definition.
7483 (hide-ifdef-mode): Use define-minor-mode.
7484 (hif-outline-flag-region): Remove.
7485 (hif-show-all): Define in terms of hif-show-ifdef-region.
7486 (hif-after-revert-function): Rename from hif-before-revert-function.
7487 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
7488 (hif-tokenize): Use with-syntax-table.
7489 (hif-make-range): Use `else' also for `else-p'.
7490 (hif-range-else-p): Remove.
7491 (hif-find-range): Simplify.
7492 (hif-hide-line): Don't bother preserving buffer-modified-p.
7493 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
7494 Don't use selective-display and inhibit-read-only.
7495
7496 * subr.el (copy-overlay, remove-overlays): New funs.
7497
7498 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
7499
7500 2001-11-27 Sam Steingold <sds@gnu.org>
7501
7502 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
7503 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
7504 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
7505 * obsolete/c-mode.el, obsolete/cplus-md.el
7506 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
7507 * term/sun-mouse.el, textmodes/artist.el:
7508 Converted backquote to the new style.
7509 * mouse.el, reposition.el: Likewise (in comments).
7510 * expand.el: Likewise (in a string).
7511
7512 2001-11-27 Richard M. Stallman <rms@gnu.org>
7513
7514 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
7515
7516 2001-11-26 Richard M. Stallman <rms@gnu.org>
7517
7518 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
7519 if :on-glyph or :off-glyph is a list, eval it and store it back.
7520 (checkbox): Quote the values for :on-glyph and :off-glyph.
7521
7522 * cus-start.el (recursive-load-depth-limit): Delete item.
7523
7524 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
7525
7526 * help-fns.el (describe-categories, help-describe-category-set): New.
7527 describe-categories moved here from src/category.c.
7528
7529 2001-11-26 Sam Steingold <sds@gnu.org>
7530
7531 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
7532 arguments to `insert' are strings.
7533
7534 2001-11-26 Richard M. Stallman <rms@gnu.org>
7535
7536 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
7537
7538 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
7539
7540 * international/mule-diag.el: Require help-fns instead of
7541 help-funs.
7542
7543 * help-fns.el: Renamed from help-funs.el.
7544
7545 * startup.el (command-line-1): Don't try to call process-list if
7546 it is not fboundp.
7547
7548 2001-11-26 Sam Steingold <sds@gnu.org>
7549
7550 * frame.el (show-trailing-whitespace): Remove :set argument (the
7551 value was essentially identical to the defalt).
7552
7553 2001-11-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7554
7555 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
7556
7557 * icomplete.el (icomplete-minibuffer-setup): Likewise.
7558
7559 * hilit-chg.el (hilit-chg-set): Likewise.
7560
7561 * speedbar.el (speedbar-mode): Likewise.
7562
7563 * calendar/calendar.el (calendar-mode): Likewise.
7564
7565 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
7566 insert-string.
7567
7568 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
7569
7570 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
7571
7572 * term/sun-mouse.el (sun-yank-selection): Likewise.
7573
7574 * textmodes/bib-mode.el (return-key-bib): Likewise.
7575
7576 * calendar/appt.el (appt-disp-window): Likewise.
7577
7578 * calendar/diary-lib.el (list-diary-entries): Likewise.
7579
7580 * array.el (array-reconfigure-rows): Likewise.
7581
7582 * filecache.el (file-cache-minibuffer-complete): Likewise.
7583
7584 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
7585
7586 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
7587
7588 * allout.el (outline-version, outline-open-topic)
7589 (outline-rebullet-heading, outline-insert-listified)
7590 (outline-latex-verbatim-quote-curr-line)
7591 (outline-latexify-one-item, outlineify-sticky): Likewise.
7592
7593 * vc.el (vc-next-action-on-file): Likewise.
7594 (vc-dired-mode): Remove make-local-hook.
7595
7596 2001-11-26 Andre Spiegel <spiegel@gnu.org>
7597
7598 * vc.el (vc-find-version): New function.
7599 (vc-version-other-window): Redefined in terms of the above.
7600
7601 * log-view.el (log-view-find-version): New function.
7602 (log-view-mode-map): Bind it to `f'.
7603
7604 2001-11-26 Gerd Moellmann <gerd@gnu.org>
7605
7606 * language/devan-util.el (dev-char-glyph): Escape `"' in
7607 string literals.
7608 (dev-glyph-glyph, dev-glyph-glyph-2)
7609 (devanagari-compose-syllable-region): Likewise.
7610
7611 2001-11-26 Richard M. Stallman <rms@gnu.org>
7612
7613 * window.el (save-selected-window): No error if saved window is dead.
7614
7615 * help-funs.el (describe-syntax): Put (interactive) after doc string.
7616
7617 2001-11-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7618
7619 * international/quail.el (quail-help): Require help-mode in
7620 top-level instead.
7621
7622 * iswitchb.el (iswitchb-exhibit): Use insert instead of
7623 insert-string.
7624
7625 * icomplete.el (icomplete-exhibit): Likewise.
7626
7627 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
7628
7629 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
7630 (diff-hunk-kill): Simplify.
7631 (diff-post-command-hook): Only apply to a single hunk.
7632 (diff-hunk-text): Make `char-offset' non-optional.
7633 (diff-find-text): Return a cons cell.
7634 (diff-find-approx-text): New fun.
7635 (diff-find-source-location): Use it.
7636 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
7637 Adapt to new retval of diff-find-text.
7638
7639 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
7640 rather than integer- representation of dates.
7641
7642 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
7643
7644 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
7645 (syntax-after): New fun.
7646
7647 * help-funs.el (describe-syntax): New fun.
7648
7649 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
7650 (font-lock-ppss-stats, font-lock-ppss): Remove.
7651 (font-lock-fontify-syntactically-region): Remove tuning code.
7652 (font-lock-compile-keywords): Fix off-by-one bug.
7653 (font-lock-set-defaults): Don't set removed vars.
7654 (c-keywords): Add `inline'.
7655 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
7656
7657 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7658 Set syntax-begin-function.
7659 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
7660 (lisp-interaction-mode): Don't set local-abbrev-table any more.
7661 (lisp-mode-auto-fill): Use syntax-ppss and obey
7662 comment-auto-fill-only-comments.
7663 (lisp-fill-paragraph): Use syntax-ppss.
7664
7665 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
7666
7667 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
7668 version of rmail-enable-mime.
7669 (rmail-forward): Use it.
7670
7671 2001-11-25 Richard M. Stallman <rms@gnu.org>
7672
7673 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
7674
7675 * international/quail.el (quail-keyboard-layout-button):
7676 Define button type.
7677 (quail-keyboard-customize-button): Likewise.
7678 (quail-help): Use those button types. Require `help-mode'.
7679 Avoid altering the argument `package'.
7680
7681 * help-mode.el (help-function, help-variable, help-face)
7682 (help-coding-system, help-input-method, help-character-set):
7683 Define each button type with its own explicit define-button-type.
7684
7685 * language/devan-util.el: Comment out parts of the file
7686 which apparently are garbled.
7687
7688 2001-11-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7689
7690 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
7691 insert-string.
7692
7693 2001-11-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7694
7695 * play/snake.el (snake-mode): Remove make-local-hook.
7696
7697 * play/tetris.el (tetris-mode): Likewise.
7698
7699 * play/decipher.el (decipher-mode): Likewise.
7700
7701 * tmm.el (tmm-add-prompt): Likewise.
7702
7703 2001-11-25 Sam Steingold <sds@gnu.org>
7704
7705 * menu-bar.el (menu-bar-apropos-menu): New variable.
7706 Moved all `apropos' bindings to this menu.
7707 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
7708
7709 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
7710
7711 The following changes are for new indian languages support based
7712 on Unicode charset and CDAC fonts.
7713
7714 * international/mule-conf.el: Change indian-1-column charset to
7715 indian-glyph charset.
7716
7717 * international/characters.el: Adjusted for the change of
7718 indian-1-column -> indian-glyph.
7719
7720 * international/fontset.el: Delete the setting for indian-1-column
7721 and add the setting for indian-glyph in the default fontset.
7722
7723 * language/indian.el: Completely re-written.
7724
7725 * language/devanagari.el: Completely re-written.
7726
7727 * language/devan-util.el: Completely re-written.
7728
7729 * language/ind-util.el: New file.
7730
7731 2001-11-24 Richard M. Stallman <rms@gnu.org>
7732
7733 * startup.el (command-line-1): Don't do startup screen
7734 if a subprocess is running. Call the startup screen buffer
7735 "GNU Emacs". Make a special mode-line-format for it.
7736
7737 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
7738 (browse-url-galeon): Use that variable.
7739
7740 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
7741 eval-expression. Eval and set the variable simply.
7742
7743 * files.el (temporary-file-directory): Use defcustom.
7744 (small-temporary-file-directory): Likewise.
7745 (normal-backup-enable-predicate): Move down in file
7746 after definition of temporary-file-directory.
7747
7748 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
7749
7750 2001-11-24 Colin Walters <walters@debian.org>
7751
7752 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
7753 autoload names to match files renamed on initial calc import.
7754
7755 * calc/calc.el (Commentary): Cleanup, and add logistic curve
7756 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
7757
7758 2001-11-23 Colin Walters <walters@debian.org>
7759
7760 * Makefile.in (finder_setwins, setwins): Include Calc again.
7761
7762 * calc/calc-rules.el: Add header comment.
7763
7764 2001-11-23 Andre Spiegel <spiegel@gnu.org>
7765
7766 * vc.el (with-vc-properties): Don't bind `filename' locally.
7767 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
7768 to avoid name clashes. Fix `lisp-indent-function' property for
7769 both.
7770
7771 2001-11-23 Francesco Potorti` <pot@gnu.org>
7772
7773 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
7774
7775 2001-11-22 Colin Walters <walters@debian.org>
7776
7777 * calc/calc-misc.el (report-calc-bug):
7778 Use `reporter-prompt-for-summary-p'.
7779
7780 * calc/INSTALL, calc/Makefile: Remove.
7781
7782 2001-11-22 Miles Bader <miles@gnu.org>
7783
7784 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
7785 (reb-match-2, reb-match-3): Add dark-background variants.
7786
7787 2001-11-22 Colin Walters <walters@debian.org>
7788
7789 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
7790 (info "Calc").
7791 (report-calc-bug): Use reporter.el.
7792
7793 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
7794
7795 2001-11-21 Richard M. Stallman <rms@gnu.org>
7796
7797 * which-func.el (which-function): Call imenu--make-index-alist
7798 if necessary to get a list of functions.
7799 (which-function-imenu-failed): New variable.
7800 (which-func-update): Handle all visible windows.
7801 (which-func-update-1): New subroutine broken out of which-func-update.
7802
7803 * files.el (temporary-file-directory, null-device)
7804 (small-temporary-file-directory): Definitions moved up.
7805
7806 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
7807 (cperl-non-problems, cperl-praise): Doc fixes.
7808
7809 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
7810 (sh-mode-syntax-table): Function restored.
7811 Variable set up for use by function sh-mode-syntax-table.
7812 (sh-set-shell): Set the syntax table.
7813
7814 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
7815
7816 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
7817
7818 * international/encoded-kb.el: Don't alter minor-map-alist.
7819
7820 2001-11-20 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7821
7822 * files.el (auto-save-file-name-transforms): Put remote files in
7823 temporary-file-directory rather than /tmp.
7824
7825 2001-11-21 Colin Walters <walters@debian.org>
7826
7827 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
7828 of (function ...) wrapper.
7829
7830 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
7831
7832 * derived.el (define-derived-mode): Create the abbrev-table
7833 from inside the `defvar'.
7834
7835 * jit-lock.el (jit-lock-defer-time): New var.
7836 (jit-lock-defer-timer, jit-lock-buffers): New vars.
7837 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
7838 (jit-lock-function): Defer fontification if requested.
7839 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
7840 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
7841 text property.
7842 (jit-lock-deferred-fontify): New fun.
7843
7844 2001-11-20 Richard M. Stallman <rms@gnu.org>
7845
7846 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
7847 Set local-abbrev-table to lisp-mode-abbrev-table.
7848
7849 * emacs-lisp/re-builder.el (reb-mode):
7850 Don't use define-derived-mode. Call kill-all-local-variables.
7851
7852 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
7853 Don't use define-derived-mode.
7854
7855 * help-mode.el (help-mode): Undo 2001-10-07 change.
7856
7857 * replace.el (occur-mode): Undo 2001-5-20 change.
7858
7859 2001-11-20 Jason Rumney <jasonr@gnu.org>
7860
7861 * w32-fns.el (w32-system-coding-system): Change to an alias for
7862 locale-coding-system.
7863 (set-w32-system-coding-system): Document the above change.
7864 Set locale-coding-system instead.
7865
7866 2001-11-20 Richard M. Stallman <rms@gnu.org>
7867
7868 * ruler-mode.el: Add pagination.
7869 (ruler-mode-toggle-show-tab-stops): No need to
7870 test `ruler-mode' variable.
7871
7872 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
7873
7874 * play/landmark.el: Mark lm-mode as special.
7875
7876 * play/gomoku.el: Mark gomoku-mode as special.
7877
7878 2001-11-20 Juanma Barranquero <lektu@terra.es>
7879
7880 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
7881 (top-level): Bind it to C-c C-b.
7882 (re-builder): Don't re-enter RE Builder Mode.
7883
7884 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
7885
7886 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
7887
7888 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
7889 `manual-program'.
7890
7891 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
7892 to a line without a comment.
7893
7894 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
7895
7896 * dired.el (dired-listing-switches): Mention in the doc string
7897 that some switches are not supported by ls-lisp.el
7898
7899 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
7900
7901 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
7902 (imenu--create-keymap-2): Remove.
7903 (imenu--create-keymap-1): Simplify, remove third argument.
7904 (imenu--generic-function): Use dolist.
7905 (imenu-find-default): New function.
7906 (imenu--completion-buffer): Use it.
7907 (imenu--mouse-menu): Use popup-menu.
7908 (imenu--menubar-select): Return t rather than calling imenu.
7909
7910 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
7911 New functions, extracted from fill-region-as-paragraph.
7912 (fill-region-as-paragraph): Use them.
7913 Use an end marker instead of eob.
7914 Ignore whitespace-only fill-prefixes when indenting according to mode.
7915 Simplify the loop that searches for spaces backwards.
7916
7917 * textmodes/picture.el (picture-vertical-step)
7918 (picture-horizontal-step): Don't use defconst for variables.
7919
7920 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
7921 (mail-extract-address-components): Downcase domain names.
7922 (mail-extr-delete-char): Remove. Use delete-char instead.
7923
7924 * emulation/pc-select.el: Doc string fixes.
7925 (pc-selection-mode): Don't treat macos as a tty.
7926
7927 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
7928
7929 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
7930
7931 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
7932 (mouse-wheel-progessive-speed): New var.
7933 (mwheel-scroll): Use it and handle float values.
7934
7935 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
7936
7937 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
7938 (iswitchb): Fix the case where the result was selected with the mouse.
7939 (iswitchb-completion-help): Use the normal *Completions* now that
7940 mouse selection works.
7941 (iswitchb-minibuffer-setup): Simplify.
7942
7943 * newcomment.el (comment-column, comment-style, comment-multi-line)
7944 (comment-auto-fill-only-comments): Remove :group arg.
7945 (comment-padding): Add :type.
7946 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
7947 if called interactively.
7948
7949 2001-11-19 Colin Walters <walters@verbum.org>
7950
7951 * calc/calc.el (toplevel): Add comment and version header.
7952 (calc-init-base): Bump version to 2.02f, update date.
7953
7954 2001-11-19 Richard M. Stallman <rms@gnu.org>
7955
7956 * net/browse-url.el: Support Mozilla and Galeon.
7957 By default, find the installed browser whichever it is.
7958 (browse-url-mozilla): New function.
7959 (browse-url-mozilla-sentinel): New function.
7960 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
7961 (browse-url-default-browser): New function.
7962 (browse-url-process-environment): Use browse-url-browser-display.
7963 (browse-url-browser-display): Renamed from browse-url-netscape-display.
7964 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
7965 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
7966 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
7967 (browse-url-browser-function): New default, new options.
7968
7969 2001-11-19 Sam Steingold <sds@gnu.org>
7970
7971 * bindings.el (last-buffer, unbury-buffer): New function.
7972 (mode-line-unbury-buffer): Use `unbury-buffer'.
7973
7974 2001-11-18 Stephen Eglen <stephen@gnu.org>
7975
7976 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
7977 control behaviour when no further completion is possible.
7978
7979 2001-11-19 Colin Walters <walters@verbum.org>
7980
7981 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
7982 (math-showing-full-precision, math-with-extra-prec, math-working)
7983 (calc-with-default-simplification)
7984 (calc-with-trail-buffer): Use backtick.
7985 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
7986 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
7987 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
7988 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
7989 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
7990 (Math-num-integerp, Math-bignum-test, Math-equal-int)
7991 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
7992 (calc-record-compilation-date-macro): Deleted. Callers updated.
7993 (math-format-radix-digit): Move to calc-bin.el.
7994
7995 * calc/calc.el (calc-record-compilation-date): Remove.
7996 (calc-bug-address): Update.
7997 (calc-settings-file): Use `user-init-file'.
7998
7999 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
8000 Handle null `calc-settings-file'.
8001
8002 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
8003 * calc/calc-keypd.el (calc-keypad-mode): New.
8004 (calc-do-keypad): Use it.
8005 (calc-keypad-map): Move into `calc-keypad-mode'.
8006
8007 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
8008 to defalias argument.
8009
8010 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
8011 (calcFunc-floor): Ditto.
8012
8013 * calc-units.el (calcFunc-usimplify): Ditto.
8014
8015 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
8016 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
8017 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
8018 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
8019 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
8020 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
8021 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
8022 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
8023 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
8024 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
8025 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
8026 and move them before their first use. Use `when', `unless'.
8027 Remove trailing periods from error forms. Add description and
8028 headers suggested by Emacs Lisp coding conventions.
8029
8030 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
8031
8032 * newcomment.el (comment-indent):
8033 Fix misindentation for comment-only lines.
8034 (comment-indent-new-line): Only obey comment-multi-line if the
8035 comment-ender is not the end-of-line.
8036
8037 2001-11-19 Richard M. Stallman <rms@gnu.org>
8038
8039 * net/net-utils.el (network-connection-service-abbrev-alist):
8040 New variable.
8041
8042 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
8043 Advance to start of 3rd sexp by moving fwd and backing over it.
8044 At first three elements, act like defun.
8045
8046 * delsel.el (delete-selection-pre-hook): Handle and resignal
8047 file-supersession errors to interact properly with userlock.el.
8048
8049 2001-11-18 Richard M. Stallman <rms@gnu.org>
8050
8051 * progmodes/fortran.el (fortran-mode-syntax-table):
8052 Specify punctuation syntax for backslash.
8053
8054 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
8055 All calls deleted.
8056
8057 * international/mule-util.el (string-to-sequence): Make it obsolete.
8058 (string-to-list, string-to-vector): Implement them directly
8059 using append and vconcat, not with string-to-sequence.
8060
8061 * startup.el (command-line): Set abbrevs-changed to nil after
8062 reading the init file and the abbrevs file.
8063
8064 * isearch.el (isearch): Use magenta2 as bg for (background light)
8065
8066 2001-11-17 Richard M. Stallman <rms@gnu.org>
8067
8068 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
8069
8070 * simple.el (minibuffer-history-sexp-flag): Doc fix.
8071
8072 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
8073
8074 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
8075 If set and if applicable, add a regexp to highlight defun-like
8076 text inside comments and strings.
8077 (font-lock-fontify-keywords-region): Pass that new arg.
8078 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
8079 to the end and pass that new arg.
8080 (c-font-lock-keywords-2): Fix regex for labels.
8081 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
8082 Make it work when LIMIT is several lines further.
8083 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
8084 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
8085 Use backquote and make the regexes for `int a, b, c;' work on
8086 multiple lines.
8087
8088 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
8089 (font-lock-defaults-alist): Don't change it any more.
8090 (reb-subexp-mode-map): Cleanup.
8091
8092 * custom.el (custom-current-group-alist): New var.
8093 (custom-declare-group): Set it.
8094 (custom-current-group): New fun.
8095 (custom-declare-variable, custom-handle-all-keywords):
8096 Use it as a default if no :group argument is specified.
8097
8098 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
8099 (standard-keyboard-coding-systems): New var.
8100 (set-locale-environment): Use it to decide whether or not to call
8101 set-keyboard-coding-system.
8102 (locale-language-names): Use \"French\" for "fr".
8103
8104 2001-11-17 Richard M. Stallman <rms@gnu.org>
8105
8106 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
8107 (add-to-list): Delete compatibility code.
8108 (checkdoc-next-message-error): Doc fix.
8109
8110 2001-11-17 Stephen Eglen <stephen@gnu.org>
8111
8112 * locate.el (locate): Show default locate pattern within the
8113 prompt, but don't insert it into the minibuffer contents.
8114 Catch the case when pattern is the empty string.
8115
8116 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
8117
8118 * language/european.el ("French"): New language environment.
8119
8120 2001-11-16 Richard M. Stallman <rms@gnu.org>
8121
8122 * calendar/todo-mode.el (todo-save): Fix previous change.
8123
8124 * subr.el (functionp): Do use cdr-safe on object.
8125
8126 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
8127
8128 * bindings.el (mode-line-mode-name): Only put the help-echo property
8129 if the local-map property was put as well.
8130 (global-map): Bind switch-frame, delete-frame, iconify-frame
8131 and make-frame-visible events.
8132
8133 * emacs-lisp/elp.el (elp-not-profilable): New var.
8134 (elp-not-profilable-p): New function.
8135 (elp-instrument-function): Use it. Use backquotes and push.
8136
8137 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
8138 (byte-stack+-info, byte-compile-last-warned-form)
8139 (byte-compile-last-logged-file): Don't defconst a variable.
8140 (no-byte-compile): Declare.
8141 (byte-compile-file): Don't boundp-check no-byte-compile any more.
8142 (byte-compile-defvar): Leave defconst as is.
8143
8144 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
8145 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
8146 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
8147 (edebug-best-error): Don't defconst a variable.
8148 (edebug-read-syntax-table): Use a char-table.
8149 (edebug-lemacs-specific): Remove.
8150 Toplevel: Eliminate check for Lucid Emacs.
8151
8152 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
8153
8154 * rect.el (move-to-column-force): Mark obsolete.
8155 (operate-on-rectangle, delete-extract-rectangle-line)
8156 (insert-rectangle, delete-whitespace-rectangle-line)
8157 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
8158 (string-rectangle-history): New var.
8159 (string-rectangle, string-insert-rectangle): Use it.
8160 (delete-rectangle-line): Fix pos/column mixup and simplify.
8161
8162 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
8163 (normal-top-level, command-line, command-line-1): Simplify.
8164
8165 * tar-mode.el (tar-mode): Use define-derived-mode.
8166
8167 * view.el (view-mode-enable): Don't use make-local-hook.
8168
8169 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
8170
8171 2001-11-16 Richard M. Stallman <rms@gnu.org>
8172
8173 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
8174 if it doesn't make sense as anything else.
8175 Don't recognize a "telephone number" at the beginning of the name.
8176 (mail-extr-leading-garbage): Match non-word characters only.
8177
8178 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8179
8180 * startup.el (command-line-processed): Doc fix.
8181
8182 * apropos.el (apropos-next-label-button): Doc fix.
8183
8184 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
8185
8186 * comint.el (comint-mode): Simplify.
8187 (make-comint-in-buffer): Run `comint-mode' only if necessary.
8188
8189 * subr.el (eval-after-load): Make it work with features as well.
8190
8191 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
8192
8193 * international/mule-cmds.el (describe-input-method): Setup xref.
8194 (set-language-environment): Use functionp.
8195 (locale-language-names, locale-charset-language-names)
8196 (locale-preferred-coding-systems): Defconst and purecopy.
8197
8198 * language/european.el (mac-roman): Add mime-charset property.
8199
8200 2001-11-15 Richard M. Stallman <rms@gnu.org>
8201
8202 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
8203 (multiple-value-apply, nth-value): Use defsubst rather than defalias
8204 to get better doc strings.
8205
8206 2001-11-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8207
8208 * derived.el: Fix autoload cookie.
8209
8210 2001-11-15 Richard M. Stallman <rms@gnu.org>
8211
8212 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
8213
8214 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
8215
8216 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
8217
8218 2001-11-15 Richard M. Stallman <rms@gnu.org>
8219
8220 * dired.el (dired-undo): Display a message to explain
8221 that this does not undo file system changes.
8222
8223 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
8224
8225 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
8226 into `unread-command-events' instead of trying keymap
8227 lookups ourselves. This makes mouse-clicks do the right
8228 thing even when keymaps of overlays are involved.
8229 (mouse-drag-drag): Likewise.
8230
8231 2001-11-15 Andreas Schwab <schwab@suse.de>
8232
8233 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
8234 characters and append anchor to pattern added to auto-mode-alist.
8235
8236 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
8237
8238 * server.el (server-process-filter): Run pore/post-comment-hook
8239 before/after visiting the file.
8240
8241 * info-look.el (makefile-mode): Add info for automake.
8242 (autoconf-mode): Fix the name of the index for automake.
8243
8244 * international/latin-9.el: Give pilcrow punctuation syntax.
8245
8246 2001-11-15 Andre Spiegel <spiegel@gnu.org>
8247
8248 * vc.el: Documentation fixes.
8249
8250 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
8251
8252 * smerge-mode.el (smerge-match-conflict): Fix typo.
8253 (smerge-diff): Be careful to read match-data early enough.
8254
8255 2001-11-14 Colin Walters <walters@verbum.org>
8256
8257 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
8258 (calcFunc-subst): Use `defalias' instead of `fset' and
8259 `symbol-function'.
8260
8261 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
8262 (calcFunc-ceil, calcFunc-round): Ditto.
8263
8264 * calc/calc-bin.el (calcFunc-clip): Ditto.
8265
8266 * calc/calc-ext.el (calcFunc-evalv): Ditto.
8267
8268 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
8269
8270 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
8271 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
8272
8273 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
8274
8275 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
8276 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
8277 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
8278 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
8279 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
8280 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
8281 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
8282 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
8283 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
8284 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
8285 * calcsel2.el: Style cleanup; don't put closing parens on their
8286 own line, add "foo.el ends here" to each file, and update
8287 copyright date.
8288
8289 * README: Update maintainer.
8290
8291 2001-11-13 Richard M. Stallman <rms@gnu.org>
8292
8293 * progmodes/compile.el (recompile): Use compilation-arguments if
8294 set, so as to be able to M-x recompile the exact command which
8295 created a compilation-mode buffer.
8296
8297 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
8298
8299 2001-11-13 Gerd Moellmann <gerd@gnu.org>
8300
8301 * mouse.el (mouse-drag-region): Don't run the up-event
8302 handler if window start changed due to the down-mouse event.
8303
8304 2001-11-13 Richard M. Stallman <rms@gnu.org>
8305
8306 * mouse.el (mouse-show-mark): Either move point to the mark
8307 or use highlighting, never both.
8308 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
8309
8310 2001-11-13 Simon Josefsson <jas@extundo.com>
8311
8312 * mail/smtpmail.el (top-level): Change maintainer to Simon
8313 Josefsson, cleanup the smtpmail.el header.
8314
8315 * mail/smtpmail.el (top-level): Don't require cl or base64.
8316 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
8317 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
8318 Defsubst instead of defmacro.
8319 (smtpmail-intersection): Return value in reverse order.
8320 (smtpmail-open-stream): Use stringp instead of string-to-list.
8321 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
8322 separated from smtpmail-via-smtp.
8323
8324 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
8325 rfc2104. Require base64 and cl.
8326 (smtpmail-smtp-service): Doc fix. :type fix.
8327 (smtpmail-debug-info): Doc fix.
8328 (smtpmail-debug-verb, smtpmail-auth-credentials)
8329 (smtpmail-starttls-credentials, smtpmail-auth-supported):
8330 New variables.
8331 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
8332 mail-utils (it is autoloaded).
8333 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
8334 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
8335 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
8336 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
8337 (smtpmail-via-smtp): Support AUTH.
8338 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
8339
8340 2001-11-13 Richard M. Stallman <rms@gnu.org>
8341
8342 * ebuff-menu.el (electric-buffer-update-highlight): New function.
8343 (electric-buffer-overlay): New variable.
8344 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
8345 (electric-buffer-list): Likewise.
8346
8347 * isearch.el (isearch-whitespace-chars): Doc fix.
8348 (isearch-mode): Handle negative search-slow-window-lines correctly.
8349
8350 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
8351
8352 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
8353
8354 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
8355 From Emmanuel Briot <briot@act-europe.fr>.
8356
8357 2001-11-13 Colin Walters <walters@debian.org>
8358
8359 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
8360
8361 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
8362 "~/.emacs"; use `read-file-name'.
8363
8364 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
8365 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
8366 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
8367 * calc/calc.el: Use `frame-width' instead of `screen-width',
8368 `frame-height' instead of `screen-height', and,
8369 `executing-kbd-macro' instead of `executing-macro'.
8370
8371 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
8372 correct number of arguments.
8373
8374 * calc/calc-aent.el (calc-do-alg-entry):
8375 Use `blink-paren-function' instead of `blink-paren-hook'.
8376
8377 2001-11-12 Richard M. Stallman <rms@gnu.org>
8378
8379 * calendar/todo-mode.el (todo-save): Add save-excursion
8380 and save-restriction.
8381
8382 * server.el (server-edit, server-done): Doc fix.
8383
8384 * simple.el (clone-indirect-buffer): Error if major mode symbol
8385 has a no-clone-indirect property.
8386 (clone-buffer): Check for obvious errors before reading clone name.
8387
8388 * info.el (Info-mode): Add a no-clone-indirect property.
8389
8390 2001-11-12 Sam Steingold <sds@gnu.org>
8391
8392 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
8393 set-buffer-modified-p to nil after `vc-exec-after'.
8394 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
8395 (log-view-mode): Make read-only.
8396 (log-view-current-file): Do final `expand-file-name' in the
8397 current `default-directory'.
8398 (log-view-current-tag): Take an optional `where' arg.
8399 (log-view-diff): New user command.
8400
8401 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8402
8403 * progmodes/cpp.el (cpp-choose-face): Fix typo.
8404
8405 2001-11-12 Sam Steingold <sds@gnu.org>
8406
8407 * emacs-lisp/cl-indent.el (toplevel): Indent properly
8408 `generic-flet', `generic-labels', `with-accessors',
8409 `with-condition-restarts'.
8410
8411 2001-11-12 Richard M. Stallman <rms@gnu.org>
8412
8413 * dired.el: Many trivial doc fixes.
8414 (dired-get-file-for-visit): New function.
8415 (dired-find-alternate-file, dired-mouse-find-file-other-window):
8416 (dired-view-file, dired-find-file-other-window, dired-display-file):
8417 (dired-find-file): Use dired-get-file-for-visit.
8418
8419 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
8420
8421 * sql.el (sql-mode): Doc change.
8422
8423 * sql.el (sql-mode-syntax-table): The backslash is no longer an
8424 escape character.
8425
8426 2001-11-12 Colin Walters <walters@debian.org>
8427
8428 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
8429 (calc-do-keypad): Don't attempt to use nonexistent global
8430 mouse-map, use calc-keypad-map.
8431 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
8432 (calc-keypad-left-click): Don't use mouse-map; update to new event
8433 interface.
8434 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
8435 (calc-keypad-press): Use `unread-command-events' instead of
8436 `unread-command-char'.
8437
8438 * calc/calc-ext.el (calc-init-extensions): Update autoload names
8439 to match files renamed on initial calc import.
8440
8441 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8442
8443 * textmodes/flyspell.el (flyspell-default-dictionary):
8444 Fix previous change.
8445
8446 2001-11-12 Richard M. Stallman <rms@gnu.org>
8447
8448 * textmodes/flyspell.el (flyspell-default-dictionary):
8449 Fix custom type.
8450
8451 2001-11-11 Richard M. Stallman <rms@gnu.org>
8452
8453 * calendar/solar.el (solar-sunrise-and-sunset):
8454 Exchange the two extreme values of day-length.
8455
8456 * progmodes/sh-script.el (sh-must-be-shell-mode):
8457 Allow modes derived from sh-mode.
8458
8459 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
8460 Turn off error in some re-search-forward calls.
8461
8462 * replace.el (query-replace-skip-read-only): New variable.
8463 (perform-replace): If that variable is non-nil, ignore matches
8464 that have a read-only property.
8465
8466 * derived.el (define-derived-mode): Doc fix.
8467
8468 * server.el (server-buffer-done): Test of server-existing-buffer
8469 was backwards.
8470 (server-existing-buffer): Doc fix.
8471
8472 * textmodes/flyspell.el (flyspell-default-dictionary):
8473 Allow nil as value, and make nil the default.
8474
8475 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
8476
8477 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
8478 it is not fboundp.
8479 (clipboard-yank): Ditto.
8480
8481 2001-11-11 Colin Walters <walters@verbum.org>
8482
8483 The following changes are based on patches from
8484 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
8485 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
8486
8487 * calc/calc.el (toplevel): Require calc-macs.
8488 (calc-minibuffer-size): New.
8489 (calcDigit-nondigit): Use it instead of `buffer-size'.
8490 (calcDigit-backspace): Likewise.
8491 (calcDigit-nondigit): Use `minibuffer-contents' instead of
8492 `buffer-string'.
8493 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
8494 `point-min'.
8495 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
8496 `save-excursion'.
8497
8498 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
8499 simple `setq' form.
8500
8501 * calc/calc-ext.el: (toplevel): Require calc.
8502 (calc-fancy-prefix-map): New.
8503 (calc-fancy-prefix): Use it.
8504 (calc-fancy-prefix-other-key): New.
8505
8506 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
8507 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
8508 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
8509 (calcAlg-enter): Likewise.
8510 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
8511
8512 2001-11-10 Richard M. Stallman <rms@gnu.org>
8513
8514 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
8515 (quietly-read-abbrev-file): Doc fix.
8516
8517 * startup.el (command-line): Read standard abbrev
8518 file (abbrev-file-name), if it exists.
8519
8520 * files.el (save-abbrevs): Default value is t.
8521
8522 * progmodes/compile.el (compile-goto-error): Fix previous change
8523 in the case where subsequent errors have not been parsed yet
8524 because they are in a different source file.
8525
8526 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
8527
8528 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8529 Merge two regular expressions into one.
8530 (ps-mode): Make local bindings for `comment-start' and
8531 `comment-start-skip'.
8532 (ps-mode-looking-at-nested): Simplify an if-else construct;
8533 use `set-match-data' to set the result.
8534
8535 2001-11-10 Richard M. Stallman <rms@gnu.org>
8536
8537 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
8538 Function deleted.
8539 (flyspell-correct-word): Old definition deleted.
8540 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
8541 All references renamed too.
8542
8543 2001-11-10 Gerd Moellmann <gerd@gnu.org>
8544
8545 * Makefile.in (finder_setwins, setwins): Exclude Calc.
8546
8547 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
8548
8549 * wid-edit.el (checklist): Removed `:menu-tag'.
8550 (radio-button-choice): Ditto.
8551 (editable-list): Ditto.
8552
8553 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8554
8555 * play/gomoku.el: Move definitions of constants to the beginning
8556 of file, before their use.
8557
8558 2001-11-09 Richard M. Stallman <rms@gnu.org>
8559
8560 * textmodes/flyspell.el: Use the keymap property
8561 instead of local-map, and don't use a minor-mode map.
8562 (flyspell-mode-map): Variable deleted.
8563 Don't mess with minor-mode-map-alist.
8564 (calling add-minor-mode): Specify nil for keymap.
8565 And always use add-minor-mode, now that it exists.
8566 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
8567 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
8568 or flyspell-local-mouse-map.
8569 (make-flyspell-overlay): Use flyspell-mouse-map directly.
8570 (flyspell-mode): Doc fix.
8571 (flyspell-mode-on): Don't call make-local-hook.
8572
8573 2001-11-09 Sam Steingold <sds@gnu.org>
8574
8575 * emacs-lisp/debug.el (debugger-make-xrefs):
8576 Add buttons to all symbols.
8577
8578 2001-11-09 Andre Spiegel <spiegel@gnu.org>
8579
8580 * vc.el: Add John David Smith to credits.
8581
8582 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
8583
8584 * vc-hooks.el (vc-error-occured): Backquotified.
8585 (vc-file-prop-obarray): Use prime length for better efficiency.
8586
8587 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
8588
8589 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
8590
8591 * info.el (Info-file-list-for-emacs): Add entries for Calc.
8592
8593 2001-11-09 Miles Bader <miles@gnu.org>
8594
8595 * subr.el (functionp): Don't consider macros as functions.
8596
8597 2001-11-08 Miles Bader <miles@gnu.org>
8598
8599 * subr.el (functionp): Make work correctly for macros and unbound
8600 symbols.
8601
8602 * comint.el (comint-send-input): Fix description of
8603 `comint-process-echoes' in the doc-string.
8604
8605 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
8606
8607 * international/mule.el (make-translation-table): Doc fix.
8608 Suggested by Alex Schroeder <alex@gnu.org>.
8609
8610 2001-11-07 Richard M. Stallman <rms@gnu.org>
8611
8612 * info.el (Info-fontify-node): Highlight every third menu item.
8613
8614 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
8615
8616 * cus-edit.el (custom-face-value-create): Don't ignore the
8617 `customized-face' attribute when finding the current face spec.
8618
8619 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
8620
8621 * subr.el (with-local-quit): New macro.
8622 (make-syntax-table): Always inherit.
8623 (functionp): Be more careful when `object' is a symbol.
8624
8625 * dabbrev.el (dabbrev-completion): Use "*Completions*".
8626
8627 2001-11-07 Paul Eggert <eggert@twinsun.com>
8628
8629 * dired.el (dired-move-to-filename-regexp):
8630 Do not distinguish between ASCII letters and non-ASCII characters.
8631 Don't allow comma except in the form "month day, year".
8632 Don't allow space between month name and comma.
8633 Clean up the code that checks for trailing period, comma, and space.
8634 Remove now-obsolete comments, and add more commentary about
8635 Japanese dates.
8636 Always gobble up trailing spaces, instead of doing it only sometimes.
8637
8638 2001-11-07 Miles Bader <miles@gnu.org>
8639
8640 * paren.el (show-paren-match-face): Add dark-background variant.
8641
8642 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
8643
8644 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
8645 (lisp-mode-variables): Don't set paragraph-{start,separate}.
8646 Don't disable adaptive-fill-mode.
8647 (lisp-fill-paragraph): Use tab-width rather than 8.
8648 Prevent filling the first line of docstrings.
8649
8650 2001-11-06 Richard M. Stallman <rms@gnu.org>
8651
8652 * play/gomoku.el (gomoku): Doc fix.
8653
8654 * jka-compr.el (jka-compr-partial-uncompress):
8655 Support an alternative of not using dd.
8656 (jka-compr-dd-program): Use defcustom to define this.
8657 (jka-compr-load-suffixes): Use defcustom.
8658 (jka-compr-mode-alist-additions): Use defcustom.
8659
8660 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
8661
8662 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
8663 Also work when LIMIT is further than the end of line.
8664
8665 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
8666
8667 * international/quail.el (quail-update-leim-list-file): Print the
8668 offending file name if some of its quail-define-package forms is broken.
8669
8670 2001-11-05 Richard M. Stallman <rms@gnu.org>
8671
8672 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
8673 of the evaluated form.
8674
8675 2001-11-05 Paul Eggert <eggert@twinsun.com>
8676
8677 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
8678 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
8679 stamps always line up by default. Also, it uses a slightly
8680 different window to determine whether files are "recent".
8681
8682 2001-11-05 Andrew Innes <andrewi@gnu.org>
8683
8684 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
8685 Don't attempt to remake autoloads before nuking .elc files.
8686
8687 2001-11-04 Richard M. Stallman <rms@gnu.org>
8688
8689 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
8690 previous-single-property-change or next-single-char-property-change
8691 returns nil.
8692
8693 * international/mule-cmds.el (set-locale-environment):
8694 Make it interactive; make arg optional.
8695
8696 * international/mule-diag.el (help-funs): Require help-funs.
8697
8698 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
8699
8700 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
8701
8702 2001-11-04 Miles Bader <miles@gnu.org>
8703
8704 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
8705 shadow of the splash image grey on a dark background instead of black.
8706
8707 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
8708
8709 * term.el (all faces): Don't (copy-face 'default <foo>).
8710
8711 * term/xterm.el (function-key-map):
8712 Add entry for `ESC [ 3 ~' -> <delete>
8713 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
8714 Use inheritance so that .emacs and terminfo take precedence.
8715
8716 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
8717
8718 * tooltip.el (tooltip-delay): Decrease to 0.7.
8719 (tooltip-hide-delay): Enlarge to 10.
8720
8721 2001-11-03 Richard M. Stallman <rms@gnu.org>
8722
8723 * startup.el (fancy-splash-tail): Explain how to recover
8724 from a crash, if there was a crash.
8725 (command-line-1): Reorganize display of startup screen,
8726 to simplify the logic. Use a temp buffer for it.
8727
8728 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
8729
8730 * frame.el (set-background-color, set-foreground-color):
8731 Call face-set-after-frame-default, to propagate the new colors to
8732 the frame's parameters alist.
8733
8734 * calendar/timeclock.el (timeclock-out): Signal an error if
8735 timeclock-last-event is nil.
8736
8737 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
8738
8739 * textmodes/fill.el (fill-context-prefix): Fix braino.
8740
8741 * international/quail.el (quail-help):
8742 Use `help-buffer' and move `help-setup-xref' to beginning.
8743
8744 * international/mule-cmds.el (describe-language-environment):
8745 Use `help-buffer' and move `help-setup-xref' to beginning.
8746
8747 * international/mule-diag.el (list-character-sets)
8748 (sort-listed-character-sets, describe-character-set)
8749 (describe-coding-system, describe-fontset, list-fontsets):
8750 Use `help-buffer' and move `help-setup-xref' to beginning.
8751 (describe-char-after): Use `internal-describe-syntax-value'.
8752
8753 2001-11-02 Richard M. Stallman <rms@gnu.org>
8754
8755 * mouse.el (popup-menu): If the user refuses to select
8756 from a menu, don't try to invoke the menu.
8757
8758 2001-11-02 Miles Bader <miles@gnu.org>
8759
8760 * help-mode.el (help-xref): New button type.
8761 (help-function, help-variable, help-face, help-coding-system)
8762 (help-input-method, help-character-set, help-type, help-symbol)
8763 (help-back, help-info, help-customize-variable, help-customize-face)
8764 (help-function-def, help-variable-def): Use it as a supertype.
8765 Remove `action' property.
8766
8767 * international/mule-diag.el (describe-character-set)
8768 (describe-coding-system): Pass correct args to `help-xref-button'.
8769 (sort-listed-character-sets): New button type.
8770 (list-character-sets): Use it.
8771 (list-charset-chars): New button type.
8772 (list-character-sets-1): Use it.
8773
8774 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
8775
8776 * indent.el (tab-always-indent, indent-for-tab-command):
8777 Remove redundant `never' setting.
8778
8779 * fill.el (fill-region-as-paragraph): Don't forget to skip
8780 over current whitespace before looking for a preceding space.
8781
8782 2001-11-01 Richard M. Stallman <rms@gnu.org>
8783
8784 * files.el (file-newest-backup): Don't pass backup file name
8785 thru file-name-sans-versions, because it never has version numbers.
8786
8787 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
8788 to avoid ambiguous nested loops.
8789
8790 * files.el (find-file-noselect): Offer to change buffer-read-only
8791 only when the file's read-only status has changed from before
8792 as well as disagreeing with the buffer's current status.
8793 (buffer-file-read-only): New var, local in all buffers.
8794
8795 * buff-menu.el (buffer-menu): Doc fix.
8796 (buffer-menu-other-window): Doc fix.
8797 (list-buffers, list-buffers-noselect): Doc fix.
8798
8799 2001-11-01 Gerd Moellmann <gerd@gnu.org>
8800
8801 * startup.el (command-line): If the terminal Emacs is running on
8802 has erase char set to ^H, use the Backspace key for deleting
8803 backward, and the Delete key for deleting forward.
8804
8805 2001-11-01 Miles Bader <miles@gnu.org>
8806
8807 * button.el (define-button-type): Make sure every user-defined
8808 button type has a supertype.
8809
8810 2001-10-31 Jason Rumney <jasonr@gnu.org>
8811
8812 * international/mule-cmds.el (locale-language-names): Add chs and
8813 cht as aliases for Chinese-GB and Chinese-BIG5.
8814
8815 2001-10-31 Richard M. Stallman <rms@gnu.org>
8816
8817 * bindings.el (mode-line-frame-identification): Add doc string.
8818 (mode-line-position, mode-line-modes): New variables.
8819 (mode-line-format): Use mode-line-position for the part
8820 that displays the position-in-buffer info.
8821 Use mode-line-modes for the part that displays major and minor modes.
8822
8823 2001-10-31 Sam Steingold <sds@gnu.org>
8824
8825 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
8826 (debugger-setup-buffer): Call it.
8827 (debugger-mode-map): Bind RET and mouse-2.
8828
8829 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8830
8831 * startup.el: Document command line option --no-window-system
8832 instead of --no-windows.
8833
8834 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
8835
8836 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
8837
8838 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
8839 (font-lock-defaults-alist): Use it.
8840 From David Ponce <david.ponce@wanadoo.fr>
8841
8842 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
8843 output of `char-after'.
8844
8845 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
8846
8847 * simple.el (reindent-then-newline-and-indent): Insert the newline
8848 before indenting the first line.
8849 (undo-get-state, undo-revert-to-state): New funs.
8850 (shell-command): Don't kill the buffer even if empty.
8851 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
8852 (transpose-subr-end2): Remove.
8853 (transpose-subr): Add `special' arg and simplify.
8854 (transpose-subr-1): Rewrite.
8855 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
8856 (rfc822-goto-eoh): Simplify.
8857
8858 2001-10-30 Richard M. Stallman <rms@gnu.org>
8859
8860 * enriched.el (enriched-face-ans): Fix previous change.
8861
8862 2001-10-30 Gerd Moellmann <gerd@gnu.org>
8863
8864 * international/iso-acc.el (iso-accents-compose): Remove a
8865 superfluous setq.
8866
8867 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
8868
8869 * buff-menu.el (list-buffers-noselect): If the buffer's name
8870 starts with a blank, but it visits a file, do show it (for files
8871 whose names start with a blank).
8872
8873 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
8874
8875 * textmodes/fill.el (sentence-end-double-space)
8876 (sentence-end-without-period): Move to paragraphs.el.
8877 (fill-indent-according-to-mode): Change default to t.
8878 (fill-context-prefix): Simplify control-flow and use a more
8879 sophisticated merge that unifies both previous checks.
8880 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
8881 (fill-nobreak-predicate): Make it into a defcustom'd hook.
8882 (fill-nobreak-p): New fun.
8883 (fill-region-as-paragraph): Use it.
8884 Handle `fill-indent-according-to-mode' slightly differently.
8885 (fill-individual-paragraphs-prefix): Simplify the control-flow.
8886 (fill-individual-paragraphs-citation): Fix.
8887
8888 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
8889 (paragraph-start): Change default to the `text-mode' value.
8890 (sentence-end-double-space, sentence-end-without-period):
8891 Move from fill.el.
8892 (forward-paragraph): Use `parstart' and `parsep' for temp variables
8893 rather than rebinding `paragraph-start' and `paragraph-separate'.
8894
8895 * indent.el (indent-line-function): Change default to indent-relative.
8896 (tab-always-indent): Add an `never' setting.
8897 (indent-according-to-mode): Handle `indent-relative' and
8898 `indent-relative-maybe' specially.
8899 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
8900 Handle the `never' case for `tab-always-indent'.
8901 Don't call indent-according-to-mode for indent-relative' and
8902 `indent-relative-maybe'.
8903 (insert-tab): Rename `prefix-arg' to `arg'.
8904 (indent-region): Indent the first line as well.
8905 (indent-relative): Don't mark the buffer modified if the indentation
8906 is unchanged.
8907
8908 * textmodes/text-mode.el (paragraph-indent-minor-mode):
8909 Don't set paragraph-separate. Set paragraph-start more carefully.
8910 Set indent-line-function.
8911 (paragraph-indent-text-mode): Use it and define-derived-mode.
8912 (text-mode-map): Remove the \t binding.
8913 (text-mode): Simplify now that the default is more favorable.
8914
8915 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
8916
8917 * emacs-lisp/find-func.el (find-function-search-for-symbol):
8918 If the regexp doesn't match, use a looser one.
8919 (find-variable-noselect): Add `file' argument.
8920
8921 * pcvs.el (cvs-mode-commit-hook): New hook.
8922 (cvs-mode-commit): Run it.
8923
8924 * log-edit.el (log-edit): Run hook after `log-edit-files'.
8925
8926 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
8927 (edebug-instrument-function): Use `find-function-noselect'.
8928
8929 2001-10-29 Richard M. Stallman <rms@gnu.org>
8930
8931 * term.el (term-if-emacs19): Macro deleted.
8932 Callers changed to use progn instead.
8933
8934 * frame.el (blink-cursor-mode): Doc fix.
8935
8936 * files.el (find-backup-file-name): Use make-backup-file-name.
8937
8938 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
8939 window-live-p.
8940 (edebug-set-conditional-breakpoint): Unconditionally use
8941 the former Emacs >=19 definition.
8942 (edebug-mark): Define unconditionally.
8943 (edebug-eval-expression): Always call read-from-minibuffer
8944 and specify history list.
8945 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
8946 edebug-set-conditional-breakpoint.
8947 (edebug-emacs-version-specific): Function deleted;
8948 do the job at top level.
8949 (edebug-emacs-19-specific): Function deleted, this is the default.
8950
8951 2001-10-29 Sam Steingold <sds@gnu.org>
8952
8953 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
8954 "/cygdrive/LETTER/" pathnames.
8955
8956 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
8957
8958 * faces.el (invert-face): Check for 'unspecified, not for nil,
8959 when testing whether face colors are not specified.
8960 From David.Kastrup@t-online.de (David Kastrup).
8961 (read-face-name): Doc fix.
8962 (make-face-bold, make-face-unbold, make-face-italic)
8963 (make-face-unitalic, make-face-bold-italic, invert-face):
8964 Remove trailing blank from the prompt passed to read-face-name.
8965
8966 2001-10-29 Sam Steingold <sds@gnu.org>
8967
8968 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8969 Report numbers of files skipped and failed too.
8970 (byte-compile-file): Return 'no-byte-compile for skipped files.
8971
8972 2001-10-29 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8973
8974 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
8975 and `M p'.
8976
8977 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8978
8979 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
8980 as is on unread-command-events instead of `(SECOND-CHAR)'.
8981
8982 2001-10-29 Andre Spiegel <spiegel@gnu.org>
8983
8984 * vc.el: Mention vc-*-switches in backend API documentation.
8985 (vc-annotate): Adapt doc string to recent change.
8986
8987 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8988
8989 * enriched.el (enriched-face-ans): Handle face attributes
8990 of the form `(FACE1 FACE2 ...)'.
8991
8992 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
8993
8994 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
8995
8996 * progmodes/sql.el (sql-mysql): Doc change by RMS.
8997
8998 * progmodes/sql.el (sql-db2): Doc change.
8999 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
9000 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
9001
9002 2001-10-29 Gerd Moellmann <gerd@gnu.org>
9003
9004 * env.el (substitute-env-vars): Don't quote argument to `rx';
9005 it's a macro.
9006
9007 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
9008
9009 * cus-start.el (recursive-load-depth-limit): Added.
9010
9011 2001-10-28 Richard M. Stallman <rms@gnu.org>
9012
9013 * textmodes/ispell.el (version18p, version20p): Vars deleted.
9014 All uses removed--assume Emacs version is >= 20.
9015
9016 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
9017 by really checking that it is not version 18.
9018
9019 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
9020
9021 2001-10-28 Miles Bader <miles@gnu.org>
9022
9023 * faces.el (face-attribute): Add INHERIT argument, consider face
9024 inheritance if it's non-nil.
9025 (face-attribute-merged-with): New function.
9026 (face-attribute-specified-or): New macro.
9027 (face-foreground, face-background, face-stipple): Add INHERIT
9028 argument. Use `face-attribute-specified-or'.
9029
9030 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
9031
9032 * font-lock.el: Require `syntax'.
9033 (font-lock-defaults-alist): Don't define keywords for lisp languages.
9034 Use `c-font-lock-syntactic-face-function' for c languages.
9035 (font-lock-mode): Don't unset vars when turning the mode off.
9036 (font-lock-default-fontify-buffer): Don't unset vars at the end.
9037 (font-lock-extra-managed-props): New var.
9038 (font-lock-default-unfontify-region): Use it.
9039 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
9040 Don't eval the value when there's no match.
9041 (font-lock-ppss-stats): New var.
9042 (font-lock-ppss): New fun.
9043 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
9044 (font-lock-apply-highlight): Allow `highlight' to set several props.
9045 (font-lock-set-defaults): Use dolist.
9046 (font-lock-unset-defaults): Remove.
9047 (font-lock-match-c-style-declaration-item-and-skip-to-next):
9048 Try to recognize prototypes using `foo P_ ((args))'.
9049 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
9050 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
9051 (c-font-lock-syntactic-face-function): New function.
9052 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
9053 (c++-keywords): Use a more sophisticated regexp to handle
9054 shallowly nested templates.
9055
9056 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
9057
9058 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
9059 (sgml-tag): Use it. Cleanup with `cond'.
9060 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
9061 Mark the overlays and only delete those that are marked.
9062 (sgml-skip-close-p): Remove.
9063 (sgml-value): Replace sgml-skip-close-p with its definition.
9064 (html-tag-alist): Use sgml-xml a bit more.
9065 (html-mode): Set sgml-empty-tags.
9066
9067 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
9068 (texinfo-update-node, texinfo-sequential-node-update):
9069 Don't bind the obsolete `auto-fill-hook'.
9070 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
9071 Use `set-buffer' rather than `switch-to-buffer'.
9072 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
9073 Use `set-buffer' rather than `switch-to-buffer'.
9074
9075 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
9076 text-mode-syntax-table.
9077 (mail-mode): Use define-derived-mode.
9078 Fix ordering of alternatives in adaptive-fill-regexp.
9079 (mail-mode-map): Don't rely on keymap's internal representation.
9080
9081 2001-10-27 Sam Steingold <sds@gnu.org>
9082
9083 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
9084 (sgml-xml-guess): Extracted from `html-mode' and generalized.
9085 (sgml-mode-common): Call it.
9086 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
9087 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
9088 (html-horizontal-rule, html-image, html-ordered-list):
9089 (html-unordered-list, html-list-item, html-paragraph):
9090 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
9091 `html-xhtml'.
9092
9093 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
9094
9095 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
9096 (ifnothtml): New alias.
9097
9098 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
9099
9100 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
9101 (toggle-text-mode-auto-fill): Use derived-mode-p.
9102
9103 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
9104
9105 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
9106 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
9107
9108 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
9109
9110 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
9111 Add make-obsolete cookies, to follow faces.el.
9112
9113 These changes avoid warnings from the byte compiler in faces.el:
9114
9115 * faces.el (internal-get-face): Use facep instead of the obsolete
9116 internal-find-face.
9117 (internal-frob-font-weight, internal-frob-font-slant):
9118 New defaliases for obsolete functions.
9119 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
9120 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
9121 (x-make-font-bold-italic): Use internal-frob-font-weight and
9122 internal-frob-font-slant aliases instead of the obsolete
9123 x-frob-... functions.
9124
9125 2001-10-26 Sam Steingold <sds@gnu.org>
9126
9127 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
9128 DOCTYPE; set `mode-name' based on it.
9129 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
9130 (sgml-tag): Close empty tags in XHTML.
9131
9132 2001-10-26 Jason Rumney <jasonr@gnu.org>
9133
9134 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
9135 when UNICODE is not defined.
9136
9137 2001-10-26 Sam Steingold <sds@gnu.org>
9138
9139 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
9140 be alone on the line.
9141
9142 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
9143
9144 * button.el (button): Special face definition for MS-DOS terminals.
9145
9146 2001-10-26 Sam Steingold <sds@gnu.org>
9147
9148 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
9149 Protect the /= test by checking that the args are non-nil.
9150 (sh-font-lock-close-heredoc): Check eof for being non-nil.
9151
9152 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
9153
9154 * textmodes/artist.el (artist-version): 1.2.4.
9155 (artist-butlast-fn): New variable.
9156 (artist-butlast): New function.
9157 (artist-ellipse-mirror-quadrant): Use it.
9158 (artist-mouse-draw-poly): Use nil for `point-list'.
9159 (artist-mouse-draw-poly): Check for point-list being nil.
9160
9161 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
9162
9163 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
9164 lambda expression.
9165 (ps-mode-menu-main): Submenu with options on/off was replaced with
9166 a toggle button.
9167 (ps-mode, ps-run-mode): Define with `define-derived-mode'
9168 (ps-mode): Autoload cookie added on same line as comment
9169 (ps-mode-tabkey, ps-mode-backward-delete-char):
9170 (ps-mode-r-balance): Replace `delete-horizontal-space' and
9171 `indent-to' with `indent-line-to'
9172 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
9173 instead of `eval'.
9174 (ps-mode-print-region): Use `with-temp-buffer'.
9175 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
9176 (numerous places): Add back-tick and tick around names in
9177 docstrings, fix punctuation in docstrings, remove trailing spaces.
9178
9179 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
9180
9181 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
9182 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
9183 (sgml-font-lock-syntactic-keywords): New var.
9184 (sgml-mode-common): Drop the two args.
9185 Don't make buffer-local variables that aren't used.
9186 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
9187 Don't set `before-string' props from sgml-display-text.
9188 (sgml-mode): Use define-derived-mode.
9189 (sgml-tags-invisible): Use sgml-display-text.
9190 (sgml-quote): New command.
9191 (html-tag-alist): Add args for `span'.
9192 (html-mode): Use define-derived-mode.
9193 Set sgml-display-text and sgml-tag-face-alist.
9194
9195 2001-10-25 Sam Steingold <sds@gnu.org>
9196
9197 * add-log.el (add-log-always-start-new-record): New user option.
9198 (add-change-log-entry): Use it.
9199
9200 2001-10-25 Richard M. Stallman <rms@gnu.org>
9201
9202 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
9203 bind case-fold-search if FROM is not all lower case.
9204
9205 2001-10-25 Gerd Moellmann <gerd@gnu.org>
9206
9207 * startup.el (normal-top-level): Check for frame-initial-frame
9208 only if it's really used.
9209
9210 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
9211
9212 * progmodes/compile.el (compilation-parse-errors-filename-function):
9213 New variable.
9214 (compilation-parse-errors): Use it.
9215
9216 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
9217
9218 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
9219 interactively so that C-u M-C-x still does edebug.
9220 (checkdoc-sentencespace-region-engine): Don't force a double-space
9221 after `.' if it doesn't look like an end-of-sentence.
9222 (debug-ignored-errors): Add `disambiguate ...'.
9223
9224 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
9225
9226 * textmodes/texinfo.el (texinfo-environments)
9227 (texinfo-environment-regexp): Hoist.
9228 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
9229 Only highlight the menu name in menu items.
9230 Setup `@foo ... @end foo' as text clones.
9231 (texinfo-clone-environment): New function.
9232 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
9233 (texinfo-insert-block): Simplify.
9234 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
9235 the command is repeated.
9236 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
9237 (texinfo-insert-@end): Simplify.
9238
9239 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
9240 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
9241 (texinfo-subsubsection-level-regexp)
9242 (texinfo-update-menu-same-level-regexps)
9243 (texinfo-update-menu-higher-regexps)
9244 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
9245
9246 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
9247 (derived-mode-p): Autoload.
9248
9249 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
9250 New vars and functions.
9251 (text-clone-maintain, text-clone-create): New functions.
9252
9253 2001-10-25 Miles Bader <miles@gnu.org>
9254
9255 * facemenu.el (facemenu-add-new-face): Fix variable names.
9256
9257 2001-10-24 Richard M. Stallman <rms@gnu.org>
9258
9259 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
9260 of t and nil values.
9261 (facemenu-set-face): Handle START and END interactively.
9262 (facemenu-set-foreground): Don't use a face; specify color directly.
9263 (facemenu-set-background): Likewise.
9264 (facemenu-set-face-from-menu): Doc fix.
9265 (facemenu-active-faces): Use face-attribute-vector
9266 to handle bare attributes not in faces.
9267 (facemenu-get-face): Don't handle face names fg:... and bg:...
9268 specially.
9269 (facemenu-add-new-face): New argument MENU.
9270 New way to handle adding colors to the color menus.
9271
9272 * env.el (substitute-env-vars): Quote the arg to rx.
9273
9274 2001-10-24 Sam Steingold <sds@gnu.org>
9275
9276 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
9277 Control" and "SGML" groups.
9278
9279 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
9280
9281 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
9282 Better handling of C++ template args to avoid confusion with `<'
9283 and `>' used as operators in member init expressions.
9284
9285 2001-10-24 Gerd Moellmann <gerd@gnu.org>
9286
9287 * replace.el (perform-replace): Move START and END parameters
9288 to the end of the argument list and make them optional.
9289
9290 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
9291 perform-replace.
9292
9293 * international/fontset.el (x-must-resolve-font-name): New function.
9294 (x-complement-fontset-spec): Use it.
9295
9296 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
9297
9298 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
9299
9300 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
9301 Turn caadr into caar of cdr.
9302
9303 2001-10-23 Gerd Moellmann <gerd@gnu.org>
9304
9305 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
9306 of mouse-{1,2} since dragging is on the down event.
9307
9308 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
9309
9310 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
9311 if ARG is nil.
9312
9313 * desktop.el (desktop-last-buffer): New variable.
9314 (desktop-create-buffer): Set it.
9315 (desktop-read): Bind it and switch to that buffer.
9316
9317 2001-10-22 Gerd Moellmann <gerd@gnu.org>
9318
9319 * progmodes/compile.el (compilation-set-window-height):
9320 Select old window only if it's still live.
9321
9322 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9323
9324 * help-mode.el (help-buffer): Remove debugging code.
9325 From Stefan Monnier <monnier@cs.yale.edu>.
9326
9327 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
9328
9329 * files.el (file-name-sans-extension, file-name-extension):
9330 Don't count the leading dots in file names as signaling an extension.
9331
9332 2001-10-22 Andre Spiegel <spiegel@gnu.org>
9333
9334 * vc.el (vc-diff-switches): Doc rewritten.
9335
9336 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
9337
9338 * tooltip.el (tooltip-set-param): Doc fix.
9339
9340 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
9341 127 to sgml-maybe-name-self.
9342 (sgml-name-8bit-mode): Doc fix.
9343 (sgml-char-names-table): New variable.
9344 (sgml-name-char): Support non-ASCII and mule-unicode-*
9345 characters. Doc fix.
9346 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
9347
9348 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
9349 doc string the effect of `left' and `top' parameters in
9350 tooltip-frame-parameters, the default values, and the units.
9351 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
9352 (tooltip-show): Mention in the doc string the `top' and `left'
9353 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
9354
9355 2001-10-22 Andre Spiegel <spiegel@gnu.org>
9356
9357 Add autoscaling support for vc-annotate.
9358 From J.D. Smith <jdsmith@alum.mit.edu>.
9359
9360 * vc.el (vc-annotate-display-default): Accept colormap scaling
9361 ratio (now deprecated).
9362 (vc-annotate-display-autoscale): Added.
9363 (vc-annotate-add-menu): New autoscaling menu options "Span to
9364 Oldest" and "Span Oldest->Newest". Easymenu support added for
9365 toggle menus driven by customize variable `vc-annotate-display-mode'.
9366 (vc-annotate-display-select): Added.
9367 (vc-annotate): Changed temp-buffer-show-function to
9368 `vc-annotate-display-select'.
9369 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
9370 Added argument OFFSET. Instead of backend function, calls now
9371 generic `vc-annotate-difference'.
9372 (vc-annotate-difference): Added as generic function instead of
9373 backend-specific function. No longer takes argument POINT, but
9374 instead accepts a time OFFSET.
9375 (vc-default-annotate-current-time): Added.
9376
9377 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
9378 version in vc.el, with
9379 (vc-cvs-annotate-current-time): Added, as override of default.
9380 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
9381 `vc-cvs-annotate-difference'.
9382
9383 2001-10-22 Gerd Moellmann <gerd@gnu.org>
9384
9385 * saveplace.el (save-place): Require `saveplace'.
9386
9387 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
9388 Use `sexp' for :value-type instead of `face'.
9389
9390 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
9391
9392 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
9393 regexps due to 5-digit message IDs.
9394
9395 2001-10-21 Jason Rumney <jasonr@gnu.org>
9396
9397 * term/w32-win.el (redisplay-dont-pause): Don't set.
9398
9399 2001-10-21 Miles Bader <miles@gnu.org>
9400
9401 * help-funs.el (help-manyarg-func-alist): Variable removed.
9402
9403 2001-10-21 Miles Bader <miles@gnu.org>
9404
9405 * help-funs.el (help-manyarg-func-alist): Remove entries for
9406 `insert', `insert-and-inherit', `insert-before-markers',
9407 `insert-before-markers-and-inherit', `message', `message-box',
9408 `message-or-box', `propertize', `format', `encode-time', `append',
9409 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
9410 `insert-string', `ml-if', `ml-provide-prefix-argument', and
9411 `ml-prefix-argument-loop'.
9412
9413 2001-10-21 Andre Spiegel <spiegel@gnu.org>
9414
9415 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
9416 (vc-default-diff-tree): New functions.
9417 (vc-version-diff): Use them. As a result, coding systems are now
9418 set up properly for all sorts of diffs, and tree diffs can now
9419 also be done locally.
9420 (vc-diff): With a prefix argument, don't require that it's called
9421 from a buffer under version control.
9422 (diff-switches): Remove duplicate definition.
9423
9424 * vc-cvs.el (vc-cvs-diff-tree): New function.
9425
9426 2001-10-21 Miles Bader <miles@gnu.org>
9427
9428 * help-funs.el (help-manyarg-func-alist): Remove entries for
9429 `list', `vector', `make-byte-code', `call-process',
9430 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
9431 `logand', `logior', and `logxor'.
9432
9433 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
9434 image bits to compensate. Use `make-string' instead of
9435 `make-bool-vector' (XBM apparently wants byte-aligned rows).
9436
9437 2001-10-20 Kim F. Storm <storm@cua.dk>
9438
9439 * simple.el (kill-ring-save): Don't show extent of copied region
9440 if using transient-mark-mode and region is fully visible.
9441
9442 See ChangeLog.9 for earlier changes.
9443
9444 ;; Local Variables:
9445 ;; coding: iso-2022-7bit
9446 ;; End:
9447
9448 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
9449 Copying and distribution of this file, with or without modification,
9450 are permitted provided the copyright notice and this notice are preserved.