1 2000-10-24 Gerd Moellmann <gerd@gnu.org>
3 * files.el (after-find-file): Don't print any warnings if
6 2000-10-24 Dave Love <fx@gnu.org>
8 * log-edit.el (log-edit): Add :version and a :group for vc.
10 2000-10-24 Gerd Moellmann <gerd@gnu.org>
12 * files.el (after-find-file): Don't print a message ``New file''
15 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
16 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
17 get duplicate tool-bar entries because we'll see the global ones
18 on more than one path through keymaps.
20 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
22 * progmodes/cmacexp.el: Change Francesco's email address.
24 2000-10-24 Kenichi Handa <handa@etl.go.jp>
26 * window.el (fit-window-to-buffer): Adjust point of the window
27 buffer, not that of the current buffer.
29 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
31 * progmodes/cmacexp.el: Update the euthor's email address.
33 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
35 * faces.el (face-spec-set-match-display): Add `graphic' display
36 type (the inverse of `tty'). Use `display-graphic-p' instead of
37 the window-system variable.
39 2000-10-24 Kenichi Handa <handa@etl.go.jp>
41 * international/isearch-x.el (isearch-with-input-method): Call
42 input-method-function with the first event in
43 unread-command-events.
45 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
47 * faces.el (face-default-spec, face-user-default-spec): Make
50 2000-10-24 Andrew Choi <akochoi@i-cable.com>
52 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
55 * term/mac-win.el: Remove definitions of mac-roman-lower and
56 mac-roman-upper, require dired, and define instead of set
57 mac-ready-for-drag-n-drop to avoid compilation error.
59 2000-10-23 Andrew Innes <andrewi@gnu.org>
61 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
62 superfluous calls to subst-char-in-string; instead apply
63 expand-file-name after convert-standard-filename to ensure
64 expected directory separators are used.
66 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
68 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
70 2000-10-23 Dave Love <fx@gnu.org>
72 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
73 (tool-bar-add-item): Set foreground and background for XBM icons.
75 * international/latin1-disp.el (latin1-char-displayable-p): New
76 function (from Handa).
77 (latin1-display-check-font): Use it.
79 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
80 using :key-sequence, making it much more usable. Use nconc, not
82 (imenu--create-keymap-1): Avoid append.
84 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
86 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
88 [the following changes fix a bug where `define-minor-mode' didn't
89 correctly generate :require clauses for defcustoms in compiled files]
90 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
91 (byte-compile-log-file, byte-compile-log-1): Don't set
92 `byte-compile-current-file' to nil. Instead set
93 `byte-compile-last-logged-file' to it. Test whether
94 byte-compile-current-file equals byte-compile-last-logged-file
95 instead of whether its nil.
96 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
98 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
100 * textmodes/refill.el: Fix var names in doc.
101 (refill-mode): Don't bother with make-local-hook anymore.
103 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
105 * faces.el (face-user-default-spec, face-default-spec): New functions.
106 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
107 (frame-set-background-mode, face-set-after-frame-default):
108 Use `face-user-default-spec'. Simplify code slightly.
110 * woman.el (woman-italic-face, woman-bold-face)
111 (woman-unknown-face): Add dark-background variants.
112 (woman-default-faces): Renamed from `woman-colour-faces'.
113 Set using the stored defaults, rather than using hard-wired colors.
114 (woman-monochrome-faces): Renamed from `woman-black-faces'.
115 Just make the foreground `unspecified' rather than "black".
116 (woman-menu): Rename menu entries accordingly.
118 * faces.el (header-line): Make more reasonable on mono/grayscale
121 2000-10-23 Andrew Choi <akochoi@i-cable.com>
123 * cus-edit.el (custom-button-face): Use 3D look for mac.
124 (custom-button-pressed-face): Likewise.
126 * faces.el (set-face-attributes-from-resources): Handle mac frames
127 in the same way as x and w32 frames.
128 (face-valid-attribute-values): Likewise.
129 (read-face-attribute): Likewise.
130 (defined-colors): Likewise.
131 (color-defined-p): Likewise.
132 (color-values): Likewise.
133 (display-grayscale-p): Likewise.
134 (face-set-after-frame-default): Likewise.
135 (mode-line): Same default face as for x and w32.
136 (tool-bar): Likewise.
138 * frame.el: Remove call to frame-notice-user-settings at end of
141 * info.el (Info-fontify-node): make underlines invisible for mac
142 as for x, pc, and w32 frame types.
144 * term/mac-win.el: New file.
146 2000-10-22 Dave Love <fx@gnu.org>
148 * textmodes/refill.el: New file.
150 2000-10-22 Andre Spiegel <spiegel@gnu.org>
152 * vc-hooks.el (vc-version-backup-file-name): New optional args
154 (vc-delete-automatic-version-backups, vc-make-version-backup):
156 (vc-before-save): Use the latter.
157 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
160 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
161 expected by vc[-hooks].el.
163 * vc.el (vc-checkout): Added `-p' suffix in call to
164 vc-make-version-backups-p; use vc-make-version-backup to actually
166 (vc-version-other-window, vc-version-backup-file): Handle both
167 automatic and manual backups.
168 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
171 2000-10-22 Miles Bader <miles@gnu.org>
173 * comint.el (comint-highlight-input, comint-highlight-prompt):
174 Renamed, `-face' at end removed.
175 (comint-send-input, comint-output-filter): Use renamed faces.
177 * window.el (fit-window-to-buffer): Change defaulting of
180 * faces.el (color-values, color-defined-p): Use `member', not
181 `memq', because it works correctly for strings.
182 (frame-set-background-mode): Actually, "unspecified-fg" and
183 "unspecified-bg" *are* strings. Use `member', not `memq', and
184 `equal', not `eq', when a string value is possible.
186 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
188 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
190 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
192 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
193 sh-electric-rparen, sh-electric-less and sh-electric-hash.
194 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
195 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
196 (sh-font-lock-syntactic-keywords): Use them.
197 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
198 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
199 (sh-mode): Don't override font-lock-unfontify-region-function.
200 Use a copy of sh-font-lock-syntactic-keywords.
201 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
202 Don't call sh-scan-buffer since font-lock does it on the fly.
203 (sh-get-indent-info): Use `face' rather than `syntax-table'
204 text-property to detect here-documents.
205 Replace sh-special-syntax with sh-st-punc.
206 (sh-prev-line): Use `face' rather than `syntax-table'
207 text-property to skip over here-documents.
208 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
209 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
210 (sh-electric-less, sh-set-here-doc-region)
211 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
212 (sh-scan-buffer, sh-rescan-buffer): Remove.
214 2000-10-21 Andrew Innes <andrewi@gnu.org>
216 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
217 remote (ange-ftp) file names.
219 2000-10-21 Miles Bader <miles@gnu.org>
221 * window.el (fit-window-to-buffer): New function.
222 (shrink-window-if-larger-than-buffer): Use it.
223 (window-text-height): Don't expect minibuffers to have mode-lines.
225 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
226 * international/quail.el (quail-update-guidance): Use
227 `fit-window-to-buffer' instead of `set-window-text-height'.
229 * international/quail.el (quail-show-guidance-buf): Make sure
230 guidance window really has enough room.
231 (quail-update-guidance): If quail-guidance-win is already shown,
232 make sure its height is OK.
234 * window.el (window-text-height, set-window-text-height):
236 (shrink-window-if-larger-than-buffer): Use `window-text-height'
237 instead of `window-height' & `mode-line-window-height-fudge'.
238 (mode-line-window-height-fudge): Add FACE parameter.
239 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
240 instead of `enlarge-window' & `mode-line-window-height-fudge'.
242 2000-10-20 Miles Bader <miles@gnu.org>
244 * window.el (height-affecting-face-attributes): Use `defconst'.
246 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
247 New function, conditionally aliased to `mode-line-window-height-fudge'.
248 (ispell-help): Use it.
249 (ispell-choices-win-default-height): Don't include mode-line fudge.
250 (ispell-choices-win-default-height): New function.
251 (ispell-show-choices, ispell-command-loop): Use function
252 `ispell-choices-win-default-height' instead of variable.
254 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
256 * window.el (mode-line-window-height-fudge): New variable.
257 (height-affecting-face-attributes): New variable.
258 (mode-line-window-height-fudge): New function.
259 (shrink-window-if-larger-than-buffer): Use it.
260 * help.el (resize-temp-buffer-window): Likewise.
262 * info.el (Info-fontify-node): Add support for @subsubsection
263 titles, which use `Info-title-4-face'.
264 (Info-title-4-face): New face.
265 (Info-title-3-face): Inherit from Info-title-4-face instead of
268 2000-10-19 Jason Rumney <jasonr@gnu.org>
270 * dired.el (dired-insert-directory): Do not let errors signalled by
271 attempt to run dired-free-space-program prevent dired from working.
273 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
275 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
277 2000-10-19 Gerd Moellmann <gerd@gnu.org>
279 * dirtrack.el (dirtrack): Fix call to run-hooks.
281 * cmuscheme.el (cmuscheme-program-name): Renamed from
282 scheme-program-name because xscheme.el contains a defcustom with
283 the same name. As a consequence, customizing group `cmuscheme'
284 loaded `xscheme' which redefined run-scheme.
285 (run-scheme): Use cmuscheme-program-name.
287 * ps-print.el (ps-print-emacs-type): Move into the
290 * play/doctor.el (doctor-death): Update the Samaritans'
291 anonymous address, and add a website for Befrienders International.
293 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
295 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
296 Avoid compilation gripes. Doc fix.
297 (ps-print-version): New version number (6.2).
298 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
299 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
300 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
301 (ps-x-extent-priority, ps-x-extent-start-position)
302 (ps-x-face-font-instance, ps-x-find-coding-system)
303 (ps-x-font-instance-properties, ps-x-make-color-instance)
304 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
305 avoid compilation gripes without defining functions.
306 (ps-e-find-composition): Alias for function find-composition, to have a
307 suitable function depending on Emacs version.
308 (ps-color-device, ps-color-values, ps-face-foreground-name)
309 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
310 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
311 (ps-print-ensure-fontified): Function definitions surrounded by
312 `eval-and-compile' to avoid compilation gripes.
313 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
314 by symbol-value to avoid compilation gripes.
315 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
316 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
318 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
320 * startup.el (normal-top-level): Call `frame-set-background-mode'
321 after `frame-notice-user-settings' because the latter doesn't call
324 * faces.el (frame-set-background-mode): `unspecified' &c are
325 symbols, not strings.
327 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
329 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
330 why some "light*" colors are deliberately absent from the alist.
332 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
333 Change colors for tty's, as suggested by Miles Bader.
335 2000-10-19 Kenichi Handa <handa@etl.go.jp>
337 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
338 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
339 for ISO10646-1 fonts.
340 (x-font-name-charset-alist): Add an entry for "iso10646-1".
342 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
344 * faces.el (frame-set-background-mode): If a tty frame defines a
345 background color, use that to compute the background mode, instead
346 of always defaulting to "dark".
348 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
350 * comint.el (comint-write-output): New function.
351 (comint-mode-map): Add it to the menu.
352 Bind `C-c C-s' to comint-write-output.
354 2000-10-18 Gerd Moellmann <gerd@gnu.org>
356 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
357 Use fancy-splash-delay.
359 2000-10-18 Alex Schroeder <alex@gnu.org>
361 * progmodes/sql.el (sql-sybase-options): New option.
362 (sql-sybase): Use it. Add sql-database to the list of parameters
363 provided for login. The options -w 2048 -n are not used any more.
365 * comint.el (comint-read-input-ring): Bugfix such that the first
366 and the last entry of the input ring file are not lost.
368 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
370 * ps-print.el: Internal variable changes to defcustom,
371 make-local-hook changes to defvar. Doc fix.
372 (ps-print-version): New version number (6.1).
373 (ps-setup, ps-do-despool): Code fix.
374 (ps-printer-name): Customization fix.
375 (ps-printer-name-option): Now is a defcustom instead of an
377 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
378 (ps-print-begin-column-hook): Now are defvar instead of
381 2000-10-18 Miles Bader <miles@gnu.org>
383 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
384 (comint-kill-output): Changed into an alias for `comint-delete-output',
386 (comint-mode-map): Rename references to comint-kill-output.
388 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
390 * diff-mode.el (diff-header-face, diff-file-header-face)
391 (diff-changed-face): Add bold and italic attributes to tty faces.
392 (diff-function-face): New face.
393 (diff-font-lock-keywords): Use it.
395 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
397 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
398 Remove commented-out call to force-mode-line-update.
399 (comint-kill-output): Use `forward-line 0' instead of
400 beginning-of-line to make sure we get past the prompt.
402 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
404 * diff-mode.el (diff-header-face, diff-file-header-face):
405 Add specific setting for dark background.
406 (diff-context-face): Renamed from diff-comment-face.
407 Set explicitly rather than inheriting from font-lock-comment-face.
409 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
411 * startup.el (command-line): Move the code which sets the default
412 TTY colors to before before-init-hook.
414 2000-10-17 Gerd Moellmann <gerd@gnu.org>
416 * jit-lock.el (jit-lock-stealth-time): Doc fix.
418 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
420 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
421 extensions, for MS-DOS.
423 * diff-mode.el (diff-header-face, diff-file-header-face)
424 (diff-changed-face): Define tty-specific colors.
426 2000-10-17 Gerd Moellmann <gerd@gnu.org>
428 * startup.el (fancy-splash-text): Realign the text.
430 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
432 * font-lock.el (font-lock-comment-face): Define a separate default
433 for dark-background tty's.
435 2000-10-17 Miles Bader <miles@gnu.org>
437 * help.el (resize-temp-buffer-window): Add hack to avoid last line
438 being obscured by whizzy mode-lines on graphics displays.
440 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
442 * info.el (Info-title-1-face, Info-title-2-face)
443 (Info-title-3-face): Define colors for tty's.
444 (info-header-node): Remove unneeded tty-specific definition.
446 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
448 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
449 reverse from the frame parameters, and don't invert foreground and
452 2000-10-16 Miles Bader <miles@gnu.org>
454 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
455 string "*Info*". Call propertized-buffer-identification to spruce
458 2000-10-16 Gerd Moellmann <gerd@gnu.org>
460 * help.el: Provide `help' for the sake of define-minor-mode
461 which generates defcustoms with requires.
463 * jit-lock.el (jit-lock-after-change): If we're in text that
464 matches a multi-line font-lock pattern, make sure the whole text
467 * emacs-lisp/authors.el (authors-add): Don't add an entry if
468 author's name is unknown.
470 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
471 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
472 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
473 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
474 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
475 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
476 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
477 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
478 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
479 Add author information.
481 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
483 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
484 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
485 full-color version (using the Gimp) to eliminate dithering artifacts.
487 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
489 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
491 * simple.el (syntax-flag-table, string-to-syntax): Remove.
493 2000-10-15 Dave Love <fx@gnu.org>
495 * progmodes/sh-script.el: Require skeleton and comint when
498 * pcomplete.el (pcomplete) <defgroup>: Add :version.
500 * whitespace.el: Doc fixes.
501 (top-level): Don't add hooks here.
502 (whitespace-running-emacs): Deleted.
503 (timer): Don't require.
504 (whitespace): Add back :version conditional on xemacs test.
505 (whitespace-spacetab-regexp, whitespace-indent-regexp)
506 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
507 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
508 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
509 Avoid specific xemacs test.
510 (whitespace-global-mode): New option.
511 (whitespace-global-mode): New command.
512 (whitespace-unload-hook): New function.
514 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
515 (Info-fontify-node, Info-goto-node, Info-mode-menu)
516 (Info-fontify-node): `Goto' goes to `Go to'.
517 (Info-fontify-node): Add help-echo to xref links.
519 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
521 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
523 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
525 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
526 Use plist-get and allow :inherit.
528 * emacs-lisp/cl-macs.el (cl-do-arglist):
529 Use plist-get and plist-member instead of memq.
531 * emacs-lisp/ewoc.el (ewoc-location): New function.
532 (ewoc-enter-after, ewoc-enter-before): Document return value.
533 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
534 Don't need make-local-hook any more.
535 (cvs-addto-collection): Return the new tin.
536 (cvs-mode-insert): Jump to the new line.
538 * jit-lock.el (jit-lock-fontify-buffer): Remove.
540 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
542 * font-lock.el (font-lock-syntactically-fontified): New var.
543 (font-lock-fontify-syntactic-keywords-region): Use it.
544 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
546 * diff-mode.el (diff-find-file-name): Fix regexp.
548 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
549 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
551 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
552 (sh-mode-syntax-table): Add punctuation syntax for < and >.
553 (sh-mode): Don't make all vars local here.
555 (sh-set-shell): Use dolist. Don't set indent-region-function.
556 (sh-mode-syntax-table): Use pop.
557 (sh-remember-variable): Use push.
558 (sh-help-string-for-variable): Use memq.
559 (sh-safe-backward-sexp): Remove.
560 (sh-safe-forward-sexp): Add ARG.
561 (sh-get-indent-info, sh-prev-stmt): Use it.
562 (sh-prev-line): Simplify by using forward-comment.
563 (sh-this-is-a-continuation): Simplify.
564 (sh-learn-buffer-indent): Use dolist.
565 (sh-do-nothing): Remove.
566 (sh-set-char-syntax, sh-set-here-doc-region):
567 Use inhibit-modification-hooks.
568 (sh-name-style): Use mapcar and push.
569 (sh-load-style): Use dolist.
570 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
571 (sh-case, sh-while-getopts): Use propertize directly rather
572 than sh-electric-rparen.
574 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
576 * textmodes/tex-mode.el: Require CL when compiling.
577 (tex-mode-syntax-table): Init immediately.
578 (tex-mode-map): Bind M-RET to latex-insert-item.
579 (latex-mode): Set indent-line-function to latex-indent.
580 (tex-common-initialization): Don't setup the syntax-table any more.
581 (latex-insert-item): New skeleton.
582 (tex-next-unmatched-end): Fix copy/paste braino.
583 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
584 (latex-indent, latex-find-indent): New functions.
585 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
586 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
587 (tex-compilation-parse-errors): Use with-syntax-table.
589 2000-10-15 Miles Bader <miles@gnu.org>
591 * font-lock.el (font-lock-comment-face): Change dark-background,
592 color, non-tty, default to `chocolate1'.
594 2000-10-13 John Wiegley <johnw@gnu.org>
596 * eshell/esh-util.el (require): Added a missing `require' form,
597 needed when compiling (for an ange-ftp macro definition).
599 2000-10-13 Dave Love <fx@gnu.org>
601 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
603 2000-10-13 Gerd Moellmann <gerd@gnu.org>
605 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
608 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
609 transparent -colors 8).
611 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
613 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
614 that breaks with old list format timestamps.
615 (time-stamp-warn-inactive, time-stamp-old-format-warn)
616 (time-stamp-count, time-stamp-conversion-warn): Improved doc
619 2000-10-13 John Wiegley <johnw@gnu.org>
621 * align.el, pcomplete.el, calendar/timeclock.el,
622 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
624 * calendar/timeclock.el (timeclock-find-discrep): A fix to same
625 faulty math, where holiday hours were being computing as seconds.
627 2000-10-13 John Wiegley <johnw@gnu.org>
629 * desktop.el (desktop-buffer-modes-to-save): Added a global for
630 specifying what "other" kinds of buffers should be saved. This
631 used to be hard-coded.
632 (desktop-buffer-misc-functions): A global for specifying how
633 auxiliary data should be determined for special buffer types.
634 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
635 instead of hard-coding the special buffer types.
636 (desktop-save): Run `desktop-buffer-misc-functions' to gather
637 auxiliary data, instead of hard-coding for Info buffers and dired.
638 (desktop-buffer-info-misc-data): Aux function for determining Info
639 buffer auxiliary info.
640 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
641 (desktop-buffer-info): Changed this function to use the info
643 (desktop-create-buffer): Be a little more careful about what
644 `minor-mode' means before calling it. This is important for some
647 2000-10-13 John Wiegley <johnw@gnu.org>
649 * eshell/esh-util.el: Added a global form which declares an
650 autoload for `parse-time-string', if that function is not already
651 defined, and if parse-time.el is available on the user's system.
653 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
654 to be aware of ange-ftp user info.
655 (eshell-do-ls): Bind `ange-cache'. Also, use
656 `eshell-file-attributes'.
657 (eshell-ls-annotate): Use `eshell-file-attributes'.
658 (eshell-ls-file): Made the user-id printing code a bit smarter.
660 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
661 allow identification of alias user ids in remote directories.
662 It's manual, but there's no other way to know when the current
663 user on the local machine, is also the owning user on the remote
665 (fboundp): Bind `ange-cache'.
666 (eshell-directory-files-and-attributes): Re-organized the logic a
667 bit to use `eshell-file-attributes' instead of `file-attributes'.
668 The former is more sensitive to directories that are read via FTP,
669 and knows how to use ange-ftp to determine full attribute
670 information, instead of just the name and last modtime.
671 (eshell-current-ange-uids): Return the current user id when in a
673 (eshell-parse-ange-ls): Parse a full directory listing that has
674 been returned by ange-ftp.
675 (eshell-file-attributes): This beefed up version of
676 `file-attributes' is only special if the user is currently in a
677 remote directory, in which case it does a lot of work to find out
678 what the real attributes of a file are, as they appear on the
679 remote machine. This makes usage of remote directories (i.e.,
680 ange-ftp pathnames) much more useful. You can now use Eshell as a
681 full-fledged FTP client, with much more manipulation ability than
684 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
685 variable, which means that Eshell's du should always be preferred
686 in remote directories.
687 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
688 just `file-attributes'.
689 (eshell-mvcp-template): Bind `ange-cache', to improve performance
690 when reading remote directories. This is an Eshell-specific
691 variable (not part of ange-ftp).
692 (eshell/ln): Bind `ange-cache'.
693 (eshell/du): Added some extra logic for determining when to use
694 Eshell's du (which is slow), and when to use the external version
695 (which may or may not exist).
697 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
698 `eshell-interactive-process', rather than using
699 `get-buffer-process', since backgrounded processes don't count in
700 the context of this function's logic.
702 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
703 `forward-char', so that null strings are parsed correctly.
705 2000-09-13 John Wiegley <johnw@gnu.org>
707 * eshell/em-pred.el (eshell-pred-file-type,
708 eshell-pred-file-links, eshell-pred-file-size): Use
709 `eshell-file-attributes'. This is more correct over ange-ftp.
711 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
712 that remote file globbing is more efficient.
714 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
715 gathering the files and attributes within a directory.
717 * eshell/em-unix.el (eshell/cat): If any of the files passed on
718 the command line is a special file (not a regular file, directory
719 or symlink), always attempt to call the external version of cat.
721 2000-09-13 John Wiegley <johnw@gnu.org>
723 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
724 Eshell-friendly version of find-tag.
726 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
728 * image-file.el (image-file-name-extensions)
729 (image-file-name-regexps): Add autoload cookies.
731 2000-10-13 Kenichi Handa <handa@etl.go.jp>
733 * international/mule-cmds.el (select-safe-coding-system): If FROM
734 is string, show it in *Warning* buffer.
736 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
738 * startup.el (normal-top-level): Use display-popup-menus-p instead
740 (command-line): Use display-graphic-p instead of window-system.
741 (command-line-1): Use display-popup-menus-p and display-mouse-p
742 instead of window-system.
744 2000-10-12 Sam Steingold <sds@gnu.org>
746 * tooltip.el (tooltip-use-echo-area): New user variable.
747 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
749 2000-10-12 Dave Love <fx@gnu.org>
751 * recentf.el: Maintainer's checkdoc fixes.
753 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
754 character class, not ASCII when matching file names.
755 (fancy-splash-head): Add trailing slash to URL.
756 (command-line): Don't require XPM support for toolbar.
758 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
759 (cperl-invalid-face): Revert last change.
760 (cperl-init-faces): Quote cperl-invalid-face.
762 2000-10-12 Kenichi Handa <handa@etl.go.jp>
764 * startup.el (fancy-splash-text): Remove superfluous quote.
766 2000-10-12 Gerd Moellmann <gerd@gnu.org>
768 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
769 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
770 (command-line-1): Don't use fancy-splash-pending-command.
771 (fancy-splash-screens-1): Goto point-min after inserting text.
773 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
775 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
776 instead of shared-lisp-mode-map.
778 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
780 * faces.el (header-line): Change tty-variant to use underlining.
782 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
783 (isearch-highlight): Restore lazy-isearch face properties at old
784 position, and suppress them at new position.
785 (isearch-dehighlight): Restore lazy-isearch face properties.
786 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
787 over the real isearch overlay, but in that case, don't give it a
788 face property. Use `push'.
790 2000-10-12 Kenichi Handa <handa@etl.go.jp>
792 * man.el (Man-getpage-in-background): Fix previous change.
793 Decode the process output only when we are in multibyte mode.
795 2000-10-11 Dave Love <fx@gnu.org>
797 * info.el (Info-mode-menu): Fix some help.
798 (info-tool-bar-map): Add entry for Info-last.
800 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
801 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
802 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
803 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
804 * toolbar/search-replace.xpm, toolbar/exit.xpm:
805 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
806 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
807 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
808 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
809 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
810 Reduce colour requirements to 25 overall. (Probably wants
811 revisiting from the originals to reduce further.)
813 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
815 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
816 buffer-file-coding-system, instead of raw-text.
817 (dehexlify-buffer): Bind coding-system-for-read to
818 buffer-file-coding-system, instead of raw-text.
820 2000-10-11 Sam Steingold <sds@gnu.org>
822 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
823 `underline' - fixes the bug introduced on 2000-09-21.
825 2000-10-11 Dave Love <fx@gnu.org>
827 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
829 (scheme-mode): Doc fix.
830 (scheme-font-lock-keywords-1): Match `define-syntax'.
832 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
834 * faces.el (frame-set-background-mode): Pay attention to saved
835 face specs as well as default ones. Only do anything if the
836 bg-mode or display-type has actually changed. Use `dolist'.
837 (region): Make dark-background `region' face less in-your-face.
839 2000-10-10 Sam Steingold <sds@gnu.org>
841 * chistory.el, ielm.el, ledit.el:
842 * progmodes/inf-lisp.el, progmodes/scheme.el:
843 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
845 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
847 * textmodes/texinfo.el: Update copyright and fix typo.
849 * desktop.el (desktop-modes-not-to-save): New var.
850 (desktop-save-buffer-p): Use it.
851 Also, obey desktop-buffers-not-to-save even for non-file buffers.
852 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
854 2000-10-10 Dave Love <fx@gnu.org>
856 * toolbar/tool-bar.el (tool-bar-add-item)
857 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
860 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
861 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
862 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
863 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
864 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
865 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
866 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
867 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
868 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
869 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
870 the .xpms; probably need retouching.
872 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
874 * subr.el (add-to-list): Add optional argument APPEND.
875 * battery.el (display-battery): Use `add-to-list'.
877 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
879 * play/zone.el (zone-timer, zone-wc-tbl): Rework
880 these vars as symbol properties.
881 (zone, zone-when-idle, zone-leave-me-alone)
882 (zone-pgm-whack-chars): Use new symbol properties.
884 * battery.el (display-battery): Doc spelling fix.
886 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
889 2000-10-09 Dave Love <fx@gnu.org>
891 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
892 has been initialized before calling tool-bar-setup.
893 (tool-bar-add-item-from-menu): Add autoload cookie.
895 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
897 * menu-bar.el (send-mail-item-name): New function.
898 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
899 of mail-user-agent in the menu. Don't display the "Send Mail"
900 item if mail-user-agent is nil or its value is ignore.
901 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
902 if read-mail-command is nil or its value is ignore.
904 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
906 2000-10-09 Miles Bader <miles@gnu.org>
908 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
910 * toolbar/left_arrow.xpm: Correct image size.
912 * jka-compr.el: Don't call `jka-compr-install' when loading (it
913 will be done by the definition of `auto-compression-mode' if
914 necessary. Move code to uninstall existing file-name handler
915 before definition of `auto-compression-mode'.
917 * image-file.el (auto-image-file-mode): Move to the end of the
918 file, because `define-minor-mode' actually calls the mode-function
919 if the associated variable is non-nil, which requires that all
920 needed functions be already defined.
922 * mouse.el (popup-menu): Balance parens.
924 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
926 * mouse.el (popup-menu): Move the command call outside the loop
927 so that popup-menu returns whatever the command returns.
929 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
930 (initialize-new-tags-table): Use run-hook-with-args-until-success.
931 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
932 (tags-table-format-functions): Renamed from tags-table-format-hooks.
934 * vc.el (vc-version-diff): diff-switches can be a list.
935 Use relative filenames for prettier output.
937 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
938 (vc-post-command-functions): Remove old-VC compatibility code.
940 * newcomment.el (comment-indent-default): Autoload.
942 * font-lock.el (font-lock-defaults): Make buffer-local.
943 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
944 (font-lock-choose-keywords):
945 Ignore LEVEL unless KEYWORDS is a list of syms.
946 (c-keywords, c++-keywords, objc-keywords, java-keywords):
947 Don't wrap regexp-opt things in \(...\) unnecessarily.
949 * jit-lock.el: Don't require font-lock any more.
950 (jit-lock-functions): Make buffer-local.
951 (jit-lock-saved-fontify-buffer-function): Remove.
952 (jit-lock-mode): Remove autoload cookie.
953 Remove font-lock specific code.
954 (jit-lock-unregister): Don't bother handling complex hooks any more.
955 (jit-lock-refontify): New function.
956 (jit-lock-fontify-buffer): Use it.
957 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
958 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
959 Add optional args START and END.
960 Never call font-lock-fontify-region directly.
961 (jit-lock-function, jit-lock-stealth-fontify): Use it.
963 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
965 2000-10-08 Dave Love <fx@gnu.org>
967 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
969 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
971 * play/studly.el (studlify-region, studlify-word): Add autoload
974 * play/morse.el (morse-region, unmorse-region): Add autoload
977 * play/spook.el (spook-phrases-file): Use expand-file-name, not
980 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
981 insist on symbols starting with word syntax.
982 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
983 (eval-defun-1): Doc fix.
984 (indent-sexp): Use nconc to build up indent-stack.
986 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
987 Gnus with little use.
988 (mail-setup-hook): Add mail-abbrevs-setup to options.
990 * recentf.el: Doc fixes.
992 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
995 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
996 without timezone and (8) with timezone to enforce some whitespace.
997 Simplify code somewhat.
999 * options.el (list-options): Doc that you should use customize.
1001 * iswitchb.el (iswitchb-mode): Add :require.
1003 * info.el (Info-goto-node, Info-menu): Doc fix.
1004 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1005 (info-tool-bar-map): New variable.
1006 (Info-mode): Use it.
1007 (Info-edit-map): Define all in defvar.
1008 (speedbar-attached-frame): Avoid compiler warning.
1010 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1011 (global-map): Bind [tool-bar] to a filtered map.
1012 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
1013 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1015 (tool-bar-setup): Adjust calls of tool-bar-add-item.
1017 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1018 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1019 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
1020 icons, except up_arrow, which is left-arrow rotated.
1022 * imenu.el (imenu-add-to-menubar): Fix last change.
1024 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
1026 * generic-x.el (rul-generic-mode): Remove eval-when-compile
1027 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
1029 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1031 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1032 typos in doc strings.
1034 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1035 the doc strings how to customize Font Lock faces.
1037 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1038 computing growth when dragging the header line.
1040 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1042 * simple.el (kill-line): Doc fix.
1044 2000-10-08 Miles Bader <miles@gnu.org>
1046 * faces.el (secondary-selection): Make foreground visible on tty.
1048 * jka-compr.el (auto-compression-mode): Move to the end of the
1049 file, because `define-minor-mode' actually calls the mode-function
1050 if the associated variable is non-nil, which requires that all
1051 needed functions be already defined.
1052 (with-auto-compression-mode): Add autoload cookie.
1054 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
1056 * files.el (find-backup-file-name) [ms-dos]: If support for long
1057 file names is not available, behave as if version-control were set
1060 2000-10-07 Dave Love <fx@gnu.org>
1062 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1063 (browse-url-gnome-moz): New function.
1064 (browse-url-browser-function): Use it.
1065 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1067 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
1069 * indent.el (tab-always-indent): New var.
1070 (indent-for-tab-command): Use it.
1072 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1073 raise an error. This way it can still default to a sane value.
1075 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1077 * startup.el (fancy-splash-screens): Use local rather than global map.
1078 Don't use `update-menu-bindings' any more.
1079 Get rid of assumptions about keymap representation.
1081 2000-10-06 Dave Love <fx@gnu.org>
1083 * textmodes/fill.el (sentence-end-double-space)
1084 (sentence-end-without-period): Doc fix.
1085 (adaptive-fill-regexp): Purecopy.
1086 (unjustify-current-line): Use line-end-position.
1087 (fill-individual-paragraphs-prefix): Use line-beginning-position.
1089 * net/eudc-vars.el (eudc): Add :version, :link.
1091 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1093 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1094 Fix for define-minor-mode.
1095 (function-at-point): Alias to function-called-at-point.
1097 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1099 * simple.el (backward-word): Doc fix.
1101 * image-file.el (image-file-name-regexp): image-file-regexps ->
1102 image-file-name-regexps.
1103 (image-file-name-extensions): Add pbm.
1105 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1107 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1108 and add filename to the names so that diff-mode can jump to source.
1110 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1111 (tex-font-lock-keywords, tex-font-lock-keywords-2)
1112 (tex-font-lock-keywords-1): Remove.
1113 (font-lock-turn-on-thing-lock): Use jit-lock-register.
1114 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1115 (font-lock-default-fontify-region):
1116 Expand beg..end correctly when just following a multiline region.
1117 (font-lock-fontify-anchored-keywords):
1118 Include the anchor text as part of the multiline.
1120 2000-10-06 Gerd Moellmann <gerd@gnu.org>
1122 * loadup.el (toplevel): Load `loaddefs' before `help' because the
1123 latter needs the autoloaded define-minor-mode macro during the
1126 * startup.el (command-line): For now, activate tool-bar-mode only
1127 if XPM images are supported.
1129 * mouse.el (mouse-drag-header-line): Don't allow resizing a
1130 window by dragging a header-line at the top of the frame; that's
1131 confusing because the header-line doesn't move.
1132 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1133 of treating the event as a list. Some cleanup.
1135 2000-10-06 Miles Bader <miles@gnu.org>
1137 * simple.el (display-message-or-buffer): New function.
1138 (shell-command-on-region): Use `display-message-or-buffer'.
1140 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1143 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1144 (smbclient-prompt-regexp): Add usage note to doc string.
1145 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1146 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1147 Use add-hook for adding the comint filter function, and only do so
1148 if it's not already in the global hook list.
1149 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1150 to `make-local-variable'.
1151 (nslookup-font-lock-keywords): Remove prompt entry.
1152 (nslookup): Don't set the process-filter.
1153 (finger): Exit the loop correctly when the regexps list runs out.
1154 (ftp, smbclient, smbclient-list-shares):
1155 Set the real major mode immediately, not after execing.
1156 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1158 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1160 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
1162 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1164 * which-func.el (which-func-format): Remove spurious space.
1165 (which-func-mode): Don't make it permanent-local.
1166 (which-func-ff-hook): Allow which-func-maxout to be nil.
1167 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
1168 (which-func-mode): Simplify.
1169 Use post-command-idle-hook rather than post-command-hook.
1170 Go through all buffers and update their state.
1171 (which-function): Also try add-log-current-defun-function.
1173 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1174 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1175 Update call to with-vc-properties accordingly.
1176 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1177 (vc-revert-buffer): More careful about window selection and deletion.
1178 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1180 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1181 (cvs-retrieve-revision): Reuse a pre-existing buffer.
1182 (cvs-dired-action): Change the default to quickdir.
1184 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1185 if comment-indent-function returns nil.
1186 (comment-indent-default): New function.
1187 (comment-indent-function): Use it and document the new semantics.
1189 * image-file.el: Docstring fixes.
1191 * help.el (help-xref-on-pp): Use match-string.
1192 (describe-variable): New arg BUFFER.
1193 Store the current buffer in the help-xref-stack.
1194 (temp-buffer-resize-mode): Use define-minor-mode.
1196 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1197 consistently with its docstring.
1198 Set jit-lock-first-unfontify-pos in an idempotent way.
1199 (jit-lock-register): Autoload and add arg CONTEXTUAL.
1201 2000-10-05 Alex Schroeder <alex@gnu.org>
1203 * sql.el (sql-mysql-options): New variable.
1204 (sql-mysql): Use it.
1206 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
1208 * image.el (image): New group.
1210 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1211 (smerge-base-face, smerge-markers-face): Add dark-background variants.
1213 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1215 * net/net-utils.el (nslookup-font-lock-keywords)
1216 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1217 Ignore the value of wqindow-system; always define keywords
1219 2000-10-05 Kenichi Handa <handa@etl.go.jp>
1221 * startup.el (fancy-splash-screens): Remove the code for
1222 debugging; `(trace-to-stderr "EXITTT\n")'.
1224 2000-10-05 Miles Bader <miles@gnu.org>
1226 * diff-mode.el (diff-goto-source): Update call to
1227 `diff-hunk-status-msg' to reflect new REV variable.
1229 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
1231 * progmodes/icon.el (icon-mode):
1232 Don't gratuitously override the default for comment-column.
1234 * vc-hooks.el (vc-mode-line): Fix interactive spec.
1236 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
1237 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
1238 (jit-lock-functions): New var.
1239 (jit-lock-function-1): Use it if non-nil.
1240 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
1241 Set the `fontified' property before doing the fontification to avoid
1242 repeatedly going through the same error.
1243 Don't turn errors into messages.
1244 (jit-lock-register, jit-lock-unregister): New functions.
1246 * dired.el (dired-mark-pop-up): Turn comment into docstring.
1247 Use with-current-buffer.
1249 * dired-aux.el (dired-do-create-files, dired-kill-tree):
1250 Turn comment into docstring.
1252 * apropos.el (apropos-mode): Use define-derived-mode.
1254 2000-10-04 Gerd Moellmann <gerd@gnu.org>
1256 * startup.el (fancy-splash-pending-command): New variable.
1257 (fancy-splash-pre-command): New function.
1258 (fancy-splash-screens): Rewritten.
1259 (command-line-1): If fancy-splash-pending-command is set, call it
1262 2000-10-04 Dave Love <fx@gnu.org>
1264 * toolbar/tool-bar.el (tool-bar-setup): New function.
1265 (tool-bar-mode): Use it.
1267 * subr.el (substitute-key-definition): Doc fix.
1268 (play-sound-file): New command.
1270 2000-10-04 Andre Spiegel <spiegel@gnu.org>
1272 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
1273 vc-version-backup-file-name): New functions.
1275 * files.el (basic-save-buffer): Call vc-before-save before saving.
1277 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
1278 vc-cvs-stay-local-p.
1280 * vc.el (vc-revert-buffer): Handle empty diff properly.
1281 (vc-version-backup-file): New function.
1282 (vc-checkout): Create a version backup if necessary.
1283 (vc-checkin): If a version backup file exists, delete it.
1284 (vc-version-diff): Diff locally using version backups, if available.
1285 (vc-revert-file): If there's a version backup, revert locally.
1286 (vc-transfer-file): Use version backup for base version, if
1287 available. If not, ask for confirmation whether to get it from the
1288 server. Update mode line before check-in.
1290 2000-10-04 Dave Love <fx@gnu.org>
1292 * toolbar/tool-bar.el (tool-bar-setup): New function.
1293 (tool-bar-mode): Use it.
1295 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1297 * net/net-utils.el (nslookup-font-lock-keywords)
1298 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1299 Only set if window-system is non-nil
1300 (net-utils-run-program): Returns buffer.
1301 (network-connection-reconnect): Added this function.
1304 Incorporates extensive cleanup and docfixes by
1305 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
1306 Uses cl compile-time macros.
1307 (generic-mode-name, generic-comment-list)
1308 (generic-keywords-list, generic-font-lock-expressions)
1309 (generic-mode-function-list, generic-mode-syntax-table):
1311 (generic-mode-alist): Renamed to generic-mode-list.
1312 (generic-find-file-regexp): Default changed to "^#".
1313 (generic-read-type): Uses completing read on generic-mode-list.
1314 (generic-mode-sanity-check): removed this function.
1315 (generic-add-to-auto-mode): Removed this function
1316 (generic-mode-internal): Bind mode-specific definitions
1317 into function instead of putting them in alist.
1318 (generic-mode-set-comments): Reworked extensively.
1319 (generic-mode-find-file-hook): Simplified regexp searching
1320 (generic-make-keywords-list): Omit extra pair of parens
1322 * find-lisp.el (find-lisp-find-files-internal):
1323 Make sure directory name ends with "/".
1325 * generic-x.el (apache-conf-generic-mode):
1326 Regexp now allows leading whitespace.
1327 (rc-generic-mode): Added eval-when-compile
1328 around generic-make-keywords-list.
1329 Deleted duplicate regexp
1330 (rul-generic-mode): Added eval-when-compile
1331 around generic-make-keywords-list.
1332 (etc-fstab-generic-mode): New generic mode.
1333 (rul-generic-mode): Removed one eval-when-compile
1334 which caused a max-specpdl-size exceeded error.
1336 2000-10-04 Miles Bader <miles@gnu.org>
1338 * simple.el (minibuffer-temporary-goal-position): New variable.
1339 (next-history-element): Try to keep the position of point in the
1340 input string constant.
1342 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
1343 (dired-do-create-files): If there's only one file, pass it in as
1344 the DEFAULT arg to dired-mark-read-file-name.
1346 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
1348 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
1349 (diff-goto-source): Be smarter when choosing REVERSE or not.
1351 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
1352 (texinfo-mode-menu): Add an explicit shortcut for update all.
1354 2000-10-03 Andre Spiegel <spiegel@gnu.org>
1356 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
1357 factorize backend-specific code cleanly (this was essentially
1358 conceived by Stefan Monnier).
1359 (vc-unregister): Function removed.
1360 (vc-revert-file): New function.
1361 (vc-revert-buffer): Delegate some of the work to it.
1363 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
1364 default branch unconditionally.
1365 (vc-rcs-set-default-branch): New function.
1366 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
1367 (vc-rcs-checkin): If an appropriate default branch has been set,
1368 force creation of that branch.
1369 (vc-rcs-receive-file): Rewritten to contain only backend-specific
1370 code (as suggested by Stefan Monnier).
1372 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1374 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
1375 highlighting overlay with a different face over the overlay
1376 isearch uses to highlight the current match because that can lead
1377 to bad face combinations.
1379 * loadup.el (toplevel): Load faces before isearch.
1381 * isearch.el (isearch-faces): New custom group.
1382 (isearch): New defface; was already tested for in the code.
1383 (isearch-lazy-highlight-face): Changed to defface from defcustom.
1384 (isearch-highlight): Always use face `isearch'.
1386 2000-10-02 Dave Love <fx@gnu.org>
1388 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
1389 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
1390 comparison of opcode with operand.
1392 2000-10-03 Miles Bader <miles@gnu.org>
1394 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
1395 buffer, since the echo area will now grow to accommodate them.
1397 2000-10-02 Andre Spiegel <spiegel@gnu.org>
1399 * vc-hooks.el (vc-registered): If FILE used to be registered under
1400 a certain backend, try that one first.
1402 * vc.el (vc-responsible-backend): Undo the previous change in the
1403 argument list. Handle multiple backends correctly.
1404 (vc-find-new-backend): Function removed.
1405 (vc-register): Use vc-responsible-backend, as before.
1406 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
1408 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1410 * startup.el (fancy-splash-head): Change message below the
1413 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
1415 * diff-mode.el (diff-goto-source): Emit a status message.
1416 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
1417 (diff-test-hunk): Fix doc string.
1418 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
1419 (diff-advance-after-apply-hunk): New variable.
1420 (diff-apply-hunk): Don't return a value.
1422 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
1424 * vc.el (vc-editable-p): Minor optimization.
1425 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
1426 (vc-find-new-backend): New function split from vc-responsible-backend.
1427 (vc-register): Use it.
1428 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
1429 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
1430 (vc-default-unregister, vc-revert-buffer): Docstring fix.
1431 (vc-clear-headers): Don't use find-file.
1432 (vc-revert-buffer): Use `and' again (must have been a braino).
1433 (vc-switch-backend): Only prompt if requested.
1434 Short circuit if nothing is to be done.
1435 Don't use vc-resynch-buffer which could lose unsaved editing.
1436 (vc-default-receive-file): Update call to vc-unregister.
1437 (with-vc-file, vc-next-action-on-file):
1438 Use vc-backend rather than vc-registered.
1439 (vc-next-action-on-file): Use intern-soft.
1440 Deal with read-only *vc-diff* buffer.
1441 (vc-transfer-file): Docstring fix.
1443 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
1444 (vc-rcs-receive-file): Avoid with-vc-properties.
1445 Update call to vc-unregister.
1446 Use constant `RCS' rather than (dynamically bound) var `backend'.
1448 2000-10-01 Andre Spiegel <spiegel@gnu.org>
1450 * vc.el (vc-next-action-on-file): Update mode line only if file
1452 (vc-start-entry): New argument initial-contents. Don't visit the file
1453 if it isn't already visited. Brought documentation up-to-date.
1454 (vc-next-action, vc-register): Updated calls to vc-start-entry.
1455 (vc-checkin): New optional arg initial-contents, which is passed to
1457 (vc-finish-logentry): Make sure to bury log buffer only if there
1458 really is one. Call `vc-resynch-buffer' on log-file, not
1460 (vc-default-comment-history, vc-default-wash-log): New functions.
1461 (vc-index-of): Removed.
1462 (vc-transfer-file): Make do without the above.
1463 (vc-default-receive-file): Call comment-history unconditionally. Pass
1464 the resulting string to vc-checkin, instead of inserting it into the
1467 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
1468 unconditionally. Use the comments as initial contents of the log
1469 entry buffer. Document the trick to force branch creation with no
1472 2000-10-01 Miles Bader <miles@gnu.org>
1474 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
1475 `recenter' with an arg to prevent redrawing the display.
1477 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
1479 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
1481 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
1483 * progmodes/c-mode.el (c-mode):
1484 Don't gratuitously override the default for comment-column.
1486 * textmodes/tex-mode.el (latex-metasection-list): New var.
1487 (latex-imenu-create-index): Use it.
1488 Move the regexp construction outside loops (and use push).
1489 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
1490 (tex-font-lock-keywords): Moved from font-lock.el.
1491 (tex-comment-indent): Remove.
1492 (tex-common-initialization): Don't set comment-indent-function.
1493 (latex-block-default): New var.
1494 (tex-latex-block): Use it to provide a default choice.
1495 Add any unknown choice to latex-block-names.
1496 Insert [...] after {...}.
1497 (tex-last-unended-begin): Simplify regexp.
1498 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
1499 (latex-forward-sexp-1, latex-forward-sexp): New functions.
1500 (latex-mode): Set forward-sexp-function.
1502 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
1503 Add regexp for @ignore ... @end ignore.
1504 (texinfo-heading-face): New face.
1505 (texinfo-font-lock-keywords): Use it.
1506 (texinfo-mode-menu): New menu.
1507 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
1509 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
1510 (texinfo-section-types-regexp, texinfo-section-level-regexp)
1511 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
1513 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
1515 * delsel.el (delete-selection-mode): Use define-minor-mode.
1517 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
1519 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1521 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
1523 2000-09-30 Gerd Moellmann <gerd@gnu.org>
1525 * replace.el (keep-lines-read-args): New function.
1526 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
1527 read arguments interactively. Add parameters RSTART and REND.
1528 Operate on the active region in Transient Mark mode.
1530 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
1532 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
1533 (authors-obsolete-files-regexps): New variable.
1534 (authors-add): Don't record changes in obsolete files.
1536 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1538 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
1540 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
1541 (comment-indent): Make sure there's a space between code and comment.
1542 Shift comments left to avoid going past fill-column.
1544 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1546 * startup.el (startup-echo-area-message): New function.
1547 (display-startup-echo-area-message): Use it.
1548 (fancy-splash-screens): Rewritten to use keymaps and a timer.
1549 (fancy-splash-default-action): New function.
1550 (fancy-splash-screens-1): New function.
1551 (fancy-splash-head): Put a help-echo and a keymap under the image.
1553 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1555 * diff-mode.el (diff-add-log-file-name): Remove.
1556 (diff-mode): Use add-log-buffer-file-name-function.
1558 * add-log.el (find-change-log): New arg BUFFER-FILE.
1559 (add-log-file-name): Obey add-log-file-name-function.
1560 (add-log-buffer-file-name-function): New var.
1561 (add-change-log-entry): Use it.
1563 2000-09-29 Miles Bader <miles@gnu.org>
1565 * image-file.el (image-file-name-extensions): New variable.
1566 (image-file-name-regexps): Renamed from `image-file-regexps'.
1567 New default value is nil. Call `auto-image-file-mode'.
1568 (image-file-name-regexp): New function.
1569 (auto-image-file-mode): New minor mode.
1570 (insert-image-file): Don't make conditional on the image-file
1571 handler being enabled.
1572 (image-file-handler): Make the call here conditional instead.
1573 (set-image-file-handler-enabled, enable-image-file-handler)
1574 (disable-image-file-handler): Functions removed.
1576 * emacs-lisp/authors.el (authors-print): Rephrase many-files
1579 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1581 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
1582 it's a function from CL.
1583 (latex-imenu-create-index): Replace eval-when-compile with progn
1584 because latex-section-alist is not bound while compiling.
1586 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1588 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
1589 (outline-mode): Use define-derived-mode.
1591 * progmodes/perl-mode.el (perl-mode):
1592 * progmodes/awk-mode.el (awk-mode):
1593 * progmodes/asm-mode.el (asm-mode):
1594 Don't gratuitously override the default for comment-column.
1596 * emacs-lisp/lisp.el (lisp-complete-symbol):
1597 Distinguish the let-binding case from the funcall case.
1598 (forward-sexp-function): New variable.
1599 (forward-sexp): Use it.
1601 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
1602 (easy-mmode-defmap): Remove the now useless autoload.
1604 * time.el (display-time-mode): Use define-minor-mode.
1606 * subr.el (add-minor-mode): Don't eval NAME.
1607 Don't depend on the presence of TOGGLE-FUN for any special behavior.
1608 Use if rather than cond.
1610 * simple.el (read-expression-map): Define more properly.
1611 (comment-indent-hook): Remove.
1612 (string-to-syntax): Bug fix.
1614 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
1615 (cvs-ediff-diff): Fix typo.
1616 (cvs-revert-if-needed): Don't bother preserving read-only.
1618 * paren.el (show-paren-mode): Use define-minor-mode.
1620 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
1621 (toggle-auto-compression): Remove.
1622 (jka-compr-build-file-regexp): Remove useless grouping.
1624 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
1625 Avoid user-reserved bindings.
1626 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
1627 (diff-header-face): Revert to grey85.
1629 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
1631 * complete.el (partial-completion-mode) <defcustom>: Remove.
1632 (partial-completion-mode): Use define-minor-mode.
1633 (PC-do-completion): Understand `completion-auto-help = delay'
1634 to mean to popup the completion buffer only the second time.
1635 (PC-include-file-all-completions, PC-include-file-all-completions)
1636 (PC-include-file-all-completions): Don't quote lambda.
1638 * comint.el (comint-mode-hook): Docstring fix.
1639 (comint-mode): Use define-derived-mode.
1640 (comint-mode-map): Remove obsolete comment.
1641 (make-comint): Minor stylistic change.
1642 (comint-insert-clicked-input): Be more careful to find the overlay.
1643 Use this-command-keys rather than hardcoding mouse-2.
1645 * font-lock.el: Replace confusing (,@ with ,
1646 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
1647 Don't use regexp-opt-depth. Spice up the regexp for args.
1648 Don't distinguish between cmds that can take an opt arg or not.
1649 Use `append' and `prepend' rather than `keep'.
1651 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
1652 (latex-outline-regexp): New var.
1653 (latex-outline-level): New fun.
1654 (latex-section-alist): New var.
1655 (latex-imenu-create-index): Use it. Use `push' as well.
1656 (tex-shell-map): Initialize it properly.
1657 (tex-mode): Minor stylistic change.
1658 (plain-tex-mode): Use define-derived-mode.
1659 (latex-mode): Use define-derived-mode.
1660 Construct the paragraph regexps in a more readable way.
1661 Set the buffer-local outline-{level,regexp} vars.
1662 (slitex-mode): Derive from latex-mode.
1663 (tex-common-initialization): Don't kill-all-vars anymore.
1664 Add setting for comment-add and font-lock-defaults.
1665 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
1666 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
1667 (tex-start-tex): New arg DIR (and send a chdir command for it).
1668 Also display the shell buffer and save it in tex-last-buffer-texed.
1669 (tex-region): Use expand-file-name rather than concat.
1670 Remove code made useless by changes in tex-start-tex.
1671 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
1673 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
1675 2000-09-28 Dave Love <fx@gnu.org>
1677 * eshell/eshell.el (eshell) <defgroup>: Add :version.
1679 2000-09-28 Gerd Moellmann <gerd@gnu.org>
1681 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
1684 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1686 * info.el (Info-extract-pointer): Undo last change.
1687 Instead, fix the position of the `bound' arg to re-search-backward.
1689 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
1691 * info.el (Info-extract-pointer):
1692 Widen more carefully, to avoid finding pointers in other nodes.
1693 (Info-index): Use push.
1695 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1697 * frame.el (set-frame-font): Remove call to obsolete function
1699 (set-foreground-color, set-background-color): Likewise for
1700 frame-update-face-colors.
1702 2000-09-27 Miles Bader <miles@gnu.org>
1704 * image-file.el: New file.
1706 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1708 * frame.el (frame-notice-user-settings): Don't call
1709 frame-update-faces, which is a no-op now.
1711 * ediff-wind.el (ediff-control-frame-parameters): Add zero
1714 2000-09-27 Dave Love <fx@gnu.org>
1716 * mouse.el: Fix last change.
1718 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
1720 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
1722 2000-09-22 Kenichi Handa <handa@etl.go.jp>
1724 * international/quail.el (quail-help): The output message is
1727 2000-09-26 Dave Love <fx@gnu.org>
1729 * mouse.el (popup-menu): If POSITION is nil, set it using
1732 2000-09-25 Sam Steingold <sds@gnu.org>
1734 * net/browse-url.el (browse-url-file-url): Check for null maps.
1736 2000-09-26 Gerd Moellmann <gerd@gnu.org>
1738 * frame.el (frame-notice-user-settings): Don't add a
1739 tool-bar-lines frame parameter to default-frame-alist in batch mode.
1741 * frame.el (frame-notice-user-settings):
1742 Make tool-bar-mode and default-frame-alist consistent.
1744 * toolbar/tool-bar.el (tool-bar-help): New function.
1746 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1748 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
1749 current-load-list in top-level forms. Else this leaks a cons cell
1750 every time a defun is called.
1752 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
1754 2000-09-25 Dave Love <fx@gnu.org>
1756 * startup.el (fancy-splash-head): Check XPM is available.
1758 * autoinsert.el (auto-insert): Doc fix.
1759 (auto-insert-alist): Following GNU notices, don't say `copyright
1760 _by_'. Use line-beginning-position.
1761 (auto-insert): Check buffer-file-name is non-nil before use.
1763 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1765 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
1766 starting with `@def' or `@multitable', in addition to ones
1767 specified by the user in auto-fill-inhibit-regexp.
1769 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
1771 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
1772 rmail-dont-reply-to-names matches the empty string.
1774 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1776 * startup.el (command-line-1, fancy-splash-text): Change the
1777 text to sound more friendly.
1779 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
1781 * progmodes/hideshow.el: Update author email address.
1782 Generally, sync w/ maintainer version 5.22.
1783 (hs-hide-all-non-comment-function): New var.
1784 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
1785 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
1786 (hs-show-region): Delete this command.
1787 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
1789 2000-09-22 Dave Love <fx@gnu.org>
1791 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
1792 (hl-line-highlight): Specify buffer when moving overlay.
1794 * progmodes/fortran.el (fortran-mode): Locally set
1795 normal-auto-fill-function.
1796 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
1797 (fortran-mode-map): Adjust auto-fill menu entry.
1799 2000-09-22 Gerd Moellmann <gerd@gnu.org>
1801 * vc-rcs.el (toplevel): Require `vc' when compiling.
1803 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
1805 2000-09-22 Andre Spiegel <spiegel@gnu.org>
1807 * vc.el (vc-switch-backend): Signal an error if the file is not
1808 registered under the new backend.
1810 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
1811 without explicit revision number.
1813 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
1815 * diff-mode.el (diff-file-header-face): Reset to its previous value.
1816 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
1817 (diff-xor): New function.
1818 (diff-find-source-location): Use it. Fix a stupid name clash.
1819 (diff-hunk-status-msg): New function.
1820 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
1821 (diff-test-hunk): Use diff-find-source-location.
1822 (diff-goto-source): Favor the `reverse'.
1823 (diff-hunk-text): Properly handle one-sided context diffs.
1824 (diff-apply-hunk): When done, advance to the next hunk.
1826 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1828 * startup.el (command-line): If frame was created with a non-zero
1829 tool-bar-lines parameter, switch tool-bar-mode on.
1831 * add-log.el (change-log-date-face, change-log-name-face)
1832 (change-log-email-face, change-log-file-face)
1833 (change-log-list-face, change-log-conditionals-face)
1834 (change-log-function-face, change-log-acknowledgement-face):
1835 New faces, inheriting from font-lock faces.
1836 (change-log-font-lock-keywords): Use them.
1838 2000-09-21 Dave Love <fx@gnu.org>
1840 * progmodes/cperl-mode.el (top-level): Clean up
1841 `eval-when-compile's and assorted defvars.
1842 (cperl-invalid-face): Don't double-quote value. Change custom
1844 (cperl-mode): Set normal-auto-fill-function and don't zap
1846 (cperl-imenu--function-name-regexp-perl): Renamed from
1847 imenu-example--function-name-regexp-perl.
1848 (cperl-imenu--create-perl-index): Renamed from
1849 imenu-example--create-perl-index.
1850 (cperl-xsub-scan): Don't require cl.
1852 * msb.el (msb-mode-map): Use substitute-key-definition.
1853 (msb-mode): Use msb-mode-map.
1855 2000-09-21 Andre Spiegel <spiegel@gnu.org>
1857 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
1859 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
1860 (vc-switch-backend): New function.
1861 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
1862 (vc-register): Fix prompt.
1863 (vc-unregister, vc-default-unregister): New functions.
1864 (vc-version-diff): Handle empty buffer in sentinel.
1866 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
1867 (vc-rcs-state-heuristic): Use it to guess the state of files with
1869 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
1870 been set with -b, but not created yet.
1871 (vc-rcs-fetch-master-state): With non-strict locking, compare file
1872 contents in order to find the state.
1873 (vc-rcs-checkin): Allow creation of branches with no changes.
1874 (vc-rcs-unregister, vc-rcs-receive-file)
1875 (vc-rcs-set-non-strict-locking): New functions.
1877 * vc-hooks.el (vc-name): Force correct computation of the value
1878 in case it is missing.
1880 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1882 * startup.el (fancy-splash-tail): Use a different foreground
1883 color on a dark frame background.
1885 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
1887 * info.el: Use the correct capitalization when making Info-mode
1888 and Info-edit-mode `special' modes.
1890 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
1892 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
1893 (diff-mode): Add support for add-log.el.
1894 (diff-hunk-text): Use char offsets rather than line offsets.
1895 (diff-find-source-location): Replace LINE with line-offset (nil
1896 if not found) and always set POS to a meaningful position.
1897 Adapt to the new char-offsets.
1898 (diff-apply-hunk): Drop support for the unused `select' POPUP.
1899 Adapt to the new diff-find-source-location.
1900 (diff-goto-source): Adapt to the new diff-find-source-location.
1902 * add-log.el (add-log-file-name): New function (split out of
1903 add-change-log-entry).
1904 (add-change-log-entry): Use it.
1905 Call add-log-file-name-function with the changelog file name if
1906 the current buffer is not associated with any file.
1907 Avoid find-file if the selected window is dedicated.
1909 * diff-mode.el (diff-find-source-location):
1910 Move code from diff-apply-hunk. Return buffer rather than file.
1911 (diff-apply-hunk): Use the new result from diff-find-source-location.
1912 (diff-goto-source): Use the new diff-find-source-location.
1914 2000-09-20 Dave Love <fx@gnu.org>
1916 * iswitchb.el: Some doc fixes.
1917 (iswitchb-mode-map): Define completely initially. Inherit
1918 minibuffer-local-map.
1919 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
1921 (iswitchb-global-map): New variable.
1922 (iswitchb-summaries-to-end): Amalgamate regexps.
1923 (iswitchb-mode): New.
1924 (iswitchb-mode-hook): New variable.
1925 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
1928 2000-09-20 Gerd Moellmann <gerd@gnu.org>
1930 * ehelp.el (electric-help): New defgroup.
1931 (electric-help-shrink-window): New user-option.
1932 (with-electric-help): Use it.
1934 * window.el (shrink-window-if-larger-than-buffer): If face
1935 `mode-line' has a :box, and we're on a graphical frame, add 1
1936 to the needed window height.
1938 * frame.el (frame-notice-user-settings): Add a last parameter nil
1939 to a call to `append', because the last list passed to `append' is
1940 not copied, and so subsequent calls to assq-delete-all will modify
1941 default-frame-alist.
1943 * startup.el (fancy-splash-image): Change :type.
1944 (fancy-splash-head): Use an XBM image if appropriate.
1945 (command-line-1): Show splash screens in more cases.
1947 * startup.el (fancy-splash-text): Don't quote faces.
1949 * dired.el (dired-font-lock-keywords): Undo last change.
1950 (dired-readin): Bind indent-tabs-mode to nil.
1952 * startup.el (fancy-splash-head): If frame's background mode
1953 is `dark', change the black background of the image to gray.
1954 (fancy-splash-screens): Display startup echo area message.
1955 (display-startup-echo-area-message): New function.
1957 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
1959 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
1961 * info.el (info-header-node): Tweak for color ttys.
1963 * faces.el (face-valid-attribute-values): Make sure directories we
1964 search for stipples both exist and are readable before trying to
1967 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
1968 in the dry-run case.
1970 * jka-compr.el (with-auto-compression-mode): New macro.
1972 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
1973 (custom-group-tag-face, custom-variable-tag-face): Use relative
1974 :height and inherit from `variable-pitch' face instead of
1976 * hi-lock.el (hi-black-hb): Likewise.
1978 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
1979 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
1980 toolbar-add-item, if image doesn't have a mask add a `:mask
1983 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
1985 * diff-mode.el: Docstring fixes.
1986 (diff-header-face, diff-comment-face): New faces.
1987 (diff-font-lock-keywords): Highlight a bit differently.
1988 (diff-find-source-location): Don't return SPAN any more.
1989 (diff-hunk-text): Don't bother erasing the temp buffer.
1990 (diff-find-text): Drop argument LINE.
1991 (diff-apply-hunk): Update calls to diff-find-text.
1992 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
1994 * calendar/calendar.el: Docstring fixes.
1995 (calendar-make-alist): Don't quote lambda.
1996 (calendar-star-date): Use make-local-variable.
1998 2000-09-19 Dave Love <fx@gnu.org>
2000 * toolbar/tool-bar.el: Renamed from toolbar.el.
2001 Change `toolbar' to `tool-bar' generally in symbols.
2002 Make some items invisible in `special' major modes.
2003 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2006 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2008 (fancy-splash-delay, fancy-splash-image): Remove :version here.
2010 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2012 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2014 * files.el (find-file-suppress-same-file-warnings): New user-option.
2015 (find-file-noselect): Use it.
2017 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2018 (fancy-splash-screen): Defgroup.
2020 * add-log.el (change-log-font-lock-keywords): Match names
2021 more exactly for the case that font-lock-constant-face is
2024 2000-09-19 Richard M. Stallman <rms@gnu.org>
2026 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2028 2000-09-19 Andre Spiegel <spiegel@gnu.org>
2030 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2032 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2034 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2035 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2036 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2037 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2038 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2039 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2040 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2041 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2042 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2043 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2044 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2045 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2047 * startup.el (fancy-splash-text): New variable.
2048 (fancy-splash-delay, fancy-splash-image): New user-options.
2049 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2050 (fancy-splash-screens): New functions.
2051 (command-line-1): If display has a `display' frame parameter, has
2052 colors, and we have XPM support, show more fancy splash screens.
2054 2000-09-19 Dave Love <fx@gnu.org>
2056 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
2057 with null `help'. Use modern backquote syntax.
2059 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2061 * font-lock.el (font-lock-mode): Change message telling the user
2062 that ``the buffer is too big''.
2064 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2065 for instance for the case that tab-width is 2.
2067 2000-09-18 Gerd Moellmann <gerd@gnu.org>
2069 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2070 toolbar-add-item, if image doesn't have a mask add a `:mask
2073 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
2075 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2076 and return a cons if it's non-nil.
2077 (diff-apply-hunk): Try to jump to the line in the source text
2078 corresponding to the position of point in the in the hunk.
2080 * info.el (Info-title-3-face, Info-title-2-face)
2081 (Info-title-1-face): Use face inheritance and relative sizes
2082 instead of hard-wiring things.
2084 * faces.el (secondary-selection): Make dark-background variant sane.
2086 2000-09-16 Andrew Innes <andrewi@gnu.org>
2088 * makefile.w32-in (compile-files-CMD): No need to make .elc files
2089 read-only, since they aren't under VC now.
2091 2000-09-17 Dave Love <fx@gnu.org>
2093 * tmm.el: Replace mapcar with mapc in several places.
2095 * loadhist.el (unload-feature): Maybe call elp-restore-list and
2098 * international/latin1-disp.el: New file.
2100 * calendar/cal-move.el (scroll-calendar-left)
2101 (scroll-calendar-right): Make arg optional (for active mode line).
2103 * calendar/calendar.el (calendar-mode-line-format): Make fields
2105 (calendar-read-date, calendar-read-date, calendar-window-list):
2107 (calendar-month-name): Use aref, not sref.
2109 * view.el (minor-mode-alist): Propertize the string.
2111 * international/characters.el (standard-case-table): Add entries
2114 2000-09-18 Miles Bader <miles@gnu.org>
2116 * info.el (info-node, info-xref): Add dark-background variants.
2118 * faces.el (header-line): Change defaults to be less confusing
2119 when mixed with mode-lines.
2121 * info.el (Info-fontify-node): Make a few cleanups.
2122 Add extra `help-echo' and `local-map' props to node xrefs.
2123 Use header-specific faces for node-names & xrefs.
2124 (Info-use-header-line): New variable.
2125 (info-header-xref, info-header-node): New faces.
2126 (Info-setup-header-line): New function.
2127 (Info-select-node): Call Info-setup-header-line when enabled.
2128 (Info-extract-pointer): Work even if the header line is hidden.
2129 (Info-header-line): New variable.
2131 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
2133 * vms-patch.el (print-region-function): Don't quote lambda.
2135 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2137 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2138 (lm-get-header-re): Allow spaces between the header and the colon.
2139 (lm-header): Allow $ in non-RCS headers.
2140 (lm-header-multiline): Put the strings back into order.
2141 Stop at an empty line. Don't require two space chars if the
2142 line is clearly not another header line.
2144 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2145 (popup-menu-popup): Remove.
2147 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2149 * toolbar/toolbar.el (toolbar-add-item): Use the same image
2150 specification if or if not tool-bar item contains an `:enabled'
2153 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2154 current buffer has no file name.
2156 2000-09-15 Dave Love <fx@gnu.org>
2158 * strokes.el: Sync with maintainer's current version with changes
2159 for Emacs, but avoid runtime cl and levents.
2160 (toplevel): Change autoloads and compilation requires.
2161 (strokes-version, strokes-bug-address, strokes-lift): Values
2163 (strokes-xpm-header, strokes-insinuated): New variable.
2164 (strokes): Add :link.
2165 (strokes-mode): Customized.
2166 (strokes-while-inhibiting-garbage-collector): New macro.
2167 (strokes-remassoc): Avoid remove-if.
2168 (strokes-fix-button2-command): Don't use ad-do-it.
2169 (strokes-insinuate): New function.
2170 (strokes-button-press-event-p, strokes-button-release-event-p):
2171 New functions, used instead of non-`strokes-' versions..
2172 (strokes-mouse-event-p): Rewritten.
2173 (strokes-event-closest-point): Avoid event-point.
2174 (strokes-get-grid-position): Avoid cdadr, caadr
2175 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2177 (strokes-help): Use with-output-to-temp-buffer.
2178 (strokes-window-configuration-changed-p): New function.
2179 (strokes-update-window-configuration): Use buffer-live-p,
2180 strokes-window-configuration-changed-p.
2181 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
2182 (strokes-char-face): New face.
2183 (strokes-char-table, strokes-base64-chars): New variable.
2184 (strokes-xpm-for-stroke, strokes-list-strokes)
2185 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2186 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2187 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2188 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2189 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2192 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2194 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2196 * image.el (create-image): Doc fix.
2198 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2199 instead of `:heuristic-mask t'.
2201 2000-09-14 Andrew Innes <andrewi@gnu.org>
2203 * makefile.w32-in: Revert to Unix line endings.
2205 2000-09-14 Andrew Innes <andrewi@gnu.org>
2207 * makefile.w32-in: Add bootstrap support. Also copy lisp source
2210 * makefile.nt (DONTCOMPILE): Fix typo.
2212 * shell.el (shell-write-history-on-exit): New function.
2213 (shell-dumb-shell-regexp): New custom variable.
2214 (shell-mode): Make shell-write-history-on-exit the process
2215 sentinel if shell name matches shell-dumb-shell-regexp.
2217 * w32-fns.el: Comment out before-init-hook function which resets
2218 source-directory based; this breaks bootstrap.
2220 2000-09-14 Dave Love <fx@gnu.org>
2222 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
2223 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
2224 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
2225 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
2226 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
2227 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
2228 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
2229 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
2230 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
2232 * toolbar/toolbar.el: New.
2234 * subdirs.el: Add toolbar.
2236 2000-09-14 Gerd Moellmann <gerd@gnu.org>
2238 * indent.el (indent-for-tab-command): Doc fix.
2240 2000-09-14 Alex Schroeder <alex@gnu.org>
2242 * ansi-color.el (ansi-colors): Doc change.
2243 (ansi-color-get-face): Simplified regexp.
2244 (ansi-color-faces-vector): Added more faces, doc change.
2245 (ansi-color-names-vector): Doc change.
2246 (ansi-color-regexp): Simplified regexp.
2247 (ansi-color-parameter-regexp): New regexp.
2248 (ansi-color-filter-apply): Doc change.
2249 (ansi-color-filter-region): Doc change.
2250 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
2251 deal with zero length parameters.
2252 (ansi-color-apply-on-region): Doc change.
2253 (ansi-color-map): Doc change.
2254 (ansi-color-map-update): Removed debugging message.
2255 (ansi-color-get-face-1): Added condition-case to trap
2256 args-out-of-range errors.
2257 (ansi-color-get-face): Doc change.
2258 (ansi-color-make-face): Removed.
2259 (ansi-color-for-shell-mode): New option.
2261 2000-09-13 Kenichi Handa <handa@etl.go.jp>
2263 * international/quail.el (quail-start-translation): Translate KEY
2264 if necessary even if it doesn't have any mapping in the current
2266 (quail-start-conversion): Likewise.
2267 (quail-help): The output message is improved.
2269 2000-09-13 Miles Bader <miles@gnu.org>
2271 * comint.el (comint-output-filter): Revert to using
2272 `insert-before-markers'. Add bletcherous hack to undo damage
2273 caused by `insert-before-markers'. Put `front-sticky' property on
2274 overlays created here so that the field code understands how the
2275 overlay works. Use a let when making comint-last-prompt-overlay,
2276 so that the code is easier to read.
2278 2000-09-13 Dave Love <fx@gnu.org>
2280 * wid-edit.el (widget-default-format-handler): DTRT when
2281 doc-property is a function.
2283 2000-09-12 Francesco Potorti` <pot@gnu.org>
2285 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
2286 filed name if it's not there.
2288 2000-09-12 Dave Love <fx@gnu.org>
2290 * simple.el (read-mail-command): Doc fix.
2291 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
2293 * vc.el (vc-dired-listing-switches): Fix :version.
2295 * vc-hooks.el: Doc fixes.
2297 * subr.el (add-minor-mode): Use toggle-fun arg.
2299 * speedbar.el: Add :version to several defcustoms.
2301 * imenu.el (imenu--truncate-items, imenu--cleanup)
2302 (imenu--generic-function): Avoid mapcar.
2303 (imenu--replace-spaces): Function removed.
2304 (imenu--completion-buffer): Use subst-char-in-string.
2305 (imenu-add-to-menubar): Use keymap inheritance.
2307 2000-09-12 Miles Bader <miles@gnu.org>
2309 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
2310 (diff-mode-map): Bind `diff-test-hunk'.
2311 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
2313 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2315 * bytecomp.el (byte-compile-defvar): Undo last change
2316 because it breaks '(make-variable-buffer-local (defvar ...)'
2317 which is used at least in dired.
2319 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2321 * international/quail.el (quail-define-package): Docstring
2324 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2326 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
2327 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
2328 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
2329 docstring of "chinese-py".
2331 * international/quail.el (quail-translation-docstring): New
2333 (quail-show-keyboard-layout): Docstring modified.
2334 (quail-select-current): Likewise.
2335 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
2336 infinite recursive call.
2337 (quail-help): Check quail-translation-docstring. Format of the
2339 (quail-help-insert-keymap-description): Adjusted for the above
2342 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2344 * bytecomp.el (byte-compile-defvar): Only cons onto
2345 current-load-list in top-level forms. Else this leaks a cons cell
2346 every time a defun is called.
2348 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
2350 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
2351 Now understands non-unified diffs. Some functionality moved into
2352 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
2353 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
2354 modify anything. Only reposition point in the patched file if the
2355 patch succeeds. Only pop up another window if POPUP is true.
2356 Emit a message describing what happened if successful, and at what
2357 line-offset. Automatically detect reversed hunks and do something
2359 (diff-hunk-text, diff-find-text): New functions.
2360 (diff-filter-lines): Function removed.
2361 (diff-test-hunk): New function.
2362 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
2364 2000-09-10 Dave Love <fx@gnu.org>
2366 * textmodes/tildify.el: Minor doc/commentary fixes.
2367 (tildify) <defgroup>: Add :version.
2369 * faces.el (face-x-resources): Make custom type more specific.
2370 (frame-background-mode): Use mapc.
2371 (region) <defcustom>: Add :version.
2373 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
2375 * vc-sccs.el (vc-sccs-register):
2376 * vc-rcs.el (vc-rcs-register):
2377 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
2378 * vc.el (vc-register): Clear file's properties.
2380 2000-09-08 Gerd Moellmann <gerd@gnu.org>
2382 * faces.el (face-spec-set): Only face-spec-reset-face when
2385 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2387 * help.el (help-insert-xref-button): Fix a typo in doc string.
2389 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
2391 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2392 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
2395 * menu-bar.el (read-mail-item-name): New function.
2396 (menu-bar-tools-menu): Use it to compute and display the package
2398 (menu-bar-tools-menu): Fix typo in GUD's help string.
2400 2000-09-07 Dave Love <fx@gnu.org>
2402 * diff-mode.el (diff-mouse-goto-source): New function.
2404 * vc-sccs.el: Doc fixes.
2405 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
2407 * vc-rcs.el: Doc fixes.
2408 (vc-rcs-register-switches, vc-rcs-checkin-switches)
2409 (vc-rcs-checkout-switches, vc-rcs-header)
2410 (vc-rcs-master-templates): Add or change :version.
2412 * vc-cvs.el: Doc fixes.
2413 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
2414 (vc-cvs-stay-local): Add :version.
2416 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
2418 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2420 * international/quail.el (quail-help): Fix previous change.
2422 2000-09-07 Gerd Moellmann <gerd@gnu.org>
2424 * faces.el (color-values): Doc fix.
2426 * faces.el (frame-set-background-mode): Use frame-parameter
2427 instead of frame-parameters.
2429 * frame.el (filtered-frame-list): Reduce consing.
2430 (frames-on-display-list): Call frame-parameter instead of
2433 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2435 * language/devan-util.el (devanagari-to-indian-region): In the
2436 loop, change the following char, not preceding char.
2438 2000-09-07 Gerd Moellmann <gerd@gnu.org>
2440 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
2441 instead of frame-parameters.
2443 * faces.el (set-face-attribute): Simplify by calling
2444 internal-set-lisp-face-attribute with FRAME being 0.
2446 * vc.el: Remove `Id' version control keyword.
2448 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2450 * help.el (help-make-xrefs): Adjusted for the change of
2451 help-xref-mule-regexp.
2452 (help-insert-xref-button): New function.
2454 * international/mule-cmds.el (help-xref-mule-regexp-template):
2455 Include the pattern for character set.
2458 * international/quail.el: Don't require face.
2460 (quail-other-command): Dummy command to make quail-help work better.
2461 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
2462 (quail-keyboard-layout-substitution): New variable.
2463 (quail-update-keyboard-layout): New function.
2464 (quail-keyboard-layout-type): New customizable variable.
2465 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
2466 (quail-keyboard-translate): Pay attention to
2467 quail-keyboard-layout-substitution.
2468 (quail-insert-kbd-layout): New function.
2469 (quail-show-keyboard-layout): New function.
2470 (quail-get-translation): If the definition is a vector of length
2471 1, and the element is a string of length 1, return the character
2473 (quail-update-current-translations): Fix the case of
2474 relative-index out of range.
2475 (quail-build-decode-map, quail-insert-decode-map): New Functions.
2476 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
2477 Show key sequences for all available characters.
2478 (quail-help-insert-keymap-description): Don't show such verbose
2479 key bindings as quail-self-insert-command.
2481 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2482 Format changed, and each element now have extra documentations.
2483 (tit-process-header): Delete invalid characters from TIT-PROMPT.
2484 Adjusted for the change of quail-cxterm-package-ext-info.
2486 2000-09-06 Gerd Moellmann <gerd@gnu.org>
2488 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
2489 requiring it leads to a recursive loading of vc.el and vc-hooks.el
2492 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2494 * vc.el: (toplevel): Don't require `dired' at run-time.
2495 (vc-dired-resynch-file): Remove autoload cookie.
2497 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2499 * vc.el: Made several backend functions optional.
2500 (vc-default-responsible-p): New function.
2501 (vc-merge): Use RET for first version to trigger merge-news, not
2503 (vc-annotate): Handle backends that do not support annotation.
2504 (vc-default-merge-news): Removed. The existence of a merge-news
2505 implementation is now checked on caller sites.
2507 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
2510 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
2511 special case that has been removed from the default in vc-hooks.el.
2513 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2515 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
2517 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2519 * vc-hooks.el: Require vc during compilation.
2520 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
2521 macro `with-vc-properties' in vc.el.
2522 (vc-file-getprop): Doc fix.
2523 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
2525 * vc.el: Require dired-aux during compilation.
2526 (vc-name-assoc-file): Moved to vc-sccs.el.
2527 (with-vc-properties): New macro.
2528 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
2529 vc-finish-steal): Use it.
2530 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
2531 to the backend-specific function is now supposed to do the checkout,
2533 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
2535 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
2536 set file properties; that gets done in the generic code now.
2538 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
2539 Changed parameter list, added code from vc.el that does the
2540 checkout, possibly with a double-take.
2542 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
2543 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
2544 the above under the new name.
2545 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
2546 parameter list, added checkout command.
2547 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
2548 properties; that gets done in the generic code now.
2550 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2552 * vc.el: Docstring fixes (courtesy of checkdoc).
2554 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2556 * vc.el (vc-checkout-writable-buffer-hook)
2557 (vc-checkout-writable-buffer): Remove.
2558 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
2559 (vc-log-mode): Make it into a clean derived major mode.
2560 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
2561 vc-log-mode if log-edit is not available.
2562 (vc-dired-mode-map): Don't set-keymap-parent yet.
2563 (vc-dired-mode): Do set-keymap-parent here.
2564 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
2566 2000-09-05 Gerd Moellmann <gerd@gnu.org>
2568 * faces.el (set-face-attribute, face-spec-reset-face)
2569 (face-spec-set): Avoid consing by removing calls to `apply'.
2571 * frame.el (frame-parameter): Move to C code.
2573 2000-09-05 Dave Love <fx@gnu.org>
2575 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
2576 insert-before-markers-and-inherit. Now checked systematically!
2578 2000-09-05 Alex Schroeder <alex@gnu.org>
2580 * sql.el (sql-postgres): Use sql-postgres-options.
2581 (sql-postgres-options): New variable.
2583 2000-09-05 Alex Schroeder <alex@gnu.org>
2585 * sql.el (sql-mode-menu): Work around missing variable mark-active
2587 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
2588 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
2591 2000-09-04 Gerd Moellmann <gerd@gnu.org>
2593 * vc.el (vc-dired-resynch-file): Add autoload cookie.
2595 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
2597 * Makefile.in (DONTCOMPILE): Fix typo in file name.
2599 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2601 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
2602 don't support anything else under SCCS yet.
2604 * vc-hooks.el: Minor doc fixes.
2606 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2608 * vc.el (vc-next-action-on-file): Do not visit the file if it's
2609 not necessary. If verbose in state `needs-patch', do the same as
2610 under `up-to-date'. When NOT verbose and `needs-patch', check out
2611 latest version instead of `merge-news'.
2612 (vc-next-action-dired): Don't mess with default-directory here; it
2613 breaks other parts of dired. It is the job of the
2614 backend-specific functions to adjust it temporarily if they need it.
2615 (vc-next-action): Remove a special CVS case.
2616 (vc-clear-headers): New optional arg FILE.
2617 (vc-checkin, vc-checkout): Set properties vc-state and
2618 vc-checkout-time properly.
2619 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
2620 (vc-print-log): Use new backend function `show-log-entry'.
2621 (vc-cancel-version): Do the checks in a different order. Added a
2622 FIXME concerning RCS-only code.
2624 * vc-rcs.el (vc-rcs-show-log-entry): New function.
2625 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
2627 * vc-cvs.el (vc-cvs-show-log-entry): New function.
2629 * vc-hooks.el (vc-default-mode-line-string): Show state
2630 `needs-patch' as a `-' too.
2632 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2634 * vc.el (vc-responsible-backend): New optional arg REGISTER.
2635 (vc-default-could-register): New function.
2636 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
2637 (vc-resynch-buffer): Call vc-dired-resynch-file.
2638 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
2639 vc-resynch-buffer instead of vc-resynch-window.
2640 (vc-next-action-dired): Don't redisplay here, that gets done as a
2641 result of the individual file operations.
2642 (vc-retrieve-snapshot): Corrected prompt order.
2644 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
2646 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
2648 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
2649 hostname regexps. Updated all callers.
2650 (vc-cvs-responsible-p): Handle directories as well.
2651 (vc-cvs-could-register): New function.
2652 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
2653 properties up-to-date.
2655 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
2656 user whether to create one.
2658 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2660 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
2661 check out a non-existing file.
2663 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
2664 workfile does not exist.
2666 * vc.el (vc-version-diff): Use `require' to check for existence of
2669 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2671 * vc-cvs.el (vc-cvs-registered): Use new function
2672 vc-cvs-parse-entry to do the actual work.
2674 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2676 * vc-hooks.el (vc-find-backend-function): If function doesn't
2677 exist, return nil instead of error.
2678 (vc-call-backend): Doc fix.
2680 * vc.el (vc-do-command): Doc fix.
2681 (vc-finish-logentry): When checking in from vc-dired, choose the
2682 right backend for logentry check.
2683 (vc-dired-mode-map): Inherit from dired-mode-map.
2684 (vc-dired-mode): Local value of dired-move-to-filename-regexp
2686 (vc-dired-state-info): Removed, updated caller.
2687 (vc-default-dired-state-info): Use parentheses instead of hyphens.
2688 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
2689 (vc-dired-listing-switches): New variable.
2690 (vc-directory): Use it, instead of dired-listing-switches.
2692 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
2693 (vc-cvs-dir-state): New function.
2694 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
2695 (vc-cvs-parse-entry): New function, also to be used in
2698 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2700 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
2701 *or* single-window-frames.
2703 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2705 * vc.el (vc-update-changelog): Split into generic part and default
2706 implementation. Doc string adapted.
2707 (vc-default-update-changelog): New function. Call the `rcs2log'
2708 script in exec-directory, to fix a long-standing nuisance.
2710 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
2711 simply signals an error.
2713 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2715 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
2716 control-flow more clear and to avoid running `cvs' twice.
2718 * vc.el (vc-next-action-on-file): Doc fix.
2719 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
2720 (vc-print-log): Eval `file' before constructing the continuation.
2722 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2724 * vc.el (vc-next-action-on-file): Corrected several messages.
2725 (vc-merge): Add prefix arg `merge-news'; handle it.
2727 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
2728 is not reached. It is.
2729 (vc-cvs-merge): Set state to 'edited after merge.
2730 (vc-cvs-merge-news): Set workfile version to nil if not known.
2731 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
2733 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
2734 via stdout. (Merge from main line.)
2736 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2738 * vc.el (vc-finish-logentry): Thinko in the "same comment"
2741 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2743 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
2744 against kill-all-local-variables.
2745 (vc-log-edit): Don't save vc-parent-buffer any more.
2746 (vc-last-comment-match): Initialize to an empty string.
2747 (vc-post-command-functions): New hook.
2748 (vc-do-command): Run it.
2749 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
2750 (vc-finish-logentry): Only add the comment to the ring if it's
2751 different from the last comment entered.
2752 (vc-new-comment-index): New function.
2753 (vc-previous-comment): Use it. Make the minibuffer message
2754 slightly less terse.
2755 (vc-comment-search-reverse): Make it work forward as well. Don't
2756 set vc-comment-ring-index if no match is found. Use
2757 vc-new-comment-index.
2758 (vc-comment-search-forward): Use vc-comment-search-reverse.
2759 (vc-dired-mode-map): Don't inherit from dired-mode-map since
2760 define-derived-mode will do it for us. Bind `v' to a keymap that
2761 inherits from vc-prefix-map so that we can bind `vt' without
2763 (vc-retrieve-snapshot): Parenthesis typo.
2765 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
2766 to 1. Make sure to switch to *vc* before looking for an error
2767 message. Use vc-parse-buffer.
2769 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2771 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
2773 (vc-retrieve-snapshot): Split into two parts.
2774 (vc-default-retrieve-snapshot): New function.
2776 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
2777 (vc-cvs-retrieve-snapshot): New function (untested).
2778 (vc-cvs-stay-local): Default to t.
2779 (vc-cvs-remote-p): New function and property.
2780 (vc-cvs-state): Stay local only if the above is t.
2781 (vc-handle-cvs): Removed.
2782 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
2783 done via vc-handled-backends now.
2784 (vc-cvs-header): Escape Id.
2786 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2788 * vc.el (vc-do-command): Remove unused commands.
2789 (vc-version-diff): Make sure default-directory ends with a slash.
2790 Move the window commands into a vc-exec-after.
2791 (vc-print-log): Move more of the code into the `vc-exec-after'.
2793 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2795 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
2796 (vc-print-log): Search current revision from beginning of buffer.
2797 (vc-revert-buffer): Clear echo area after the diff is finished.
2798 (vc-prefix-map): Removed definition of "t" for terse display in vc
2800 (vc-dired-mode-map): Inherit from dired-mode-map. Added
2801 definition of "vt" for terse display.
2802 (vc-dired-mode): Fix dired-move-to-filename-regexp.
2804 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2806 * vc.el (vc-exec-after): Avoid caddr.
2808 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2810 * vc.el (vc-exec-after): New function.
2811 (vc-do-command): Use it to add a termination message for async
2813 (vc-checkout): Try to handle a missing-backend situation.
2814 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
2815 of a directory with a backend using async diffs.
2816 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
2819 * vc-sccs.el (vc-sccs-state-heuristic): Use
2820 file-ownership-preserved-p.
2822 * vc-rcs.el (vc-rcs-state-heuristic): Use
2823 file-ownership-preserved-p.
2824 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
2826 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2828 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
2831 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
2832 when there are no changes.
2834 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2836 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
2838 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
2840 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2842 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
2844 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
2845 the `fset' outside of the defvar so that it works even if
2846 vc-prefix-map was already defined.
2847 (vc-setup-buffer): New function, split out of vc-do-command.
2848 (vc-do-command): Allow BUFFER to be t to mean `just use the
2849 current buffer without any fuss'.
2850 (vc-version-diff): Change the `diff' backend operation to just put
2851 the diff in the current buffer without erasing it. Always use
2852 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
2853 shrink-window-if-larger-than-buffer.
2854 (vc-print-log): Change the `print-log' backend operation to just
2855 put the log in the current buffer without erasing it. Protect
2856 shrink-window-if-larger-than-buffer.
2857 (vc-update-change-log): Fix setd typo.
2859 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
2860 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
2862 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
2863 (vc-rcs-diff): Insert in the current buffer and remove unused arg
2866 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
2867 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
2868 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
2870 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2872 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
2873 not possible, use vc-BACKEND-workfile-unchanged-p.
2874 (vc-default-workfile-unchanged-p): New function. Delegates to a
2875 full vc-BACKEND-diff.
2877 * vc-hooks.el (vc-simple-command): Removed.
2879 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
2880 instead of vc-simple-command.
2881 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
2882 avoid doing a diff when opening a file.
2883 (vc-rcs-state): Added check for unlocked-changes.
2884 (vc-rcs-header): Escape Id.
2885 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
2886 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
2889 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
2890 (vc-sccs-diff): Remove optional arg CMP.
2891 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
2892 SCCS-specific function.
2894 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
2897 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2899 * vc.el (vc-editable-p): Renamed from vc-writable-p.
2900 (with-vc-file, vc-merge): Use vc-editable-p.
2901 (vc-do-command): Remove unused var vc-file and fix the
2902 doubly-defined `status' var. Add a user message when starting an
2904 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
2905 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
2906 Use with-current-buffer.
2907 (vc-buffer-sync): Use unless.
2908 (vc-next-action-on-file): If the file is 'edited by read-only,
2909 make it read-write instead of trying to commit.
2910 (vc-version-diff, vc-update-change-log): Use `setq
2911 default-directory' rather than `cd'.
2912 (vc-log-edit): Don't forget to set default-directory in the
2915 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
2916 (vc-sccs-state-heuristic): Use file-writable-p instead of
2918 (vc-sccs-checkout): Use `unless'.
2920 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
2921 of comparing userids.
2922 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
2923 Simplify the logic by eliminating unreachable code.
2924 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
2925 just do a recursive call if we need to retry.
2926 (vc-rcs-checkout): Handle the case where rcs is missing by making
2927 the buffer read-write if requested and re-signalling the error.
2929 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
2931 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2933 * vc-hooks.el (vc-handled-backends): Docstring change.
2934 (vc-ignore-vc-files): Mark obsolete.
2935 (vc-registered): Check vc-ignore-vc-files.
2936 (vc-find-file-hook, vc-file-not-found-hook): Don't check
2939 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
2941 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2943 * vc.el (vc-checkout): Don't do anything special for ange-ftp
2944 files since ange-ftp already has vc-registered return nil.
2946 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
2947 (vc-sccs-workfile-version): Use with-temp-buffer and new
2948 vc-parse-buffer and don't bother setting the property.
2949 (vc-sccs-add-triple): Use with-current-buffer and
2951 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
2953 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
2954 derives from the old vc-parse-buffer but uses the revision number
2955 rather than the date (much easier to compare robustly).
2956 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
2957 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
2958 locking-user more directly. Check strict locking and set
2959 checkout-model appropriately.
2960 (vc-rcs-parse-locks): Remove.
2961 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
2962 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
2963 (vc-rcs-system-release): Use with-current-buffer and
2965 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
2967 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
2968 (vc-simple-command): Docstring fix.
2969 (vc-registered): Align the way the file-handler is called with the
2970 way the function itself works.
2971 (vc-file-owner): Remove.
2973 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
2974 extraction of fields and call to file-attributes because of a
2975 temporary bug in rcp.el.
2976 (vc-cvs-fetch-status): Use with-current-buffer.
2978 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2980 * vc.el (vc-do-command): Use file-relative-name.
2981 (vc-responsible-backend): Use vc-backend if possible.
2982 (vc-create-snapshot): Improve the `interactive' spec. Add support
2983 for branches and dispatch to backend-specific `create-snapshot'.
2984 (vc-default-create-snapshot): New function, containing the bulk of
2985 the old vc-create-snapshot.
2986 (vc-retrieve-snapshot): Improve the interactive spec.
2988 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
2989 (vc-backend-hook-functions): Remove.
2990 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
2991 (vc-backend): Reintroduce the test for `file = nil' now that I
2992 know why it was there (and added a comment to better remember).
2994 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
2995 code from vc-sccs-hooks.el.
2996 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
2998 (vc-sccs-responsible-p): Use expand-file-name instead of concat
2999 and file-directory-p instead of file-exists-p.
3000 (vc-sccs-check-headers): Simplify the regexp.
3002 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3003 from vc-rcs-hooks.el. Don't require 'vc anymore.
3004 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3005 file-directory-p instead of file-exists-p.
3007 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3008 from vc-cvs-hooks.el.
3009 (proto vc-cvs-registered): Require 'vc-cvs instead of
3010 'vc-cvs-hooks. Don't require 'vc anymore.
3011 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3012 file-directory-p instead of file-exists-p.
3013 (vc-cvs-create-snapshot): New function, replacing
3015 (vc-cvs-assign-name): Remove.
3017 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3019 * vc-cvs.el (vc-cvs-header): New var.
3021 * vc-rcs.el (vc-rcs-exists): Remove.
3022 (vc-rcs-header): New var.
3024 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3025 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3026 (vc-sccs-header): New var.
3028 * vc.el (vc-do-command): Get rid of the `last' argument.
3029 (vc-header-alist): Remove, replaced by vc-X-header.
3030 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3031 (vc-dired-hook): Use expand-file-name instead of concat.
3032 (vc-directory): Use file-name-as-directory.
3033 (vc-snapshot-precondition, vc-create-snapshot)
3034 (vc-retrieve-snapshot): Allow the command to operate on any
3037 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3038 just removing the 'WORKFILE argument or by removing the 'MASTER
3039 argument and replacing `file' with (vc-name file).
3041 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3043 * vc.el: Update Copyright and add a crude list of backend funs.
3044 (vc-writable-p): New function.
3045 (with-vc-file): Use vc-writable-p.
3046 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3047 (vc-register): Avoid vc-name.
3048 (vc-locking-user): Remove.
3049 (vc-steal-lock): Make the `owner' arg non-optional.
3050 (vc-merge): Use vc-writable-p instead of vc-locking-user and
3052 (vc-default-dired-state-info): Use vc-state instead of
3053 vc-locking-user and return special strings for special states.
3054 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3055 and get rid of one of the special CVS cases.
3056 (vc-cancel-version): prettify error message with \\[...].
3057 (vc-rename-master): New function.
3058 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3059 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
3060 the CVS special case generic.
3061 (vc-default-record-rename): Remove.
3062 (vc-file-tree-walk-internal): Only call FUNC for files that are
3063 under control of some VC backend and replace `concat' with
3065 (vc-file-tree-walk): Update docstring.
3066 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3067 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3069 * vc-sccs.el (vc-sccs-rename-file): Renamed from
3070 vc-sccs-record-rename. Use `find-file-noselect' rather than
3071 `find-file' and call `vc-rename-master' to do the actual move.
3072 (vc-sccs-diff): Remove unused `backend' variable.
3074 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3075 to delay loading of vc-sccs until it is really used.
3076 (vc-sccs-master-templates): Preload.
3077 (vc-sccs-state): Update call to vc-sccs-parse-locks.
3078 (vc-sccs-project-dir): Remove (merged into
3079 vc-sccs-search-project-dir).
3080 (vc-sccs-search-project-dir): Rewrite using file name handling ops
3081 rather than `concat', make sure it is preloaded and don't bother
3082 to check that the file actually exists.
3083 (vc-sccs-parse-locks): Remove unused `file' argument, remove
3084 `locks' argument (use buffer's content instead) and eliminate n^2
3087 * vc-rcs.el: Update Copyright.
3088 (vc-rcs-rename-file): New function.
3089 (vc-rcs-diff): Remove unused `backend' variable.
3091 * vc-hooks.el: Update Copyright.
3092 (vc-backend): Don't accept a nil argument any more.
3093 (vc-up-to-date-p): Turn into a defsubst.
3094 (vc-possible-master): New function.
3095 (vc-check-master-templates): Use `vc-possible-master' and allow
3096 funs in vc-X-master-templates to return a non-existent file.
3098 * vc-cvs.el: Update Copyright.
3099 (vc-cvs-diff): Remove unused `backend' variable.
3100 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3102 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3104 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3106 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3107 since it can be called from vc-rcs.el.
3108 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3110 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3112 * vc.el (vc-version-diff): Expand file name read from the
3113 minibuffer. Handle the case when a previous version number can't
3114 be guessed. Give suitable messages when there were no differences
3116 (vc-clear-headers): Call backend-specific implementation, if one
3118 (vc-cancel-version): Made error checks generic. When done, clear
3119 headers generically, too.
3121 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3122 from vc-clear-headers in vc.el.
3124 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3126 (vc-rcs-latest-on-branch-p): Made second argument VERSION
3127 optional. Handle the case when it's not there.
3129 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3131 * vc.el (vc-locking-user): Moved from vc-hooks.el.
3133 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3135 * vc-hooks.el (vc-loadup): Remove.
3136 (vc-find-backend-function): Use `require'. Also, handle the case
3137 where vc-BACKEND-hooks.el doesn't exist.
3138 (vc-call-backend): Cleanup.
3140 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3142 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3143 vc-rcs-grab-templates)
3144 (vc-rcs-registered): Remove. The default function works as well.
3145 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3146 vc-sccs-grab-templates)
3147 (vc-sccs-registered): Remove. The default function works as well.
3149 * vc.el (vc-version-diff): Left out a vc- in call to
3151 (vc-default-dired-state-info, vc-default-record-rename)
3152 (vc-default-merge-news): Update for the new backend argument.
3154 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3155 using the default function.
3156 (vc-call-backend): If calling the default function, pass it the
3157 backend as first argument. Update the docstring accordingly.
3158 (vc-default-state-heuristic, vc-default-mode-line-string): Update
3159 for the new backend argument.
3160 (vc-make-backend-sym): Renamed from vc-make-backend-function.
3161 (vc-find-backend-function): Use the new name.
3162 (vc-default-registered): New function.
3164 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3166 * vc.el (vc-merge): Use vc-find-backend-function.
3168 * vc-hooks.el (vc-backend-functions): Remove.
3169 (vc-loadup): Don't setup 'vc-functions.
3170 (vc-find-backend-function): New function.
3171 (vc-call-backend): Use above fun and populate 'vc-functions
3173 (vc-backend-defines): Remove.
3175 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3177 * vc.el (vc-register): Put a FIXME note for a newly found bug.
3178 Call vc-call-backend without the leading vc-.
3179 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3180 (vc-check-headers): Call vc-call-backend without the leading vc-.
3181 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3182 (vc-annotate-display): Replace confusing use of `cond' with `or'.
3183 Call vc-call-backend without the leading vc-.
3185 * vc-cvs.el (tail): Provide vc-cvs.
3186 * vc-sccs.el (tail): Provide vc-sccs.
3187 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3189 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3190 (vc-make-backend-function, vc-call): Pass names without leading
3191 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3192 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3193 (vc-call-backend): Always try to load vc-X-hooks.
3194 (vc-registered): Remove vc- in call to vc-call-backend.
3196 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3198 * vc.el (vc-process-filter): New function.
3199 (vc-do-command): Setup `vc-process-filter' for the async process.
3200 (vc-maybe-resolve-conflicts): New function to reduce
3201 code-duplication. Additionally, it puts the buffer in
3202 `smerge-mode' if applicable.
3203 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3204 calling `merge-news'.
3205 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3206 (vc-log-edit): New function. Replacement for `vc-log-mode' by
3207 interfacing to log-edit.el.
3208 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3209 log-edit is available.
3210 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3212 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3214 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3215 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3216 defvar and the initialization.
3217 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3219 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3220 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
3222 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
3224 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3226 * vc.el (vc-file-clear-masterprops): Removed.
3227 (vc-checkin, vc-revert-buffer): Removed calls to the above.
3228 (vc-version-diff): Use buffer-size without argument.
3229 (vc-register): Heed vc-initial-comment.
3231 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
3234 * vc-rcs.el (vc-rcs-register): Parse command output to find master
3235 file name and workfile version.
3236 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
3238 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
3239 vc-file-clear-masterprops.
3241 * vc-sccs.el (vc-sccs-checkout): Removed call to
3242 vc-file-clear-masterprops. If writable, set vc-state to 'edited
3243 rather than user login name.
3246 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3248 * vc.el (vc-workfile-unchanged-p): Remove unused argument
3249 `want-differences-if-changed' and simplify.
3250 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
3251 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
3252 output (which is invalid for async vc-diff) to decide whether to
3253 do the revert silently or not.
3255 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3257 * vc-hooks.el (vc-loadup): Load files quietly.
3258 (vc-call-backend): Oops, brain fart.
3260 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3262 * vc-cvs.el (vc-cvs-state): Typo.
3263 (vc-cvs-merge-news): Return the status code rather than the error msg.
3265 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3267 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
3268 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
3269 vc-state or vc-up-to-date-p.
3270 (vc-merge): Use vc-backend-defines to check whether merging is
3271 possible. Set state to 'edited after successful merge.
3273 * vc-hooks.el (vc-locking-user): If locked by the calling user,
3274 return that name. Redocumented.
3276 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3278 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
3279 new `vc-state' semantics.
3280 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
3281 'vc-locking-user to the current user.
3282 (vc-merge): Inline vc-backend-merge. Comment out code that I
3283 don't understand and hence can't adapt to the new `vc-state' and
3284 `vc-locking-user' semantics.
3285 (vc-backend-merge): Remove.
3287 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
3288 rather than 'vc-locking-user.
3290 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
3292 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
3293 (vc-state): Don't use 'reserved any more. Just use the same
3294 convention as the one used for vc-<backend>-state where the
3295 locking user (as a string) is returned.
3296 (vc-locking-user): Update, based on the above convention. The
3297 'vc-locking-user property has disappeared.
3298 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
3300 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
3301 with a heuristic one.
3302 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
3303 (vc-cvs-checkin): Do a trivial parse to set the state in case of
3304 error. That allows us to get to 'needs-merge even in the
3305 stay-local case. There's still no way to detect 'needs-patch in
3306 such a setup (or to force an update for that matter).
3307 (vc-cvs-logentry-check): Remove, the default works as well.
3309 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3311 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
3313 * vc.el (vc-do-command): kill-all-local-variables, to reset any
3314 major-mode in which the buffer might have been put earlier. Use
3315 `remove' and `when'. Allow `okstatus' to be `async' and use
3316 `start-process' in this case.
3317 (vc-version-diff): Handle the case where the diff looks empty
3318 because of the use of an async process.
3320 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3322 * vc.el (vc-next-action-on-file): Removed optional parameter
3323 `simple'. Recompute state unconditionally.
3324 (vc-default-toggle-read-only): Removed.
3326 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
3327 (vc-toggle-read-only): Undid prev change.
3329 * vc-cvs.el (vc-cvs-stay-local): Renamed from
3330 vc-cvs-simple-toggle. Redocumented.
3331 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
3332 (vc-cvs-toggle-read-only): Removed.
3334 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3336 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
3337 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
3338 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
3339 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
3340 still is. So maybe it should be removed.
3341 (vc-head-version, vc-find-binary): Remove.
3342 (vc-recompute-state): Move from vc-hooks.el.
3343 (vc-next-action-on-file): Add a `simple' argument to allow
3344 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
3345 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
3346 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
3347 (vc-dired-mode-map): Properly defvar it.
3348 (vc-print-log): Call log-view-mode if available.
3349 (small-temporary-file-directory): defvar instead of use boundp.
3350 (vc-merge-news): Moved to vc-cvs.el.
3351 (vc-default-merge-news): New function.
3353 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
3354 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
3355 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
3356 unknown `vc-latest-version' function. It should probably refer to
3357 vc-workfile-version or somesuch, but it's very unclear to me and I
3358 don't have SCCS to test things.
3360 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
3361 (vc-sccs-state-heuristic): Fix typo.
3362 (vc-sccs-workfile-unchanged-p): Add missing argument.
3364 * vc-rcs.el: Require vc and vc-rcs-hooks.
3365 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
3366 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
3367 (vc-release-greater-or-equal-p): Move from vc.
3368 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
3369 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
3370 (vc-rcs-checkout): Add a missing `new-version' argument in the
3371 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
3373 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
3374 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
3375 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
3376 than the apparently unbound `workfile-version'.
3378 * vc-hooks.el (vc-master-templates): Def the obsolete var.
3379 (vc-file-prop-obarray): Use `make-vector'.
3380 (vc-backend-functions): Add new hookable functions
3381 vc-toggle-read-only, vc-record-rename and vc-merge-news.
3382 (vc-loadup): If neither backend nor default functions exist, use
3383 the backend function rather than nil.
3384 (vc-call-backend): If the function if not bound yet, try to load
3385 the non-hook file to see if it provides it.
3386 (vc-call): New macro plus use it wherever possible.
3387 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
3388 nor `vc-find-binary' since it's only called from
3389 vc-mistrust-permission which is only used once the backend is known.
3390 (vc-checkout-model): Fix parenthesis.
3391 (vc-recompute-state, vc-prefix-map): Move to vc.el.
3393 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
3394 (vc-cvs-release, vc-cvs-system-release): Remove.
3395 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
3396 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
3398 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
3399 (vc-cvs-toggle-read-only): First cut at a function to allow a
3400 cvs-status-free vc-toggle-read-only.
3401 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
3402 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
3403 vc-cvs-status. Also set vc-state rather than vc-locking-user.
3404 (vc-cvs-checkout): Modify access rights directly if the user
3405 requested not to use `cvs edit'. And refresh the mode line.
3407 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
3408 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
3410 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3412 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
3413 workfile' that got lost when the code was extracted from vc.el.
3414 And merged the tail with the rest of the code (not possible in the
3415 old vc.el where the tail was shared among all backends). And
3416 explicitly set the state to 'edited if `writable' is set.
3418 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
3419 (vc-cvs-state): Be careful to return the value from
3421 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
3422 property but return it instead. Also be careful to handle a nil
3423 or "" `rev' when workfile is non-nil (it was handled properly when
3426 * vc.el: Removed those pesky unnecessary `(function' quotes.
3427 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
3428 directly in the defvar.
3429 (vc-do-command): Bind inhibit-read-only so as to properly handle
3430 the case where the destination buffer has been made read-only.
3431 (vc-diff): Delegate to vc-version-diff in all cases.
3432 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
3433 (vc-annotate-mode-variables): Removed (code moved partly to
3434 defvars and partly to vc-annotate-add-menu).
3435 (vc-annotate-mode): Turned into a derived-mode.
3436 (vc-annotate-add-menu): Moved in code in
3437 vc-annotate-mode-variables.
3438 (vc-update-change-log): Use make-temp-file if available.
3440 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
3442 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
3443 `vc-checkout-model' updated to `vc-cvs-update-model'.
3445 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3447 * vc.el (vc-next-action-on-file): Added handling of state
3449 (vc-checkout-carefully): Is now practically obsolete, unless the
3450 above is too slow to be enabled unconditionally.
3451 (vc-update-change-log): Fixed typo.
3453 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
3455 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
3456 Now handles state `unlocked-changes'.
3457 (vc-sccs-workfile-unchanged-p): New function, to support the above.
3459 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
3461 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
3462 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
3464 (vc-rcs-workfile-unchanged-p): Renamed from
3465 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
3466 function yet, but supposed to become one soon.
3468 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
3470 (vc-call-backend): Changed error message.
3471 (vc-state): Added description of state `unlocked-changes'.
3473 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3475 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
3476 always return t in CVS-controlled directories.
3478 * vc.el (vc-responsible-backend): New function.
3479 (vc-register): Largely rewritten.
3480 (vc-admin): Removed (implementation moved into vc-register).
3481 (vc-checkin): Redocumented.
3482 (vc-finish-logentry): If no backend defined yet (because we are in
3483 the process of registering), use the responsible backend.
3485 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3486 Updated function lists.
3487 (vc-call-backend): Fixed typo.
3489 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
3491 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
3492 Removed query option. Redocumented.
3494 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3496 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
3498 * vc.el: Updated callers of `vc-checkout-required' to use
3499 `vc-checkout-model'.
3501 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3503 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
3504 stuff updated to reference this function instead of the old
3505 `vc-backend-release-p'.
3507 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3509 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
3510 vc-checkout-model. Return appropriate values. Updated callers.
3512 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3514 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
3515 (vc-backend-revert): Function moved into `vc-revert';
3516 `vc-next-action' must be updated to accomodate this change.
3517 (vc-backend-steal): Function moved into `vc-finish-steal'.
3518 (vc-backend-logentry-check): Function moved into
3519 `vc-finish-logentry'.
3520 (vc-backend-printlog): Function moved into `vc-print-log'.
3521 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
3522 (vc-backend-assign-name): Function moved into
3523 `vc-create-snapshot'.
3525 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3527 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
3528 Rename to vc-checkout-model. Return appropriate values.
3531 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
3532 to vc-checkout-model.
3533 (vc-checkout-required): Rename to vc-checkout-model.
3534 Re-implement and re-comment.
3535 (vc-after-save): Use vc-checkout-model.
3537 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3539 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
3540 Update to use the vc-BACKEND-diff functions instead.
3541 `vc-diff' is now working.
3543 * vc-rcs.el (vc-rcs-logentry-check): New function.
3545 * vc-cvs.el (vc-cvs-logentry-check): New function.
3547 * vc-sccs.el (vc-sccs-diff): Function changed name from
3548 `vc-backend-diff'. This makes `vc-diff' work.
3550 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
3551 of functions possibly implemented in a vc-BACKEND library.
3552 (vc-checkout-required): Fix bug that caused an error to be
3553 signaled during `vc-after-save'.
3556 This checkin is made with our new VC code base for the very first time.
3557 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
3559 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
3560 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
3562 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
3563 updated to `vc-uses-locking'.
3564 (vc-checkout-required): Call to backend function.
3565 `vc-checkout-required' updated to `vc-uses-locking' instead.
3567 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
3568 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
3570 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
3571 to match the split into various backends.
3572 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
3573 (vc-retrieve-snapshot): Bug fix.
3575 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3577 * vc-sccs.el (vc-sccs-release): Doc fix.
3579 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3581 * vc.el (vc-next-action-on-file): Bug found and fixed.
3582 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
3583 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
3585 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
3586 (vc-rcs-checkout): Name space cleaned up. No more revision number
3587 crunching function names that are not prefixed with vc-rcs.
3588 (vc-rcs-checkout-model): Function added. References to
3589 `vc-checkout-model' replaced.
3591 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3593 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
3594 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
3595 still need to be split, and implemented for RCS).
3597 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3599 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
3601 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
3602 required by the vc.el file.
3604 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
3605 required by the vc.el file.
3606 (vc-rcs-exists): Function added.
3608 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
3609 required by the vc.el file.
3611 * vc.el (vc-admin): Updated to handle selection of appropriate
3612 backend. Current implementation is crufty and need re-thinking.
3614 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
3616 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3618 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
3619 beginning of annotate buffers correctly.
3621 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
3622 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
3623 functionality updated quite a lot to support multiple backends.
3624 Variables `vc-annotate-mode', `vc-annotate-buffers',
3625 `vc-annotate-backend' added.
3627 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
3628 `vc-annotate-difference' added to supported backend functions.
3630 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3632 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
3633 Use with-temp-file instead of /bin/sh. Merged from mainline
3635 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3637 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
3639 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
3641 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
3643 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3645 * vc-hooks.el: vc-state-heuristic added to
3646 vc-backend-hook-functions.
3648 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
3650 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
3652 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
3653 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
3654 state to `reserved'.
3656 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
3657 `vc-checkout-required'. Rename the `locked' state to `reserved'.
3659 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3661 * vc-rcs-hooks.el: Implement new state model. Hardly anything
3664 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
3666 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
3667 if defined. (Merged from main line, slightly adapted.)
3669 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
3670 millenium problem (merged from mainline).
3672 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3674 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
3675 part and moved the non-BACKEND stuff to vc.el.
3677 * vc.el: Split the annotate feature into a BACKEND specific part
3678 and moved it from the vc-cvs.el file to this one.
3680 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3682 * vc-hooks.el: Implement new state model.
3683 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
3684 (vc-locking-user): Simplify. Now only needed if the file is
3685 locked by somebody else.
3686 (vc-lock-from-permissions): Remove. Functionality is in
3687 vc-sccs-hooks.el and vc-rcs-hooks.el now.
3688 (vc-mode-line-string): New name for former vc-status. Adapted.
3689 (vc-mode-line): Adapt to use the above. Remove optional parameter.
3691 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
3692 Various simplifications and adaptations all over the place.
3694 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
3695 Simplify and adapt the rest.
3697 * vc.el (vc-resynch-window): Add TODO comment: check for
3698 interaction with view mode according to recent RCS change.
3699 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
3701 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3703 * vc.el: Convert the remaining function comments to docstrings.
3705 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3707 * vc.el (vc-backend-release, vc-release-greater-or-equal)
3708 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
3709 (vc-minor-part, vc-previous-version): Functions that operate and
3710 compare revision numbers got proper documentation. Comments added
3711 about their possible removal.
3713 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3715 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
3716 the vc-backend.el files.
3718 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
3720 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
3721 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
3722 (vc-rcs-previous-version): Functions added.
3724 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
3726 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
3728 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3730 * vc-hooks.el (vc-master-templates): Is really obsolete.
3731 Comment out the definition for now. What is the right procedure
3733 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
3735 (vc-default-registered): Remove.
3736 (vc-check-master-templates): New function; does mostly what the
3738 (vc-locking-user): Don't rely on the backend to set the property.
3740 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
3741 Rewrite documentation.
3742 (vc-rcs-templates-grabbed): New variable.
3743 (vc-rcs-grab-templates): New function.
3744 (vc-rcs-registered): Rewrite to use above mechanism.
3746 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
3747 Rewrite documentation.
3748 (vc-sccs-templates-grabbed): New variable.
3749 (vc-sccs-grab-templates): New function.
3750 (vc-sccs-registered): Rewrite to use above mechanism.
3751 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
3752 Don't throw the result, simply return it.
3754 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
3755 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
3756 (vc-cvs-registered): Does the check itself now. Simplify.
3758 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
3761 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3763 * vc-cvs.el (vc-cvs-diff): New function.
3765 * vc-sccs.el (vc-sccs-diff): New function.
3767 * vc-rcs.el (vc-rcs-diff): New function.
3768 (vc-rcs-checkout): Bug (typo) found and fixed.
3769 (vc-rcs-register-switches): New variable.
3771 * vc.el (vc-backend-diff): Function removed and placed in the
3774 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3776 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
3778 * vc.el (vc-backend-checkout): Function removed and replaced in
3779 the vc-backend.el files.
3781 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
3783 * vc.el (vc-backend-admin): Removed and replaced in the
3784 vc-backend.el files.
3786 * vc.el (Martin): Removed all the annotate functionality since it
3787 is CVS backend specific.
3789 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3791 * spec.txt: Added specification of vc-state.
3793 * vc-sccs-hooks.el (vc-sccs-master-properties):
3794 Remove handling of vc-latest-version and
3795 vc-your-latest-version. What used to be vc-latest-version, is now
3796 returned as vc-workfile-version.
3797 (vc-sccs-workfile-version): Adapt.
3799 2000-09-04 Dave Love <fx@gnu.org>
3801 * vc.el: [Merged from mainline.]
3802 (vc-dired-mode): Make the dired-move-to-filename-regexp
3803 regexp match the date, to avoid treating date as file size.
3804 Add YYYY S option to WESTERN/
3806 2000-09-04 Dave Love <fx@gnu.org>
3808 * vc.el: Require `compile' when compiling.
3809 (vc-logentry-check-hook): New option.
3810 (vc-steal-lock): Use compose-mail.
3811 (vc-dired-mode-map): Defvar when compiling.
3812 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
3813 vc-sccs.el and renamed. Callers changed.
3814 (vc-backend-checkout, vc-backend-logentry-check)
3815 (vc-backend-merge-news): Doc fix.
3816 (vc-default-logentry-check): New function.
3817 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
3818 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
3819 (vc-backend-merge): Doc fix. Use backend functions.
3820 (vc-check-headers): Use backend functions.
3822 * vc-cvs.el: Require vc when compiling.
3823 (vc-cvs-register-switches): Doc fix.
3824 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
3825 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
3826 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
3827 New functions (code from vc.el).
3828 (vc-annotate-display-default): Fix interactive spec.
3829 (vc-annotate-time-span): Doc fix.
3831 * vc-rcs.el: Require vc when compiling.
3832 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
3833 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
3834 (vc-rcs-checkin): New functions (code from vc.el).
3835 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
3837 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
3839 * vc-sccs.el: Require vc when compiling.
3840 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
3841 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
3843 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
3845 (vc-sccs-add-triple, vc-sccs-record-rename)
3846 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
3847 (vc-sccs-admin): Doc fix.
3849 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3851 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
3852 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
3853 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
3856 * vc-sccs.el (vc-admin-sccs): Added from vc.el
3858 * vc-cvs.el: Moved the annotate functionality from vc.el.
3859 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
3861 2000-09-04 Dave Love <fx@gnu.org>
3863 * vc.el (vc-backend-release): Call vc-system-release.
3865 * vc-sccs.el (vc-sccs-system-release):
3866 Renamed from vc-sccs-backend-release.
3868 * vc-rcs.el (vc-rcs-system-release):
3869 Renamed from vc-rcs-backend-release.
3871 * vc-cvs.el (vc-cvs-system-release):
3872 Renamed from vc-cvs-backend-release.
3874 2000-09-04 Dave Love <fx@gnu.org>
3876 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
3878 (vc-backend-release): Dispatch to backend functions.
3879 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
3880 probably needs attention.]
3882 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
3883 (vc-sccs-backend-release): New function.
3885 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
3886 (vc-cvs-backend-release): New function.
3888 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
3890 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
3891 (vc-default-dired-state-info): New function.
3892 (vc-dired-state-info): Dispatch to backends.
3893 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
3895 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
3896 from vc.el and renamed.
3898 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3900 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
3901 (vc-version-other-window, vc-backend-assign-name): Removed
3902 references to vc-latest-version; sometimes changed into
3903 vc-workfile-version.
3905 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
3906 vc-rcs-master-workfile-version.
3907 (vc-rcs-workfile-version): Use the above. Don't call
3908 vc-latest-version (that was unreachable code, anyway).
3909 (vc-rcs-fetch-master-properties): Doc fix.
3911 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
3912 (vc-backend-hook-functions): Removed them from this list, too.
3913 (vc-fetch-properties): Removed.
3914 (vc-workfile-version): Doc fix.
3916 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
3917 (vc-rcs-workfile-version, vc-rcs-locking-user)
3918 (vc-rcs-uses-locking): Use it.
3920 * vc-hooks.el (vc-consult-rcs-headers):
3921 Moved into vc-rcs-hooks.el, under the name
3922 vc-rcs-consult-headers.
3924 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
3926 (vc-cvs-find-master): Use this name only; correct different
3927 versions of the name.
3929 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
3931 (vc-sccs-locking-user): Use the latter.
3933 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
3936 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
3938 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
3939 functions are implementation details of those two backends.
3941 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3943 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
3944 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
3946 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
3947 (vc-sccs-parse-locks): SCCS-specific code moved here from
3950 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
3951 code moved here from vc-hooks.
3953 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
3954 into back-end specific parts and removed. Callers not updated
3955 yet; because I guess these callers will disappear into back-end
3956 specific files anyway.
3958 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3960 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
3961 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
3964 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
3965 Store yes/no in the property, and return t/nil. Updated all
3968 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
3969 vc-sccs-uses-locking. Don't set property.
3970 (vc-sccs-locking-user): Don't set property.
3972 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
3973 vc-cvs-uses-locking. Don't set property here; leave that to
3975 (vc-cvs-locking-user): Reflect above change. Streamlined.
3977 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
3978 vc-rcs-uses-locking.
3979 (vc-rcs-locking-user): Reflect above change.
3981 2000-09-04 Dave Love <fx@gnu.org>
3983 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
3985 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
3987 * vc-hooks.el (vc-checkout-model): Punt to backends.
3989 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
3991 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
3993 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
3996 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
3999 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4000 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4002 * vc-hooks.el (vc-default-locking-user): New function.
4003 (vc-locking-user, vc-workfile-version): Punt to backends.
4005 2000-09-04 Dave Love <fx@gnu.org>
4007 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4008 (vc-master-workfile-version): Moved from vc-hooks.
4010 * vc-rcs-hooks.el: Fix duplicate code in last change.
4012 * vc-rcs-hooks.el: Require vc-hooks when compiling.
4013 (vc-rcs-master-templates): Improve :type.
4014 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4015 vc-master-workfile-version): Moved from vc-hooks.
4017 * vc-sccs-hooks.el: Require vc-hooks when compiling.
4018 (vc-sccs-master-templates): Improve :type.
4019 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4021 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4023 * vc-cvs-hooks.el: Require vc-hooks when compiling.
4024 (vc-cvs-master-templates): Improve :type. Use
4025 vc-cvs-find-cvs-master.
4026 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4028 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4030 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4031 Moved to vc-cvs-hooks.
4033 * vc-hooks.el: Add doc strings in various places. Simplify the
4035 (vc-handled-backends): New user variable.
4036 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4039 2000-09-04 Dave Love <fx@gnu.org>
4041 * vc.el: Some doc fixes for autoloaded and interactive functions.
4042 Fix compilation warnings from ediff stuff.
4043 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4045 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4047 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4049 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4051 2000-09-04 Dave Love <fx@gnu.org>
4053 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4055 (vc-make-backend-function, vc-loadup, vc-call-backend)
4056 (vc-backend-defines): New functions.
4058 * vc-hooks.el: Various doc fixes.
4059 (vc-default-back-end, vc-follow-symlinks): Custom fix.
4060 (vc-match-substring): Function removed. Callers changed to use
4062 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4065 2000-09-04 Dave Love <fx@gnu.org>
4067 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4069 (vc-sccs-project-dir, vc-search-sccs-project-dir)
4070 (vc-sccs-registered): Doc fix.
4072 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4073 (vc-cvs-registered): Doc fix.
4075 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4076 (vc-rcs-registered): Doc fix.
4078 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4080 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4082 * vc-hooks.el: vc-registered has been renamed
4083 vc-default-registered. Some functions have been moved to the
4084 backend specific files. they all support the
4085 vc-BACKEND-registered functions.
4087 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4089 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
4091 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
4093 2000-09-04 Dave Love <fx@gnu.org>
4095 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4096 menu-bar-update-hook.
4098 * help.el (help-manyarg-func-alist): Add
4099 find-operation-coding-system.
4101 * wid-edit.el (widget-sexp-validate): Fix garbled code.
4103 * custom.el (custom-set-variables): Print message about errors in
4106 2000-09-03 Andrew Innes <andrewi@gnu.org>
4108 * makefile.w32-in: Change to DOS line endings.
4110 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4112 * mouse.el (mouse-popup-menubar): Supply the prompt string for
4113 minor-mode keymaps, if they don't have one.
4115 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4117 * eshell/esh-module.el (eval-when-compile): Don't lose if
4118 esh-module.el's file name is truncated to DOS 8+3 limits.
4120 2000-09-01 John Wiegley <johnw@gnu.org>
4122 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4123 predicate, which caused entries in the completion list to be
4126 2000-08-30 John Wiegley <johnw@gnu.org>
4128 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4129 sending to subprocesses. Also, hook pre-command-hook if
4130 `eshell-send-direct-to-subprocesses' is non-nil.
4131 (eshell-send-direct-to-subprocesses): New config variable. If t,
4132 subprocess input is send immediately.
4133 (eshell-toggle-direct-send): New function.
4134 (eshell-self-insert-command): New function.
4135 (eshell-intercept-commands): New function.
4136 (eshell-send-input): If direct subprocess sending is enabled,
4137 don't echo any input to the Eshell buffer. Let the subprocess
4138 handle that. This requires "stty echo" in bash, for example.
4140 2000-08-28 John Wiegley <johnw@gnu.org>
4142 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4143 completion function for Eshell's implementation of `unset'.
4145 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4147 * info.el (Info-directory-list): Doc fix.
4149 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
4151 * filecache.el (file-cache-add-directory-using-find): Don't quote
4152 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4154 2000-08-31 Kenichi Handa <handa@etl.go.jp>
4156 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4159 2000-08-30 Andrew Innes <andrewi@gnu.org>
4161 * timer.el (run-with-idle-timer): Undo last change, so that timer
4162 is not activated immediately if Emacs is already idle. Some
4163 existing code relies on this behaviour.
4165 2000-08-30 Miles Bader <miles@gnu.org>
4167 * frame.el (set-frame-font): Do completion of font-name for
4170 2000-08-30 Kenichi Handa <handa@etl.go.jp>
4172 * international/quail.el (quail-start-translation): Bind locally
4173 last-command-event, last-command, and this-command.
4174 (quail-start-conversion): Likewise.
4175 (quail-self-insert-command): Fix docstring.
4177 2000-08-29 Gerd Moellmann <gerd@gnu.org>
4179 * progmodes/executable.el
4180 (executable-make-buffer-file-executable-if-script-p): Check that
4181 buffer contains at least 2 characters.
4183 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4185 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4187 2000-08-29 Dave Love <fx@gnu.org>
4189 * diff-mode.el (diff-mode) <defgroup>: Add :version.
4190 (diff-mode-shared-map): Bind mouse-2.
4191 (diff-imenu-generic-expression): New variable.
4192 (diff-mode): Use it.
4194 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4195 (mouse-popup-menubar): Add minor mode menus.
4196 (popup-menu): Check for lookup-key returning number.
4198 2000-08-29 Miles Bader <miles@gnu.org>
4200 * comint.el (comint-send-input): Create overlays using the proper
4201 front/read-advance arguments.
4203 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4205 * ps-print.el: Even/odd pages printing. Doc fix.
4206 (ps-print-version): New version number (6.0).
4207 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4208 (ps-background, ps-begin-file, ps-begin-job): Code fix.
4209 (ps-print-duplex-feature): Variable eliminated.
4210 (ps-even-or-odd-pages): New variable.
4212 * progmodes/ebnf2ps.el: Doc fix.
4213 (ebnf-version): New version (3.3).
4214 (ebnf-user-arrow): Change variable customization to sexp.
4215 (ebnf-user-arrow): Function eliminated.
4216 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4218 2000-08-29 Kenichi Handa <handa@etl.go.jp>
4220 * help.el (help-xref-mule-regexp): New variable.
4221 (help-make-xrefs): Handle help-xref-mule-regexp.
4223 * international/mule-cmds.el (help-xref-mule-regexp-template): New
4225 (describe-input-method): Temporarily activate the specfied input
4226 method to display the information.
4227 (describe-language-environment): Hyperlinks to mule related items.
4229 * international/mule-diag.el (charset-multibyte-form-string): New
4231 (list-character-sets-1): Use charset-multibyte-form-string.
4232 (describe-character-set): New function.
4233 (describe-coding-system): Hyperlinks to safe character sets.
4235 * international/quail.el (quail-help): New arg PACKAGE.
4236 Hyperlinks to mule related items.
4237 (quail-help-insert-keymap-description): Use
4238 substitute-command-keys instead of describe-bindings.
4239 (quail-translation-help): Hyperlinks to mule related items.
4241 2000-08-28 John Wiegley <johnw@gnu.org>
4243 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
4244 have a defsubst call itself. Made `eshell-flatten-list' back into
4247 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
4248 catch, in case re-centering point at bottom messes up the display.
4249 This happens frequently in Emacs 21, due I believe to variable
4252 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
4253 to call `find-tag-interactive'.
4255 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
4256 the list of remember directories.
4258 2000-08-28 John Wiegley <johnw@gnu.org>
4260 * align.el: Test align-region-separate to see if it's a symbol.
4262 2000-08-28 John Wiegley <johnw@gnu.org>
4264 * eshell/esh-util.el (eshell-flatten-list): Made this function
4265 into a defsubst form. It gets used very frequently, although
4266 calls don't occur all that often.
4268 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
4271 * eshell/esh-cmd.el (eshell-rewrite-while-command):
4272 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
4274 (eshell-copy-handles): Created a new macro for duplicating the
4275 current set of open handles. This is needed by the looping
4277 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
4278 is not incorrectly stomped on.
4280 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
4281 declaration for pcomplete-use-paring.
4282 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
4283 value of eshell-cmpl-use-paring.
4284 * pcomplete.el (pcomplete-use-paring): New config variable, to
4285 indicate whether paring should be used.
4286 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
4287 completion alternatives that have already been used.
4289 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
4290 bound to C-c C-y, which will repeat the previous N arguments
4291 (based on prefix argument).
4292 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
4294 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
4295 if there is no *Help* buffer. This is for XEmacs, which renames
4296 its help buffers uniquely. TODO: Find out what the current buffer
4299 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
4300 first entry that correlates to a passwd/group number. Later
4301 entries (used for group/user name aliasing to multiple IDs) are
4304 * eshell/em-xtra.el (eshell/expr):
4305 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
4306 (eshell-grep, eshell/diff, eshell/locate):
4307 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
4308 argument list, before passing it to the system command.
4310 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
4311 `find-tag' for use at final position in Eshell buffers (which
4312 otherwise triggers an error on Emacs 21).
4313 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
4314 buffer, if it is currently bound to `find-tag'.
4316 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
4317 in the list of matched Makefile names.
4318 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
4319 directory, prefer its contents to Makefile.
4321 * eshell/em-dirs.el (eshell/cd): cd commands that look up
4322 directory parts (like "cd old new", or "cd =regexp"), are now case
4323 sensitive on non-Windows/DOS platforms.
4325 * eshell/esh-mode.el (eshell-parse-command-input): When a user
4326 types RET after an open delimiter (like "), display a message
4327 indicating that Eshell is waiting for the closing delimiter.
4329 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
4330 environment variables.
4332 * eshell/em-unix.el (eshell/diff): Added logic to fail more
4333 gracefully if the user enters incorrect arguments.
4335 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
4338 * eshell/esh-var.el (eshell-interpolate-variable):
4339 * eshell/esh-mode.el (eshell-move-argument):
4340 * eshell/em-unix.el (eshell-du-sum-directory):
4341 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
4342 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
4345 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
4346 to ensure the `preserve' flag gets propagated when doing recursive
4349 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
4351 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
4352 Don't convert \n into \0177 in memory.
4353 (eshell-read-history, eshell-write-history): Convert \n to \0177,
4354 and back again, when reading and writing.
4356 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
4358 * eshell/esh-util.el (eshell-processp): Added to relieve constant
4359 testing of `fboundp' on `processp'.
4361 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
4362 (eshell/jobs): Don't call process-list if it is not bound.
4363 (eshell-gather-process-output): Support systems where async
4364 subprocesses aren't supported.
4365 (eshell-scratch-buffer, eshell-last-sync-output-start): New
4368 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
4369 eshell-do-eval returns t.
4370 (eshell-do-pipelines-synchronously): New defmacro.
4371 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
4372 when async subprocesses aren't supported.
4373 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
4374 if async subprocesses aren't supported.
4375 (eshell-resume-command): Don't assume STATUS is a string.
4377 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
4379 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
4380 (eshell-close-target, eshell-get-target): Use eshell-processp.
4381 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
4383 (eshell-get-target, eshell-create-handles): Doc fix.
4385 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
4387 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
4388 criterion to include commands that output something, as long as it
4389 leaves both the command and the end-of-buffer visible when the
4391 (eshell-review-quick-commands): Adjust the help doc string
4394 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
4396 * locate.el (locate): Cleaned up locate command's interactive prompting
4397 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
4399 * filecache.el (file-cache-case-fold-search): New variable
4400 (file-cache-assoc-function): New variable
4401 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
4402 Use file-cache-case-fold-search variable
4403 (file-cache-add-file): Use file-cache-assoc-function
4404 (file-cache-delete-file): likewise
4405 (file-cache-directory-name): likewise
4406 (file-cache-debug-read-from-minibuffer): likewise
4408 2000-08-28 Gerd Moellmann <gerd@gnu.org>
4410 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
4411 (abbrev-table-name): New function.
4412 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
4413 If non-nil list local abbrev, only.
4415 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
4417 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
4418 from Gnus support code, and use special article copy buffer
4419 `(gnus-original-article-buffer)' instead. This allows to get rid
4420 of article-hide-headers usage (which breaks in the latest Gnus
4421 version). Thanks to Detlev Zundel.
4423 2000-08-28 Kenichi Handa <handa@etl.go.jp>
4425 * international/quail.el (quail-use-package): Hide "... loaded"
4427 (quail-start-translation, quail-start-conversion): Likewise.
4429 * international/kkc.el (kkc-region): Hide "... loaded" message.
4431 2000-08-27 Dave Love <fx@gnu.org>
4433 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
4435 2000-08-27 Miles Bader <miles@gnu.org>
4437 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
4439 2000-08-27 Kenichi Handa <handa@etl.go.jp>
4441 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
4442 'ja-dic-cnv), not (require 'skkdic-cnv).
4444 2000-08-26 Miles Bader <miles@gnu.org>
4446 * faces.el (face-x-resources): Add entry for :inherit.
4447 * cus-face.el (custom-face-attributes): Add support for :inherit
4448 attribute. Add support for relative face heights.
4449 (custom-face-attributes-get): Treat `nil' as being a default value
4450 for :inherit (as well as `unspecified').
4452 * faces.el (set-face-attribute): Update doc string.
4453 (face-attribute-name-alist): Add :inherit.
4454 (face-valid-attribute-values): Handle :inherit.
4455 (face-read-string): Rephrase prompt to be less confusing.
4456 Assume that DEFAULT is a string, since we must return a string.
4457 (face-read-integer): Use `format' to turn DEFAULT into an
4458 acceptable default for face-read-string. Match NEW-VALUE against
4459 the string "unspecified", not the symbol `unspecified', since
4460 that's what face-read-string returns.
4461 (read-face-attribute): Lookup a name for old-value in valid, and
4462 use it as a default if we find one. Treat all values from
4463 face-read-string as strings. If the default is used, don't do any
4464 more processing on the value, just use the old value directly.
4465 (read-face-and-attribute, modify-face): Tweak prompt.
4466 (read-face-name): Don't assume prompt ends with a space.
4468 * faces.el (describe-face): Add support for :inherit attribute.
4470 2000-08-25 Kenichi Handa <handa@etl.go.jp>
4472 * terminal.el (terminal-emulator): Fix args to `concat'. Now
4473 concat doesn't accept interger.
4475 * international/kkc.el: Remove SKK from Keywords. Require
4476 ja-dic-utl instead of skkdic-utl.
4478 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
4479 Provide ja-dic-cnv instead of skkdic-cnv.
4480 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
4481 (iso-2022-7bit-short): Add safe-charsets property.
4482 (skkdic-convert-postfix): Search Japanese chou-on character in
4483 addition to Hiragana character.
4484 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
4485 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
4486 (batch-skkdic-convert): Likewise.
4488 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
4489 Provide ja-dic-utl instead of skkdic-utl.
4490 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
4492 2000-08-24 Dave Love <fx@gnu.org>
4494 * disp-table.el (standard-display-default): Make the test of `l'
4497 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
4500 * international/iso-ascii.el: Make pilcrow convenient string
4501 consistent with section.
4502 (iso-ascii-display): Set up multibyte characters as well as
4505 2000-08-24 Kenichi Handa <handa@etl.go.jp>
4507 * international/mule-cmds.el (reset-language-environment): Set
4508 default-process-coding-system to '(undecided . iso-latin-1), which
4509 makes process I/O almost consistent with file I/O. Call this
4510 function when mule-cmds.el[c] is loaded.
4512 2000-08-22 Andrew Innes <andrewi@gnu.org>
4514 * makefile.w32-in: New file.
4516 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
4518 * comint.el (comint-output-filter): Compare end of
4519 comint-last-output-overlay with the start of the newly inserted
4520 text, not the end, when deciding whether to extend it.
4521 Set saved-point's insertion type to advance after insertion.
4523 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
4524 since this is now done independently of font-lock mode.
4526 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4528 * server.el (server-kill-new-buffers): New user option.
4529 (server-existing-buffer): New buffer-local variable.
4530 (server-visit-files): When using an existing buffer, set
4531 server-existing-buffer to t.
4532 (server-buffer-done): If server-kill-new-buffers is t, kill the
4533 buffer, unless it was already present before visiting it with
4536 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
4538 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
4539 even if the display doesn't support colors: some displays will
4540 support bold/underline faces.
4542 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4544 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
4546 * startup.el (command-line): If user's init file had an error,
4547 add explanatory text to *Messages*.
4549 2000-08-21 Kenichi Handa <handa@etl.go.jp>
4551 * man.el (Man-getpage-in-background): Decode the process output by
4552 the system locale coding system.
4554 2000-08-20 Dave Love <fx@gnu.org>
4556 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
4557 Don't test x-popup-menu.
4558 (function) <complete-function>: Complete only fbound symbols.
4559 <validate, value>: New.
4560 (variable) <complete-function>: Complete only bound symbols.
4561 (coding-system): Add :base-only, :complete-function, :validate,
4562 :value, :prompt-match.
4563 (widget-coding-system-prompt-value): Use read-coding-system and
4565 (editable-field): Add :help-echo.
4566 (widget-push-button-gui, widget-push-button-cache)
4567 (widget-gui-action, widget-editable-list-gui): COmment out, along
4569 (widget-at): Make arg optional.
4570 (widget-echo-help): Adjust for current help-echo calling sequence.
4571 (widget-specify-field, widget-specify-button)
4572 (widget-specify-insert, widget-get-sibling, widget-image-find)
4573 (widget-convert, widget-insert, widget-leave-text)
4574 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
4575 (widget-setup, widget-field-find, widget-before-change)
4576 (widget-after-change, widget-default-complete)
4577 (widget-default-create, widget-default-delete)
4578 (widget-push-button-value-create, editable-field)
4579 (widget-field-prompt-value, widget-field-validate)
4580 (widget-choice-value-create, widget-choice-action)
4581 (widget-choice-validate, widget-checklist-add-item)
4582 (widget-radio-add-item, widget-radio-chosen)
4583 (widget-radio-value-inline, widget-editable-list-value-create)
4584 (widget-editable-list-entry-create)
4585 (widget-documentation-link-add)
4586 (widget-documentation-string-value-create)
4587 (widget-regexp-validate, widget-file-complete)
4588 (widget-sexp-validate, widget-plist-convert-widget)
4589 (widget-plist-convert-widget, widget-alist-convert-widget)
4590 (widget-alist-convert-widget, widget-color-complete): Simplify,
4591 particularly to avoid bindings which aren't optimized out.
4593 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
4595 (down-list, backward-up-list, up-list, kill-sexp)
4596 (backward-kill-sexp, mark-sexp): Make arg optional.
4597 (lisp-complete-symbol): Add optional arg PREDICATE.
4599 * cus-start.el: Add display-buffer-reuse-frames,
4600 file-coding-system-alist.
4602 2000-08-20 Gerd Moellmann <gerd@gnu.org>
4604 * startup.el (command-line): Clear realized faces after
4605 modifying TTY color mappings.
4607 2000-08-20 Miles Bader <miles@gnu.org>
4609 * faces.el (face-attr-match-p): Don't return true if ATTRS are
4610 merely a subset of FACE's attributes.
4612 2000-08-19 Miles Bader <miles@gnu.org>
4614 * comint.el (comint-output-filter): Save the point with a marker,
4615 not just a buffer position.
4617 * international/mule.el (set-buffer-process-coding-system): Make
4618 interactive prompt less confusing.
4620 2000-08-19 Gerd Moellmann <gerd@gnu.org>
4622 * hilit-chg.el: General cleanup of doc strings, comments and
4625 2000-08-19 Miles Bader <miles@gnu.org>
4627 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
4628 Compiler macro removed; beginning-of-line is no longer always
4629 equivalent to forward-line, in the presence of fields.
4631 * comint.el (comint-output-filter): Remove ad-hoc saving of
4632 restriction, and just use save-restriction, now that it works
4633 correctly. Don't adjust comint-last-input-start to account for
4634 our insertion; it shouldn't have moved because we don't use
4635 insert-before-markers anymore. Comment out call to
4636 `force-mode-line-update'; why is it here?
4638 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
4639 while checking for prompt to delete. Use `forward-line 0'
4640 instead of beginning-of-line.
4641 (gud-filter): Temporarily widen gud comint buffer while
4644 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
4646 * progmodes/sh-script.el: Big bag of typos.
4648 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
4649 check since ispell-process is not bound when ispell is not yet loaded.
4651 2000-08-18 Dave Love <fx@gnu.org>
4653 * image.el (find-image): Copy `spec' before using plist-put.
4655 2000-08-18 Gerd Moellmann <gerd@gnu.org>
4657 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
4660 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
4661 backward-kill-sexp, analogous to kill-sexp.
4663 * progmodes/icon.el (icon-indent-line)
4664 (icon-is-continuation-line): Handle comments specially.
4666 2000-08-17 Ken Stevens <k.stevens@ieee.org>
4668 * ispell.el: Set to standard author/maintainer/keyword fields.
4669 Fine tuning to menu map appearance and operation, and added help.
4670 Remove `start' and `end' error messages when compiling.
4671 (ispell-choices-win-default-height): Fixed comment string.
4672 (ispell-dictionary-alist-1): Fixed regexp in castellano and
4673 castellano8 dictionaries.
4674 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
4675 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
4676 dictionary, added italiano dictionary.
4677 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
4679 (ispell-tex-skip-alists): Added psfig support.
4680 (ispell-skip-html): Renamed from ispell-skip-sgml.
4681 (ispell-begin-skip-region-regexp, ispell-skip-region)
4682 (ispell-minor-check): Improved html skipping support to skip across
4683 code, and recognize `&' commands without propper `;' syntax;
4684 (ispell-process-line): Fix alignment error when manually
4685 correcting spelling.
4686 (ispell): Fix comment string.
4687 (ispell-add-per-file-word-list): Always put word list on new line.
4689 2000-08-17 Gerd Moellmann <gerd@gnu.org>
4691 * format.el (format-encode-run-method): Fix error message to say
4692 `encode' instead of `decode'. Use save-window-excursion around
4693 shell-command-on-region as in format-decode-run-method because
4694 shell-command-on-region can display a buffer with error output.
4695 (format-decode): Don't record undo information for the decoding.
4696 (format-annotate-function): Add parameter FORMAT-COUNT. Make
4697 that number part of the temporary buffer name so that more than
4698 one decoding using a temporary buffer can happen safely.
4700 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
4701 of `A-z' in the regexp.
4703 * hilit-chg.el: Fix typos in commentary.
4705 * help.el (view-emacs-news): Rewritten for new naming scheme
4708 * startup.el (command-line): Pop to *Messages* in case an error
4709 is signaled while loading user-init-file.
4711 2000-08-17 Andreas Schwab <schwab@suse.de>
4713 * files.el (insert-directory): Don't lose original file name,
4714 undoing an undocumented change.
4716 2000-08-17 Alex Schroeder <alex@gnu.org>
4718 * sql.el (sql-magic-go): Use comint-bol.
4719 (sql-copy-column): Use comint-line-beginning-position.
4720 (comint-line-beginning-position): Define a replacement for
4721 comint-line-beginning-position if it is not fboundp.
4723 2000-08-17 Alex Schroeder <alex@gnu.org>
4725 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
4726 it didn't have any effect anyway.
4728 2000-08-17 Alex Schroeder <alex@gnu.org>
4730 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
4731 --pset and pager=off instead of sending \\o|cat at the beginning
4734 2000-08-17 Miles Bader <miles@gnu.org>
4736 * progmodes/octave-inf.el: Add compatibility definition of
4737 comint-line-beginning-position.
4739 2000-08-17 Kenichi Handa <handa@etl.go.jp>
4741 * startup.el (normal-top-level): Look in each dir in load-path for
4742 a leim-list.el file too. This assures of loading leim-list.el
4743 that is created at Emacs installation time even if a user have his
4746 2000-08-17 Miles Bader <miles@gnu.org>
4748 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
4749 foreground color to black if the background is dark.
4751 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
4753 * loadhist.el (unload-feature): Typo.
4755 * finder.el (finder-compile-keywords):
4756 * cus-dep.el (custom-make-dependencies): Add local-variable settings
4757 to the generated file.
4759 * mail/mh-e.el (mh-make-local-vars):
4760 Replace make-variable-buffer-local with make-local-variable.
4763 * options.el (Edit-options-{set,toggle,t,nil}):
4764 * mail/mailabbrev.el (mail-abbrevs-mode):
4765 * textmodes/tex-mode.el (tex-expand-files):
4766 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
4768 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
4770 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
4771 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
4772 Allow going past the last element.
4773 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
4774 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
4775 (cvs-mouse-toggle-mark): Don't move point.
4776 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
4778 * progmodes/compile.el (grep): Provide a default set of files.
4779 (next-error): Docstring fix.
4780 (compilation-find-file): Avoid find-file (fails in a dedicated window).
4782 * emacs-lisp/easy-mmode.el (define-minor-mode):
4783 Use `symbol-value' to keep the byte-compiler quiet.
4785 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
4786 (diff-find-source-location): New fun, extracted from diff-goto-source.
4787 (diff-goto-source): Use it.
4788 (diff-next-complex-hunk, diff-filter-lines): New function.
4789 (diff-apply-hunk): New command.
4791 * smerge-mode.el (smerge-mode-menu): Doc fix.
4793 * msb.el (msb-mode): Define it in terms of define-minor-mode.
4795 2000-08-16 Dave Love <fx@gnu.org>
4797 * windmove.el (windmove) <defgroup>: Add :version.
4799 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
4800 (goto-address-fontify-p, goto-address-highlight-p)
4801 (goto-address-url-face, goto-address-url-mouse-face)
4802 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
4803 (goto-address-url-regexp): Use thing-at-point-url-regexp.
4804 (goto-address-fontify, goto-address-at-mouse): Simplify,
4805 (goto-address-at-point): browse-url-url-at-point,
4806 goto-address-find-address-at-point can return nil.
4807 (goto-address-find-address-at-point): Return nil on failure.
4809 * align.el (align) <defgroup>: Add :version.
4811 * calculator.el (calculator): Add :version.
4812 (calculator): Use two lines for calculator window if `modeline'
4815 * play/5x5.el: Doc fixes.
4816 (5x5) <defgroup>: Add :version.
4818 * play/fortune.el (fortune) <defgroup>: Add :version.
4819 (fortune-append): Fix error message.
4820 (fortune-from-region): Doc fix.
4822 * play/pong.el (pong): Doc fix.
4824 * play/morse.el: Keywords, commentary, autoloads.
4826 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
4828 * desktop.el (desktop-save): Don't look at symbol-value of a
4829 member of minor-mode-alist, unless it is boundp.
4831 2000-08-16 Sam Steingold <sds@gnu.org>
4833 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
4834 `while'; use `with-current-buffer' instead of `save-excursion'.
4835 Removed unnecessary kludges now that "*Buffer List*" is excluded.
4837 2000-08-16 Kenichi Handa <handa@etl.go.jp>
4839 * international/ccl.el (declare-ccl-program): Docstring modified.
4840 (ccl-execute-with-args): Likewise.
4842 2000-08-16 Miles Bader <miles@gnu.org>
4844 * progmodes/sql.el: Add compatibility definition of
4845 comint-line-beginning-position.
4847 2000-08-15 Gerd Moellmann <gerd@gnu.org>
4849 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
4850 'buffer-menu' property.
4851 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
4853 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
4854 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
4857 * buff-menu.el (list-buffers-noselect): Don't display the
4858 *Buffer List* buffer.
4860 * font-lock.el: Require jit-lock to prevent a very late
4861 `Loading jit-lock' message.
4863 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
4864 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
4867 2000-08-15 Miles Bader <miles@gnu.org>
4869 * textmodes/ispell.el (ispell-graphic-p): New constant.
4870 (ispell-choices-win-default-height, ispell-help): Use
4871 `ispell-graphic-p' instead of `xemacsp'.
4873 2000-08-15 Dave Love <fx@gnu.org>
4875 * simple.el: Autoload widget-convert when compiling.
4876 (mail-user-agent): Doc fix.
4878 * help.el (function-called-at-point, variable-at-point): Use
4880 (help-manyarg-func-alist): Add insert-and-inherit.
4882 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
4884 * delsel.el (delsel-unload-hook): New function.
4886 * find-file.el: Doc fixes. Move provide to end.
4887 (ff) <defgroup>: Add :link.
4888 (ff-goto-click): Deleted.
4889 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
4890 Use mouse-set-point.
4892 * textmodes/tildify.el: Doc fixes.
4893 (tildify) <defgroup>: Add:version.
4895 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
4896 (glasses-custom-set): Use set-default, not set.
4897 (minor-mode-alist): Propertize the lighter.
4898 (glasses-mode): Provide optional arg.
4900 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
4901 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
4902 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
4903 option. Provide :type.
4904 (cwarn-configuration): Provide :type.
4905 (cwarn-mode): Doc fix.
4907 * add-log.el (change-log-merge): Doc fix.
4908 (change-log-redate): New command.
4910 * net/browse-url.el (browse-url-filename-alist): Add a clause for
4912 (browse-url): Use dolist, not mapcar.
4913 (browse-url-at-point): Check for null url.
4914 (browse-url-event-buffer, browse-url-event-point): Functions
4916 (browse-url-at-mouse, browse-url-netscape): Simplify.
4918 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
4920 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
4921 Fix previous change to mapcan.
4922 (msb--init-file-alist, msb--add-separators)
4923 (msb--make-keymap-menu): Simplify.
4924 (msb--choose-file-menu): Use copy-sequence.
4925 (msb-mode-map): Add title to keymap.
4926 (msb-unload-hook): New function.
4928 * bs.el: Fix indentation.
4929 (bs) <defgroup>: Add :links.
4931 (bs-apply-sort-faces): Don't use window-system.
4932 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
4934 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
4936 * calendar/timeclock.el (timeclock-file): Run .timelog through
4937 convert-standard-filename.
4939 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4941 * emacs-lisp/authors.el: New file.
4943 * paren.el (show-paren-priority): New user option.
4944 (show-paren-function): Set overlay priorities to
4945 show-paren-priority.
4947 2000-08-14 Miles Bader <miles@gnu.org>
4949 * comint.el (comint-bol): Use `forward-line 0' instead of calling
4950 beginning-of-line with inhibit-field-text-motion bound.
4952 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4954 * calendar/timeclock.el: New file.
4956 2000-08-14 David Ponce <david@dponce.com>
4958 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
4959 `widget-button-click'. so that one can use left mouse button to
4960 click on dialog buttons.
4962 2000-08-14 Emmanuel Briot <briot@gnat.com>
4964 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
4965 identifiers, since XML is case sensitive
4967 2000-08-12 Miles Bader <miles@gnu.org>
4969 * comint.el (comint-output-filter): Don't bother frobbing
4970 window-start, it doesn't seem to be necessary.
4972 * comint.el (comint-send-string, comint-send-region): Make into
4973 real functions. Snapshot the prompt before sending.
4975 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4977 * info.el (Info-find-emacs-command-nodes): Rewrite to use
4978 technique similar to Info-index, instead of relying on specific
4979 names of relevant Index nodes.
4980 (Info-goto-emacs-command-node): Bind Info-history to nil when
4981 going to the first node found by Info-find-emacs-command-nodes.
4983 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4985 * menu-bar.el (menu-bar-help-menu): Add a :help string.
4987 2000-08-10 Miles Bader <miles@gnu.org>
4989 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
4991 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4993 * info.el (Info-file-list-for-emacs): More elements for the
4994 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
4997 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
4999 * comint.el (comint-send-input): Make the newline boundary overlay
5000 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
5001 (comint-output-filter): Use `insert' instead of
5002 `insert-before-markers'. Extend comint-last-output-overlay when
5003 necessary since we can't rely on insert-before-markers to do it.
5004 * gud.el (gud-filter): Use `with-current-buffer' instead of
5005 save-excursion when inserting the output, so that point gets
5006 updated correctly; the old method relied on a rather dodgy
5007 side-effect of comint-output-filter to avoid the effect of
5010 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5012 * files.el (recover-file): Call insert-directory instead of
5013 invoking `ls' directly.
5015 2000-08-10 Miles Bader <miles@gnu.org>
5017 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5018 (comint-last-prompt-overlay): New variables.
5019 (comint-output-filter): Implement prompt highlighting.
5020 (comint-snapshot-last-prompt): New function.
5021 (comint-send-input): Snapshot the last prompt.
5022 Use comint-highlight-input-face.
5023 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5024 Use defface instead of defcustom.
5025 (send-invisible, comint-send-eof): Snapshot the last prompt.
5026 (comint-delchar-or-maybe-eof): Use comint-send-eof.
5027 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5029 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
5031 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5032 (regexp-opt-group): Use a list of chars for `letters'.
5033 (regexp-opt-charset): `chars' is now a list of chars.
5034 Use a char-table rather than a vector so it works for multibyte chars.
5036 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
5037 Set cvs-minor-current-files to the selected fileinfo.
5038 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5039 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5041 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
5043 * files.el (insert-directory): Don't call access-file on
5044 directories on DOS and Windows.
5046 2000-08-09 Kenichi Handa <handa@etl.go.jp>
5048 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5049 longer if necessary.
5050 (ccl-embed-code): Call ccl-embed-data to store CODE in
5053 2000-08-09 Miles Bader <miles@gnu.org>
5055 * comint.el (comint-output-filter): Properly handle the case where
5056 the text surrounded by comint-last-output-overlay was deleted.
5058 2000-08-08 Gerd Moellmann <gerd@gnu.org>
5060 * info.el (Info-insert-dir): Use Info-additional-directory-list if
5062 (Info-file-list-for-emacs): Remove "info" from the list because
5063 that leads to trying to use the documentation from file `info'
5064 in various situations where it isn't appropriate, for instance
5067 * ffap.el (ffap-read-file-or-url-internal): Handle case that
5068 DIR and/or STRING are nil.
5070 * progmodes/compile.el (compilation-setup): Make variable
5071 compilation-error-screen-columns buffer-local, as some comment
5072 in the code suggests it should be.
5074 * files.el (auto-mode-interpreter-regexp): New variable.
5075 (set-auto-mode): Use it.
5077 * indent.el (indent-for-tab-command): Doc fix.
5079 * mouse-sel.el (mouse-sel-mode): Doc fix.
5081 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5084 * help.el (print-help-return-message): When
5085 display-buffer-reuse-frames is set, let the help window been quit,
5086 instead of deleting it, which might delete a reused frame.
5088 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
5090 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5091 rename a directory to a name that differs only by its letter case.
5093 2000-08-08 Kenichi Handa <handa@etl.go.jp>
5095 * international/quail.el (quail-define-rules): Handle Quail decode
5096 map correctly. Add code for supporting annotations.
5097 (quail-install-decode-map): New function.
5098 (quail-defrule-internal): New optional arguments decode-map and
5100 (quail-advice): New function.
5102 2000-08-07 Sam Steingold <sds@gnu.org>
5104 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5105 `defconst', `define-condition', `with-slots'.
5106 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5108 2000-08-03 Miles Bader <miles@gnu.org>
5110 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5112 (comint-prompt-regexp, comint-get-old-input): Document dependence on
5113 comint-use-prompt-regexp-instead-of-fields.
5114 (comint-send-input): Add `input' field property to stuff we send to
5115 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5116 (comint-output-filter): Add `output' field property to process
5117 output, if comint-use-prompt-regexp-instead-of-fields is nil.
5118 (comint-replace-by-expanded-history)
5119 (comint-get-old-input-default, comint-show-output)
5120 (comint-backward-matching-input, comint-forward-matching-input)
5121 (comint-next-prompt, comint-previous-prompt): Use field
5122 properties if comint-use-prompt-regexp-instead-of-fields is nil.
5123 (comint-line-beginning-position): New function.
5124 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
5125 (comint-replace-by-expanded-history-before-point): Use
5126 comint-line-beginning-position and line-end-position.
5127 (comint-last-output-overlay): New variable.
5128 (comint-mode): Make `comint-last-output-overlay' buffer-local.
5130 * shell.el (shell-prompt-pattern): Doc change.
5131 (shell-backward-command): Use line-beginning-position.
5133 * gud.el (gud-gdb-complete-command): Use
5134 comint-line-beginning-position.
5136 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5137 comint-bol doesn't actually go to the beginning of the line.
5139 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5140 if comint-use-prompt-regexp-instead-of-fields is non-nil.
5141 (try-expand-line-all-buffers): Likewise.
5143 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5144 explicitly matching comint-prompt-regexp.
5145 (sql-copy-column): Use comint-line-beginning-position instead of
5146 explicitly matching comint-prompt-regexp.
5148 * progmodes/octave-inf.el (inferior-octave-complete): Use
5149 comint-line-beginning-position.
5151 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5153 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5154 looking for a prompt, use `forward-line 0' instead of
5155 `beginning-of-line', to avoid getting caught by an input field.
5157 2000-08-07 Gerd Moellmann <gerd@gnu.org>
5159 * files.el (shell-quote-wildcard-pattern): Make sure to return
5160 PATTERN, in the Unix case.
5162 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
5164 * play/zone.el (zone): Discard any pending input before running
5165 the randomly-chosen pgm.
5167 2000-08-07 Kenichi Handa <handa@etl.go.jp>
5169 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5170 checking the existence of any multibyte characters.
5172 2000-08-06 Gerd Moellmann <gerd@gnu.org>
5174 * help.el (describe-mode): Test minor-mode symbol for being
5175 bound before testing its value for being nil.
5177 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5178 `first', `second', and `third'.
5180 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5181 (second): Make it an alias for `cadr'.
5183 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
5185 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5186 types of display support faces now.
5188 2000-08-05 Gerd Moellmann <gerd@gnu.org>
5190 * pcvs.el (require): Require `cl' during compilation, only.
5192 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5193 (toplevel): Remove `remq' and `remove' from autoloads.
5194 (cl-fake-autoloads): New variable. If set, arrange for an error
5195 when CL functions etc. are autoloaded.
5197 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
5199 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5201 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5202 popped up, but the user clicks outside the menu, return an empty
5203 regexp (that causes unhighlight-regexp to have no effect).
5205 * menu-bar.el (menu-bar-games-menu): Add Zone.
5207 * hi-lock.el (toplevel): Require font-lock.
5209 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5211 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5212 (ebnf-8-bit-chars): New var for bug fix.
5213 (ebnf-string): Bug fix.
5215 2000-08-03 Sam Steingold <sds@gnu.org>
5217 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5218 instead of `buffer-string'.
5219 (require 'cl): Always, not just when compiling.
5220 `ignore-errors' in `interactive', `list*', `defun*' &c make this
5223 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
5225 * international/mule-cmds.el (select-safe-coding-system): Make
5226 the message text about selecting a safe coding system more clear.
5228 2000-08-02 Gerd Moellmann <gerd@gnu.org>
5230 * hi-lock.el: New file.
5232 * play/zone.el: New file.
5234 * replace.el (occur): Set tab-width in the *Occur* buffer to the
5235 value of tab-width in the original buffer. Choose a line number
5236 format that's a multiple of the original buffer's tab width, so
5237 that lines appear right.
5239 * textmodes/ispell.el (ispell): New function, replacing an alias.
5240 Spell-check active region if in transient-mark-mode and mark
5241 is active; otherwise spell-check buffer.
5243 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5245 * ps-mule.el: Fix a customization problem on
5246 ps-mule-font-info-database-default.
5248 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
5250 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
5251 display-mouse-p instead of window-system.
5252 (ebrowse-member-mode-map): Ditto.
5254 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5256 * progmodes/ebnf2ps.el: Update ps-print functions call.
5257 Indentation fix. Doc fix.
5258 (ebnf-version): New version number (3.2).
5259 (ebnf-format-color, ebnf-begin-job): Code fix.
5261 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
5263 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
5264 font lock support on window-system.
5265 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
5267 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
5268 display-color-p, if fboundp, instead of window-system.
5270 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
5272 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
5273 instead of window-system.
5275 * wid-edit.el (widget-choose): Use display-mouse-p instead of
5277 (widget-choice-mouse-down-action): Use display-popup-menus-p
5278 instead of window-system.
5280 * strokes.el (strokes-file): Run the file name through
5281 convert-standard-filename.
5282 (strokes-mode): Call display-mouse-p instead of looking at
5283 window-system. Change the error message accordingly.
5285 * progmodes/cpp.el (toplevel): Support faces on tty's.
5287 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
5288 (lm-plot-square, lm-init-display): Don't use window-system.
5290 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
5291 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
5293 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
5294 instead of looking at window-system.
5296 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5298 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
5299 of testing if iswitchb-prepost-hooks is bound, because the
5300 latter will always be true when invoking a recursive minibuffer
5301 from an active Iswitchb buffer.
5303 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
5305 * files.el (shell-quote-wildcard-pattern): New function.
5306 (insert-directory): Call it. Only prepend "\" to command on Unix
5307 and GNU/Linux systems.
5309 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5311 * eshell/esh-groups.el: Change custom :link file names
5312 from `eshell.info' to `eshell'.
5314 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
5316 * dired.el (dired-build-subdir-alist): Expand subdirectory names
5317 correctly in recursive ange-ftp listings.
5319 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5321 * ps-print.el: Fix bug 1: if ps-font-size-internal,
5322 ps-header-font-size-internal and
5323 ps-header-title-font-size-internal variables are not set,
5324 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
5325 face text property is (foreground-color . COLOR) or
5326 `(background-color . COLOR)', ps-print crashes. Doc fix.
5327 (ps-print-version): New version number (5.2.4).
5328 (ps-plot-region): Code fix.
5329 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
5330 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
5333 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
5335 * glasses.el (glasses-make-readable): Fix uncapitalization of
5336 identifiers like `myXMLDocument'.
5338 2000-07-28 Karl Fogel <kfogel@red-bean.com>
5340 * mail/mail-hist.el (mail-hist-previous-input)
5341 (mail-hist-next-input): Do the obvious code factorization.
5342 (mail-hist-retrieve-and-insert): New func, contains common
5344 If inserting a message body, leave point at top.
5346 2000-07-28 Sam Steingold <sds@gnu.org>
5348 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
5349 Use `<=', not `<' to compare times!
5350 (ange-ftp-ls): Remove.
5352 2000-07-27 Gerd Moellmann <gerd@gnu.org>
5354 * play/cookie1.el: Add explanation of how to make cookie.el
5355 compatible with strfile(1) to comment.
5357 * subr.el (remove, remq): New functions.
5359 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
5360 escape `*' in regexps.
5361 (midnight-find): Reverse order of arguments in the funcall of
5364 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
5367 * play/meese.el: Add Commentary section.
5369 2000-07-27 Alex Schroeder <alex@gnu.org>
5371 * sql.el (sql-ms): Added autoload cookie.
5372 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
5373 (sql-oracle): Ditto.
5374 (sql-help): Doc change.
5376 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
5377 types and exceptions.
5379 2000-07-27 Alex Schroeder <alex@gnu.org>
5381 * sql.el (sql-placeholder-history): New variable.
5382 (sql-query-placeholders-and-send): New function that will query
5383 the user and replace placeholders with user input.
5384 (sql-oracle): If running on NT, set comint-input-sender to
5385 sql-query-placeholders-and-send.
5387 (sql-stop): If in the SQLi buffer, insert stop notification, else
5388 present it as a message.
5390 2000-07-27 Alex Schroeder <alex@gnu.org>
5392 * sql.el (sql-input-ring-separator): Doc change.
5393 (sql-input-ring-file-name): Doc change.
5394 (sql-interactive-mode): Use `sql-input-ring-separator' and
5395 `sql-input-ring-file-name' to set the comint-mode equivalents
5396 without making them local variables.
5397 (sql-stop): Don't bind `sql-input-ring-separator' and
5398 `sql-input-ring-file-name' dynamically to their comint-mode
5401 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5403 * international/mule.el (register-char-codings): New function.
5404 (make-coding-system): Handle `safe-chars' specification in the arg
5407 * international/mule-cmds.el
5408 (find-coding-systems-region-subset-p): This function deleted.
5409 (sort-coding-systems-predicate): New variable.
5410 (sort-coding-systems): New function.
5411 (find-coding-systems-region): Use
5412 find-coding-systems-region-internal.
5413 (find-coding-systems-string): Use find-coding-systems-region.
5414 (find-coding-systems-for-charsets): Check
5415 char-coding-system-table.
5416 (select-safe-coding-system-accept-default-p): New variable.
5417 (select-safe-coding-system): Mostly rewritten. New argument
5419 (select-message-coding-system): Call select-safe-coding-system
5420 with ACCEPT-DEFAULT-P arg.
5421 (reset-language-environment): Reset default-sendmail-coding-system
5422 to the default value iso-latin-1.
5423 (set-language-environment): Don't set the obsolete variable
5424 charset-origin-alist.
5426 * international/codepage.el (cp-coding-system-for-codepage-1):
5427 Give `safe-chars' property to make-coding-system.
5429 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
5430 calling select-message-coding-system twice.
5432 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
5433 instead of `safe-charsets'.
5434 (cyrillic-alternativnyj): Likewise.
5435 (ccl-encode-alternativnyj): Don't check the charset
5438 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5440 * composite.el (compose-chars-after): Preserve match data.
5442 2000-07-26 Sam Steingold <sds@gnu.org>
5444 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
5445 (ange-ftp-real-file-newer-than-file-p): New function.
5446 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
5447 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
5449 * tooltip.el (tooltip-float-time): Removed (use `float-time').
5450 * midnight.el (midnight-float-time): Ditto.
5452 2000-07-26 Andreas Schwab <schwab@suse.de>
5454 * files.el (normal-backup-enable-predicate): Correct
5455 interpretation of the return value of compare-strings.
5457 2000-07-26 Gerd Moellmann <gerd@gnu.org>
5459 * isearch.el (isearch-resume): New function.
5460 (isearch-done): Add something to command-history to resume
5462 (isearch-yank-line, isearch-yank-word): Use
5463 buffer-substring-no-properties instead of buffer-substring.
5465 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
5466 of flyspell-mouse-map.
5468 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
5469 duplicate definition.
5470 (makefile-mode): Remove duplicate setting of local-abbrev-table.
5472 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
5473 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
5475 2000-07-25 Sam Steingold <sds@gnu.org>
5477 * net/ange-ftp.el: Get modtime over the net.
5478 (ange-ftp-file-modtime): New function.
5479 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5480 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
5482 (ange-ftp-dot-to-slash): New function.
5483 (ange-ftp-fix-name-for-vms): Use it.
5485 * midnight.el (midnight-buffer-display-time): Use
5486 `with-current-buffer'.
5488 2000-07-25 Gerd Moellmann <gerd@gnu.org>
5490 * find-dired.el: Update copyright notice.
5491 (find-dired): Offer to kill a running `find'.
5493 * enriched.el (enriched-face-ans): For a `foreground-color'
5494 property, return '(("x-color" COLOR))' so that COLOR will be
5495 output as a parameter of the x-color annotation. Likewise for the
5496 `background-color' property. In the case of normal face
5497 properties, don't return annotations for unspecified foreground
5498 and background face attributes.
5500 2000-07-25 Kenichi Handa <handa@etl.go.jp>
5502 * language/japan-util.el (japanese-katakana-region): Fix handling
5505 2000-07-25 Miles Bader <miles@gnu.org>
5507 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
5508 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
5511 2000-07-24 Andrew Innes <andrewi@gnu.org>
5513 * timer.el (timer-activate-when-idle): Add optional parameter
5514 DONT-WAIT. Update docstring.
5515 (run-with-idle-timer): Specify extra parameter to
5516 timer-activate-when-idle, so that timer will be activated
5517 immediately if Emacs is already idle.
5519 * w32-fns.el (w32-using-nt): Fix docstring.
5521 2000-07-24 Dave Love <fx@gnu.org>
5523 * mouse.el (popup-menu): Set last-command-event.
5524 (mouse-major-mode-menu-prefix): Declare.
5526 2000-07-24 Gerd Moellmann <gerd@gnu.org>
5528 * textmodes/flyspell.el: Update to author's version 1.5d.
5530 * progmodes/hideshow.el: Update copyright notice.
5532 * vcursor.el: Set maintainer to FSF, since author cannot
5535 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
5537 * info.el (Info-goto-emacs-key-command-node): Leave a space after
5540 * mouse.el (popup-menu): Run the keymap through indirect-function,
5541 in case it was defined with define-prefix-key. If the menu is a
5542 list of keymaps, look up the binding of user's choice in each one
5544 (mouse-popup-menubar): If the global and local menu-bar keymaps
5545 don't have a prompt string, create one and insert it into the
5546 keymap. Don't barf if current-local-map returns nil.
5548 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
5550 * dired.el (dired-sort-R-check): Added to allow recursive listing
5552 (dired-sort-other): Use it.
5554 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5556 * Release of cc-mode 5.27
5558 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5560 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
5561 c-beginning-of-statement-1 that caused a bad case of recursion
5562 which could consume a lot of CPU in large classes in languages
5563 that have in-expression classes (i.e. Java and Pike).
5565 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
5566 statements before top level constructs (i.e. case 6 is moved
5567 before case 5 and is now case 4) to catch in-expression
5568 classes in top level expressions correctly.
5570 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5572 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
5573 objc-method-intro. Case 4 removed and case 5I added.
5575 * cc-langs.el (c-append-paragraph-start): New variable used by
5576 c-common-init to get paragraph-start correct.
5577 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
5578 initialize paragraph-start to make it correct both with and
5579 without the javadoc special case.
5581 * cc-mode.el (java-mode): Use c-append-paragraph-start to
5582 initialize paragraph-start for javadoc markup.
5584 * cc-vars.el (c-style-variables-are-local-p): Incompatible
5585 change by defaulting this to t. It's motivated by the
5586 confusing behavior that otherwise arise from the style system
5587 when editing both java and non-java files at the same time
5588 (see the comments about style setting in c-common-init).
5590 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5592 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
5593 similar to the one in c-fill-paragraph to check the fill
5594 prefix from the adaptive fill function for sanity.
5596 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5598 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
5601 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5603 * cc-mode.texi Documented the change of cpp-macro.
5605 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5607 * cc-align.el (c-lineup-multi-inher): Handle lines with
5608 leading comma nicely. Extended to handle member initializers
5611 * cc-engine.el: (c-beginning-of-inheritance-list,
5612 c-guess-basic-syntax): Fixed recognition of inheritance lists
5613 when the lines begins with a comma.
5615 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
5617 * cc-vars.el (c-offsets-alist): Changed default for
5618 member-init-cont to c-lineup-multi-inher since it now handles
5619 member initializers and indents better for leading commas.
5621 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5623 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
5624 handling that caused class open lines to be recognized as
5625 statement-conts in some cases.
5627 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
5628 guessed by the adaptive fill function unless point is on the
5629 first line of a block comment.
5631 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
5632 when the buffer ends with a macro continuation char.
5634 * cc-engine.el (c-guess-basic-syntax): Added support for
5635 function definitions as statements in Pike. The first
5636 statement in a lambda block is now labeled defun-block-intro
5637 instead of statement-block-intro.
5639 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
5640 so that the class surrounding point is selected, not the one
5641 innermost in the state.
5643 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
5644 recognition of switch labels having hanging multiline
5647 * cc-engine.el (c-beginning-of-member-init-list): Broke out
5648 some code in c-guess-basic-syntax to a separate function.
5649 * cc-engine.el (c-just-after-func-arglist-p): Fixed
5650 recognition of member inits with multiple line arglists.
5651 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
5652 member-init-cont when the commas are in funny places.
5654 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5656 * cc-defs.el (c-auto-newline): Removed this macro since it's
5659 * cc-engine.el (c-looking-at-bos): New helper function.
5660 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
5661 inexpr and toplevel classes apart in Pike.
5663 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
5666 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
5667 constant, since "class" can introduce an in-expression class
5670 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5672 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
5673 indentation on cpp-macro lines.
5675 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
5676 a syntax modifier like comment-intro, to make it possible to
5677 get syntactic indentation for preprocessor directives. It's
5678 incompatible wrt to lineup functions on cpp-macro, but it has
5679 no observable effect in the 99.9% common case where cpp-macro
5682 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5684 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
5685 member-init-cont when the preceding arglist is several lines.
5687 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5689 * cc-styles.el (c-style-alist): The basic offset for the BSD
5690 style corrected to 8.
5692 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5694 * cc-styles.el (c-style-alist): Adjusted the indentation of
5695 brace list openers in the gnu style.
5697 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5699 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
5701 * cc-cmds.el (c-electric-brace, c-electric-slash,
5702 c-electric-star, c-electric-semi&comma, c-electric-colon,
5703 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
5704 when c-syntactic-indentation is nil.
5706 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
5707 we were left at comments preceding the first statement when
5708 reaching the beginning of the buffer.
5710 * cc-vars.el (c-syntactic-indentation): New variable to turn
5711 off all syntactic indentation.
5713 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5715 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
5716 between the text and the block comment ender when it hangs,
5717 depending on how many there are before the fill.
5719 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5721 * cc-engine.el (c-beginning-of-closest-statement): New helper
5722 function to go back to the closest preceding statement start,
5723 which could be inside a conditional statement.
5724 * cc-engine.el (c-guess-basic-syntax): Use
5725 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
5727 * cc-engine.el (c-guess-basic-syntax): Better handling of
5728 arglist-intro, arglist-cont-nonempty and arglist-close when
5729 the arglist is nested inside parens. Cases 7A, 7C and 7F
5732 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
5733 up-to-date with javadoc 1.2.
5735 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5737 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
5738 multiline Pike type decls.
5740 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5742 * cc-cmds.el (c-indent-new-comment-line): Always break
5743 multiline comments in multiline mode, regardless of
5746 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5748 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
5749 fully::qualified::names in C++ member init lists. Preamble in
5752 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5754 * cc-langs.el (c-common-init): Handling of obsolete variables
5755 moved to c-initialize-cc-mode. More compatible style override
5756 when using global style variables.
5757 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
5758 variables moved here.
5760 * cc-mode.texi: Documented the special behavior of
5761 c-special-indent-hook as a style variable. Don't talk about
5762 doing (c-make-styles-buffer-local t) in a mode hook, since
5763 that's already too late to work right.
5765 * cc-styles.el (c-make-styles-buffer-local): Flag style
5766 variable localness in c-style-variables-are-local-p to make
5767 the compatibility measure in c-common-init work well.
5769 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
5770 longer contain set-from-style.
5771 * cc-styles.el (c-initialize-builtin-style): Don't check for
5772 set-from-style on c-special-indent-hook.
5773 * cc-styles.el (c-copy-tree): Obsolete. The standard function
5774 copy-alist is sufficient now.
5776 * cc-styles.el (c-set-style, c-set-style-1,
5777 c-get-style-variables): Fixes to variable initialization so
5778 that duplicate entries in styles have the same effect
5779 regardless of DONT-OVERRIDE.
5781 * cc-styles.el (c-set-style-2): Fixed bug where the
5782 initialization of inheriting styles failed when the
5783 dont-override flag is set.
5785 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
5788 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5790 * cc-defs.el (c-forward-comment): Removed the workaround
5791 introduced in 5.38 since it had worse side-effects. If a line
5792 contains the string "//\"", it regarded the // as a comment
5793 start since the \ temporarily doesn't have escape syntax.
5795 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
5797 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
5798 ada-xref.el before ada-prj.el, so that the Project menu is created
5799 when ada-prj tries to add to it.
5800 (ada-activate-keys-for-case): Suppress the characters that are not
5801 part of the Ada syntax. Better compatibility with else-mode
5802 (ada-adjust-case-interactive): When auto-casing is not active,
5803 correctly insert newlines (used to insert only ^M). Prevent the
5804 syntax table from being changed in case of an error
5805 (or '_' becomes part of a word and some commands are confused).
5806 Do nothing if ada-auto-case is nil.
5807 (ada-after-keyword-p): Ignore keywords that are also attributes
5808 (ada-batch-reformat): Update usage comment
5809 (ada-call-from-contextual-menu): New function
5810 (ada-case-read-exceptions): Reinitialize the casing exception list
5811 first to nil first, so that the casing exception file can be
5813 (ada-check-defun-name): Handles "configure" keyword for gnatdist
5815 (ada-compile-goto-error): Fix regexp used to detect a file:line
5816 anywhere in the error message
5817 (ada-contextual-menu-last-point): New variable
5818 (ada-create-keymap): If the variable delete-key-deletes-forward is
5819 t on XEmacs, it means that DEL should delete one character
5821 (ada-create-menu): Use :included instead of :visible for XEmacs.
5822 New submenu "Options".
5823 (ada-end-stmt-re): Correctly indent "select ... then abort"
5825 (ada-fill-comment-paragraph): Correctly delete all leading '--'
5826 even if they don't match ada-fill-comment-prefix Fix handling of
5827 paragraphs on the first or last line of a file.
5828 (ada-format-paramlist): Fix handling of default parameter values.
5829 (ada-get-body-name): New function.
5830 (ada-get-current-indent): Optimized by searchling directly for an
5831 existing generic part or a statement outside of it. Handle
5832 ada-indent-align-comments when indenting comments Replaced some
5833 regexps by testing directly the next character. This results in a
5834 huge speedup on some files. New indentation scheme for renames
5835 statements. Stop looking for the 'while' or 'for' associated with
5836 a 'loop' at the first semicolon encountered. A "return" can also
5837 match an anonymous access subprogram declaration.
5838 (ada-get-indent-noindent): Ignore strings and comments when
5839 looking for the keywords "record" and "private".
5840 (ada-goto-matching-decl-start): When matching "if", make sure we
5841 are not in fact seeing "end if". Ignore "when" statements except
5842 when initial keyword was "begin". Fix handling of nested
5843 procedures. Add a recursive call to this function to skip over
5844 other 'end' statmts. Fix indentation for "when .. => begin"
5845 (ada-in-open-paren-p): Fix indentation for complex boolean
5846 expressions, where 'and then', 'or else' and parenthesis
5847 statements are mixed up.
5848 (ada-in-paramlist-p): Skip comments while searching for the
5849 beginning Fix handling of operator declarations.
5850 (ada-indent-align-comments): New variable
5851 (ada-indent-current): Change the syntax table only in the
5852 protected section, so that we are sure it is restored correctly.
5853 (ada-indent-on-previous-lines): Use ada-use-indent and
5854 ada-with-indent Correctly indent "select ... then"
5855 (ada-indent-region): Slight speedup.
5856 (ada-indent-renames): New variable.
5857 (ada-last-which-function-subprog, ada-last-which-function-line):
5859 (ada-looking-at-semi-private): Correctly indent the 'private'
5860 keyword when it is the first word in a package declaration.
5861 (ada-loose-case-word): Stop searching if at the end of the buffer.
5862 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
5863 even if point is not initially at the end of the word.
5864 (ada-matching-decl-start-re): Add "when".
5865 (ada-mode): Add support for abbrev-mode, outline-mode and
5866 which-func-mode Override the old find-file.el entry in
5867 ff-special-constructs since it is using the obsolete
5868 ada-spec-suffix variable
5869 (ada-no-auto-case): New function
5870 (ada-scan-paramlist): When parsing the argument type, accept
5871 spaces (as in "X 'Class", generated by Rational Rose).
5872 (ada-other-file-name): No longer loads the other file.
5873 (ada-popup-menu): Save and restore the current buffer and cursor
5874 position before and after displaying the menu.
5875 (ada-search-ignore-complex-boolean): New function.
5876 (ada-uncomment-region): Emacs21 already knows how to delete
5877 comments not starting in the first column.
5878 (ada-use-indent): New variable
5879 (ada-which-function): New function.
5880 (ada-with-indent): New variable
5881 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
5882 can be batch-compiled from the command line.
5884 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
5885 Add to the menu when the file is loaded, not in ada-mode-hook.
5886 Add -toolbar to the default ddd command Switches moved from
5887 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
5888 ada-prj-default-comp-opt
5889 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
5890 Reference Manual to the menu
5891 (ada-check-current): rewritten as a call to ada-compile-current
5892 (ada-compile): Removed.
5893 (ada-compile-application, ada-compile-current, ada-check-current):
5894 Set the compilation-search-path so that compile.el automatically
5895 finds the sources in src_dir. Automatic scrollong of the
5896 compilation buffer. C-uC-cC-c asks for confirmation before
5898 (ada-compile-current): New parameter, prj-field
5899 (ada-complete-identifier): Load the .ali file before doing
5901 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
5902 conform to gnatmake's behavior.
5903 (ada-find-file-in-dir): New function
5904 (ada-find-references): Set the environment variables for gnatfind
5905 (ada-find-src-file-in-dir): New function.
5906 (ada-first-non-nil): Removed
5907 (ada-gdb-application): Add support for jdb, the java debugger.
5908 (ada-get-ada-file-name): Load the original-file first if not done
5910 (ada-get-all-references): Handles the new ali syntax (parent types
5911 are found between <>).
5912 (ada-initialize-runtime-library): New function
5913 (ada-mode-hook): Always load a project file when a file is opened,
5914 so that the casing exceptions are correctly read.
5915 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
5916 (ada-parse-prj-file): Use find-file-noselect instead of find-file
5917 to open the project file, since the latter does not work with
5918 speedbar Get default values before loading the prj file, or the
5919 default executable file name is wrong. Use the absolute value of
5920 src_dir to initialize ada-search-directories and
5921 compilation-search-path,... Add the standard runtime library to
5922 the search path for find-file.
5923 (ada-prj-default-debugger): Was missing an opening '{'
5924 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
5926 (ada-prj-default-gnatmake-opt): New variable
5927 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
5928 buffers, the project file is the default one Save the windows
5929 configuration before displaying the menu.
5930 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
5931 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
5932 ...) regexp-quote identifiers names to support operators +,
5934 (ada-remote): New function.
5935 (ada-run-application): Erase the output buffer before starting the
5936 run Support remote execution of the application. Use
5937 call-process, or the arguments are incorrectly parsed
5938 (ada-set-default-project-file): Reread the content of the active
5939 project file, not the one from the current buffer When a project
5940 file is set as the default project, all directories are
5941 automatically associated with it.
5942 (ada-set-environment): New function
5943 (ada-treat-cmd-string): New special variable ${current}
5944 (ada-treat-cmd-string): Revised. The substitution is now done for
5945 any ${...} substring
5946 (ada-xref-current): If no body was found, compiles the spec
5947 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
5948 compiler to get rid of command line length limitations.
5949 (ada-xref-get-project-field): New function
5950 (ada-xref-project-files): New variable
5951 (ada-xref-runtime-library-specs-path)
5952 (ada-xref-runtime-library-ali-path): New variables
5953 (ada-xref-set-default-prj-values): Default run command now does a
5954 cd to the build directory. New field: main_unit Provide a default
5955 file name even if the current buffer has no prj file.
5958 Rewritten to show a tabbed-dialog.
5959 (ada-prj-add-ada-menu): Remove the map and name parameters.
5960 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
5962 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
5963 (ada-prj-load-from-file): New function
5964 (ada-prj-save): Always save fields that depend on the current buffer
5965 (ada-prj-show-value): New function
5967 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
5968 Ada mode. This will allow us to display the Ada menu in any buffer
5969 we want (for project items).
5970 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
5971 number of spaces in the header.
5973 2000-07-24 Dave Love <fx@gnu.org>
5975 * ediff-init.el (ediff-region-help-echo): Bind face-help.
5977 2000-07-23 Noah Friedman <friedman@splode.com>
5979 * type-break.el (type-break): perform autosave.
5980 Suggested by Stephen Gildea <gildea@intouchsys.com>.
5981 (type-break-do-query): Cancel query schedule while performing
5982 actual query, to avoid possibility of a second query being made
5983 while first one is already in progress.
5984 (type-break-time-stamp-format): New variable.
5985 (type-break-time-stamp): New function.
5986 (type-break-time-warning): Use it.
5987 (type-break-keystroke-warning): Use it.
5988 (type-break-noninteractive-query): Use it.
5990 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
5992 Use add-minor-mode to set minor-mode-alist, if available.
5993 (eldoc-echo-area-use-multiline-p): New user option.
5994 (eldoc-echo-area-multiline-supported-p): New variable.
5995 (eldoc-docstring-format-sym-doc): Use them.
5996 (eldoc-mode): If not using idle timers, append to local post and
5997 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
5998 (eldoc-display-message-no-interference-p): Don't interfere with
6000 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6001 (eldoc-function-arglist): New function.
6002 (eldoc-function-argstring): Use it.
6004 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6005 auto save directory exists before calling directory-files.
6007 2000-07-23 Dave Love <fx@gnu.org>
6009 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6012 2000-07-21 Dave Love <fx@gnu.org>
6014 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6015 now passed to the function. It now works properly.
6017 * smerge-mode.el (smerge-mode-menu): Fill it out.
6019 2000-07-20 Gerd Moellmann <gerd@gnu.org>
6021 * info-look.el (info-lookup): If *info* is shown in another frame
6022 on the same display, select that frame, instead of switching to
6023 the Info buffer in another window of the selected frame.
6025 * simple.el (universal-argument-map): Bind numeric keypad keys
6026 kp-0 to kp-9 and kp-subtract.
6027 (digit-argument): Handle these keys.
6029 2000-07-20 Dave Love <fx@gnu.org>
6031 * net/goto-addr.el (goto-address-fontify): Don't bother with
6032 buffer-modified and read-only stuff -- irrelevant with overlays.
6033 Put an extra property on the overlays and use it to clean up in
6034 case goto-address is re-run.
6036 2000-07-19 Richard M. Stallman <rms@gnu.org>
6038 * timer.el (run-with-idle-timer): Doc fix.
6040 * mail/mail-utils.el (mail-strip-quoted-names):
6041 Handle case where <...> appears inside "...".
6042 Use replace-match to edit the string more simply.
6043 (rmail-dont-reply-to): Cope with an unmatched ".
6045 2000-07-19 Dave Love <fx@gnu.org>
6047 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6050 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6051 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6052 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6054 2000-07-19 Gerd Moellmann <gerd@gnu.org>
6056 * textmodes/refer.el: Correct maintainer's email address.
6058 * progmodes/hideif.el: Correct author's email address.
6059 Fix typo in comment.
6063 * mail/mailheader.el: Correct author's mail address.
6065 * gnus/parse-time.el: Correct author's mail address.
6067 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
6069 * comint.el (comint-highlight-input, comint-highlight-face):
6071 (comint-input-ring-file-name): Change custom type.
6072 (comint-mode-map): Bind mouse-2.
6073 (comint-insert-clicked-input): New function.
6074 (comint-send-input): Handle input highlighting.
6076 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
6078 * mouse.el (popup-menu): New function.
6079 (mouse-major-mode-menu): Use it.
6081 2000-07-18 Dave Love <fx@gnu.org>
6083 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6086 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6088 * faces.el (face-font-selection-order)
6089 (face-font-family-alternatives): Add custom type.
6091 2000-07-18 Dave Love <fx@gnu.org>
6093 * cus-edit.el (custom-variable-reset-saved)
6094 (custom-variable-reset-standard): Remove unused bindings.
6096 * rect.el (open-rectangle-line): Remove unused let.
6098 * hl-line.el (hl-line-highlight): Check hl-line-mode.
6100 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6102 * cdl.el: Fix `Maintainer' keyword.
6104 * play/pong.el: Add author's email address.
6106 2000-07-17 Sam Steingold <sds@gnu.org>
6108 * files.el (insert-directory): Call `split-string' instead of
6111 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6113 * mail/vms-pmail.el: Change maintainer to FSF.
6115 * net/goto-addr.el: Change maintainer to FSF.
6117 * recentf.el: Update from author.
6119 * info.el (Info-title-face-alist): Removed.
6121 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
6123 * eshell/eshell.el (eshell): Replace links to eshell.info with
6124 links to eshell, to avoid problems on systems where the manual is
6125 installed as `eshell'.
6126 * eshell/esh-cmd.el (eshell-cmd): Ditto.
6127 * eshell/em-smart.el (eshell-smart): Ditto.
6128 * eshell/em-banner.el (eshell-banner): Ditto.
6129 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6131 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6132 same-file check in the MS-DOS version (it does support inodes).
6134 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6136 * eshell/eshell.el (eshell-directory-name):
6137 Run default directory name through convert-standard-filename.
6139 2000-07-18 Kenichi Handa <handa@etl.go.jp>
6141 * international/mule-cmds.el (select-safe-coding-system):
6142 Fix typo in the comment.
6144 * language/european.el (compound-text):
6145 Force katakana-jisx0201 to be designated to G1.
6147 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6148 Don't translate some national variant characters of latin-jisx0201.
6149 (x-ctext): Force katakana-jisx0201 to be designated to G1.
6151 * international/kkc.el (kkc-after-update-conversion-functions):
6153 (kkc-update-conversion): Run functions in it at the tail.
6155 2000-07-16 John Wiegley <johnw@gnu.org>
6157 * lisp/align.el (align-newline-and-indent):
6158 Adding new function. for auto-aligning blocks of code on RET.
6159 (align-region): Fixed badly formatted minibuffer message.
6161 2000-07-17 Kenichi Handa <handa@etl.go.jp>
6163 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6164 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
6165 the conversion list at first if appropriate.
6166 (kkc-next): Don't update kkc-next-count here.
6167 (kkc-prev): Don't update kkc-prev-count here.
6168 (kkc-show-conversion-list-update): Fix setting up of conversion
6171 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
6173 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6175 2000-07-16 Dave Love <fx@gnu.org>
6177 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6178 function to be more specific.
6180 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6181 non-string help-echo.
6182 (widget-types-convert-widget): Defsubst it.
6183 (widget-echo-help): Try to cope with a help-echo function of two
6186 2000-07-15 Jason Rumney <jasonr@gnu.org>
6188 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6189 Declare as obsolete.
6191 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6193 2000-07-14 Gerd Moellmann <gerd@gnu.org>
6195 * hilit-chg.el: Fix typo.
6197 2000-07-14 Dave Love <fx@gnu.org>
6199 * info.el (Info-mode-menu): Fix use of :help, :enable.
6201 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
6203 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6205 2000-07-13 Dave Love <fx@gnu.org>
6207 * emacs-lisp/easymenu.el: Doc fixes.
6208 (easy-menu-remove): Defalias to ignore.
6210 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6211 Call throw correctly.
6213 2000-07-13 Gerd Moellmann <gerd@gnu.org>
6215 * faces.el (frame-background-mode): Doc fix.
6217 * simple.el (eval-expression-print-length): Change custom type to
6218 allow entering nil as value.
6220 2000-07-13 Dave Love <fx@gnu.org>
6222 * progmodes/fortran.el (fortran-imenu-generic-expression):
6223 Change definition layout.
6224 (fortran-mode-menu): Reinstate customize entries.
6226 * cus-edit.el (custom-group-menu-create, customize-menu-create):
6227 Use :filter, per old XEmacs code.
6229 2000-07-12 Gerd Moellmann <gerd@gnu.org>
6231 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
6232 event when deciding what to send to the terminal.
6234 2000-07-12 Dave Love <fx@gnu.org>
6236 * cus-start.el: Add optional version as 4th element of specs and
6237 use it for several things new in v21. Remove load-path. Fix type
6238 of line-number-display-limit.
6240 2000-07-11 Dave Love <fx@gnu.org>
6242 * progmodes/fortran.el: Don't require easymenu.
6243 Use repeat counts in various regexps.
6244 (fortran-mode-syntax-table): Defvar directly.
6245 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
6246 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
6247 Use defvar, not defconst.
6248 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
6249 (fortran-mode): Set fortran-comment-line-start-skip,
6250 fortran-comment-line-start-skip, dabbrev-case-fold-search.
6251 (fortran-comment-indent): Use defsubst.
6252 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
6253 Use fortran-comment-indent, not fortran-comment-indent-function.
6254 (fortran-comment-region, fortran-electric-line-number): Simplify.
6255 (fortran-auto-fill): New function.
6256 (fortran-do-auto-fill): Deleted.
6257 (fortran-find-comment-start-skip):
6258 Check for non-null comment-start-skip.
6259 (fortran-auto-fill-mode, fortran-fill-statement):
6260 Use fortran-auto-fill.
6261 (fortran-fill): Use fortran-auto-fill. Check for null
6262 comment-start-skip. Simplify final clause and use end-of-line finally.
6264 * widget.el (widget-plist-member): New alias.
6266 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
6268 * eshell/esh-module.el (toplevel): Reference
6269 byte-compile-current-file only if it is bound.
6271 2000-07-10 Gerd Moellmann <gerd@gnu.org>
6273 * dired.el: Don't require `dired-aux'.
6275 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
6277 * dired-aux.el (dired-show-file-type): New function.
6278 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
6279 (dired-show-file-type): Add autoload.
6281 2000-07-10 Kenichi Handa <handa@etl.go.jp>
6283 * international/mule-diag.el (describe-font): Adjusted for the
6284 change of fontset-info.
6285 (print-fontset): Likewise.
6287 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
6289 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
6291 2000-07-07 Gerd Moellmann <gerd@gnu.org>
6293 * bindings.el: Bind `[delete]' to delete-char.
6295 * dired.el (dired-find-alternate-file): New function.
6296 (dired-mode-map): Bind `a' to dired-find-alternate-file.
6297 (toplevel): Require dired-aux when compiling.
6298 (dired-buffers): Move defvar within file to avoid compiler warning.
6300 * info.el (Info-last-search): Variable removed.
6301 (Info-search-history): New variable.
6302 (Info-search): New Info-search-history.
6304 * battery.el, info-look.el: Change author's mail address.
6306 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
6308 * mail/rmail.el (rmail-clear-headers): Don't throw an error
6309 if rmail-ignored-headers is nil.
6310 (rmail-retry-failure): Bind rmail-ignored-headers and
6311 rmail-displayed-headers to nil.
6313 2000-07-06 Gerd Moellmann <gerd@gnu.org>
6315 * lpr.el (lpr-page-header-switches): Add `-h' switch.
6316 (print-region-1): Don't hard code `-h' here.
6318 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
6320 2000-07-01 Francesco Potorti` <pot@gnu.org>
6322 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
6323 exim can use "your message" instead of "the message".
6325 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
6327 * facemenu.el: Docstrings fixes.
6328 (facemenu-get-face): Don't use internal-find-face.
6329 (facemenu-iterate): Rename arg to match the docstring.
6331 * newcomment.el (uncomment-region): Be more careful when skipping
6332 backwards over `=' not to bump into BOBP.
6334 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
6336 * ediff-diff.el (ediff-wordify): Use syntax table.
6337 * ediff-init.el (ediff-has-face-support-p): Use
6338 ediff-color-display-p.
6339 (ediff-color-display-p): Use display-color-p, changed to defun
6341 Got rid of special cases for NeXT and OS/2.
6342 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
6345 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6347 * emacs-lisp/lucid.el: Require CL.
6348 (copy-tree, remprop): Remove, it's provided by CL.
6349 (map-keymap): Define in terms of cl-map-keymap.
6350 (extent-property, set-extent-end-glyph): New functions.
6352 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
6354 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6356 * Makefile.in (DONTCOMPILE): Add comment that the name may
6357 not be changed without changing the make-dist script.
6359 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
6360 (cl-mapc): Use mapc instead of cl-old-mapc.
6362 2000-07-05 Andrew Innes <andrewi@gnu.org>
6364 * makefile.nt: Add support for `bootstrap' and related targets.
6366 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6368 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
6369 (easy-menu-do-define): Use `menu-item' format.
6370 Handle case where easy-menu-create-menu returns a symbol.
6371 Manually call the potential top-level filter in the function binding.
6372 (easy-menu-filter-return): New arg NAME.
6373 Convert to a keymap if MENU is an XEmacs menu.
6374 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
6375 (easy-menu-converted-items-table, easy-menu-convert-item):
6376 New var and fun to memoize easy-menu-convert-item-1.
6377 (easy-menu-do-add-item): Use it.
6378 (easy-menu-create-menu): Use easy-menu-convert-item.
6379 Wrap easy-menu-filter-return around any :filter specification.
6380 Don't convert the menu if a filter was specified.
6381 Tell easy-menu-make-symbol not to check for MENU being an expression.
6382 (easy-menu-make-symbol): New arg NOEXP.
6384 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6386 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
6387 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
6388 (eval-defun): If called with prefix arg, instrument code for
6391 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
6392 similar to that of eval-defun.
6394 2000-07-04 Dave Love <fx@gnu.org>
6396 * hl-line.el (hl-line-overlay): Make it permanent-local.
6398 * calendar/todo-mode.el: Replaced with a working version, based on
6399 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
6401 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
6403 * paths.el (prune-directory-list): New function.
6404 (Info-default-directory-list): Rewritten to more methodically
6405 enumerate a big list of possible info directories (based on the
6406 list used by the standalone info reader).
6408 * info.el (info-initialize): Use prune-directory-list to remove
6409 non-existent directories from Info-directory-list.
6411 * paths.el (Info-default-directory-list): Try a list of possible
6412 info-directories instead of a single one. Add the possible
6413 info directory "/usr/share/info".
6415 * woman.el (woman-man.conf-path): Explicitly include the debian
6416 man-db config file "/etc/manpath.config".
6417 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
6418 are present in `manpath.config'.
6419 (woman-manpath): Include "/usr/share/man".
6421 2000-07-03 Gerd Moellmann <gerd@gnu.org>
6423 * frame.el (blink-cursor-mode): Don't hide cursor initially.
6425 * startup.el (command-line): Initialize blink-cursor based
6428 * frame.el (blink-cursor): Default to nil if not running under
6431 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
6432 (face-x-resources): Remove duplicate entry for :font.
6434 * textmodes/refer.el (refer-find-entry-internal): Use some-window
6435 instead of cycling through windows with next-window.
6437 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
6438 of cycling through windows with next-window.
6440 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
6441 of cycling through windows with next-window.
6443 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
6444 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
6445 instead of cycling through windows with next-window.
6447 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
6448 instead of cycling through windows with next-window.
6450 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
6451 of cycling through windows with next-window.
6453 * terminal.el (te-process-output): Use walk-windows instead of
6454 cycling through windows with next-window.
6456 * server.el (server-switch-buffer): Use some-window instead of
6457 cycling through windows with next-window.
6459 * window.el (some-window): New function.
6460 (walk-windows): Remove reference to walk-windows-start.
6462 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
6464 2000-07-03 Richard Stallman <rms@gnu.org>
6466 * window.el (walk-windows): Guarantee termination by keeping a list
6467 of all the windows already handled.
6469 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6471 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
6474 * man.el (Man-notify-when-ready): Don't use window-system. If
6475 Man-notify-method is newframe, and the display is not
6476 multi-frame, select the frame created for the man page.
6477 (Man-init-defvars): Doc fix.
6479 2000-06-28 Gerd Moellmann <gerd@gnu.org>
6481 * faces.el (region): Change background color for light background.
6483 * ediff-wind.el (ediff-setup-control-frame): Remove :box
6484 attribute from mode-line face of Ediff control frame.
6486 * replace.el (query-replace-map): Bind `e' like `E'.
6488 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6490 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
6491 Change name to "Select All".
6493 * dos-fns.el (convert-standard-filename): Fix last change.
6495 2000-06-27 Gerd Moellmann <gerd@gnu.org>
6497 * help.el (describe-variable): Don't insert a second `'s' in front
6498 of the string `value is shown below'. Since the syntax-table is
6499 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
6500 an existing `'s', so that this won't be deleted.
6502 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
6503 * pcmpl-unix.el: New files.
6505 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
6507 * wid-edit.el (widget-member): Use the new plist-member.
6509 2000-06-26 Gerd Moellmann <gerd@gnu.org>
6511 * replace.el (perform-replace): Undo change of 2000-04-04.
6512 Instead, move backward 1 character at the end of the loop when
6515 * faces.el (fringe): Change face for different backgrounds.
6517 * eshell/esh-module.el (toplevel): Load defgroup's differently;
6520 * eshell/*.el: Change spelling of the Free Software Foundation.
6522 * eshell/esh-toggle.el: Removed.
6524 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
6526 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
6529 2000-06-26 Alex Schroeder <alex@gnu.org>
6531 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
6532 `define-key'; instead of checking `(emacs-version)' check for
6533 `set-keymap-parent' and `set-keymap-name' directly. Add entries
6534 for `;' and `o' which might be electric.
6536 (sql-electric-stuff): New user option.
6537 (sql-magic-go): New function which uses `sql-electric-stuff'.
6538 (sql-magic-semicolon): New function which uses
6539 `sql-electric-stuff'.
6541 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
6544 (sql-oracle-options): New variable.
6545 (sql-oracle): Use it.
6547 (sql-imenu-generic-expression): Doc change.
6548 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
6551 (sql-informix): Added command line parameter "-" to force
6552 sql-informix-program to use stdout.
6554 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
6556 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
6557 (cp864-decode-table): Doc fix.
6558 (cp720-decode-table): New variable, supports the Arabic OEM
6559 codepage used by Windows.
6560 (cp737-decode-table): New, Greek OEM codepage used by Windows.
6562 2000-06-23 Dave Love <fx@gnu.org>
6564 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
6565 (font-lock-fontify-anchored-keywords): Use
6566 line-beginning-position.
6567 (global-font-lock-mode): Use mapc.
6569 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
6571 * eshell/esh-module.el: Require CL when compiling.
6573 2000-06-23 Gerd Moellmann <gerd@gnu.org>
6575 * comint.el (comint-substitute-in-file-name): Call replace-match
6576 with second and third arg t.
6578 * cus-edit.el (custom-button-face, custom-button-pressed-face):
6579 Specify foreground color.
6581 * faces.el (tool-bar, mode-line, header-line): Specify foreground
6584 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
6586 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
6587 cddr instead of cdddr.
6589 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
6590 instead of copy-list.
6592 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
6595 * subdirs.el: Add eshell subdirectory.
6597 * eshell: New subdirectory containing the Eshell package.
6599 * pcomplete.el: New file.
6601 2000-06-23 Paul Eggert <eggert@twinsun.com>
6603 * mail/mailpost.el (post-mail-send-it): Make sure file has
6604 proper permissions from birth.
6606 * files.el (basic-save-buffer-2): When temporarily setting
6607 file modes, set them to current modes plus 0200, not to 0777.
6609 * emerge.el (emerge-make-temp-file): Make sure file has proper
6610 permissions from birth.
6612 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
6614 * files.el (make-backup-file-name-1): On DOS/Windows, run the
6615 backup file name through convert-standard-filename.
6617 * dos-fns.el (convert-standard-filename): Convert leading
6618 directories as well. When long file names are supported, convert
6619 characters that are invalid in Windows file names.
6621 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6623 * ps-print.el: Fix bug: if ^L is the very first buffer character,
6624 ps-print crashes. New feature: page selection for printing. Create
6625 raw-text-unix coding system for XEmacs. Doc fix.
6626 (ps-print-version): New version number (5.2.3).
6627 (ps-plot-region): Bug fix.
6628 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
6629 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
6630 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
6632 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
6633 (ps-last-page): New vars.
6635 2000-06-21 Gerd Moellmann <gerd@gnu.org>
6637 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
6638 empty option string.
6640 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
6642 * man.el (man): Doc fix.
6644 2000-06-21 Kenichi Handa <handa@etl.go.jp>
6646 * international/mule-cmds.el (set-language-info-alist): Docstring
6649 2000-06-20 Gerd Moellmann <gerd@gnu.org>
6651 * version.el (emacs-version): Use ISO date format.
6653 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
6654 instead of `M-backspace'.
6656 * simple.el (turn-off-auto-fill): New function.
6658 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
6660 * jit-lock.el (with-buffer-prepared-for-jit-lock):
6661 Renamed from with-buffer-prepared-for-font-lock and use
6662 inhibit-modification-hooks rather than setting *-change-functions.
6663 Update all functions to use the new name.
6664 (jit-lock-first-unfontify-pos): New semantics (and doc).
6665 (jit-lock-mode): Make non-interactive.
6666 Don't automatically turn on font-lock.
6667 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
6668 Always use jit-lock-after-change.
6669 Remove and restore font-lock-after-change-function.
6670 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
6671 (jit-lock-after-unfontify-buffer): Remove.
6672 (jit-lock-stealth-fontify):
6673 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
6674 (jit-lock-after-change): Set the `fontified' text-prop to nil.
6676 2000-06-20 Sam Steingold <sds@gnu.org>
6678 * emacs-lisp/cl-indent.el (toplevel): Indent
6679 `print-unreadable-object' properly. Untabify.
6681 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6683 * textmodes/reftex.el (reftex-find-citation-regexp-format):
6684 Support for bibentry.
6685 (reftex-compile-variables): Fixed problem with end of section-re.
6687 * texmodes/reftex-dcr.el (reftex-view-crossref,
6688 reftex-view-crossref-from-bibtex):
6689 Deal with changed `reftex-find-citation-regexp-format'.
6690 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
6691 Replaced `remprop' with `put'.
6692 (reftex-view-crossref, reftex-view-crossref-when-idle):
6693 Support for bibentry.
6695 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
6696 New entry for bibentry package.
6698 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
6699 Regexp also matches "\nobibliography".
6701 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
6702 Call `reftex-ensure-write-access' before doing anything.
6703 (reftex-ensure-write-access): New function.
6705 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6707 * progmodes/idlwave.el: File re-installed (update to version 4.2)
6709 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
6711 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
6713 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
6716 2000-06-20 Dave Love <fx@gnu.org>
6718 * faces.el (frame-background-mode): Use set-default, not set, in
6720 (frame-update-faces, frame-update-face-colors): Define with
6723 * enriched.el (enriched-decode-foreground)
6724 (enriched-decode-background): Don't use internal-find-face.
6726 * apropos.el: Doc fixes.
6728 * cus-edit.el (customize-changed-options): Check arg.
6729 (customize-version-lessp): Don't require decimal point.
6731 * custom.el (defcustom, defgroup): Doc fix.
6733 * newcomment.el (comment) <defgroup>: Add :version.
6734 (comment-multi-line): Doc fix.
6736 * emulation/mlsupport.el (define-hooked-local-abbrev,
6737 define-hooked-global-abbrev): Fix, using define-abbrev.
6739 2000-06-19 Gerd Moellmann <gerd@gnu.org>
6741 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
6744 2000-06-19 Dave Love <fx@gnu.org>
6746 * menu-bar.el (menu-bar-options-save): New function.
6747 (menu-bar-options-menu): Use it.
6748 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
6751 2000-06-19 Andreas Schwab <schwab@suse.de>
6753 * progmodes/etags.el (tags-query-replace): Put new parameters
6754 START and END at the end, for backward compatibility.
6756 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6758 * international/codepage.el:
6759 (cp-coding-system-for-codepage-1): Delete special codes for
6760 generating xxx-dos coding system because now a CCL based coding
6761 system can handle EOL conversion by default.
6763 * international/mule.el (make-coding-system): Generate subsidiary
6764 coding systems for EOL handling variants even for a CCL based
6767 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6769 * international/isearch-x.el (isearch-minibuffer-input-method)
6770 (isearch-minibuffer-input-method-function): These variables
6772 (isearch-with-input-method): Don't use the above variables.
6773 (isearch-process-search-multibyte-characters): Likewise. Call
6774 read-string with the arg INHERIT-INPUT-METHOD t.
6776 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
6778 * font-lock.el (font-lock-after-fontify-buffer)
6779 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
6781 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
6782 Use consistent make-local-variable style for font-lock-fontified.
6783 (jit-lock-fontify-buffer):
6784 Don't bother checking for font-lock-mode and jit-lock-mode.
6786 * time.el: Remove trailing ^M that prevent CVS-merging.
6788 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6790 * Makefile.in (distclean): New target.
6792 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
6794 * Makefile.in (srcdir): Define for update-subdirs.
6796 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6798 * find-lisp.el: New file.
6800 2000-06-16 Andrew Innes <andrewi@gnu.org>
6802 * time.el (display-time-mail-function): New variable, to allow
6803 external packages to indicate when new mail is available.
6804 (display-time-update): Use it.
6806 2000-06-16 Kenichi Handa <handa@etl.go.jp>
6808 * international/mule.el (mule-version): Change version name to
6809 SAKAKI. AOI has already been used by Meadow.
6811 * international/quail.el (quail-show-guidance-buf): To find the
6812 bottom window (but minibuffer), pay attention to the height of
6815 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
6817 * arc-mode.el (archive-mode-map): Use the new menu-item format for
6818 menu-bar menus. Add help strings. Don't remove the Edit menu
6819 from the menu bar, as the menu bar has enough space now.
6821 * Makefile.in (SHELL): Make sure /bin/sh is used.
6823 * woman.el (woman-man-buffer): Fix bold and underlined CJK
6824 characters, which use series of two ^H characters instead of one.
6826 2000-06-15 Gerd Moellmann <gerd@gnu.org>
6828 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
6829 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
6831 (Info-find-node-2): Try a case-sensitive search first, then
6832 do a case-insensitive search.
6834 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
6837 * complete.el (PC-env-vars-alist): New variable.
6838 (PC-complete-as-file-name): New function.
6839 (partial-completion-mode): Initialize PC-env-vars-alist from
6840 process-environment.
6841 (PC-do-completion): Handle completion of env vars.
6843 * info.el (Info-set-mode-line): Show file name in mode line,
6844 use `*Info*' instead of `Info:'.
6846 * startup.el (command-line-1): Change copyright messages to year
6849 2000-06-15 Dave Love <fx@gnu.org>
6851 * net/goto-addr.el (goto-address-fontify): Use keymap property,
6854 2000-06-15 Kenichi Handa <handa@etl.go.jp>
6856 * international/mule.el (set-buffer-file-coding-system): Almost
6857 rewritten to handle `undecided' as no-op.
6859 2000-06-14 Gerd Moellmann <gerd@gnu.org>
6861 * Makefile.in: New file.
6863 * Makefile: Removed.
6865 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
6866 (goto-address-highlight-keymap): Bind C-c RET.
6868 2000-06-14 Kenichi Handa <handa@etl.go.jp>
6870 * mail/sendmail.el (sendmail-send-it): The temporary buffer
6871 inherits buffer-file-coding-system of the current buffer.
6873 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
6874 0. Give correct argument to set-auto-coding-function.
6875 (tar-expunge): For goto-char, use (point-min), not 0.
6876 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
6877 (tar-subfile-save-buffer): Likewize.
6879 * international/mule.el
6880 (after-insert-file-set-buffer-file-coding-system): Call
6881 set-buffer-file-coding-system with the arg FORCE t.
6883 2000-06-13 Gerd Moellmann <gerd@gnu.org>
6885 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
6886 nil. Contemporary sendmails issue an X-Authentication-Warning if
6887 the sender is set with `-f'.
6889 2000-06-13 Dave Love <fx@gnu.org>
6891 * help.el (describe-function-1): Kluge around cases of functions
6892 fset to subrs whose doc doesn't match their symbol-name.
6894 * image.el (insert-image): Default STRING to a space.
6896 * info.el Doc fixes.
6897 (Info-build-node-completions): Match Ref tags.
6899 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
6901 * frame.el (display-multi-frame-p, display-multi-font-p): New
6902 defaliases for display-graphic-p.
6904 * hl-line.el: Fixed a typo in commentary.
6906 2000-06-13 Kenichi Handa <handa@etl.go.jp>
6908 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
6911 2000-06-12 Dave Love <fx@gnu.org>
6913 * image.el (insert-image): Save a little consing.
6915 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6917 * language/tibet-util.el: Convert all tibetan-1-column characters
6918 to the corresponding tibetan characters.
6919 (tibetan-add-components): Delete code for the special treatment of
6922 * language/tibetan.el (tibetan-composable-pattern): Fix previous
6924 (tibetan-vowel-transcription-alist): More rules added.
6925 (tibetan-composite-vowel-alist): New variable.
6926 (tibetan-precomposition-rule-alist): More rules added.
6928 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
6930 * startup.el (command-line): Only call menu-bar-mode if interactive.
6932 * thingatpt.el (toplevel symbol-properties):
6933 * textmodes/makeinfo.el (makeinfo-compile):
6934 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
6935 * progmodes/hideif.el (hif-compress-define-list)
6936 (hide-ifdef-use-define-alist):
6937 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
6938 (ange-ftp-vms-add-file-entry):
6939 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
6940 * man.el (Man-build-man-command):
6941 * mail/rnewspost.el (news-reply-header-hook):
6942 * info.el (Info-insert-dir):
6943 * emulation/mlconvert.el (backward-word, forward-word, setq):
6944 * emacs-lisp/gulp.el (gulp-send-requests):
6945 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
6946 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
6947 (byte-optimize-apply, end of file):
6948 * emacs-lisp/advice.el (ad-advice-class-completion-table)
6949 (ad-make-freeze-definition):
6950 * startup.el (command-line, command-line-1): Don't quote lambdas.
6952 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
6953 (cvs-cleanup-removed): New function.
6954 (cvs-cleanup-functions): New var.
6955 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
6956 some flexibility in specifying additional entries to auto-cleanup.
6957 (cvs-quickdir): New function.
6958 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
6959 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
6960 (cvs-mode-find-file): Check that we are on a filename or dirname
6961 when invoked through a mouse-click.
6962 (cvs-full-path): Remove.
6963 (cvs-dired-action): Re-introduced.
6964 (cvs-dired-noselect): Use it.
6965 (vc-post-command-functions): use this new hook if available.
6967 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
6968 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
6969 (cvs-filename-map, cvs-dirname-map): Remove.
6970 (cvs-default-action): Remove.
6971 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
6972 if the arg is really a keymap.
6973 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
6974 Don't hardcode the mapping from state (aka type) to face, but check
6975 the var cvs-fi-<type>-face instead.
6976 (cvs-fileinfo-from-entries): New function.
6978 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
6980 (cvs-find-file-and-jump): Change default to be safer.
6981 (cvs-mode-diff-map): Define it as a function as well.
6982 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
6983 Bind mouse-2 in this global map rather than with text-properties.
6985 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
6986 file to resolve the ambiguity between C(conflict) and C(need-merge).
6988 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6990 * international/mule.el (set-buffer-file-coding-system): If
6991 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
6994 2000-06-12 Dave Love <fx@gnu.org>
6996 * wid-edit.el (widget-specify-button): Really suppress the face if
6999 2000-06-11 Gerd Moellmann <gerd@gnu.org>
7001 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7003 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
7005 * imenu.el (imenu-generic-expression): Docstring fix.
7007 * composite.el (composition-function-table): Move the `put'
7008 below the autoload cookie so we can load the file before loaddefs.
7010 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7012 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7013 Handle easy-mmode-define-global-mode.
7014 For complex macros like define-minor-mode that can generate
7015 several autoload entries, try to autoload entries in the
7018 * emacs-lisp/easy-mmode.el (define-minor-mode):
7019 If KEYMAP is a symbol, just use it.
7020 Use byte-compile-current-file and load-file-name to infer the
7021 proper :require to pass to defcustom.
7022 Wrap the hook var into `progn' so as not to autoload it.
7023 Add a :autoload-end cookie.
7024 Be more careful about the evaluation of KEYMAP.
7025 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7026 (define-derived-mode): Move define-abbrev-table outside of defvar.
7028 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
7030 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7031 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7032 (backup-compiled-files): Ignore errors during `tar'.
7033 (bootstrap): Make autoloads before elc files.
7035 2000-06-10 Kenichi Handa <handa@etl.go.jp>
7037 * international/mule.el (set-buffer-file-coding-system): If one of
7038 undecided-XXX is specified, change only EOL conversion.
7040 * international/mule-conf.el (unix): New alias for the coding
7041 system undecided-unix.
7043 2000-06-09 Dave Love <fx@gnu.org>
7045 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7047 * progmodes/executable.el: Byte compile dynamic.
7048 (executable-insert): Change custom type.
7049 (executable-find): Add autoload cookie.
7050 (executable-make-buffer-file-executable-if-script-p): New
7051 function. After Noah Friedman.
7053 * files.el (after-save-hook): Customize, with
7054 executable-make-buffer-file-executable-if-script-p as an option.
7056 2000-06-09 Kenichi Handa <handa@etl.go.jp>
7058 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7059 "tib24p-mule.bdf" for Tibetan.
7061 * composite.el (decompose-composite-char): Declare it as obsolete.
7063 * man.el (Man-fontify-manpage): Pay attention to underline and
7064 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7066 2000-06-08 Gerd Moellmann <gerd@gnu.org>
7068 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7069 Set maintainer to FSF since author isn't reachable.
7071 2000-06-08 Dave Love <fx@gnu.org>
7073 * international/mule-cmds.el (select-safe-coding-system): If
7074 DEFAULT-CODING-SYSTEM is not specified, also check the most
7075 preferred coding-system if buffer-file-coding-system is
7076 `undecided'. From Handa.
7078 2000-06-08 Kenichi Handa <handa@etl.go.jp>
7080 * international/mule.el
7081 (after-insert-file-set-buffer-file-coding-system): If the buffer
7082 size is greater than INSERTED, judget that we are not visiting.
7084 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
7086 * whitespace.el (defgroup whitespace): Comment out `:version'.
7087 XEmacs 20.4 has problems defining the group with this present.
7088 We'll have this commented out till get resolve the problem.
7090 2000-06-07 Gerd Moellmann <gerd@gnu.org>
7092 * align.el: Update from author.
7094 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
7096 * apropos.el (apropos-mode-hook): New user variable.
7097 (apropos-mode): Run apropos-mode-hook.
7099 2000-06-07 David Ponce <david@dponce.com>
7101 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7102 commands. Require `wid-edit' at run-time.
7104 2000-06-07 David Ponce <david@dponce.com>
7106 * recentf.el: Added some "Commentary".
7107 (recentf-open-more-files, recentf-edit-list): Minor changes to
7108 move the point at the top of the file list. This behaviour is
7109 consistent with the menu one when the list contains a lot of
7111 (recentf-cleanup): Now displays the number of items removed from
7113 (recentf-relative-filter) New menu filter to show filenames
7114 relative to `default-directory'.
7116 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7118 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
7119 with/without giving an error if PostScript printer doesn't have this
7120 kind of page size. Zebra Stripe continues or restarts on next page.
7121 Manual/automatic paper feeding. Switch or not the header.
7122 (ps-print-version): New version number (5.2.2).
7123 (ps-windows-system): Include emx as a Windows system.
7124 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7125 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7126 (ps-background-text): Code fix.
7127 (ps-error-handler-message, ps-user-defined-prologue)
7128 (ps-print-prologue-header, ps-printer-name)
7129 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7130 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7131 (ps-use-face-background): Customization fix.
7132 (ps-n-up-database): Data fix.
7133 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7134 (ps-switch-header): New vars.
7135 (ps-xemacs-color-name, ps-face-foreground-name)
7136 (ps-face-background-name, ps-boolean-constant): New funs.
7138 2000-06-07 Dave Love <fx@gnu.org>
7140 * allout.el: New version from Manheimer.
7142 2000-06-07 Kenichi Handa <handa@etl.go.jp>
7144 * textmodes/fill.el (fill-find-break-point): Check the validity of
7147 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7149 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7150 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7151 Call display-color-p and display-mouse-p instead of looking at
7154 2000-06-06 Dave Love <fx@gnu.org>
7156 * image.el (find-image): Doc fix. Return nil if image not found.
7157 (put-image, insert-image): Make STRING arg optional.
7159 2000-06-06 Kenichi Handa <handa@etl.go.jp>
7161 * language/vietnamese.el: Remove eval-when-compile.
7162 (viet-viscii-nonascii-translation-table): Define it as a
7163 translation table made from viet-viscii-decode-table.
7164 (viet-viscii-encode-table): Define it as a translation table made
7165 from the reverse map of above.
7166 (viet-vscii-nonascii-translation-table): Define it as a
7167 translation table made from viet-vscii-decode-table.
7168 (viet-vscii-encode-table): Define it as a translation table made
7169 from the reverse map of above.
7170 (ccl-decode-viscii): Use translate-character.
7171 (ccl-encode-viscii, ccl-encode-viscii-font)
7172 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7175 * language/cyrillic.el: Remove eval-when-compile.
7176 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7177 translation table made from cyrillic-koi8-r-decode-table.
7178 (cyrillic-koi8-r-encode-table): Define it as a translation table
7179 made from the reverse map of above.
7180 (ccl-decode-koi8): Use translate-character.
7181 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7182 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7183 a translation table made from cyrillic-alternativnyj-decode-table.
7184 (cyrillic-alternativnyj-encode-table): Define it as a translation
7185 table made from the reverse map of above.
7186 (ccl-decode-alternativnyj): Use translate-character.
7187 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7190 * international/mule-diag.el (non-iso-charset-alist): Specify
7191 translation table symbol instead of translation table itself.
7192 (list-block-of-chars): CHARSET may be a translation table symbol.
7194 * international/mule.el (make-coding-system): If CODING-SYSTEM
7195 already exists, override it.
7197 * international/fontset.el: Use family `proportional' for Tibetan
7200 * international/ccl.el (ccl-compile-translate-character): Don't
7201 check if Rrr has property translation-table.
7202 (ccl-compile-map-multiple): Modified to avoid compiler warning.
7204 2000-06-05 Gerd Moellmann <gerd@gnu.org>
7206 * info.el: Bind case-fold-search to t when searching in case
7207 a user sets it to nil in a hook.
7209 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
7211 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7212 * hl-line.el (hl-line-mode): Use the new :global key argument.
7214 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7215 (tar-clip-time-string): Prepend a space.
7216 (tar-grind-file-mode): Construct a string rather than modifying one.
7217 (tar-header-block-summarize): Fix docstring.
7218 Use `format' rather than an error-prone set of copy-loops.
7220 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
7221 (diff-goto-source, diff-unified->context, diff-context->unified)
7222 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
7223 understand the format output by the `-p' argument to diff.
7225 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
7226 (sh-re-done): Use defconst.
7227 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
7228 (sh-help-string-for-variable, sh-guess-basic-offset):
7229 Don't quote lambdas.
7230 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
7231 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
7233 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
7234 (mh-letter-mode): Derive from text-mode.
7235 This implicitly means that it now calls kill-all-local-variables.
7236 Also remove the Emacs-18 compatibility code.
7238 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
7239 Make use of symbol-property doc-string-elt.
7240 Use memq rather than a sequence of eq.
7241 (doc-string-elt): Fix the wrong or missing previously unused values.
7242 (autoload-print-form): New function extracted from
7243 generate-file-autoloads to allow recursion when handling progn
7244 so that defvar's and defun's docstrings are properly printed.
7245 (generate-file-autoloads): Use it.
7247 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
7248 Use find-file-hooks in the minor-mode function.
7249 Be careful not to loop indefinitely in the post-command-hook function.
7251 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
7253 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
7255 * ediff-diff.el (ediff-exec-process): Use --binary for fine
7256 differences whenever appropriate.
7257 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
7258 * viper.el (find-file, find-file-other-window): Get viper to do
7261 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
7263 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
7264 (jit-lock-fontify-buffer): New function for JIT refontification.
7265 (jit-lock-mode): Fix docstring.
7266 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
7267 Remove jit-lock-after-change from the _local_ hook.
7268 (jit-lock-function-1): Fix docstring.
7270 * info.el (Info-on-current-buffer): Initialize info.
7272 * newcomment.el (comment-indent): Ignore comment-indent-hook.
7274 * progmodes/tcl.el (tcl-indent-for-comment):
7275 Ignore comment-indent-hook.
7277 * emacs-lisp/easy-mmode.el: Require CL during compilation.
7278 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
7279 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
7280 and improve to use the lighter to guess the capitalization.
7281 (define-minor-mode): Inline code from easy-mmode-define-toggle.
7282 Add keyword arguments to specify global-ness or the custom group.
7283 Add local-map and help-echo properties to the lighter.
7284 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
7285 (easy-mmode-define-global-mode): New macro.
7287 2000-06-02 Dave Love <fx@gnu.org>
7289 * wid-edit.el: byte-compile-dynamic since we typically don't use
7290 all the widgets. Don't require cl or widget. Remove
7291 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
7292 (widget-read-event): Removed. Callers changed to use read-event.
7293 (widget-button-release-event-p): Renamed from
7294 button-release-event-p.
7295 (widget-field-add-space, widget-field-use-before-change):
7297 (widget-specify-field): Use keymap property, not local-map.
7298 (widget-specify-button): Obey :suppress-face.
7299 (widget-specify-insert): Use modern backquote syntax.
7300 (widget-image-directory): Renamed from widget-glyph-directory.
7301 (widget-image-enable): Renamed from widget-glyph-enable.
7302 (widget-image-find): Replaces widget-glyph-find.
7303 (widget-button-pressed-face): Move defvar.
7304 (widget-image-insert): Replaces widget-glyph-insert.
7305 (widget-convert): Use keywordp.
7306 (widget-leave-text, widget-children-value-delete): Use mapc.
7307 (widget-keymap): Remove XEmacs stuff.
7308 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
7309 (widget-button-click): Don't set point at the click, but re-centre
7310 if we scroll out of window. Rewritten for images v. glyphs &c.
7311 (widget-tabable-at): Use POS arg, not point.
7312 (widget-beginning-of-line, widget-end-of-line)
7313 (widget-item-value-create, widget-sublist, widget-princ-to-string)
7314 (widget-sexp-prompt-value, widget-echo-help): Simplify.
7315 (widget-default-create): Use widget-image-insert; some rewriting.
7316 (widget-visibility-value-create)
7317 (widget-push-button-value-create, widget-toggle-value-create): Use
7318 widget-image-insert.
7319 (checkbox): Create on and off images dynamically.
7320 (documentation-link): Change :help-echo.
7321 (widget-documentation-link-echo-help): Remove.
7323 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
7325 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
7327 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
7328 (easy-mmode-define-toggle, define-minor-mode): Use it.
7329 (easy-mmode-define-keymap): Docstring fix.
7330 (define-derived-mode): Default PARENT to fundamental-mode.
7331 Add the derived-mode-parent symbol-property.
7332 (easy-mmode-derived-mode-p): New function.
7334 2000-06-02 Dave Love <fx@gnu.org>
7336 * files.el (convert-standard-filename): Doc fix.
7337 (normal-backup-enable-predicate): New function.
7338 (backup-enable-predicate): Use it to replace the lambda form.
7340 * calendar/todo-mode.el: [This needs more work on the outline
7342 (todo) <defgroup>: Add :version.
7343 (todo-add-category): Don't use pushnew.
7344 (todo-cmd-raise): Fix typo.
7345 (todo-top-priorities): Change temp buffer name.
7346 (todo-category-alist): Avoid redundant lambda.
7347 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
7348 Use outline-next-heading.
7350 * autoarg.el: Rewritten to use define-minor-mode.
7351 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
7352 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
7354 2000-06-02 Kenichi Handa <handa@etl.go.jp>
7356 * isearch.el (isearch-other-meta-char): Fix previous change.
7358 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7360 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
7361 (log-edit-done): Only add the comment to the ring if it's different
7362 from the last comment entered.
7364 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
7366 2000-06-01 Dave Love <fx@gnu.org>
7368 * hl-line.el: Rewritten using define-minor-mode.
7370 * help.el (describe-function-1): Distinguish special form from
7371 builtin function. Sanity-check presence of arglist for builtins.
7373 2000-06-01 Kenichi Handa <handa@etl.go.jp>
7375 * international/characters.el: Fix syntax/category setting of
7378 * language/tibet-util.el (tibetan-add-components): Fixes for new
7379 encoding of Tibetan characters.
7380 (tibetan-decompose-precomposition-alist): New variable.
7381 (tibetan-decompose-region): Convert precomposed characters to
7382 non-precomposed characters.
7383 (tibetan-decompose-string): Likewise.
7384 (tibetan-composition-function): Fix args to
7385 thibetan-compose-string.
7387 * language/tibetan.el (tibetan-composable-pattern): More
7388 characters included.
7389 (tibetan-consonant-transcription-alist): Rule for "R" added.
7390 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
7392 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
7394 * language/lao-util.el (lao-composition-function): Fix args to
7397 * language/thai-util.el (thai-composition-function): Fix args to
7400 * isearch.el (isearch-update): Set disable-point-adjustment to t
7401 to prevent the point moving to the end of a composition when a
7402 part of a composition is searched.
7403 (isearch-other-meta-char): If the key invoking this command can be
7404 mapped by function-key-map to a printing char, call
7405 isearch-process-search-char directly.
7407 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7409 * emacs-lisp/bytecomp.el:
7411 * international/mule-cmds.el:
7412 * international/mule-util.el:
7413 * international/mule.el:
7416 * faces.el: Update calls to make-obsolete with a WHEN argument.
7418 * byte-run.el (make-obsolete, make-obsolete-variable):
7419 Add an optional WHEN argument and change the format of the
7420 symbol-property information.
7421 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
7422 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
7423 new obsolete-symbol-property format and print WHEN if it is provided.
7425 2000-05-31 Dave Love <fx@gnu.org>
7427 * loadhist.el (loadhist-hook-functions): Remove
7428 before-change-function, after-change-function.
7429 (unload-feature): Deal with symbols which are both bound and
7432 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
7433 before-change-function, after-change-function.
7435 * simple.el (newline): Don't bind before-change-function,
7436 after-change-function.
7438 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
7440 * whitespace.el (whitespace-rescan-timer-time): Update interval
7441 set to 600 seconds (10 minutes) instead of 60 seconds since
7442 a large number of whitespace buffers causes emacs to `freeze'
7443 for a considerable amount of time.
7445 * whitespace.el: Updated email address
7447 2000-05-31 Dave Love <fx@gnu.org>
7449 * add-log.el (change-log-font-lock-keywords) <function>: Add
7450 pattern for function of change.
7451 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
7452 acknowledgements patterns.
7454 2000-05-31 Kenichi Handa <handa@etl.go.jp>
7456 * isearch.el (isearch-printing-char): If keyboard coding system is
7457 being used, call isearch-process-search-multibyte-characters.
7459 * international/isearch-x.el: Mostly rewritten.
7461 * international/quail.el (quail-start-conversion): Don't include
7462 unhandled events in the returned events, but set them in
7463 unread-command-events. Exit if all inputs are deleted.
7465 2000-05-30 Jason Rumney <jasonr@gnu.org>
7467 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
7469 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
7470 Reenable code to create initial fontsets.
7471 Use set-fontset-font in place of put-charset-property.
7473 2000-05-30 Gerd Moellmann <gerd@gnu.org>
7475 * progmodes/perl-mode.el (perl-indent-line): When looking for a
7476 label, ensure that the first colon isn't followed by another.
7478 * paths.el (Info-default-directory-list): Doc fix.
7480 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
7481 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
7482 send a query containing USER only, not USER@HOST.
7484 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
7485 and rmail-msgend to compute the restriction at the end, instead of
7488 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7490 * dabbrev.el (dabbrev-expand): Don't display messages in the
7491 echo area if the minibuffer window is active.
7493 * jit-lock.el (jit-lock-mode): Add after change function to
7496 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
7498 * antlr-mode.el: New commands: hide/unhide actions,
7499 upcase/downcase literals.
7500 (antlr-tiny-action-length): New user option.
7501 (antlr-hide-actions): New command. Suggested by
7502 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
7503 (antlr-mode-map): New binding [C-c C-v].
7504 (antlr-mode-menu): New entries.
7505 (antlr-downcase-literals): New command.
7506 (antlr-upcase-literals): Ditto.
7508 * antlr-mode.el: Minor changes: indendation, mode-name.
7509 (antlr-indent-line): Indent cpp directive at column 0.
7510 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
7512 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
7513 (antlr-font-lock-additional-keywords): Workaround for intentional
7514 bug in XEmacs version of font-lock.
7515 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
7516 be used by a smarter version of `buffers-menu-grouping-function'.
7518 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7520 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
7521 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
7523 2000-05-29 Kenichi Handa <handa@etl.go.jp>
7525 * international/encoded-kb.el
7526 (encoded-kbd-iso2022-designation-map): Pay attention to that
7527 charset-iso-final-char return -1 for eight-bit-control and
7530 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7532 * speedbar.el (speedbar-use-images, speedbar-update-flag)
7533 (speedbar-easymenu-definition-base): Use display-graphic-p where
7534 available, instead of window-system.
7536 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7538 * international/codepage.el (cp-coding-system-for-codepage-1): Add
7539 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
7542 2000-05-26 Dave Love <fx@gnu.org>
7544 * disp-table.el (standard-display-underline): Don't use
7547 * mail/reporter.el: Maintainer change. Doc fixes.
7548 (reporter-version): Deleted.
7550 * emacs-lisp/elp.el: Maintainer change.
7551 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
7553 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
7555 * add-log.el (add-change-log-entry): Merge the current entry with the
7556 previous one if the previous one is empty.
7558 2000-05-26 Dave Love <fx@gnu.org>
7560 * loadhist.el (unload-feature): Fix interactive spec [from
7561 lijnzaad@ebi.ac.uk].
7563 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
7564 subr-arity to check primitives.
7565 (byte-compile-flush-pending, byte-compile-file-form-progn)
7566 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
7567 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
7570 2000-05-26 Kenichi Handa <handa@etl.go.jp>
7572 * international/fontset.el: Set family names of non-latin charsets
7573 in default fontset to "*".
7575 * international/mule-diag.el (print-fontset): Combine family part
7576 and registry part of the fontname by "-*-" instead of "-".
7578 * international/mule-cmds.el (encode-coding-char): Make strings
7579 multibyte before calling encode-coding-string.
7581 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
7583 * derived.el: Fix keywords.
7584 (define-derived-mode): Only define if needed.
7586 * simple.el (fill-comment, comment-column, comment-start)
7587 (comment-start-skip, comment-end, comment-indent-function)
7588 (block-comment-start, block-comment-end, indent-for-comment)
7589 (set-comment-column, kill-comment, comment-padding, comment-region)
7590 (comment-multi-line, indent-new-comment-line): Remove.
7592 * bindings.el (esc-map): Change ; to comment-dwim and use the new
7593 function names for comment operations.
7595 * newcomment.el: Add abundant autoload cookies.
7596 (comment-style): Don't depend on runtime data at compile-time.
7597 (comment-indent-hook): Remove.
7598 (comment-indent): Check if comment-indent-hook is bound.
7599 (comment-region): Docstring fix.
7601 2000-05-25 Dave Love <fx@gnu.org>
7603 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
7604 byte-code-function-p.
7606 * mail/rmailsum.el: Add provide.
7608 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
7610 * smerge-mode.el (smerge-diff-switches): Don't use list* in
7613 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
7615 * ediff-diff.el (ediff-exec-process): delete --binary option from
7616 non-buffer ediff jobs.
7618 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7620 * hilit-chg.el (highlight-changes-mode): Ask about color or
7621 grayscale support, not about window-system.
7623 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
7625 (ffap-highlight): Always default to t.
7627 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
7628 display-popup-menus-p instead of looking at window-system.
7630 * disp-table.el (standard-display-g1, standard-display-graphic):
7631 Only refuse to use string glyphs on X and MS-Windows.
7633 * avoid.el: Remove window-system from commentary, suggest to use
7634 display-*-p instead.
7636 * apropos.el (apropos-print): Use display-mouse-p instead of
7639 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7641 * international/codepage.el (cp-decoding-vector-for-codepage):
7642 Fill up unsupported characters with their own codes. From Kenichi
7645 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7647 * international/mule-diag.el (describe-char-after): Use
7648 display-graphic-p instead of window-system, so that this function
7651 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7653 * international/codepage.el (cp-make-coding-systems-for-codepage):
7654 Remove the eight-bit-graphic and eight-bit-control charsets from
7655 the list of charsets which we convert into `?'.
7657 2000-05-25 Kenichi Handa <handa@etl.go.jp>
7659 * international/mule-conf.el: Specify CHARSET-ID explicitely for
7661 (mule-unicode-0100-24ff, japanese-jisx0213-1,
7662 japanese-jisx0213-2): New charsets.
7664 * international/fontset.el: Setup default fontset for new charsets.
7666 2000-05-24 Dave Love <fx@gnu.org>
7668 * info.el (Info-find-node-2): Restructure [following "Vadim
7669 S. Solomin" <sovs@uic.nnov.ru>].
7671 * icomplete.el: Fix header for Finder.
7673 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
7675 * rmailout.el (rmail-output-to-rmail-file): Added optional param
7678 * rmail.el (rmail-automatic-folder-directives): New user variable.
7679 (rmail-show-message): Add call to `rmail-auto-file' during
7681 (rmail-auto-file): New function.
7683 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7685 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
7687 (ediff-test-utility,ediff-diff-mandatory-option)
7688 (ediff-reset-diff-options): Utilities for proper initialization of
7689 ediff-diff-options and ediff-diff3-options on Windows.
7691 * ediff-init.el (ediff-merge-filename-prefix): New customizable
7694 * ediff-mult.el (ediff-filegroup-action): Use
7695 ediff-merge-filename-prefix.
7697 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7699 * viper-ex.el (ex-write): Set selective display to nil.
7701 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7703 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
7704 aliases for hebrew-iso-8bit.
7706 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7708 * woman.el: New version from Francis J. Wright
7709 <F.J.Wright@Maths.QMW.ac.uk>.
7710 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
7711 names in environment variables regardless of the path separator.
7712 (woman-topic-all-completions-1): Don't call file-name-directory-p
7713 on all files, since woman-file-regexp already filters out any
7716 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7718 * international/quail.el (quail-start-translation): Don't change
7719 modified-p of the current buffer.
7720 (quail-start-conversion): Likewise.
7722 * international/kkc.el (kkc-region): Don't change modified-p of
7725 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
7727 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
7729 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
7731 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
7732 (speedbar-insert-button): Invisible text property fix.
7733 (speedbar-directory-plus): Renamed from speedbar-directory-+
7734 (speedbar-directory-minus): Renamed from speedbar-directory--
7735 (speedbar-page-plus): Renamed from speedbar-file-+
7736 (speedbar-page-minus): Renamed from speedbar-file--
7737 (speedbar-page): Renamed from speedbar-file-
7738 (speedbar-tag): Renamed from speedbar-tag-
7739 (speedbar-tag-plus): Renamed from speedbar-tag-+
7740 (speedbar-tag-minus): Renamed from speedbar-tag--
7741 (speedbar-expand-image-button-alist): Use above renames.
7743 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
7744 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
7745 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
7746 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
7747 * sb-pg.xpm: Renamed from sb-file.xpm
7748 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
7749 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
7751 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7753 * international/quail.el (quail-show-guidance-buf): Set
7754 current-input-method of the guidance buffer to the name of the
7755 curren input method.
7757 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
7759 * progmodes/compile.el (compile-internal): Style typo.
7761 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
7762 quote vars and functions in the docstring.
7764 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
7766 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
7767 Don't quote lambdas.
7769 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
7771 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7773 * startup.el (command-line): Determine source file of compiled
7774 user init file differently. Warn if compiled user init file
7775 is older than its source file.
7777 * ffap.el (ffap-url-regexp): Add `https'.
7779 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
7781 * files.el (make-backup-file-name-1): Replace slashes with `!'
7782 rather than `|' (which is not allowed on Windows). Replace the
7783 drive letters with a string "drive_X".
7785 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7787 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
7789 * files.el (interpreter-mode-alist): Add `bash2'.
7791 2000-05-22 Dave Love <fx@gnu.org>
7793 * loadhist.el (feature-symbols, file-provides, file-requires): Use
7795 (feature-file): Avoid calling symbol-name. Doc fix.
7796 (file-set-intersect, file-dependents): Use dolist, not mapcar.
7797 (loadhist-hook-functions): Add mouse-position-function.
7798 (unload-feature): Change uses of mapcar.
7800 * files.el (parse-colon-path): Doc fix.
7801 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
7802 (set-auto-mode): Use mapc.
7804 * complete.el (PC-look-for-include-file): Use :alnum: character
7806 (partial-completion-mode): Add autoload cookie.
7808 2000-05-22 Sam Steingold <sds@gnu.org>
7810 * info.el (Info-fontify-node): Fixed the call to
7811 `add-text-properties' (bug introduced on 2000-05-18).
7813 2000-05-22 Dave Love <fx@gnu.org>
7815 * bindings.el: Remove debug-ignored-errors set in other files.
7817 * progmodes/etags.el: Add to debug-ignored-errors.
7818 (visit-tags-table-buffer): Clear out buffers holding old tables
7819 when making a new list.
7820 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
7823 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
7825 (cmpl-string-case-type): Use character classes.
7828 * textmodes/ispell.el:
7831 * progmodes/compile.el: Add to debug-ignored-errors.
7833 * dabbrev.el: Add to debug-ignored-errors.
7834 (dabbrev-completion): Use mapc.
7836 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
7838 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
7839 (woman-mapcan, woman-parse-man.conf)
7840 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
7841 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
7842 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
7844 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
7845 (woman-manpath): Call woman-parse-man.conf.
7846 (woman-emulation): New defcustom, defaults to nroff.
7847 (woman-font-support): New defconst.
7848 (woman-use-symbol-font): New defcustom.
7849 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
7851 Many functions: Doc fix.
7853 2000-05-22 Kenichi Handa <handa@etl.go.jp>
7855 * international/quail.el (quail-simple-translation-keymap): Map
7856 128..255 to quail-self-insert-command.
7857 (quail-keyboard-layout-alist): Add definition for "pc102-de".
7859 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
7861 * help.el (help-manyarg-func-alist): Typo.
7863 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
7864 intervals which makes it heaps simpler.
7866 * newcomment.el (comment-region-internal): Go back to BEG after quoting
7867 the nested comment markers.
7869 * subr.el (remove-hook): Don't turn the hook's value into a list.
7871 2000-05-21 Dave Love <fx@gnu.org>
7873 * edmacro.el (edmacro-parse-keys): Return vector if any elements
7874 are invalid characters.
7876 * international/mule-util.el (detect-coding-with-priority): Use
7877 mapc. Remove redundant lambda.
7879 * international/mule-diag.el (list-non-iso-charset-chars)
7880 (describe-fontset): Remove redundant lambda.
7882 * emulation/crisp.el (brief-mode): New alias.
7884 * emacs-lisp/ring.el (ring-elements): New function.
7886 * emacs-lisp/easymenu.el (easy-menu-create-menu)
7887 (easy-menu-do-add-item): Use keywordp.
7889 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
7891 * replace.el: Doc and error message fixes.
7892 (replace-highlight): Use facep, not internal-find-face.
7894 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
7896 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
7898 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
7899 (log-edit-insert-changelog): Drop `:' as well.
7901 * log-view.el: Fix file description.
7902 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
7904 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
7905 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
7907 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
7908 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
7909 Print a status message if the toggle is called interactively.
7910 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
7911 for global minor modes and use `defcustom' for them.
7913 (easy-mmode-define-derived-mode): Remove.
7914 (define-derived-mode): Fancier default docstring.
7915 (easy-mmode-define-navigation): Signal an error rather than (ding).
7917 * newcomment.el (comment-styles): New `box-multi'.
7918 (comment-normalize-vars): Better default for comment-continue to
7919 avoid whitespace-only continuations.
7920 (comment-search-forward): Always move even in the no-syntax case.
7921 (comment-padright): Only obey N if it's only obeyed for padleft.
7922 (comment-make-extra-lines): Better handling of empty continuations.
7923 Use `=' for the filler if comment-start has only one character.
7924 (uncomment-region): Try handling the special `=' filler.
7925 (comment-region): Allow LINES even if MULTI is nil.
7926 (comment-box): Choose box style based on comment-style.
7928 2000-05-20 Kenichi Handa <handa@etl.go.jp>
7930 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
7931 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
7933 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
7935 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
7936 and insert, not subst-char-in-region.
7938 * international/mule-diag.el (list-character-sets-1): Handle
7939 charsets eight-bit-control and eight-bit-graphic.
7940 (list-iso-charset-chars): Likewise.
7941 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
7942 charactes as is. Use indent-to to align characters.
7944 * international/mule-cmds.el (find-multibyte-characters): Never
7945 exclude charsets eight-bit-control and eight-bit-graphic.
7947 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7949 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
7950 Don't quote lambdas.
7952 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
7954 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7956 * gud.el (gud-jdb-directories): Doc fix.
7958 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7960 * newcomment.el: New file.
7962 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7964 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
7966 2000-05-18 Andreas Schwab <schwab@suse.de>
7968 * dired.el (dired-between-files): Also skip lines beginning with
7971 2000-05-18 Gerd Moellmann <gerd@gnu.org>
7973 * msb.el (msb-menu-cond): Add choice `user'.
7975 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7977 * ps-print.el: Compatibility, customization and doc fix.
7978 (ps-printer-name-option): Replace defconst by defvar.
7979 (ps-postscript-code-directory): XEmacs compatibility.
7980 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
7982 (ps-user-defined-prologue, ps-print-prologue-header)
7983 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
7984 compatibility and code fix.
7985 (ps-print-background-image, ps-print-background-text):
7987 (ps-line-number-start, ps-n-up-on): New vars.
7989 2000-05-18 Espen Skoglund <esk@ira.uka.de>
7991 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
7992 the indent-comment function to just return the appropriate indent.
7994 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
7996 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
7997 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
7998 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8000 2000-05-18 Dave Love <fx@gnu.org>
8002 * info.el (Info-fontify-node): Add intangible property as well as
8005 * calendar/appt.el (appt-make-list): Match all lines of entry.
8006 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8008 2000-05-18 Kenichi Handa <handa@etl.go.jp>
8010 * international/mule-diag.el (describe-char-after): Call
8011 internal-char-font, not char-font. If internal-char-font returns
8012 nil, display "-- none --".
8014 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8016 * image.el (image-type-available-p): Don't reference image-types
8019 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
8021 * autoarg.el (autoarg-mode): Typo in the :set argument.
8023 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8025 * startup.el (command-line-1): Don't signal an error if the
8026 directory for auto-save-list files does not yet exist.
8028 2000-05-17 Kenichi Handa <handa@etl.go.jp>
8030 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8032 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
8034 * subr.el (remove-hook): `setq' hook-value, not `set'.
8036 2000-05-16 Sam Steingold <sds@gnu.org>
8038 * info.el (debug-ignored-errors): More errors to ignore.
8040 2000-05-16 Dave Love <fx@gnu.org>
8042 * cus-edit.el: Don't require cl or easymenu.
8043 (custom-variable-prompt): Test standard-value property, not
8046 2000-05-16 Sam Steingold <sds@gnu.org>
8048 * subr.el (add-hook): `setq' hook-value, not `set'.
8050 2000-05-16 Gerd Moellmann <gerd@gnu.org>
8052 * startup.el (command-line-1): Mention the FAQ in the startup
8055 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8057 * progmodes/compile.el (compilation-parse-errors): Collect
8058 `nomessage' regexps last.
8060 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8062 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8063 to the function name.
8065 2000-05-15 Dave Love <fx@gnu.org>
8067 * speedbar.el (speedbar-recenter): Typo.
8068 (speedbar-expand-line): Make arg optional.
8069 (speedbar-mode): Avoid a compiler warning.
8071 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8073 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8074 user-specified option string is empty.
8076 * mouse.el (mouse-yank-at-click): Doc fix.
8078 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
8080 * term/internal.el (IT-character-translations): More updates of
8081 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8084 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8086 * env.el (getenv): New function, interactively callable.
8087 (setenv, getenv): Remove autoload cookies.
8089 * loadup.el: Load `env'.
8091 * progmodes/f90.el: Change author's mail address.
8093 2000-05-14 Dave Love <fx@gnu.org>
8095 * mail/rmail.el (rmail-show-message-hook): Customize and offer
8096 goto-addr as an option.
8098 * help.el (help-xref-stack): Doc fix.
8099 (help-xref-following): New variable.
8100 (help-make-xrefs): Use it.
8101 (help-xref-go-back): Use position information from stack element.
8102 (help-follow): Make position in stack element a pair. Use
8103 help-xref-following.
8105 * autoarg.el: New file.
8107 * faces.el: Declare more functions obsolete.
8109 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8110 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8111 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8112 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8113 Remove all the setup-...-environment functions.
8115 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
8117 * speedbar.el: Updated the commentary section. xemacs20p now uses
8118 >= when detecting. Require `defimage' safely.
8119 (speedbar-easymenu-definition-base): Add toggle for images.
8120 (speedbar-easymenu-definition-special): Add flush cache & expand.
8121 (speedbar-visiting-tag-hook): Set new defaults. Added options.
8122 (speedbar-reconfigure-keymaps-hook): New variable.
8123 (speedbar-frame-parameters): Updated documentation.
8124 (speedbar-use-imenu-flag): Updated custom tag
8125 (speedbar-dynamic-tags-function-list): New variable.
8126 (speedbar-tag-hierarchy-method): Updated doc & custom.
8127 (speedbar-indentation-width, speedbar-indentation-width) New
8129 (speedbar-hide-button-brackets-flag): Customizable.
8130 (speedbar-vc-indicator): Doc update.
8131 (speedbar-ignored-path-expressions): Updated default value.
8132 (speedbar-supported-extension-expressions): Updated default value.
8133 (speedbar-syntax-table): Remove {} paren status.
8134 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8135 as "+". Added overlay aliases.
8136 (speedbar-mode): Use `speedbar-mode-line-update' instead of
8137 `force-mode-line-update'.
8138 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8139 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8141 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8142 (speedbar-item-info-tag-helper): Revamped to handle a wider range
8143 of arbitrary text, and new helper functions.
8144 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8146 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8147 (speedbar-directory-buttons): Update path search/expansion.
8148 (speedbar-make-tag-line): Pay attention to
8149 `speedbar-indentation-width'. Use more care w/ invisible
8151 (speedbar-change-expand-button-char): Call
8152 `speedbar-insert-image-button-maybe'.
8153 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8154 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8155 (speedbar-trim-words-tag-hierarchy)
8156 (speedbar-simple-group-tag-hierarchy): New functions
8157 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8158 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8160 (speedbar-mouse-set-point): New function
8161 (speedbar-power-click): Updated documentation.
8162 (speedbar-line-token, speedbar-goto-this-file): Handle more types
8164 (speedbar-expand-line, speedbar-contract-line): Make more robust
8166 (speedbar-expand-line): Takes universal argument to flush the
8168 (speedbar-flush-expand-line): New function.
8169 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8170 Use new generator insertion method.
8171 (speedbar-fetch-dynamic-tags): New function.
8172 (speedbar-fetch-dynamic-imenu): Removed code now handled in
8173 `speedbar-fetch-dynamic-imenu'.
8174 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8175 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8176 "Revert Buffer" menu items.
8177 (speedbar-buffer-buttons-engine): Be smarter when creating a
8178 filename tag (for expansion purposes.).
8179 (speedbar-highlight-one-tag-line,
8180 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8181 (speedbar-recenter): New functions.
8182 (defimage-speedbar): Image loading abstraction.
8183 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8184 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8185 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8186 (speedbar-tag-type, speedbar-tag-mail): New images.
8187 (speedbar-expand-image-button-alist): New variable.
8188 (speedbar-insert-image-button-maybe): Insert an image over some
8191 2000-05-13 Kenichi Handa <handa@etl.go.jp>
8193 * international/mule-cmds.el (encode-coding-char): An ASCII
8194 character is always encodable.
8196 * international/mule-conf.el: Add more information in descriptions
8199 * international/mule-diag.el (describe-char-after): New function.
8200 (describe-font-internal): Adjusted for the change of font-info.
8201 (describe-font): Likewise.
8202 (print-fontset): Rewritten for the new fontset implementation.
8203 (describe-fontset): Include fontset alias names in completion.
8204 (list-fontsets): Adjusted for the change of print-fontset.
8206 * simple.el (what-cursor-position): If DETAIL is non-nil, call
8207 describe-char-after instead of displaying the detail in the echo
8209 (syntax-code-table): Format changed.
8210 (string-to-syntax): Adjusted for the above change.
8212 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
8214 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8216 2000-05-12 Dave Love <fx@gnu.org>
8218 * calendar/todo-mode.el: Remove some compatibility stuff and CL
8219 dependence. Use line-{beginning,end}-position, not
8220 point-at{b,e}ol. Some doc fixes.
8221 (todo-position): New function. Fix callers of position to use it.
8222 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
8224 2000-05-12 Gerd Moellmann <gerd@gnu.org>
8226 * time.el (display-time-mail-icon): Use `:ascent center'.
8228 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
8229 handling FTP security extensions.
8231 2000-05-11 Dave Love <fx@gnu.org>
8233 * calendar/todo-mode.el: New file.
8235 2000-05-11 Gerd Moellmann <gerd@gnu.org>
8237 * comint.el (comint-read-input-ring): Move reference to
8238 comint-input-ring-size outside of the save-excursion. It was
8239 causing the default value to be the only one ever seen.
8241 * font-lock.el: Update copyright. Remove Simon Marshall's email
8242 address on request from him.
8244 * subr.el (substitute-key-definition): Add comment describing
8245 the meaning of PREFIX.
8247 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
8249 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
8251 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
8252 (add-minor-mode): Don't make the variable buffer-local and add a
8253 reference to define-minor-mode in the docstring.
8255 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
8256 HEADER/FOOTER and fix bug with trailing empty directory.
8257 (cvs-append-to-ignore): Use vc-editable-p if available.
8258 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
8259 (vc-do-command): Tweak advice to handle the new VC.
8261 * log-view.el (log-view-goto-rev): New function for the new VC.
8262 (log-view-minor-wrap): Use mark-active.
8264 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
8265 (log-edit-changelog-full-paragraphs): New var.
8266 (log-edit-insert-changelog): Remove a lonely leading `* file'.
8267 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
8268 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
8269 (log-edit-changelog-ours-p, log-edit-changelog-entries)
8270 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
8271 Replace the `cvs' prefix with `log-edit'.
8273 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
8275 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
8276 (diff-font-lock-defaults): Explicitly turn off multiline.
8277 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
8278 (diff-ediff-patch): Fix call to ediff-patch-file.
8279 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
8282 * frame.el (automatic-hscrolling): Typo.
8284 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
8286 2000-05-09 Sam Steingold <sds@goems.com>
8288 * apropos.el (apropos-print): use `describe-face' instead of
8289 `customize-face-other-window'.
8291 2000-05-09 Dave Love <fx@gnu.org>
8293 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
8295 * help.el (describe-variable): Have customize button pop the
8296 help-xref stack when invoked.
8297 (help-xref-symbol-regexp): Add `face'.
8298 (help-make-xrefs): Check for quoted face names and adapt regexp
8299 submatch numbers to cope.
8300 (help-xref-interned): Maybe insert face doc too. Separate
8301 sections with a line of hyphens.
8303 * faces.el: Some doc fixes. Declare some functions obsolete.
8304 (describe-face): Add customize button. Return the help
8307 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
8309 * term/internal.el (IT-character-translations): Fix last change.
8311 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8313 * woman.el: New file
8314 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
8316 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8318 * term/internal.el (IT-character-translations): Update ASCII
8319 simulations for greek-iso8859-7, add latin-iso8859-14 and
8322 * international/mule-cmds.el (set-language-info-alist): Call
8323 define-prefix-command with 3 arguments, to make the map suitable
8326 2000-05-07 Dave Love <fx@gnu.org>
8328 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
8330 2000-05-05 Dave Love <fx@gnu.org>
8332 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
8333 list in doc string. Don't quote keyword symbols.
8334 * emacs-lisp/cl.el: Likewise
8335 * emacs-lisp/cl-seq.el: Likewise
8337 2000-05-05 Gerd Moellmann <gerd@gnu.org>
8339 * abbrev.el (abbrev-mode): Make ARG optional.
8341 2000-05-04 Gerd Moellmann <gerd@gnu.org>
8343 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
8345 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
8347 * subr.el (substitute-key-definition): Clarify documentation.
8349 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
8351 * glasses.el (glasses-convert-to-unreadable): Use
8352 `glasses-separator' instead of the hard-wired "_".
8353 (glasses-mode): Call `glasses-make-unreadable' only in a single
8356 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
8358 * term/internal.el (cjk-codepages-alist): Add associations for
8359 Chinese and Korean codepages. Remove FIXME comment.
8361 2000-05-03 Dave Love <fx@gnu.org>
8363 * time.el (display-time-mail-face, display-time-use-mail-icon):
8365 (display-time-mail-icon): New variable.
8366 (display-time-string-forms): Use the above. Fix the local-map.
8368 2000-05-03 Gerd Moellmann <gerd@gnu.org>
8370 * replace.el (query-replace-map): Add binding for `E'.
8371 (query-replace-help): Extend help text.
8372 (perform-replace): Allow editing the replacement string.
8374 * make-mode.el (makefile-mode-abbrev-table): New variable.
8375 (makefile-mode): Set local abbrev table to
8376 makefile-mode-abbrev-table.
8377 (makefile-font-lock-keywords): Fontify includes and conditionals.
8379 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
8382 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
8383 mail-interactive-insert-alias.
8384 (mail-abbrev-complete-alias): New command.
8385 (mail-mode-map): Bind it to `M-TAB'.
8387 2000-05-03 Kenichi Handa <handa@etl.go.jp>
8389 * language/lao-util.el (lao-compose-region): New function.
8391 2000-05-02 Gerd Moellmann <gerd@gnu.org>
8393 * files.el (recover-session): Make directories as necessary
8394 if they don't exist yet.
8396 * calendar/cal-french.el
8397 (french-calendar-multibyte-special-days-array)
8398 (french-calendar-special-days-array): Change French text.
8399 (calendar-french-date-string): Change output.
8400 (calendar-goto-french-date): Likewise.
8402 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
8404 * wid-edit.el (widget-default-active): Obey `:always-active'.
8405 (widget-documentation-string-value-create): Set `:always-active'.
8407 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8409 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
8410 default prefix to `~/_emacs.d/auto-save.list/_s'.
8411 (normal-top-level): Create the directory for auto-save files, if
8412 it doesn't already exist (in the ms-dos case only).
8414 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8416 * international/mule-cmds.el (set-language-environment): Don't
8417 concat an integer (dos-codepage), use format instead.
8419 2000-05-02 Dave Love <fx@gnu.org>
8421 * help.el (help-xref-on-pp): Check for constant symbols.
8423 2000-04-29 Gerd Moellmann <gerd@gnu.org>
8425 * startup.el (normal-top-level): Put a condition-case around
8426 the code loading subdirs.el.
8428 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8430 * ps-print.el: Upside-down and face background color printing,
8431 line number step, doc fix.
8432 (ps-print-version): New version number (5.2).
8433 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
8434 (ps-face-attribute-list, ps-plot-with-face): Code fix.
8435 (ps-spool-config): Var fix.
8436 (ps-printer-name-option): Const fix.
8437 (ps-print-upside-down, ps-use-face-background)
8438 (ps-line-number-step): New vars.
8439 (ps-window-system, ps-lp-system): New consts.
8440 (ps-face-background): New fun.
8442 2000-04-28 Richard Stallman <rms@gnu.org>
8444 * files.el (make-auto-save-file-name):
8445 Apply auto-save-file-name-transforms to visited file name
8446 before generating auto save file name.
8447 (auto-save-file-name-transforms): New variable.
8449 * files.el (backup-enable-predicate):
8450 Correctly test for a file under a temporary directory.
8452 2000-04-28 Gerd Moellmann <gerd@gnu.org>
8454 * subr.el (add-minor-mode): Rewritten.
8456 2000-04-28 Kenichi Handa <handa@etl.go.jp>
8458 * mail/sendmail.el (sendmail-send-it): Set
8459 buffer-file-coding-system to the selected coding system for MIME
8462 2000-04-27 Gerd Moellmann <gerd@gnu.org>
8464 * dired.el (dired-move-to-filename-regexp): Allow format where
8465 YYYY is followed by two spaces.
8467 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
8468 in the second character class of the regexp.
8470 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
8473 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
8476 * subr.el (add-minor-mode): Use `set' instead of `setq'.
8478 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
8481 2000-04-27 Sen Nagata <sen@eccosys.com>
8483 * emacs-lisp/crm.el (crm-completion-table): New variable.
8484 (crm-collection-fn, crm-test-completion)
8485 (completing-read-multiple): Use it.
8487 2000-04-27 Dave Love <fx@gnu.org>
8489 * help.el (locate-library): Use mapc.
8490 (help-manyarg-func-alist): Add call-process-region.
8492 2000-04-26 Gerd Moellmann <gerd@gnu.org>
8494 * subr.el (add-minor-mode): Make argument MAP optional.
8496 * desktop.el (desktop-save): Save list of minor modes.
8497 (desktop-create-buffer): Restore minor modes.
8498 (desktop-minor-mode-table): New user-option.
8500 * subr.el (add-minor-mode): New function.
8502 * image.el (find-image): New function.
8503 (defimage): Rewritten to find image at load time.
8505 * startup.el (normal-top-level-add-to-load-path): Handle
8506 case that the default directory is not in load-path.
8508 * help.el: Old patch from Stefan Monnier.
8509 (help-xref-on-pp): New function.
8510 (describe-variable): Use it to display xrefs in a symbol's value.
8512 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
8514 * cus-edit.el (custom-face): Fix parenthesis.
8516 2000-04-26 Kenichi Handa <handa@etl.go.jp>
8518 * mail/rmail.el (rmail-expunge): When there are no deleted
8519 messages, do nothing.
8521 2000-04-26 Dave Love <fx@gnu.org>
8523 * international/mule-cmds.el (locale-translation-file-name):
8525 (set-locale-environment): Set it here (at runtime).
8527 2000-04-25 Gerd Moellmann <gerd@gnu.org>
8529 * replace.el (perform-replace): Add parameters START and END. Use
8530 them instead of the check for a region in Transient Mark mode.
8531 (query-replace-read-args): Return two more list elements for the
8532 start and end of the region in Transient Mark mode.
8533 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8534 (map-query-replace-regexp, replace-string, replace-regexp): Add
8535 optional last arguments START and END and pass them to
8538 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
8539 form with additional arguments for perform-replace.
8541 * progmodes/etags.el (tags-query-replace): Add parameters START
8542 and END. Construct a form with additional arguments for
8545 * simple.el (shell-command): Set default directory for "*Shell
8546 Command Output" buffer.
8548 * language/european.el (iso-latin-4): Fix typo.
8550 * emacs-lisp/crm.el: New file.
8552 2000-04-24 Dave Love <fx@gnu.org>
8554 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
8555 (Custom-reset-saved, Custom-reset-standard)
8556 (custom-group-value-create, custom-group-set, custom-group-save)
8557 (custom-group-reset-current, custom-group-reset-saved)
8558 (custom-group-reset-standard): Use mapc.
8559 (custom-buffer-create-internal): Disable undo when creating items.
8561 (custom-face): Avoid redundant lambda.
8563 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8565 * startup.el (auto-save-list-file-prefix): Set default to
8566 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
8568 2000-04-24 Sam Steingold <sds@gnu.org>
8570 * time-stamp.el (time-stamp-string-preprocess): Always convert
8571 `field-result' to a string.
8573 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8575 * frame.el (scrolling): New group.
8576 (automatic-hscrolling): New user-option.
8578 * startup.el (command-line-x-option-alist): Add `-lsp' and
8581 2000-04-19 Dave Love <fx@gnu.org>
8583 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
8584 (cl-mapc): Rename from mapc. Fix the funcall.
8586 2000-04-19 Gerd Moellmann <gerd@gnu.org>
8588 * simple.el (clone-indirect-buffer-other-window): New command.
8589 (clone-indirect-buffer): Add optional arg NORECROD.
8590 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
8592 * help.el (resize-temp-buffer-window): Use count-screen-lines.
8594 * window.el (count-screen-lines): New function.
8595 (shrink-window-if-larger-than-buffer): Use count-screen-lines
8596 instead of window-buffer-height.
8598 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
8599 non-existing variable comint-input-sentinel.
8600 (inferior-lisp-args-to-list): Removed.
8601 (inferior-lisp): Use split-string instead of
8602 inferior-lisp-args-to-list.
8604 * hexl.el (hexl-insert-hex-string): New command.
8606 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
8609 2000-04-18 Gerd Moellmann <gerd@gnu.org>
8611 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
8612 at the start of an existing but empty folder.
8614 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8616 * ps-mule.el: Customization fix, doc fix.
8617 (ps-multibyte-buffer): Customization fix.
8619 2000-04-17 Richard M. Stallman <rms@gnu.org>
8621 * subr.el (read-passwd): Use read-char-exclusive.
8623 2000-04-17 Gerd Moellmann <gerd@gnu.org>
8625 * textmodes/texinfo.el (texinfo-insert-@email)
8626 (texinfo-insert-@emph, texinfo-insert-@quotation)
8627 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
8628 (texinfo-mode-map): Add key bindings for them.
8630 * files.el (basic-save-buffer-2): Use a template with `$'
8631 instead of `#' for VMS.
8633 * simple.el (clone-indirect-buffer): New function.
8635 2000-04-16 Stephen Eglen <stephen@gnu.org>
8637 * iswitchb.el (iswitchb-case): New function. If the user input
8638 contains any upper-case characters, the search is made
8641 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
8643 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
8645 (texinfo-font-lock-syntactic-keywords): New var.
8646 (texinfo-font-lock-keywords): Remove comment regexp.
8647 (texinfo-insert-block): New function.
8648 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
8649 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
8650 and font-lock-defaults. Use regexp-opt for outline-regexp.
8651 (texinfo-environments): New var.
8652 (texinfo-environment-regexp): Use regexp-opt and
8653 texinfo-environments.
8655 * textmodes/ispell.el (ispell-menu-map-needed): Check that
8656 ispell-process is bound since this might be eval'd before ispell
8658 (ispell-message): Use a tiny bit less magic and a bit more hard
8659 data to figure out what kind of sc-cite-regexp to use.
8661 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
8663 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
8664 (insert-cyclic-diary-entry): Unquote the lambda.
8666 * gud.el (gud-jdb-build-source-files-list): Fix typo.
8668 * files.el (backup-enable-predicate): Unquote the lambda.
8670 * cus-edit.el (custom-face, face): Unquote the lambda.
8672 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8674 * ps-print.el: Check for line-beginning-position definition.
8676 * ps-print.el: Fix counting lines in a region.
8677 (ps-print-version): New version number (5.1.5).
8678 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
8679 (ps-printing-region): Fun code fix.
8681 2000-04-15 Gerd Moellmann <gerd@gnu.org>
8683 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
8684 to file-directory-p.
8686 2000-04-14 Gerd Moellmann <gerd@gnu.org>
8688 * gud.el (gud-jdb-build-source-files-list): Check that directory
8689 exists before calling directory-files.
8691 2000-04-13 Dave Love <fx@gnu.org>
8693 * emacs-lisp/trace.el: Change maintainer. Use new backquote
8696 * emacs-lisp/cl-specs.el: Remove when, unless.
8698 * emacs-lisp/cl-extra.el: Don't quote keywords.
8699 (cl-old-mapc): New variable.
8701 (cl-map-intervals): Use with-current-buffer. Don't check for
8702 next-property-change.
8703 (cl-map-overlays): Use with-current-buffer.
8705 (copy-tree, remprop): Define unconditionally.
8707 * emacs-lisp/cl-compat.el (keywordp): Remove.
8709 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
8711 (edebug-spec): Enable keywordp.
8713 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
8716 * cus-start.el: Use keywordp.
8718 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8720 * diary-lib.el (include-other-diary-files): Fix the fix of
8721 2000-02-18 by doing a save-excursion.
8723 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8725 * ps-print.el: Customization fix, doc fix.
8726 (ps-print-version): New version number (5.1.4).
8727 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
8728 (ps-print-preprint): Adjust code.
8729 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
8730 (ps-print-prologue-header, ps-print-control-characters)
8731 (ps-spool-config): Customization fix.
8733 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
8735 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
8736 converted to the new menu-item format, names silightly changed,
8739 Support for spelling without async subprocesses:
8741 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
8742 (ispell-session-buffer): New variables.
8743 (ispell-start-process, ispell-process-status,
8744 ispell-accept-output, ispell-send-string): New functions, for
8745 Ispell invocation when async subprocesses aren't supported.
8746 (ispell-word, ispell-pdict-save, ispell-command-loop,
8747 ispell-process-line, ispell-buffer-local-parsing): Replace calls
8748 to process-send-string with calls to ispell-send-string, and
8749 accept-process-output with ispell-accept-output.
8750 (ispell-init-process): Call ispell-process-status instead of
8751 process-status with.
8752 (ispell-init-process): Call ispell-start-process. Call
8753 ispell-accept-output and ispell-send-string. Don't call
8754 process-kill-without-query and kill-process if they are unbound.
8755 (ispell-async-processp): New function.
8757 2000-04-12 Dave Love <fx@gnu.org>
8759 * info.el: Add debug-ignored-errors.
8760 (Info-mode-menu): Add some items.
8761 (Info-directory): Add autoload cookie.
8763 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
8764 Modify `truncate-lines'. Make `describe-language-environment'
8765 always visible and add help. Modify `describe-key' help. Invoke
8766 Info-directory from `info'. New entry `emacs-manual'.
8768 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8770 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
8771 propertized-buffer-identification.
8772 (ebrowse-update-member-buffer-mode-line): Likewise.
8773 (ebrowse--mode-strings): Removed.
8774 (ebrowse--mode-line-props): Removed.
8776 * files.el (auto-mode-alist): Add `EBROWSE'.
8778 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
8779 space before testing for end of buffer.
8780 (ebrowse-load): Removed.
8781 (ebrowse-revert-tree-buffer-from-file): Rewritten.
8782 (ebrowse-create-tree-buffer): Rewritten.
8783 (ebrowse-tree-mode): Read tree from buffer.
8785 * progmodes/ebrowse-ffh.el: Removed.
8787 2000-04-10 Kenichi Handa <handa@etl.go.jp>
8789 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
8791 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8793 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
8796 2000-04-09 Dave Love <fx@gnu.org>
8798 * files.el (backup-enable-predicate): Use
8799 temporary-file-directory, small-temporary-file-directory.
8800 (make-backup-file-name-function, backup-directory-alist): New
8802 (make-backup-file-name-1): New function.
8803 (make-backup-file-name): Use it.
8804 (find-backup-file-name): Likewise. Use format for clarity, not
8806 (file-newest-backup): Use make-backup-file-name.
8808 2000-04-09 Gerd Moellmann <gerd@gnu.org>
8810 * progmodes/ebrowse-ffh.el: New file.
8812 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
8814 (ebrowse-load): Add autoload.
8816 * finder.el (finder-commentary): Add autoload cookie.
8818 * mail/rfc2368.el: Correct author's email address.
8820 * progmodes/ebrowse.el: New file.
8822 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
8824 (easy-menu-do-add-item): Ditto.
8825 (easy-menu-define): Extend doc string.
8827 * jit-lock.el (with-buffer-unmodified): Use
8828 restore-buffer-modified-p.
8829 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
8830 (jit-lock-function, jit-lock-stealth-fontify): Don't use
8831 with-buffer-unmodified.
8833 2000-04-08 Dave Love <fx@gnu.org>
8835 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
8838 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
8840 * viper-util.el (viper-put-on-search-overlay): New subroutine.
8841 (viper-flash-search-pattern): No operation when using Emacs
8842 doesn't support face.
8843 Use `viper-put-on-search-overlay'.
8845 2000-04-04 Gerd Moellmann <gerd@gnu.org>
8847 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
8850 * progmodes/make-mode.el: Some doc fixes.
8851 (makefile-mode-abbrev-table): New variable.
8852 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
8853 (makefile-font-lock-keywords): Fontify includes and conditionals.
8854 (toplevel): Require `dabbrev' and `add-log' when compiling.
8856 * replace.el (perform-replace): Don't move forward one char
8857 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
8858 to do that because it leaves point 1 position after the last
8859 replacement, after everything has been replaced.
8861 * jit-lock.el (with-buffer-unmodified): New macro.
8862 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
8864 (jit-lock-function-1): Extracted from jit-lock-function; not
8865 preserving buffer's modified state.
8866 (jit-lock-function, jit-lock-stealth-fontify): Call
8867 jit-lock-function-1.
8869 * mail/rfc2368.el: Remove supernumerary copyright line.
8871 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
8873 * glasses.el: Provide facilities for inserting space before left
8874 parentheses and uncapitalization of identifiers.
8875 (glasses-mode): Try to remove old overlays in all cases.
8877 2000-04-03 Gerd Moellmann <gerd@gnu.org>
8879 * progmodes/compile.el (compile-internal): Display the compilation
8880 buffer in a different frame, if it's already displayed there.
8882 * mail/rfc2368.el: New file.
8884 * simple.el (sendmail-user-agent-compose): Recognize a `body'
8885 header and insert its value as mail body.
8887 * subr.el (member-ignore-case): New function.
8889 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
8890 (dabbrev--find-expansion): Ignore buffers matching a regexp
8891 from dabbrev-ignored-regexps.
8893 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
8894 to extensions handled by gzip.
8896 2000-04-03 Richard M. Stallman <rms@gnu.org>
8898 * files.el (insert-directory): List the total free space
8899 along with the used space.
8901 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
8902 line is followed by one that matches CITATION-REGEXP, end the
8905 2000-04-03 Markus Rost <rost@delysid.gnu.org>
8907 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
8908 (rmail-make-basic-summary-line): Use that option.
8910 2000-04-03 Kenichi Handa <handa@etl.go.jp>
8912 * international/mule-cmds.el (encoded-string-description):
8913 Rewritten. Try pretty description for ISO 2022 escape sequences
8914 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
8915 for hexadecimal format.
8917 2000-04-01 Dave Love <fx@gnu.org>
8919 * cpp.el: Change customization group to `c' from `C'.
8921 * vcursor.el (vcursor-move): Use display-color-p.
8923 * international/mule-util.el: Provide mule-utils.
8924 (string-to-sequence): Simplify and speed up.
8926 * international/mule.el (make-coding-system): Purecopy doc-string.
8928 * international/mule-cmds.el: Various menu changes.
8929 (describe-specified-language-support): Handle `Default'.
8930 (set-language-info): Purecopy `info'.
8932 2000-03-31 Andrew Innes <andrewi@gnu.org>
8934 * vc.el (vc-backend-diff): Return the correct status if we had to
8935 retry the rcsdiff command without the --brief option.
8937 2000-03-31 Dave Love <fx@gnu.org>
8939 * help.el (help-manyarg-func-alist): Correct several omissions.
8941 * add-log.el: Don't require cl, fortran.
8942 (add-log-current-defun-function): Doc fix.
8943 (change-log-version-number-regexp-list): Remove SCCS part. Doc
8945 (change-log-version-rcs): Function deleted.
8946 (change-log-version-number-search): Doc fix. Use
8947 vc-workfile-version. Avoid CL dolist.
8948 (add-change-log-entry): Just call add-log-current-defun to get
8949 defun. Simplify somewhat.
8950 (change-log-get-method-definition-1): Likewise.
8951 (add-log-current-defun): Return nil if calling
8952 add-log-current-defun-function does so. Move Fortran stuff to
8953 fortran.el. Return string without properties.
8955 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
8956 and :alpha: char classes.
8958 * mail/supercite.el: Defvar curline when compiling.
8959 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
8960 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
8961 rather than a-zA-Z0-9 to allow non-ASCII characters.
8963 2000-03-31 Gerd Moellmann <gerd@gnu.org>
8965 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
8967 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8970 * lpr.el (print-region-1): Use -d to specify printer name for
8971 systems `usg-unix-v*, `dgux', `hpux', `irix'.
8973 2000-03-31 Dave Love <fx@gnu.org>
8975 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
8976 for function definition in symbol's function value slot first
8977 instead of first consulting byte-compile-function-environment.
8979 2000-03-31 Kenichi Handa <handa@etl.go.jp>
8981 * language/european.el ("Polish"): New language environment.
8982 (setup-polish-environment): New function.
8984 2000-03-30 Gerd Moellmann <gerd@gnu.org>
8986 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8989 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
8990 trying to `load' the symbol of an autoload instead of the file
8991 recorded in the autoload. Fix error messages.
8993 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8995 * ps-print.el: PostScript programming fix for ghostview, doc fix.
8996 (ps-print-version): New version number (5.1.3).
8997 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
8998 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
8999 (ps-generate-postscript-with-faces): Code fix.
9000 (ps-color-values): XEmacs compatibility.
9001 (ps-print-background-image, ps-print-background-text, ps-printer-name)
9002 (ps-default-fg, ps-default-bg): Adjust customization.
9003 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9004 (ps-color-scale): Renaming old ps-color-value fun.
9005 (ps-print-headers): Replace ps-print-header group to avoid conflict
9006 with ps-print-header variable.
9007 (ps-print-miscellany): New group.
9008 (ps-format-color, ps-rgb-color): New funs.
9009 (ps-default-foreground): New var.
9010 (ps-printer-name-option): New const.
9012 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
9015 (network-connection-host, network-connection-service): New variables
9016 (network-connection-mode): New mode, derived from comint-mode
9017 (network-connection-mode-setup): New function, saves host and
9018 service information in local variables.
9021 (locate-word-at-point): Added this function
9022 (locate): Default to using locate-word-at-point as input
9025 2000-03-29 Dave Love <fx@gnu.org>
9027 * calendar/appt.el: Doc fixes.
9028 (appt-check): Convert min-to-app to a string before passing to
9029 appt-disp-window-function or concat.
9030 (appt-delete-window): Remove test for frame-root-window.
9031 (appt-select-lowest-window, appt-convert-time): Simplify.
9033 * emacs-lisp/bytecomp.el: Doc fixes.
9034 (byte-compile-file-form-autoload): Update
9035 byte-compile-function-environment.
9037 2000-03-29 Andreas Schwab <schwab@suse.de>
9039 * emacs-lisp/autoload.el: Also print defsubst doc string
9042 * dired.el (dired-insert-directory): If dired-free-space-program
9043 failed just delete its output.
9045 2000-03-29 Dave Love <fx@gnu.org>
9047 * international/iso-cvt.el: Move provide to end. Doc fixes.
9048 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9049 (iso-iso2sgml, iso-sgml2iso): New functions.
9050 (iso-cvt-define-menu): Fix some entries and use backquote for
9053 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9055 2000-03-28 Gerd Moellmann <gerd@gnu.org>
9057 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9058 ISO-DATE. If non-nil, return date in ISO 8601 format.
9060 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
9062 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9063 if it ever becomes used.
9064 (log-edit-mode-hook): Default to vc-log-mode-hook.
9065 (log-edit-mode): Fix the docstring.
9067 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9070 2000-03-26 Dave Love <fx@gnu.org>
9072 * net/browse-url.el (browse-url): Re-fix case of
9073 browse-url-browser-function being an alist.
9074 (browse-url): Add :link to defgroup.
9076 * files.el: Doc fixes.
9077 (file-truename): Include `[' in wildcard characters.
9078 (automount-dir-prefix): Customize.
9079 (find-file-wildcards): Add :version.
9080 (find-file-noselect): Simplify a mapcar call.
9082 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9083 compatible with inf-lisp version.
9084 (eval-defun-1): Fix custom-declare-variable case.
9086 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
9088 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9090 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9092 * Makefile (COMPILE_FIRST): New macro.
9093 (compile-files): Compile files from COMPILE_FIRST first.
9095 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9098 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9099 matching open parenthesis in column 0 to defun-prompt-regexp
9100 only if open-paren-in-column-0-is-defun-start is set.
9102 * sun-curs.el: Require CL at compile-time only.
9104 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9105 instead of copy-list which is a function from CL.
9106 (msb--choose-menu, msb--mode-menu-cond)
9107 (msb--create-buffer-menu-2): Use dolist instead of mapc.
9108 (msb--init-file-alist): Use mapcar instead of mapcan.
9109 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
9110 `(' in column 0 in doc string.
9111 (msb--add-separators): Use mapcar instead of mapcan.
9113 * cus-dep.el: Require CL at compile-time only.
9115 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
9117 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9118 (byte-compile-warnings): New warning `noruntime'.
9119 (byte-compile-constants, byte-compile-variables): Fix docstring.
9120 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9121 execute `eval-whenc-compile's body.
9122 (byte-compile-unresolved-functions): Fix docstring.
9123 (byte-compile-eval): New function.
9124 (byte-compile-callargs-warn): Check if the function will be available
9125 at runtime (via property `byte-compile-noruntime').
9126 (byte-compile-print-syms): New function.
9127 (byte-compile-warn-about-unresolved-functions): Also warn about
9128 `noruntime' functions (and use `byte-compile-print-syms').
9129 (byte-compile-file): Capitalize the message.
9131 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9133 * mail/rmail.el (rmail-confirm-expunge): New user-option.
9134 (rmail-expunge): Ask for confirmation depending on the setting
9135 of rmail-confirm-expunge.
9137 2000-03-23 Gerd Moellmann <gerd@gnu.org>
9139 * Makefile (bootstrap-clean): If $(emacs) exists, build
9140 loaddefs.el first. A loaddefs.el that's not up-to-date might
9141 cause a bootstrap failure because things don't autoload as
9144 2000-03-23 Dave Love <fx@gnu.org>
9146 * net/browse-url.el: Restore previous use of
9147 browse-url-maybe-new-window.
9149 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9151 * ps-print.el: Skip banner page fix.
9152 (ps-print-version): New version number (5.1.2).
9153 (ps-begin-file, ps-end-file, ps-generate): Code fix.
9155 2000-03-23 Dave Pearson <davep@davep.org>
9157 * net/quickurl.el Changed the type of parameter passed to the
9158 function defined by `quickurl-format-function'. Before only the
9159 text of the URL was passed. Now the whole URL structure is passed
9160 and the function is responsible for extracting the parts it
9161 requires. Changed the default of `quickurl-format-function'
9163 (quickurl-insert): Changed the `funcall' of
9164 `quickurl-format-function' to match the above change.
9165 (quickurl-list-insert): Changed the `url' case so that it makes
9166 use of `quickurl-format-function', previous to this the format was
9169 2000-03-22 Gerd Moellmann <gerd@gnu.org>
9171 * startup.el: Change some spellings for the X Window System.
9173 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
9175 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9176 up the code and the regexp and make sure the cursor is temporarily
9177 moved to the suspicious line while querying the user.
9179 2000-03-22 Jason Rumney <jasonr@gnu.org>
9181 * w32-fns.el (w32-charset-info-alist): Initialize.
9183 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9185 * ps-print.el: N-up last page fix.
9186 (ps-print-version): New version number (5.1.1).
9187 (ps-end-file, ps-end-job, ps-generate): Code fix.
9189 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9191 * files.el (find-file-run-dired): Update docstring.
9192 (find-directory-functions): New hook.
9193 (find-file-noselect): Run find-directory-functions rather than
9194 calling dired directly.
9196 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9198 * pcvs.el: Add a minimal leading commentary.
9199 (cvs-make-cvs-buffer): Change the header part by removing the startup
9200 message and adding a `Module' entry. Also replace the FOOTER and
9201 HEADER special fileinfos with the new support in ewoc for updating
9202 its own footer and header.
9203 (cvs-update-header): Update to use the header/footer of the ewoc.
9204 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9205 (cvs-is-within-p): New function.
9206 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9207 to only examine some subset of the buffers.
9209 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9210 `format' instead of our own ad-hoc functions.
9211 Remove HEADER and FOOTER cases, now handled in the EWOC.
9212 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9214 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9215 output to avoid scaring the user.
9216 (cvs-parse-table): Catch message for non-up-to-date commits.
9218 * pcvs-defs.el (cvs-startup-message): Remove.
9219 (cvs-global-menu): New autoloaded menu.
9221 * pcvs-util.el (cvs-string-fill): Remove.
9223 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
9224 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
9225 PP part of it and also make it work for footers and headers.
9226 (ewoc-create): Drop POS and BUFFER arguments.
9227 Use the DLL's dummy node to store the end-of-footer position.
9228 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
9229 (ewoc-refresh): Remove unused `header' variable.
9230 (ewoc-(get|set)-hf): New functions.
9232 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
9233 log-view-*-(message|file) and use easy-mmode-define-navigation.
9234 (log-view-message-re): Match SCCS format as well.
9235 And match the revision line rather than the dashed separator line.
9236 (log-view-mode): Use the new define-derived-mode.
9237 (log-view-current-tag): Fill in with an actual implementation.
9239 * cvs-status.el (cvs-status-(prev|next)): Rename from
9240 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
9241 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
9242 to let the output "breathe" a little more (more readable).
9243 (cvs-status-mode): Use the new define-derived-mode.
9245 * smerge-mode.el (smerge-auto-leave): New function and variable.
9246 (smerge-basic-map): Rename from smerge-basic-keymap.
9247 Change the bindings for smerge-diff-*.
9248 (smerge-*-map): Use easy-mmode-defmap.
9249 (smerge-(next|prev)): Use easy-mmode-define-navigation.
9250 (smerge-keep-*): Use smerge-auto-leave.
9252 2000-03-21 Jason Rumney <jasonr@gnu.org>
9254 * cus-edit.el (custom-button-face): Use 3D look for w32.
9255 (custom-button-pressed-face): Likewise.
9257 2000-03-21 Gerd Moellmann <gerd@gnu.org>
9259 * progmodes/etags.el (tags-case-fold-search): New user-option.
9260 (tags-loop-eval): New function. Bind case-fold-search around eval
9261 depending on the value of tags-case-fold-search.
9262 (tags-loop-continue): Use tags-loop-eval.
9263 (find-tag-in-order): Bind case-fold-search depending on the value
9264 of tags-case-fold-search.
9266 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9268 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
9269 (diff-end-of-hunk): Return the end position for use in
9270 `easy-mmode-define-navigation'.
9271 (diff-recenter): Remove.
9272 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
9273 of `easy-mmode-define-navigation'.
9274 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
9275 previous renaming) and fix to use new names.
9276 (diff-merge-strings): Use \n as separator: simpler, faster.
9277 (diff-mode): Use `define-derived-mode'.
9279 * derived.el (define-derived-mode): Don't autoload anymore.
9280 Prefer the macro-only version provided by easy-mmode.el.
9282 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
9283 `easy-mmode-define-derived-mode'.
9284 Use `combine-run-hooks'.
9285 (easy-mmode-define-navigation): New macro.
9287 * subr.el (combine-run-hooks): New function.
9289 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
9291 * term/x-win.el: Fontsets related initialization is simplified.
9293 * international/mule-diag.el (describe-font): Don't refer to
9294 global-fontset-alist, instead call font-list.
9295 (describe-fontset, list-fontsets, mule-diag): Likewise.
9296 (print-fontset): Adjusted for the change of fontset
9299 * international/fontset.el (x-charset-registries): Variable
9300 removed, instead the corresponding data is stored in the default
9302 (register-alternate-fontnames): Function removed.
9303 (resolved-ascii-font): Variable removed.
9304 (x-compose-font-name): Ignore the second argument REDOCE.
9305 (x-complement-fontset-spec): Complement only an ASCII font and
9306 element for those charsets than can use that ASCII font.
9307 (generate-fontset-menu): Don't refer to global-fontset-alist,
9308 instead call fontset-list.
9309 (uninstantiated-fontset-alist): Variable removed.
9310 (x-style-funcs-alist): Likewise.
9311 (fontset-default-styles): Likewise.
9312 (x-modify-font-name): Function removed.
9313 (create-fontset-from-fontset-spec): Ignore the argument
9315 (create-fontset-from-ascii-font): Docsting adjusted for the above
9317 (instantiate-fontset, resolve-fontset-name): Functions removed.
9318 (fontset-list): Now implemented by C code.
9320 * faces.el (read-face-font): Fix TABLE arg to completing-read.
9321 (describe-face): Include `font' attribute in the description.
9323 2000-03-21 Kenichi Handa <handa@etl.go.jp>
9325 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
9327 2000-03-20 Gerd Moellmann <gerd@gnu.org>
9329 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
9330 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
9331 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
9333 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
9334 about behavior of set-buffer-modified-p wrt redisplay.
9336 2000-03-19 Richard M. Stallman <rms@gnu.org>
9338 * view.el (view-mode-disable): Kill local binding of view-read-only.
9340 2000-03-18 Gerd Moellmann <gerd@gnu.org>
9342 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
9343 is a string, convert it to a syntax cell using string-to-syntax.
9345 * simple.el (syntax-code-table, syntax-flag-table): New variables.
9346 (string-to-syntax): New function.
9348 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
9349 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
9350 try to use passive ftp mode.
9352 2000-03-17 Gerd Moellmann <gerd@gnu.org>
9354 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
9356 * simple.el (append-to-buffer): Update point of windows after
9359 * abbrev.el (inverse-add-abbrev): Identify word by first moving
9360 forward then moving backward. Reindent.
9362 * frame.el (other-frame): Call x-focus-frame only if
9363 focus-follows-mouse is off.
9365 2000-03-17 Dave Love <fx@gnu.org>
9367 * pcvs-util.el (cvs-strings->string): Rename
9368 replace-regexps-in-string.
9370 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
9372 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
9373 regexp for labels cannot span several lines.
9375 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
9376 `(setq :<key> ':<key>)' to the macro expansion.
9378 2000-03-16 Dave Love <fx@gnu.org>
9380 * progmodes/f90.el (f90): Put custom group under `languages', not
9382 (f90-mode-hook): Customize.
9383 (f90-mode): Set add-log-current-defun-function.
9384 (f90-current-defun): New function.
9386 2000-03-16 Gerd Moellmann <gerd@gnu.org>
9388 * cus-edit.el (custom-variable-tag-face): Handle case that
9389 default face's height is not a number.
9390 (custom-face-tag-face, custom-group-tag-face-1)
9391 (custom-group-tag-face): Ditto.
9392 (custom-group-tag-face-1): Add :group.
9394 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
9396 2000-03-15 Gerd Moellmann <gerd@gnu.org>
9398 * pcvs-defs.el (toplevel): Remove autoload cookie for form
9401 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9403 * ps-print.el: PostScript user-defined prologue, PostScript error
9405 (ps-print-version): New version number (5.1).
9406 (ps-user-defined-prologue, ps-error-handler-message)
9407 (ps-print-prologue-0, ps-error-handler-alist): New vars.
9408 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
9409 (ps-insert-string): New function.
9411 2000-03-15 Kenichi Handa <handa@etl.go.jp>
9413 * international/ccl.el (ccl-compile-expression): Don't generate
9414 invalid self-assignment code.
9416 2000-03-14 Dave Love <fx@gnu.org>
9418 * subr.el (replace-regexp-in-string): Renamed from
9419 replace-regexps-in-string. Doc fix.
9421 2000-03-12 Dave Love <fx@gnu.org>
9423 * cus-edit.el: Doc fixes.
9424 (customize-set-variable, customize-save-variable): Rename args for
9426 (custom-variable-tag-face, custom-face-tag-face)
9427 (custom-group-tag-face-1, custom-group-tag-face): Modify from
9428 style which user identify as hyperlink.
9429 (hook): Don't add undefined functions to the hook.
9430 (debug-ignored-errors): Transfer message from bindings.el.
9432 2000-03-12 Gerd Moellmann <gerd@gnu.org>
9434 * recentf.el (recentf-keep-non-readable-files-p): Remove
9435 double/nested definition.
9437 2000-03-12 Dave Love <fx@gnu.org>
9439 * facemenu.el (facemenu-get-face): Use display-color-p.
9440 * enriched.el (enriched-decode-foreground): Likewise.
9441 (enriched-decode-background): Likewise.
9442 * isearch.el (isearch-highlight): Likewise.
9443 * info-look.el (info-lookup): Likewise.
9444 * simple.el (completion-setup-function): Likewise.
9446 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
9449 * bindings.el (mode-line-format): Fix line-number and
9450 column-number items. Add help-echo for the background.
9451 (mode-line-mule-info): Modify help-echo.
9453 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
9456 * files.el (load-file): Allow completion to .elc.
9458 * man.el: Doc fixes.
9459 (Man-init-defvars): Use display-color-p to set fontification.
9461 * play/hanoi.el (hanoi-internal): Don't use oddp.
9463 2000-03-12 Gerd Moellmann <gerd@gnu.org>
9465 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
9467 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
9469 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
9471 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
9474 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
9476 * font-lock.el (font-lock-keywords): Fix the doc now that
9477 regexp-opt-depth is unnecessary.
9478 (save-buffer-state): Set an edebug spec.
9479 (font-lock-fontify-anchored-keywords): Properly handle the case when
9480 the matcher goes past the limit.
9482 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
9483 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
9485 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
9486 dll.el and cookie.el (from Elib) with heavy renaming and other
9489 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
9490 Autoload the functions used.
9491 (easy-mmode-define-syntax): Fix CL typo.
9492 (easy-mmode-define-derived-mode): Improve the docstring generation.
9494 2000-03-10 Gerd Moellmann <gerd@gnu.org>
9496 * textmodes/texinfo.el (texinfo-version): Variable and function
9499 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
9501 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
9502 allow more flexibility.
9503 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
9505 (easy-mmode-defmap, easy-mmode-defsyntax)
9506 (easy-mmode-define-derived-mode): New macros.
9508 2000-03-09 Didier Verna <didier@xemacs.org>
9510 * rect.el (replace-rectangle): New function.
9512 2000-03-09 Dave Love <fx@gnu.org>
9514 * progmodes/fortran.el (fortran-comment-line-start): Define as
9516 (fortran-comment-line-start-skip): Don't match cpp stuff.
9517 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
9518 (fortran-mode-map): Remove over-eager custom-menu-create for now.
9519 (fortran-mode): Don't set fortran-comment-line-start-skip,
9520 fortran-comment-line-start here. Set comment-start,
9521 add-log-current-defun.
9522 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
9523 (fortran-current-defun): New function.
9525 2000-03-09 Gerd Moellmann <gerd@gnu.org>
9527 * emacs-lisp/re-builder.el: New file.
9529 * mouse.el (mouse-drag-region): Don't run up-event handler
9530 if hscroll has changed.
9532 * octave-mod.el (octave-font-lock-keywords): To font-lock the
9533 builtin operators, use `font-lock-builtin-face' for Emacs and
9534 `font-lock-preprocessor-face' otherwise.
9536 * font-lock.el (lisp-font-lock-keywords-1): Highlight
9537 `(defun (setf foo)' differently.
9539 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
9541 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
9542 (regexp-opt): Update comment and adapt the code the new meaning of
9543 the `paren' argument of regex-opt-group for shy-groups.
9544 (regexp-opt-depth): Handle shy groups as well as backslashed
9546 (regexp-opt-group): Turn the leading comment into a docstring.
9547 Allow `paren' to be a string (the string to use to open a group).
9548 Remove open-presuf and close-presuf. Instead of checking for `all
9549 one-char' and then later on check for `several one-char', handle
9550 both cases close together. Also apply a more generic algorithm
9551 for suffixes (the mirror image of the algorithm used for
9552 prefixes). Use shy-groups. Use nreverse rather than reverse.
9553 (regexp-opt-try-suffix): Removed.
9555 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
9556 from comint-mode-map, so we can just inherit from it. Also, move
9557 the initialization into the `defvar' since there's no docstring
9558 anyway and it's fairly short.
9559 (inferior-scheme-mode): Define it as derived-mode: the code is
9560 shorter and this way we inherit from comint-mode-map rather than
9563 * subr.el (replace-regexps-in-string): Properly handle the case
9564 where we match an empty string.
9566 * comint.el (comint-exec-1): Add the current-dir to the exec-path
9567 when the command has a directory component (such as "./testml").
9568 Also fix a typo in the comment.
9570 2000-03-08 Gerd Moellmann <gerd@gnu.org>
9572 * Makefile (compile-files): Compile files one by one because
9573 that's the only way to ensure a clean compilation environment for
9574 each individual file.
9576 * frame.el (other-frame): Call x-focus-frame.
9578 2000-03-07 Dave Love <fx@gnu.org>
9580 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
9581 :require to defcustom.
9583 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
9586 * files.el (auto-mode-alist): Add configure.in.
9588 * progmodes/autoconf.el: New file.
9590 2000-03-07 Gerd Moellmann <gerd@gnu.org>
9592 * mail/mh-e.el: Change maintainer to `none'.
9594 * recentf.el (recentf-keep-non-readable-files-p): Quote args
9595 to remove-hook and add-hook.
9597 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9599 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
9601 (mail-send): Test mail-send-nonascii also for the new `mime' value.
9602 (sendmail-send-it): Conditionally add MIME headers specifying the
9605 2000-03-07 Dave Love <fx@gnu.org>
9607 * winner.el: Fix keywords, autoload cookies. Split
9608 eval-when-compile form to avoid compilation failure.
9610 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
9612 * international/mule.el: Modify comment about coding system
9613 property `coding-category'.
9614 (make-coding-system): New argument EOL-TYPE. Pay attention to
9615 coding-category property of PROPERTIES.
9617 * international/mule-conf.el (coding-category-utf-8,
9618 coding-category-utf-16-be, coding-category-utf-16-le): New coding
9619 categories. Include them in the argument for set-coding-priority.
9621 * international/mule-cmds.el (reset-language-environment): Include
9622 coding-category-utf-8, coding-category-utf-16-be, and
9623 coding-category-utf-16-le in the argument for set-coding-priority.
9624 (reset-language-environment): Initialize coding-category-utf-8,
9625 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
9627 2000-03-06 Karl Fogel <kfogel@red-bean.com>
9629 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
9630 code abstracted out of `bookmark-jump-noselect'. Now tries info
9631 extensions as well as compression extensions.
9632 (bookmark-jump-noselect): Use above new func.
9634 2000-03-03 Gerd Moellmann <gerd@gnu.org>
9636 * strokes.el: Change maintainer's mail address.
9638 2000-03-03 Kenichi Handa <handa@etl.go.jp>
9640 * international/mule-diag.el (list-character-sets): Make help-echo
9641 string by substitute-command-keys.
9642 (list-character-sets): Likewise.
9643 (sort-listed-character-sets): Call help-setup-xref.
9645 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9647 * time.el (display-time-mail-file): Add `none' to the list of
9650 2000-03-01 Dave Love <fx@gnu.org>
9652 * help.el (help-xref-go-back): Don't try to set position.
9654 * international/mule-diag.el (list-character-sets): Call
9655 help-setup-xref. Add help-echo to xrefs.
9656 (list-character-sets-1): Add help-echo to xrefs.
9658 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9660 * frame.el (blink-cursor-mode): Switch cursor on when turning
9663 * add-log.el (add-log-current-defun): Add support for
9666 * mail/rmail.el (rmail-quit-hook): New variable.
9668 2000-03-01 Dave Love <fx@gnu.org>
9670 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
9672 * help.el (help-xref-button): Add help-echo arg.
9673 (describe-function-1, describe-variable, help-make-xrefs): Use it.
9675 * faces.el (list-faces-display): Supply help-echo with
9678 * facemenu.el (list-text-properties-at): Set help-xref-stack to
9681 2000-03-01 Gerd Moellmann <gerd@gnu.org>
9683 * image.el (defimage): Look for image files in load-path.
9685 * frame.el (busy-cursor-delay-seconds): Change type to
9688 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9690 * recentf.el (recentf): Added version tag to the defgroup of
9693 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9695 * recentf.el (recentf-cleanup): Changed to remove excluded file
9697 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
9698 action to select/unselect a file.
9699 (recentf-edit-list): Code cleanup and improvement.
9700 (recentf-open-more-files-action): `recentf-open-more-files' button
9701 widget action to open a file.
9702 (recentf-open-more-files): No more use standard completion but
9704 (recentf-more-collection): Deleted.
9705 (recentf-more-history): Deleted.
9706 (recentf-setup-more-completion): Deleted.
9708 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9710 * recentf.el (recentf-mode): No more needs that Emacs is running
9711 under a window-system.
9713 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9715 * recentf.el (recentf-edit-list): New command to edit the recent
9716 list which allow the user to remove files.
9717 (recentf-edit-selected-items): New global variable, used by
9718 `recentf-edit-list' to hold the list of files to be removed from
9720 (recentf-make-menu-items): Updated to display a "Edit list..."
9721 menu item. Minor code cleanup.
9723 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9725 * recentf.el (recentf-open-more-files): New command to open files
9726 that are not displayed in the menu.
9727 (recentf-more-collection): New global variable holding the set of
9728 permissible completions used by `recentf-open-more-files'.
9729 (recentf-more-history): New global variable holding the history list
9730 used by `recentf-open-more-files' completion.
9731 (recentf-setup-more-completion): New function to setup completion for
9732 `recentf-open-more-files'.
9733 (recentf-make-menu-items): Updated to display a "More..." menu item.
9735 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9737 * recentf.el (recentf-menu-action): Doc fixed.
9739 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9741 * recentf.el (recentf-menu-filter): Doc updated.
9742 (recentf-update-menu-hook): Allow menu filters to force menu update.
9743 (recentf-make-menu-items): New menu filter handling.
9744 (recentf-make-menu-item): New helper function.
9745 (recentf-menu-elements): New menu handling function.
9746 (recentf-sort-ascending): Updated to new menu filter handling.
9747 (recentf-sort-descending): Updated to new menu filter handling.
9748 (recentf-sort-basenames-ascending): New menu filter function.
9749 (recentf-sort-basenames-descending): New menu filter function.
9750 (recentf-show-basenames): New menu filter function.
9751 (recentf-show-basenames-ascending): New menu filter function.
9752 (recentf-show-basenames-descending): New menu filter function.
9754 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9756 * diary-lib.el (list-diary-entries): Don't try to go forward at
9757 the end of the buffer.
9759 2000-02-29 Kenichi Handa <handa@etl.go.jp>
9761 * international/mule-diag.el (list-character-sets): Completely
9763 (sort-listed-character-sets): New function.
9764 (list-character-sets-1): Completely rewritten.
9765 (list-character-sets-2): New function.
9766 (non-iso-charset-alist): New variable.
9767 (decode-codepage-char): New function.
9768 (charset-history): New variable.
9769 (read-charset) (list-block-of-chars)
9770 (list-iso-charset-chars)
9771 (list-non-iso-charset-chars)
9772 (list-charset-chars): New functions.
9773 (mule-diag): Call list-character-sets-2, not
9774 list-character-sets-2.
9775 (dump-charsets): Likewise.
9777 2000-02-29 Gerd Moellmann <gerd@gnu.org>
9779 * dired-x.el (dired-filename-at-point): Add `@' to valid
9780 file name characters.
9781 (dired-filename-at-point): Handle ange-ftp file names.
9783 * frame.el (frame-notice-user-settings): Use assq-delete-all
9784 instead of assoc-delete-all.
9785 (frame-notice-user-settings): Ditto.
9787 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
9790 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
9792 * calculator.el (calculator-use-menu): New option.
9793 (calculator-initial-bindings): Changed some bindings to work as
9795 (calculator-forced-input): Removed.
9796 (calculator-restart-other-mode): New variable.
9797 (calculator-mode-map): Set up menu.
9799 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
9801 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
9804 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
9806 * viper-cmd.el (viper-envelop-ESC-key): added the option to
9807 translate all ESC key sequences.
9808 (viper-goto-mark-subr): restore markers for files for which
9810 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
9811 * viper-util.el (viper-set-replace-overlay-glyphs,
9812 viper-set-replace-overlay): always check if the replacement
9814 * viper.el (viper-vi-state-mode-list): added major modes.
9815 * ediff-wind.el: minor comment changes.
9816 * ediff.el: copyright notice date fix.
9818 2000-02-27 Jason Rumney <jasonr@gnu.org>
9820 * faces.el (face-font-family-alternatives): Add arial to helv.
9821 (mode-line, header-line, tool-bar): Same default as x for w32.
9822 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
9823 face-font-family-alternatives from working.
9824 * term/w32-win.el (mouse-set-font): Do not build fontset from
9827 2000-02-25 Sam Steingold <sds@goems.com>
9829 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
9832 2000-02-25 Richard M. Stallman <rms@gnu.org>
9834 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
9836 2000-02-25 Gerd Moellmann <gerd@gnu.org>
9838 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
9841 * frame.el (busy-cursor-delay-seconds): New option.
9843 2000-02-24 Gerd Moellmann <gerd@gnu.org>
9845 * frame.el (show-cursor-in-non-selected-windows): New option.
9847 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9849 * diary-lib.el (include-other-diary-files): Undo the selective
9850 display in any included file and don't kill it.
9852 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
9854 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
9855 bar. Menu items converted to (menu-item format, help strings
9857 [downcase, upcase]: Don't enable on MS-DOS.
9858 [symlink, symlinks]: Don't show if make-symbolic-link is not
9860 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
9862 2000-02-23 Dave Love <fx@gnu.org>
9864 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
9865 (backward-kill-word): Revert addition of * to interactive spec --
9868 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
9869 (backward-kill-sentence, kill-sentence): Likewise.
9871 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
9872 scratch buffer name.
9873 (gud-format-command): Use int-to-string in ?l case. Simplify
9876 * term/w32-win.el (internal-face-interactive): Update prompt for
9879 * mail/footnote.el (footnote): Add :version to defgroup.
9880 (footnote-section-tag-regexp): Customize.
9881 (footnote-start-tag, footnote-end-tag): New option.
9882 (footnote-latin-regexp): New variable.
9883 (Footnote-latin): New function.
9884 (footnote-style-alist): Add element for latin style.
9885 (footnote-style): Moved.
9886 (Footnote-goto-footnote): Use eq to test arg.
9888 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
9890 * emacs-lisp/byte-opt.el: Change old backquote syntax.
9891 (byte-compile-trueconstp): Include keywords.
9892 (byte-optimize-quote, byte-optimize-lapcode): Use
9893 byte-compile-const-symbol-p.
9894 (byte-optimize-char-before): New optimization.
9896 * emacs-lisp/bytecomp.el: Change old backquote syntax.
9897 (byte-compile-const-symbol-p): New function.
9898 (byte-compile-constp, byte-compile-out-toplevel)
9899 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
9902 * subr.el (define-key-after): Default AFTER to t. Doc fix.
9904 2000-02-23 Kenichi Handa <handa@etl.go.jp>
9906 * international/encoded-kb.el: Be sure to update minor-mode-alist
9907 and minor-mode-map-alist.
9908 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
9909 codes SS2 and SS3 correctly.
9910 (encoded-kbd-self-insert-ccl): New function.
9911 (encoded-kbd-setup-keymap): New function.
9912 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
9913 by calling encoded-kbd-setup-keymap.
9915 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
9917 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
9920 2000-02-22 Dave Love <fx@gnu.org>
9922 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
9923 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
9925 (lisp-mode-syntax-table): Set up for #|...|# comments.
9926 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
9927 classes. Match `defface'.
9928 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
9929 (eval-defun-1): Fix for defcustom.
9930 (lisp-indent-region): Doc fix.
9932 * subr.el (when, unless, split-string): Doc fix.
9933 (read-passwd): Move call of clear-this-command-keys to the right
9935 (replace-regexps-in-string): New function.
9937 2000-02-22 Gerd Moellmann <gerd@gnu.org>
9939 * help.el (describe-variable): Set syntax table to
9940 emacs-lisp-mode-syntax-table when moving forward over the
9943 2000-02-22 Dave Love <fx@gnu.org>
9945 * xt-mouse.el: Doc fixes.
9946 (xterm-mouse-position-function): New function, replacing advice of
9948 (xterm-mouse-mode): Use it. Don't turn on under a window system.
9950 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
9952 2000-02-21 Gerd Moellmann <gerd@gnu.org>
9954 * format.el (format-annotate-single-property-change): Handle
9955 properties.with dotted-list values.
9956 (format-proper-list-p): New function.
9958 * enriched.el (enriched-face-ans): Handle '(foreground-color
9959 . COLOR) and (background-color . COLOR).
9961 2000-02-20 Dave Love <fx@gnu.org>
9963 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
9964 and assignments to it.
9965 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
9967 (make-flyspell-overlay): Use it.
9968 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
9970 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
9971 (lm-get-header-re): Defun, not defsubst.
9972 (lm-get-package-name): Defun, not defsubst. Simplify.
9973 (lm-version): Doc fix. Simplify.
9974 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
9975 (lm-crack-address, lm-last-modified-date, lm-commentary)
9976 (lm-verify, lm-synopsis): Simplify.
9977 (lm-report-bug): Require emacsbug. Use compose-mail.
9979 2000-02-20 Gerd Moellmann <gerd@gnu.org>
9981 * dired.el (dired-mode): Call propertized-buffer-identification
9982 to set mode-line-buffer-identification to something having
9983 the right text properties.
9985 * bindings.el (propertized-buffer-identification): New function.
9987 2000-02-20 Dave Love <fx@gnu.org>
9989 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
9990 check for t-mouse too.
9992 * cus-start.el: Make echo-keystrokes `number'.
9994 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
9996 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
9997 Don't call ring-empty-p unless tags-location-ring is bound.
9998 From Noah Friedman <friedman@splode.com>.
10000 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
10002 * progmodes/hideshow.el (hs-flag-region): No longer use
10003 `intangible' overlay property.
10005 (hs-toggle-hiding): New command.
10006 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10008 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10009 Fix omission bug: Run `hs-minor-mode-hook' for both activation
10012 2000-02-18 Gerd Moellmann <gerd@gnu.org>
10014 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10016 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10018 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10020 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10021 of `*' to handle `(* ... *)' comments.
10023 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
10025 * faces.el (list-faces-display): Use display-mouse-p instead of
10028 * menu-bar.el (global-map): Menu-bar items converted to the new
10029 format (menu-item..., rearranged for better CUA compliance, and
10030 their names changed for better clarity. Help strings added.
10032 * international/mule-cmds.el (mule-menu-keymap)
10033 (describe-language-environment-map, set-coding-system-map)
10034 (setup-language-environment-map): Convert to new (menu-item...
10035 form, add help strings. Change names of menu items for better
10036 clarity. "Mule" menu-bar item removed (it's now in the "Options"
10039 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10041 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10044 2000-02-16 Dave Love <fx@gnu.org>
10046 * faces.el: Don't require custom. Add more specific :groups to
10048 (set-face-attribute): Purecopy args.
10049 (read-face-name): Default to name at point and use it in prompt.
10050 Remove colon from arg in all callers.
10051 (list-faces-display): Hyperlink to face descriptions and customize
10054 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
10056 * wid-edit.el (widget-match-inline): An atom never matches a
10059 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10061 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10062 at ':' characters by call to split-string.
10064 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10066 * textmodes/bibtex.el: Added RCS version identification.
10068 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10070 * textmodes/bibtex.el: Some temporary comments removed.
10071 (bibtex-field-name, bibtex-entry-type): Made the relationship
10073 (bibtex-field-const): Allow capital letters.
10074 (bibtex-start-of-string): Deleted because unused.
10076 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10077 use the term 'reference' to describe a bibtex entry as a whole.
10078 Further, reference keys are no longer called 'labels'.
10079 (bibtex-keys): Renamed to bibtex-reference-keys.
10080 (bibtex-reformat-previous-labels): Renamed to
10081 bibtex-reformat-previous-reference-keys.
10082 (bibtex-reference-type): Renamed to bibtex-entry-type.
10083 (bibtex-reference-head): Renamed to bibtex-entry-head.
10084 (bibtex-reference-maybe-empty-head): Renamed to
10085 bibtex-entry-maybe-empty-head.
10086 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10087 (bibtex-search-reference): Renamed to bibtex-search-entry.
10088 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10089 bibtex-enclosing-entry-maybe-empty-head.
10090 (bibtex-entry-field-alist, bibtex-entry-head,
10091 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10092 bibtex-map-entries, bibtex-search-entry,
10093 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10094 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10095 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10096 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10097 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10098 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10099 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10101 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10103 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10105 (bibtex-format-field-delimiters): New function, functionality
10106 extracted from bibtex-format-entry.
10107 (bibtex-autokey-get-yearfield-digits): New function, functionality
10108 extracted from bibtex-autokey-get-yearfield.
10110 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10111 entries in order to avoid stack overflow in the regexp matcher if
10112 field contents become large.
10113 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10114 bibtex-field-string-part-not-braced,
10115 bibtex-field-string-part-no-inner-braces,
10116 bibtex-field-string-part-1-inner-brace,
10117 bibtex-field-string-part-2-inner-braces,
10118 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10119 bibtex-field-string-quoted, bibtex-field-string,
10120 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10121 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10122 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10123 as parsing is now performed by the following functions.
10124 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10125 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10126 bibtex-parse-field-string, bibtex-search-forward-field-string,
10127 bibtex-parse-association, bibtex-field-name-for-parsing,
10128 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10129 bibtex-search-forward-field, bibtex-search-backward-field,
10130 bibtex-start-of-field, bibtex-end-of-field,
10131 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10132 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10133 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10134 bibtex-parse-string, bibtex-search-forward-string,
10135 bibtex-search-backward-string, bibtex-start-of-string,
10136 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10137 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10138 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10139 entries. Instead of reporting the results of the parsing by
10140 match-beginning or match-end, these functions return data structures
10141 that hold the corresponding positions.
10142 (bibtex-enclosing-field): Changed to also report field boundaries by
10143 return values rather than by match-beginning or match-end. The
10144 following functions have been adapted to use the new parsing
10146 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10147 bibtex-enclosing-field, bibtex-format-entry,
10148 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10149 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10150 bibtex-print-help-message, bibtex-end-of-entry,
10151 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10152 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10153 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10154 method for parsing.
10155 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10156 bibtex-map-entries, bibtex-flash-head,
10157 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10158 bibtex-autokey-change, bibtex-autokey-get-namefield,
10159 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10160 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10161 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10162 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10163 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10164 order to make the new binding of case-fold-search immediately
10167 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10169 * textmodes/bibtex.el: Copyright notice is up to date.
10170 Added constant 'bibtex-maintainer-salutation.
10172 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10173 than make-temp-name, use match-string-no-properties and eliminate
10174 a quadratic behavior when building bibtex-strings.
10176 * bibtex.el (bibtex-reference-key): Accept string entries whose
10177 reference key contains upper case letters.
10179 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10181 * bibtex.el (bibtex-reference-head): Allow entries to start with
10184 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10186 * bibtex.el: Hiding of entry bodies is not longer provided by
10187 bibtex.el directly. Instead the hideshow package can be used.
10188 Added a special bibtex entry to hs-special-modes-alist.
10189 (bibtex-hs-forward-sexp): Added for hideshow.el.
10191 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10193 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10194 at ':' characters by call to split-string.
10196 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10198 * textmodes/bibtex.el: Added RCS version identification.
10200 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10202 * textmodes/bibtex.el: Some temporary comments removed.
10203 (bibtex-field-name, bibtex-entry-type): Made the relationship
10205 (bibtex-field-const): Allow capital letters.
10206 (bibtex-start-of-string): Deleted because unused.
10208 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10209 use the term 'reference' to describe a bibtex entry as a whole.
10210 Further, reference keys are no longer called 'labels'.
10211 (bibtex-keys): Renamed to bibtex-reference-keys.
10212 (bibtex-reformat-previous-labels): Renamed to
10213 bibtex-reformat-previous-reference-keys.
10214 (bibtex-reference-type): Renamed to bibtex-entry-type.
10215 (bibtex-reference-head): Renamed to bibtex-entry-head.
10216 (bibtex-reference-maybe-empty-head): Renamed to
10217 bibtex-entry-maybe-empty-head.
10218 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10219 (bibtex-search-reference): Renamed to bibtex-search-entry.
10220 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10221 bibtex-enclosing-entry-maybe-empty-head.
10222 (bibtex-entry-field-alist, bibtex-entry-head,
10223 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10224 bibtex-map-entries, bibtex-search-entry,
10225 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10226 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10227 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10228 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10229 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10230 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10231 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10233 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10235 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10237 (bibtex-format-field-delimiters): New function, functionality
10238 extracted from bibtex-format-entry.
10239 (bibtex-autokey-get-yearfield-digits): New function, functionality
10240 extracted from bibtex-autokey-get-yearfield.
10242 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10243 entries in order to avoid stack overflow in the regexp matcher if
10244 field contents become large.
10245 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10246 bibtex-field-string-part-not-braced,
10247 bibtex-field-string-part-no-inner-braces,
10248 bibtex-field-string-part-1-inner-brace,
10249 bibtex-field-string-part-2-inner-braces,
10250 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10251 bibtex-field-string-quoted, bibtex-field-string,
10252 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10253 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10254 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10255 as parsing is now performed by the following functions.
10256 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10257 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10258 bibtex-parse-field-string, bibtex-search-forward-field-string,
10259 bibtex-parse-association, bibtex-field-name-for-parsing,
10260 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10261 bibtex-search-forward-field, bibtex-search-backward-field,
10262 bibtex-start-of-field, bibtex-end-of-field,
10263 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10264 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10265 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10266 bibtex-parse-string, bibtex-search-forward-string,
10267 bibtex-search-backward-string, bibtex-start-of-string,
10268 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10269 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10270 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10271 entries. Instead of reporting the results of the parsing by
10272 match-beginning or match-end, these functions return data structures
10273 that hold the corresponding positions.
10274 (bibtex-enclosing-field): Changed to also report field boundaries by
10275 return values rather than by match-beginning or match-end. The
10276 following functions have been adapted to use the new parsing
10278 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10279 bibtex-enclosing-field, bibtex-format-entry,
10280 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10281 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10282 bibtex-print-help-message, bibtex-end-of-entry,
10283 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10284 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10285 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10286 method for parsing.
10287 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10288 bibtex-map-entries, bibtex-flash-head,
10289 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10290 bibtex-autokey-change, bibtex-autokey-get-namefield,
10291 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10292 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10293 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10294 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10295 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10296 order to make the new binding of case-fold-search immediately
10299 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10301 * textmodes/bibtex.el: Copyright notice is up to date.
10302 Added constant 'bibtex-maintainer-salutation.
10304 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10305 than make-temp-name, use match-string-no-properties and eliminate
10306 a quadratic behavior when building bibtex-strings.
10308 * bibtex.el (bibtex-reference-key): Accept string entries whose
10309 reference key contains upper case letters.
10311 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10313 * bibtex.el (bibtex-reference-head): Allow entries to start with
10316 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10318 * bibtex.el: Hiding of entry bodies is not longer provided by
10319 bibtex.el directly. Instead the hideshow package can be used.
10320 Added a special bibtex entry to hs-special-modes-alist.
10321 (bibtex-hs-forward-sexp): Added for hideshow.el.
10323 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10325 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
10326 proceedings entry type (for cross referencing). Thanks to Wagner
10327 Toledo Correa for the suggestion.
10329 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
10331 2000-02-14 Kenichi Handa <handa@etl.go.jp>
10333 * international/characters.el: Setup case table for Vietnamese.
10335 2000-02-12 Gerd Moellmann <gerd@gnu.org>
10337 * uniquify.el (toplevel): Require CL at compile time.
10338 (uniquify-push): Removed.
10340 * shadowfile.el (shadow-when): Removed.
10342 * tempo.el (tempo-dolist, tempo-mapc): Removed.
10343 (tempo-process-and-insert-string): Use dolist instead of
10346 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
10347 regexp for paragraph-start.
10349 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
10352 2000-02-10 Dave Love <fx@gnu.org>
10354 * wid-edit.el: (widgets) [defgroup]: Remove url link.
10355 (widget-color-choice-list, widget-color-history, widget-mouse-help):
10357 (widget-specify-field, widget-specify-button): Don't use
10358 widget-mouse-help as help-echo property.
10359 (default): Use #'ignore for :validate and :mouse-down-action.
10360 (checkbox): Add help-echo.
10361 (widget-sexp-validate): Rewritten to clarify error messages.
10362 (character): Use char-valid-p in :match function.
10363 (widget-color-complete): Use facemenu-color-alist.
10364 (widget-color-action): Use facemenu-read-color.
10366 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
10367 set up `caar' &c that we now have.
10369 2000-02-09 Ray Blaak <blaak@gnu.org>
10371 * delphi.el: Make resourcestring a declaration region, like const
10374 2000-02-09 Dave Love <fx@gnu.org>
10376 * bindings.el (mode-line-input-method-map): New variable.
10377 (mode-line-mule-info): Use it; fix last change.
10378 (mode-line-mode-menu): Move definition.
10379 (mode-line-mouse-sensitive-p): Deleted.
10380 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
10381 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
10384 * startup.el (command-line-1): Don't call
10385 make-mode-line-mouse-sensitive.
10387 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10389 * mail/rmail.el (rmail-retry-failure): Use
10390 rmail-beginning-of-message before rmail-toggle-header, because the
10391 former toggles headers.
10393 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
10395 * diff-mode.el (diff-kill-junk): New interactive function.
10396 (diff-reverse-direction): Use delete-and-extract-region.
10397 (diff-post-command-hook): Restrict the area so that the hook also works
10398 outside of any diff hunk. This is necessary for the minor-mode.
10399 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
10400 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
10402 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
10403 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
10404 so that it can be used more easily in <foo>-mode-hook. Also make sure
10405 to avoid duplicate entries.
10406 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
10407 (font-lock-remove-keywords): Just as was done for `add', allow it to
10408 work even if font-lock-mode is nil. Also make sure we don't modify
10409 any pre-existing list by forcing a copy-sequence. Finally rename
10410 `major-mode' to `mode'.
10411 (font-lock-fontify-syntactic-anchored-keywords)
10412 (font-lock-fontify-anchored-keywords)
10413 (font-lock-fontify-keywords-region): Use line-end-position.
10414 Don't make `font-lock-multiline' local (it's now done in
10415 font-lock-set-defaults).
10416 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
10417 move the `font-lock-fontified' creation to inside the `unless'.
10419 2000-02-06 Andrew Innes <andrewi@gnu.org>
10421 * term/w32-win.el (x-handle-args): Comment out call to message,
10422 which occurs before window system is initialized.
10424 * makefile.nt: Add support for recompiling lisp code.
10426 2000-02-04 Dave Love <fx@gnu.org>
10428 * bindings.el (mode-line-mule-info): Fix/extend last change.
10430 * completion.el: Replace completion-dolist with dolist.
10432 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
10435 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
10437 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
10438 environment names before they go into the section regexp.
10440 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
10441 char class in regexp.
10443 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
10444 `case-fold-search' to nil.
10446 * progmodes/idlwave.el (idlwave-template): Respect
10447 `idlwave-abbrev-change-case'.
10448 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
10449 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
10450 idlwave-while): respect `idlwave-reserved-word-upcase'.
10451 (idlwave-rw-case): New function.
10452 (idlwave-statement-match): Fixed problem with assignment regexp.
10453 (idlwave-font-lock-keywords): Improved regexp for keyword
10455 (idlwave-surround): New argument LENGTH to support padding of
10456 operators longer than 1 char.
10458 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
10459 idlwave-shell-expression-overlay. Implemented printing of
10460 expressions on higher levels of the calling stack.
10461 (idlwave-shell-display-level-in-calling-stack): Restore stack
10463 (idlwave-retrieve-expression-from-level): New function.
10464 (idlwave-shell-last-calling-stack): Variable removed.
10465 (idlwave-shell-reset): Argument action reversed (`visible' to
10466 `hidden'). Also remove stop-line overlay.
10467 (idlwave-shell-calling-stack-routine): New variable.
10468 (idlwave-shell-parse-stack-and-display): Messages now display
10469 negative level numbers.
10470 (idlwave-shell-mode): Set `modeline-format'.
10471 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
10472 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
10474 (idlwave-shell-print-expression-function): New option.
10476 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
10477 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
10478 `tool-bar' instead of `toolbar'.
10480 2000-02-02 Dave Love <fx@gnu.org>
10482 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
10483 emacs-lisp-mode-hook. Don't check for defalias being defined.
10485 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
10486 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
10487 the new builtins directly.
10489 * whitespace.el (whitespace): Add :version to defgroup.
10491 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
10494 * thingatpt.el (sexp-at-point, symbol-at-point)
10495 (number-at-point, list-at-point): Add autoload cookie.
10497 * recentf.el (recentf): Add :version to defgroup.
10499 * quickurl.el (quickurl): Add :version to defgroup.
10501 * elide-head.el (elide-head): Use point-marker more.
10503 * bs.el (bs): Add :version to defgroup.
10505 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
10507 * progmodes/delphi.el (delphi): Add :version to defgroup.
10509 2000-02-02 Gerd Moellmann <gerd@gnu.org>
10511 * ange-ftp.el (ange-ftp-write-region): Handle case that
10512 succeeding process operation sets a different coding system.
10514 * calculator.el: New file.
10516 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
10518 * frame.el (frames-on-display-list, framep-on-display): New
10520 (display-mouse-p, display-popup-menus-p, display-graphic-p)
10521 (display-selections-p, display-screens, display-pixel-width)
10522 (display-pixel-height, display-mm-width, display-mm-height)
10523 (display-backing-store, display-save-under, display-planes)
10524 (display-color-cells, display-visual-class): New functions.
10526 * term/tty-colors.el (tty-color-gray-shades): New function.
10528 * faces.el (display-color-p): Use framep-on-display.
10529 (display-grayscale-p): New function.
10531 2000-01-31 Dave Love <fx@gnu.org>
10533 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
10534 (create-fontset-from-x-resource): Don't concat integers.
10536 2000-01-31 Inge Frick <inge@nada.kth.se>
10538 * view.el: Some changes in documentation. Removed some trailing
10539 whitespace. Changed some parameter names to agree with
10541 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
10542 window is not deleted. Modifies change 1998-04-26.
10544 2000-01-31 Gerd Moellmann <gerd@gnu.org>
10546 * windmove.el: New file.
10548 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10549 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10550 progmodes/ebnf-yac.el: Update copyright and license info.
10552 * jit-lock.el (jit-lock-function): Widen before calculating end
10554 (jit-lock-stealth-chunk-start): Rewritten.
10556 * info.el (Info-title-face-alist): Removed.
10557 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
10559 (Info-fontify-node): Use these faces.
10561 2000-01-30 Gerd Moellmann <gerd@gnu.org>
10563 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
10564 (cl-macro-list1): Recognize `&allow-other-keys' instead of
10565 `&allow-other-keywords'.
10567 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
10568 the list of directories scanned heuristically.
10570 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
10573 2000-01-30 Jason Rumney <jasonr@gnu.org>
10575 * w32-fns.el: Define w32-tty-standard-colors.
10577 * startup.el (command-line): Use w32-tty-standard-colors when in
10580 2000-01-30 Dave Love <fx@gnu.org>
10582 * jka-compr.el (jka-compr-load): Fix up load-history.
10584 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
10586 * emacs-lisp/cl-macs.el: Revert previous change.
10588 2000-01-29 Dave Love <fx@gnu.org>
10590 * facemenu.el: Purecopy various strings.
10592 * timezone.el (timezone-fix-time): Window against 69 for two-digit
10593 years. Deal with three-digit years.
10595 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
10596 defconst, purecopy.
10597 (help-back-label): Purecopy it.
10599 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10601 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
10602 variable. If non-nil, order the buffer list according to the
10603 currently selected frame.
10604 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
10605 non-nil, pass the selected frame to function buffer-list.
10607 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10609 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
10611 2000-01-28 Dave Love <fx@gnu.org>
10613 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
10615 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
10616 Don't use lisp-indent-hook property.
10619 * subr.el: Move out indent and edebug specs for when and unless.
10621 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
10624 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
10627 2000-01-28 Gerd Moellmann <gerd@gnu.org>
10629 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
10630 `collecting' as synonym for `collect'.
10632 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
10633 for the case it contains spaces.
10635 * simple.el (what-cursor-position): Change formatting of
10638 * frame.el (delete-other-frames): New function.
10639 (toplevel): Bind it to C-x 5 1.
10641 * sort.el (sort-numeric-base): New option.
10642 (sort-numeric-fields): If number starts with `0' or `0[xX[',
10643 interpret it as octal or hexadecimal. Use sort-numeric-base
10646 * progmodes/glasses.el: New file.
10648 2000-01-27 Gerd Moellmann <gerd@gnu.org>
10650 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
10651 userids differently.
10653 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10654 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10655 progmodes/ebnf-yac.el: New files.
10657 2000-01-26 Dave Love <fx@gnu.org>
10659 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
10660 on a function with an empty body. [From Eric Ludlam.]
10662 2000-01-25 Andre Spiegel <spiegel@gnu.org>
10664 * vc.el (vc-version-diff): Make sure file name is expanded.
10666 2000-01-25 Gerd Moellmann <gerd@gnu.org>
10668 * scroll-bar.el (scroll-bar-timer): Variable removed.
10669 (scroll-bar-toolkit-scroll): Don't use a timer.
10671 2000-01-25 Kenichi Handa <handa@etl.go.jp>
10673 * language/thai-util.el (thai-composition-function): Delete
10676 2000-01-24 Dave Love <fx@gnu.org>
10678 * fortran.el (fortran-mode): Use beginning-of-defun-function,
10679 end-of-defun-function.
10681 * font-lock.el (turn-on-font-lock): Don't depend on window-system
10684 2000-01-22 Jason Rumney <jasonr@gnu.org>
10686 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
10687 conflicts with new face support.
10689 2000-01-22 Richard M. Stallman <rms@gnu.org>
10691 * replace.el (query-replace): Rename last arg to DELIMITED.
10692 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
10693 (query-replace-regexp): Likewise.
10695 2000-01-20 Richard M. Stallman <rms@gnu.org>
10697 * subr.el (with-syntax-table): Use make-symbol, not gensym.
10699 * emacs-lisp/lisp.el (beginning-of-defun-function):
10700 Variable renamed from beginning-of-defun.
10701 Do not call make-variable-buffer-local.
10702 (beginning-of-defun-raw): Use new variable name; doc fix.
10703 (beginning-of-defun): Doc fix.
10704 (end-of-defun-function): Variable renamed from end-of-defun.
10705 Do not call make-variable-buffer-local.
10706 (end-of-defun): Use new variable name; doc fix.
10708 * subr.el (dolist, dotimes): Copied from cl-macs.el
10711 * mail/undigest.el (rmail-digest-end-regexps):
10712 Variable replaces rmail-digest-end-regexp.
10713 Allows multiple regexps for detecting the end line.
10714 (undigestify-rmail-message): Corresponding changes.
10716 2000-01-19 Dave Love <fx@gnu.org>
10718 * files.el (user-init-file): Don't declare here -- is primitive.
10720 * startup.el (command-line): Check for compiled user-init-file and
10721 set to uncompiled version if necessary.
10723 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10725 * mail/undigest.el (rmail-digest-end-regexp): New user option.
10726 (undigestify-rmail-message): Use it.
10728 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
10730 2000-01-17 Gerd Moellmann <gerd@gnu.org>
10732 * tmm.el (tmm-goto-completions): Adapt to prompt being part
10735 2000-01-14 Gerd Moellmann <gerd@gnu.org>
10737 * emacs-lisp/copyright.el (copyright-update): Removed the
10738 requirement for a trailing space from `copyright-regexp', to
10739 support copyrights with owner specified on a separate line..
10741 * align.el: New file.
10743 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
10745 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
10747 2000-01-13 Dave Love <fx@gnu.org>
10749 * ph.el: Removed. (Obsoleted by EUDC.)
10751 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10753 * net/eudc.el (toplevel): Remove autoloaded code installing
10754 menu with easymenu, because that causes build problems.
10756 * frame.el (frame-notice-user-settings): New variable.
10757 (frame-notice-user-settings): Don't modify frame parameters
10758 if called a second time.
10760 2000-01-13 Richard M. Stallman <rms@gnu.org>
10762 * frame.el (frame-notice-user-settings):
10763 Notice default-frame-parameters even for non-window frames.
10765 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10767 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
10769 (eudc-bob-can-display-inline-images): Extend for Emacs.
10770 (eudc-bob-toggle-inline-display): Ditto.
10771 (eudc-bob-display-jpeg): Ditto.
10773 2000-01-12 Gerd Moellmann <gerd@gnu.org>
10775 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
10776 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
10777 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
10779 * add-log.el (add-change-log-entry): Fix error trying an `(insert
10782 * subdirs.el: Add `net' directory.
10784 * net: New directory.
10786 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
10787 eval-last-sexp. Don't bind debug-on-error here.
10788 (eval-last-sexp): New function. Bind debug-on-error if
10789 eval-expression-debug-on-error is non-nil.
10790 (eval-defun-2, eval-defun): Likewise.
10792 * simple.el (eval-expression): Don't bind debug-on-error if
10793 eval-expression-debug-on-error is nil. Detect changed
10794 debug-on-error, and propagate new value to global binding, if
10795 eval-expression-debug-on-error is non-nil,
10796 (eval-expression-debug-on-error): Change doc string.
10798 2000-01-11 Richard M. Stallman <rms@gnu.org>
10800 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
10802 * emacs-lisp/lisp-mode.el (with-syntax-table):
10803 Set up lisp-indent-function property.
10805 * subr.el (with-syntax-table): Moved from simple.el.
10807 * simple.el (with-syntax-table): Moved to subr.el.
10809 2000-01-11 Gerd Moellmann <gerd@gnu.org>
10811 * tmm.el (tmm-shortcut): Delete region after prompt instead
10814 * textmodes/fill.el (fill-common-string-prefix): New function.
10815 (fill-context-prefix): Use the longest common prefix of first
10816 and second line fill prefix, if there is one.
10818 2000-01-11 Richard M. Stallman <rms@gnu.org>
10820 * array.el (array-mode): Don't use make-variable-buffer-local.
10821 Use make-local-variable for `truncate-lines'.
10823 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
10825 * add-log.el (add-log-current-defun): Handle user-defined
10826 add-log-current-function returning nil,
10828 * add-log.el (add-change-log-entry): Insert version number
10829 if having found a current function
10831 * add-log.el (add-log-current-defun): Call
10832 `add-log-current-defun-function'. Try matches at level 0 and
10833 level 1. Strip whitespace from defun found.
10835 2000-01-10 John Wiegley <johnw@gnu.org>
10837 * allout.el (isearch-done/outline-provisions): Added `edit'
10838 argument to correspond with the current definition of
10841 2000-01-10 Dave Love <fx@gnu.org>
10843 * elide-head.el (elide-head): Use point-marker, not point.
10845 2000-01-10 Gerd Moellmann <gerd@gnu.org>
10847 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
10848 before and after the year 2000.
10850 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
10851 Add ispell- prefix.
10853 2000-01-10 Ken Stevens <k.stevens@ieee.org>
10855 * ispell.el: Only define dictionaries in menus when they exist.
10856 (version18p): New variable.
10857 (version20p): New variable.
10858 (xemacsp): New variable.
10859 (ispell-choices-win-default-height): Fix for XEmacs visibility.
10860 (ispell-dictionary-alist1): Added Brasileiro dictionary.
10861 (ispell-dictionary-alist6): Russian command lines no longer accept
10862 run-together words.
10863 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
10864 (ispell-dictionary-alist): Add koi8-r to customize definition.
10865 (check-ispell-version): Added documentation string. Returns
10866 library path when called non-interactively.
10867 (ispell-menu-map-needed): Uses new variables.
10868 (ispell-library-path): New variable.
10869 (ispell-decode-string): XEmacs fix for bogus variable bindings.
10870 (ispell-word): Improved documentation string. Test for valid
10871 character mappings. Correctly check typed in word changes that can
10872 result in single words split into multiple words. Returns
10874 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
10875 replace in recursive query replace mode. Help message for
10876 recursive edit mode.
10877 (ispell-show-choices): Protect against bad framepop bindings.
10878 (ispell-help): Fix to work with XEmacs.
10879 (ispell-highlight-spelling-error): Use new variables.
10880 (ispell-overlay-window): Fix to work with XEmacs.
10881 (ispell-parse-output): Passed and returns location information
10882 tracking spelling corrections. Doesn't recheck same word on
10884 (ispell-init-process): Protect against bogus XEmacs variable binding.
10885 Fix call to single argument in sleep-for. Use new variables.
10886 (ispell-region): Passed and returns location information tracking
10887 spelling corrections. Doesn't check same word on current line.
10888 Improved documentation string. Doesn't resend a line already
10889 checked to the ispell process - fixes bug in LaTeX parsing.
10890 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
10891 (ispell-skip-region): No longer skips <TT> in SGML.
10892 (ispell-process-line): Tracks location information with spelling
10893 corrections. Added documentation string. Accounts for words
10894 already accepted on this line. Don't allow query-replace on line
10895 starting with math characters. Doesn't resend a line already sent
10896 to ispell process. Fixes alignment error bug.
10898 2000-01-10 Richard M. Stallman <rms@gnu.org>
10900 * dired-x.el (dired-guess-shell-alist-default):
10901 Suggest xloadimage, which is free, not xv, which isn't.
10903 * ange-ftp.el (ange-ftp-file-name-nondirectory):
10904 Don't ever include the host name or user name in the value.
10906 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10908 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
10911 2000-01-09 Stephen Eglen <stephen@gnu.org>
10913 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
10916 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
10918 * cus-edit.el (custom-hook-convert-widget): Fix comment.
10920 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10922 * progmodes/cperl-mode.el: Replace ^F with ^L.
10924 * sendmail.el (toplevel): Provide `sendmail' when compiling
10925 before `require'ing rmail and mailalias to prevent infinite
10928 2000-01-08 Dave Love <fx@gnu.org>
10930 * emacs-lisp/backquote.el: Remove inappropriate customization
10931 (allowing custom.el to use backquote).
10933 2000-01-07 Dave Love <fx@gnu.org>
10935 * add-log.el (add-log-debugging): Deleted.
10936 (add-change-log-entry): Treat a backup FILE-NAME as its parent
10937 file. Remove debugging code.
10938 (change-log-get-method-definition, change-log-name): Add doc.
10939 (change-log-sortable-date-at): New function.
10940 (change-log-merge): New command.
10942 * time.el (display-time-string-forms): Make the Mail string active.
10943 (display-time-update): Provide help-echo for load average.
10945 * bindings.el (make-mode-line-mouse2-map): New function.
10946 (mode-line-modified): Use it and simplify.
10947 (mode-line-mule-info): Provide help-echo info.
10948 (minor-mode-alist): Activate the strings.
10949 (make-mode-line-mouse-sensitive): Simplify for
10950 mode-line-buffer-identification.
10952 2000-01-07 Gerd Moellmann <gerd@gnu.org>
10954 * play/pong.el: New file.
10956 2000-01-06 Dave Love <fx@gnu.org>
10958 * array.el: Assorted cleanups for compiler warnings, doc strings,
10959 `array-' prefix for symbols.
10961 2000-01-05 Dave Love <fx@gnu.org>
10963 * textmodes/outline.el (outline-mode-menu-bar-map): Add
10964 outline-headers-as-kill.
10965 (outline-mode): Define imenu-generic-expression.
10966 (outline-headers-as-kill): New command.
10968 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
10969 from paragraph-start.
10970 (paragraph-indent-minor-mode): New command.
10972 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
10973 M-C-e, M-C-h, C-j, C-xnd, TAB.
10974 (fortran-mode): Set beginning-of-defun, end-of-defun.
10975 (fortran-column-ruler): Simplify.
10976 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
10977 (fortran-with-subprogram-narrowing): Likewise.
10978 (fortran-indent-subprogram): Call mark-defun.
10979 (fortran-check-for-matching-do): Change narrowing.
10981 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
10982 (cl-lucid-hash-tag): Delete.
10983 (cl-hash-table-p): Correct test for native table.
10984 (cl-hash-table-count): Use hash-table-count.
10986 * browse-url.el (browse-url): Fix case of
10987 browse-url-browser-function being an alist.
10989 2000-01-05 Carsten Dominik <cd@gnu.org>
10991 * textmodes/reftex-vars.el (reftex-parse-file-extension)
10992 (reftex-index-phrase-file-extension): New options.
10994 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
10995 Use new option `reftex-index-phrase-file-extension'.
10997 * textmodes/reftex.el (reftex-access-parse-file): Use new option
10998 `reftex-parse-file-extension'.
11000 2000-01-05 Dave Love <fx@gnu.org>
11002 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11003 (beginning-of-defun-raw): Use it.
11004 (end-of-defun): New variable.
11005 (end-of-defun): Use it.
11006 (check-parens): New command.
11008 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
11010 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11011 (hs-show-block): Don't use `mapcar' when not accumulating.
11013 Fix buglet in local variables initialization.
11015 2000-01-05 Andreas Schwab <schwab@suse.de>
11017 * hscroll.el (hscroll): Doc fix.
11019 2000-01-05 Carsten Dominik <cd@gnu.org>
11021 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11024 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11025 file idlw-rinfo.el.
11026 (idlwave-customize): load must read file idlw-shell.el.
11027 (idlwave-create-customize-menu): load must read file idlw-shell.el.
11029 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
11031 * progmodes/idlw-shell.el: Also provide idlwave-shell
11032 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11033 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11035 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11036 both reftex-dcr and reftex-vcr.
11038 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11040 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11042 * ps-print.el: PostScript code now is in separate files, doc fix.
11043 (ps-print-version): New version number (5.0.3).
11044 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11046 (ps-spool-config): Initialization fix.
11047 (ps-print-prologue-1, ps-print-prologue-2)
11048 (ps-print-duplex-feature): PostScript code moved to separated file.
11049 (ps-background-image): Little code reformating.
11050 (ps-begin-file, ps-begin-job): Fix code.
11051 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11052 (ps-prologue-file): New fun.
11054 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11056 * ps-vars.el: Eliminated.
11058 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11061 * ps-print.el: ps-vars eliminated, doc fix.
11062 (ps-print-version): New version number (5.0.2).
11063 (ps-spool-config): Initialization fix.
11064 (ps-print-customize): New fun.
11066 2000-01-04 Gerd Moellmann <gerd@gnu.org>
11068 * autorevert.el (auto-revert-mode): Return value of
11071 2000-01-04 Dave Love <fx@gnu.org>
11073 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11076 2000-01-03 Dave Love <fx@gnu.org>
11078 * elide-head.el (elide-head) [defgroup]: Add :version.
11080 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11081 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11082 `cl-hash-table-p', not `hash-table-p'.
11083 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11085 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11087 * faces.el (face-read-integer, read-face-attribute)
11088 (color-defined-p, color-values): unspecified-{f,b}g are now
11091 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
11093 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11094 at comment end, and re-insert them after filling.
11096 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11098 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11099 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11100 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11102 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11104 * term/x-win.el (xw-defined-colors): Call color-supported-p,
11105 the new name of face-color-supported-p.
11107 * term/w32-win.el (xw-defined-colors): Likewise.
11109 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11111 * simple.el (completion-setup-function): Count completion-size
11112 from minibuffer-prompt-end, not from point-min.
11114 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
11116 * faces.el (read-face-attribute, defined-colors, color-defined-p):
11117 Pass the frame to tty-color-* functions.
11118 (display-color-p, frame-set-background-mode): Pass the frame to
11119 tty-display-color-p.
11121 * term/tty-colors.el (tty-defined-color-alist): Renamed from
11123 (tty-color-alist, tty-modify-color-alist): New functions.
11124 (tty-color-define, tty-color-clear, tty-color-approximate)
11125 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11126 an optional parameter FRAME.
11128 2000-01-01 Gerd Moellmann <gerd@gnu.org>
11130 * image.el (create-image, defimage): Don't assume image data is a
11133 * image.el (defimage): Handle specifications containing :data
11135 (image-type-from-data): New function.
11136 (image-type-from-file-header): Use it.
11137 (create-image): Add parameter DATA-P.
11139 See ChangeLog.8 for earlier changes.
11141 ;; Local Variables:
11142 ;; coding: iso-2022-7bit