1 2000-11-27 Eli Zaretskii <eliz@is.elta.co.il>
3 * select.el (x-get-selection): Docstring dix.
5 2000-11-27 Gerd Moellmann <gerd@gnu.org>
7 * play/5x5.el: Update from author.
9 2000-11-27 Andrew Innes <andrewi@gnu.org>
11 * makefile.nt (.SUFFIXES): Add .SUFFIXES.
13 * makefile.w32-in (.SUFFIXES): Add .SUFFIXES.
15 2000-11-27 Miles Bader <miles@gnu.org>
17 * dired.el (dired-get-filename): Return filename verbatim if
19 * dired-aux.el (dired-add-entry): Call `dired-get-filename' with
20 `verbatim' so that we don't inadvertently delete a non-existant
23 2000-11-27 Kenichi Handa <handa@etl.go.jp>
25 * international/characters.el: Specify cases and syntaxes for
26 mule-unicode-0100-24ff.
28 2000-11-27 Gerd Moellmann <gerd@gnu.org>
30 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Handle case
31 that foreground and/or background colors of the face `tool-bar'
34 2000-11-27 Miles Bader <miles@gnu.org>
36 * wid-edit.el (widget-field-buffer, widget-field-start)
37 (widget-field-end): Handle widget field `pseudo-overlays'.
38 (widget-field-value-delete): Delete WIDGET from `widget-field-new'
39 if it's there instead of in `widget-field-list'.
41 * help.el (help-manyarg-func-alist): Correct entry for `vconcat'.
42 (help-make-xrefs): Delete extraneous newlines at the end of the
45 2000-11-25 Jason Rumney <jasonr@gnu.org>
47 * startup.el (command-line): Call set-locale-environment after
48 Window System init file is read, as it can result in a call to
51 2000-11-25 Eli Zaretskii <eliz@is.elta.co.il>
53 * simple.el (shell-command): Mention the effect of the prefix
54 argument in the doc string.
56 2000-11-25 Miles Bader <miles@gnu.org>
58 * cus-face.el (custom-face-attributes): Add "None" choice to :stipple.
60 * wid-edit.el (widget-field-value-delete): Don't try to delete
61 overlay when it's the `pseudo-overlay' that exists at some points.
63 2000-11-24 Jason Rumney <jasonr@gnu.org>
65 * international/mule-cmds.el (locale-language-names): Add "jp" as
66 a non-standard alternative for Japanese.
68 2000-11-24 Andre Spiegel <spiegel@gnu.org>
70 * vc-hooks.el: Require 'cl during compilation.
72 2000-11-24 Gerd Moellmann <gerd@gnu.org>
74 * faces.el (face-set-after-frame-default): Let face attributes
75 specified for new frames override frame parameters.
77 * startup.el (command-line): Fix computation of the source file
78 for user-init-file when user-init-file is a compiled file.
80 2000-11-24 Miles Bader <miles@gnu.org>
82 * cus-edit.el (custom-filter-face-spec, custom-pre-filter-face-spec)
83 (custom-post-filter-face-spec): New functions.
84 (custom-face-set, custom-face-value-create): Filter the face spec
85 before and after customization.
86 (custom-face-set): If VALUE specifies a null face, pass a
87 non-null-but-otherwise-ignored face-spec instead to `face-spec-set'.
88 * cus-face.el (custom-face-attributes): Remove SET and GET
89 functions. Add some IN-FILTER and OUT-FILTER functions in the few
92 * wid-edit.el (checkbox): Add a small `X' to the the :on-glyph, so
93 that it's distinguishable from the :off-glyph on dark-background
94 displays. Set its background color too.
96 * cus-start.el (all): Restore entry for `mode-line-inverse-video',
97 so that people can easily turn it off.
99 2000-11-24 Michael Kifer <kifer@cs.sunysb.edu>
101 * ediff-diff.el: Moved variables around to have it compile under NT.
103 * ediff-help.el (ediff-use-long-help-message): Made it customizable.
105 * ediff-init.el (ediff-abbrev-jobname): Use capitalize.
107 * ediff-wind.el (ediff-skip-unsuitable-frames): Deleted the
108 redundant skip-small-frames test.
110 * viper-cmd.el (viper-change-state-to-vi): Disable overwrite mode.
111 (viper-downgrade-to-insert): protect against errors in hooks.
113 * viper-init.el (viper-vi-state-hook,viper-insert-state-hook)
114 (viper-replace-state-hook,viper-emacs-state-hook): Do cursor handling.
115 (viper-restore-cursor-type,viper-set-insert-cursor-type): New
118 * viper-util.el (viper-memq-char): Bug fixes.
120 * viper.el (viper-mode): Fix cursor handling.
122 2000-11-24 Kenichi Handa <handa@etl.go.jp>
124 * international/mule-diag.el (list-iso-charset-chars): For
125 two-byte charset, fix the `while' condition.
126 (list-non-iso-charset-chars): Fix the `while' condition.
128 2000-11-23 Stefan Monnier <monnier@cs.yale.edu>
130 * subr.el (add-hook, remove-hook): Don't call make-local-hook
131 if the variable is make-variable-buffer-local.
133 * progmodes/ada-stmt.el (ada-template-map): Initialize
134 and bind it to C-c t in ada-mode-map.
135 (ada-stmt-mode-hook): New function extracted from old code.
136 Only change the buffer-local side of skeleton-*.
137 (ada-mode-hook): Use it.
139 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
141 * iswitchb.el (iswitchb-minibuf-depth): New variable.
142 (iswitchb-read-buffer): Record in iswitchb-minibuf-depth the value
143 we expect to be returned by minibuffer-depth once we prompt the
144 user in the minibuffer.
145 (iswitchb-entryfn-p): If minibuffer-depth returns the same value
146 as recorded in iswitchb-minibuf-depth, return non-nil.
148 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
150 * hscroll.el (turn-on-hscroll, hscroll-mode, hscroll-global-mode)
151 (hscroll-window-maybe): Docstring fix.
153 2000-11-23 Dave Love <fx@gnu.org>
155 * rect.el (string-rectangle): Don't test delete-selection-mode.
157 2000-11-23 Gerd Moellmann <gerd@gnu.org>
159 * avoid.el (mouse-avoidance-too-close-p): Return nil if mouse
162 * dired-aux.el (dired-add-entry): Don't call dired-get-filename
163 with `no-dir'; we want the directory part to be able to remove
166 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
168 * textmodes/outline.el (outline-flag-region):
169 Don't bind inhibit-read-only since we don't modify the buffer.
170 (outline-isearch-open-invisible): Don't jump to overlay-start
171 since we're trying to unhide text around point.
172 (outline-discard-overlays): Use dolist.
174 * autoinsert.el (auto-insert-alist): Add `provide' to elisp skeleton.
176 2000-11-22 Gerd Moellmann <gerd@gnu.org>
178 * mail/rmail.el (rmail-confirm-expunge): Default to
181 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
183 * textmodes/tex-mode.el (tex-font-lock-keywords-1):
184 Fix ARG regexp to skip quoted braces.
185 (tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
186 Remove `bf' and `it' from `bold' and `italic' (they were wrong and
187 are (correctly) handled separately).
188 Remove `caption' and `footnote' from `citations': they contain text.
189 Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
190 (latex-skeleton-end-hook): New function.
191 (latex-mode): Use it.
192 (tex-start-tex-marker): Remove.
193 (tex-send-tex-command): Don't set tex-start-tex-marker.
194 (tex-error-parse-syntax-table): New var.
195 (tex-compilation-parse-errors): Use it.
196 Ignore tex-start-tex-marker. Don't bother with marker-position.
197 (tex-validate-buffer): Don't bother with marker-position.
199 * textmodes/flyspell.el (flyspell-prog-text-faces): New var.
200 (flyspell-generic-progmode-verify): Use it.
202 2000-11-22 Sam Steingold <sds@gnu.org>
204 * simple.el (delete-trailing-whitespace): New interactive
207 * progmodes/ada-mode.el (ada-mode): Use it instead of
208 `ada-remove-trailing-spaces'.
209 (ada-remove-trailing-spaces): Removed.
211 * textmodes/two-column.el (2C-merge): Recommend it in the doc.
213 * textmodes/picture.el (picture-clean): Removed.
214 (picture-mode-exit): Call it instead of `picture-clean'.
216 2000-11-22 Gerd Moellmann <gerd@gnu.org>
218 * frame.el (show-cursor-in-non-selected-windows): Doc fix.
220 * hi-lock.el (hi-lock-refontify): Don't call non-existent
221 jit-lock-fontify-buffer; it should anyway be unneccessary to
222 do anything special when jit-lock is active.
223 (hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
225 2000-11-22 Dave Love <fx@gnu.org>
227 * calendar/todo-mode.el (todo-top-priorities): Use
228 todo-tmp-buffer-name. From Milan Zamazal <Milan.Zamazal@qbizm.com>.
230 * language/chinese.el, language/cyrillic.el:
231 * language/devanagari.el, language/ethiopic.el, language/greek.el:
232 * language/hebrew.el, language/indian.el, language/japanese.el:
233 * language/korean.el, language/lao.el, language/misc-lang.el:
234 * language/thai.el, language/tibetan.el, language/vietnamese.el:
237 * cus-edit.el (custom-buffer-create-internal): Save some consing.
238 (custom-variable-set): Improve validation error mesage.
240 * rect.el (string-rectangle): Revert last change.
241 (string-rectangle-line): New arg DELETE.
242 (string-rectangle): Check delete-selection-mode.
244 * emacs-lisp/edebug.el (edebug-version)
245 (edebug-maintainer-address): Deleted.
246 (edebug-submit-bug-report): Just alias to report-emacs-bug.
247 (edebug-read-function): Account for other `'#' read forms.
248 (edebug-mode-menus): Make some items toggles.
249 (edebug-outside-unread-command-event, unread-command-event):
250 Remove these to avoid warnings.
252 2000-11-22 David Ponce <david@dponce.com>
254 * recentf.el (recentf-menu-items-for-commands)
255 (recentf-make-menu-items, recentf-make-menu-item)
256 (recentf-filter-changer): Added :help and :active menu-item properties.
258 (recentf-build-dir-rules, recentf-dump-variable)
259 (recentf-edit-list, recentf-open-files-item)
260 (recentf-open-files): Replaced unnecessary `mapcar' with new
263 2000-11-23 Miles Bader <miles@gnu.org>
265 * faces.el (menu): Make inverse-video on ttys too.
267 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
269 * simple.el (comment-line-break-function): Use the new name
270 indent-new-comment-line -> comment-indent-new-line.
271 (clone-indirect-buffer): Don't ignore NORECORD.
272 (next-completion): Properly handle the case where items are adjacent.
274 * mouse.el (popup-menu): Stupid typo.
276 2000-11-22 Gerd Moellmann <gerd@gnu.org>
278 * emacs-lisp/authors.el: Remove autoload cookies, add author,
279 maintainer, keywords tags.
281 * rect.el (replace-rectangle): Don't call string-rectangle-line
282 with too many arguments.
284 2000-11-22 Andre Spiegel <spiegel@gnu.org>
286 * ediff-util.el (ediff-file-checked-out-p)
287 (ediff-file-checked-in-p): Call vc-state instead of
288 vc-locking-user, which no longer exists.
290 * emulation/viper-util.el (viper-file-checked-in-p): Same as above.
292 2000-11-22 Dave Love <fx@gnu.org>
294 * md5.el (md5): Provide.
295 (md5): Fix error call.
297 2000-11-22 Miles Bader <miles@gnu.org>
299 * textmodes/refill.el (refill-adjust-ignorable-overlay)
300 (refill-fill-paragraph-at): Remove debugging code.
302 * calendar/calendar.el (generate-calendar-window): When we don't
303 call `fit-window-to-buffer', make sure the top line is fully visible.
305 * image-file.el (insert-image-file): Don't make `read-only'
306 property rear-nonsticky.
308 * isearch.el (isearch-original-minibuffer-message-timeout): New var.
309 (isearch-mode): Set `minibuffer-message-timeout' to nil, after
310 stashing away its original value.
311 (isearch-edit-string): Temporarily restore `minibuffer-message-timeout'
312 in the recursive edit.
313 Bind `isearch-original-minibuffer-message-timeout' to protect it.
314 (isearch-done): Restore `minibuffer-message-timeout'.
316 * cus-start.el: Remove entry for `mode-line-inverse-video'.
318 2000-11-21 Stefan Monnier <monnier@cs.yale.edu>
320 * progmodes/ada-mode.el (ada-mode): `set '' -> `setq'.
322 * find-lisp.el (find-lisp-find-files-internal):
323 Use dolist, when and file-name-as-directory.
325 * emacs-lisp/edebug.el (edebug-form-spec prop): Use dolist.
326 (define-derived-mode, define-minor-mode): Add specs.
328 * window.el: General comment and spacing fixes.
329 (save-selected-window): Use backquotes.
330 (window-safely-shrinkable-p): New function.
331 (shrink-window-if-larger-than-buffer): Use it.
333 * subr.el (make-local-hook): Docstring fix.
335 * shell.el (shell-mode): Use define-derived-mode.
337 * newcomment.el (comment-indent): Insert comment before calling
338 comment-indent-function. Don't insert in column 0.
339 (comment-dwim): Indent before inserting comment.
341 * isearch.el (isearch-mode-map): Fix docstring. Init in defvar.
342 (minibuffer-local-isearch-map): Init in defvar. Use inheritance.
343 (isearch-clean-overlays, isearch-range-invisible, isearch-unread):
344 Use mapc rather than map.
346 * files.el (find-buffer-visiting): Compare all attributes before
347 declaring two files identical (rather than just their inode-no).
348 (auto-mode-alist): Use \' rather than $.
350 * which-func.el: Update maintainer line.
352 * pcvs.el (uniquify-buffer-file-name): Remove advice.
353 * uniquify.el (uniquify-list-buffers-directory-modes): New var.
354 (uniquify-buffer-file-name): Use it.
356 2000-11-22 Miles Bader <miles@gnu.org>
358 * cus-start.el: Add entry for `minibuffer-prompt-properties'.
359 * simple.el (minibuffer-avoid-prompt): New function.
361 2000-11-21 Gerd Moellmann <gerd@gnu.org>
363 * Makefile.in (.SUFFIXES): Add .SUFFIXES.
365 2000-11-21 Miles Bader <miles@gnu.org>
367 * emacs-lisp/advice.el (ad-special-forms): Correct the conditional
368 inclusion of `track-mouse'.
370 * textmodes/refill.el (refill-ignorable-overlay): New variable.
371 (refill-adjust-ignorable-overlay): New function.
372 (refill-fill-paragraph-at): Use `refill-ignorable-overlay' to fill
373 only the paragraph's tail if possible.
374 Update `refill-ignorable-overlay'.
375 (refill-mode): Initialize/cleanup `refill-ignorable-overlay'.
377 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
378 point inside the fill-prefix.
380 * textmodes/refill.el (refill-post-command-function): Don't reset
381 refill-doit in the case where a self-insertion command doesn't
382 case a refill. Use `refill-fill-paragraph-at', getting position
384 (refill-after-change-function): Set `refill-doit' to END.
385 (refill-fill-paragraph-at): New function, mostly from old
386 refill-fill-paragraph.
387 (refill-fill-paragraph): Use `refill-fill-paragraph-at'.
388 (refill-pre-command-function): New function.
389 (refill-mode): Add it to `pre-command-hook'.
391 2000-11-20 Gerd Moellmann <gerd@gnu.org>
393 * textmodes/artist.el (artist-mode): Fix autoload cookie.
395 * font-lock.el (java-keywords): Add MATCH-HIGHLIGHT part for
398 2000-11-20 Andre Spiegel <spiegel@gnu.org>
400 * vc.el, vc-hooks.el: Undo prev change (moved functions back to
403 * vc-rcs.el (vc-rcs-state): Before calling vc-workfile-unchanged-p,
406 * vc-cvs.el (vc-cvs-checkout): Fix bug that broke C-x v ~-style
409 2000-11-20 Dave Love <fx@gnu.org>
411 * Makefile.in (DONTCOMPILE): Omit bindings.el.
413 2000-11-20 Gerd Moellmann <gerd@gnu.org>
415 * calculator.el: New version from author.
417 2000-11-19 Gerd Moellmann <gerd@gnu.org>
419 * info.el (info-menu-5): Doc fix.
421 * textmodes/artist.el: New file.
423 2000-11-19 Andre Spiegel <spiegel@gnu.org>
425 * vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
426 and differentiate according to checkout model.
427 (vc-rcs-fetch-master-state): Don't call vc-workfile-unchanged-p,
428 since this function is only concerned with master state.
430 * vc-hooks.el (vc-workfile-unchanged-p,
431 vc-default-workfile-unchanged-p): Moved here from vc.el.
433 * vc.el (vc-workfile-unchanged-p,
434 vc-default-workfile-unchanged-p): See above.
436 2000-11-19 Miles Bader <miles@gnu.org>
438 * image-file.el (insert-image-file): Make `intangible' and
439 `read-only' properties rear-nonsticky too.
441 2000-11-18 Gerd Moellmann <gerd@gnu.org>
443 * ps-print.el: Update copyright notice.
445 * tooltip.el (tooltip-x-offset, tooltip-y-offset): New user-options.
446 (tooltip-show): Use the offsets.
448 * bindings.el (mode-line-modified): Fix a typo.
449 (mode-line-toggle-modified, mode-line-widen)
450 (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
452 2000-11-17 Gerd Moellmann <gerd@gnu.org>
454 * ps-print.el: Minor fixes from author.
456 2000-11-16 Stefan Monnier <monnier@cs.yale.edu>
458 * vc.el (vc-version-diff): Bind inhibit-read-only when inserting text.
459 (vc-version-backup-file): Docstring fix.
461 2000-11-16 Gerd Moellmann <gerd@gnu.org>
463 * files.el (basic-save-buffer): Don't add a newline if
464 find-file-literally is non-nil.
465 (find-file-literally): Extend doc string.
467 * sort.el (sort-columns): If sort-fold-case it non-nil, invoke
468 sort(1) with the `-f' argument.
470 2000-11-16 Andre Spiegel <spiegel@gnu.org>
472 * vc.el: Updated backend documentation.
473 (vc-default-check-headers): New function.
475 * vc-{cvs,rcs,sccs}.el: Functions reordered.
477 * vc.el (vc-revert-buffer): Ask for confirmation if file seems
479 (vc-do-command): In the asynchronous case, output messages only if
480 the minibuffer is not active.
482 * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
483 `vc-cvs-use-edit' is on.
484 (vc-cvs-checkout): When this is used for reverting the workfile,
485 make a backup of the original contents and revert to that in case
487 (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
490 * vc.el (vc-annotate): Changed handling of prefix arg; now asks
491 for both version and ratio in the minibuffer.
493 * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
494 Use vc-do-command to perform the annotation, not call-process.
496 2000-11-16 Kenichi Handa <handa@etl.go.jp>
498 * international/quail.el (quail-start-translation): Don't call
499 `message' before reading key sequence.
501 2000-11-16 Miles Bader <miles@lsi.nec.co.jp>
503 * net/ange-ftp.el (ange-ftp-file-modtime): Don't use `caddr'.
505 2000-11-16 Kenichi Handa <handa@etl.go.jp>
507 * window.el (fit-window-to-buffer): Be sure to acquire at least
508 one text line even if the buffer is empty.
510 2000-11-16 Gerd Moellmann <gerd@gnu.org>
512 * net/ange-ftp.el (ange-ftp-file-writable-p)
513 (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
514 ange-ftp-process-verbose to nil.
516 2000-11-15 Dave Love <fx@gnu.org>
518 * wid-edit.el (widget-specify-field, widget-specify-button): If
519 :help-echo is a function, set help-echo of overlay to
521 (widget-mouse-help): New function.
522 (widget-echo-help): Rewritten for :help-echo functions only taking
525 * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
527 (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
528 and that JPEG is available.
529 (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
531 * international/mule-cmds.el (locale-charset-language-names):
534 2000-11-15 Gerd Moellmann <gerd@gnu.org>
536 * faces.el (face-set-after-frame-default): If
537 `inhibit-default-face-x-resources' is bound, don't intialize the
538 default face from X resources.
540 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
542 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
543 Don't set EMACSLOADPATH.
545 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
547 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
549 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
550 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
552 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
554 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
555 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
556 (checkdoc-minor-keymap): Backward compatibility.
557 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
558 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
559 (checkdoc-this-string-valid-engine): Be a bit more strict
560 to avoid matching substrings of `...' quoted vars/funs.
561 (checkdoc-defun-info): Only look for `interactive' if alone.
562 (debug-ignored-errors): Add "arg doesn't appear in docstring".
564 * progmodes/compile.el (grep): `tag-default' can be nil.
566 * newcomment.el (comment-indent): Paren typo.
568 2000-11-14 Dave Love <fx@gnu.org>
570 * calculator.el: New maintainer version.
572 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
574 * cmuscheme.el: Doc fixes.
575 (cmuscheme) <defgroup>: Use `scheme' as parent.
576 (cmuscheme-program-name): Remove. Change uses to
579 * xscheme.el (scheme-program-name): Don't define here.
581 * progmodes/scheme.el (scheme-program-name): New variable
582 (originally in cmuscheme).
584 2000-11-14 Miles Bader <miles@gnu.org>
586 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
587 Handle header-lines. Don't loop forever if we can't enlarge the
588 window anymore. Simplify a bit.
590 2000-11-14 Kenichi Handa <handa@etl.go.jp>
592 * window.el (fit-window-to-buffer): Don't check
593 window-text-height. Assure that the last line is fully visible.
595 * international/quail.el (quail-show-guidance-buf): Call
596 fit-window-to-buffer to assure the enough height of the guidance
598 (quail-update-guidance): Avoid making the guidance buffer shorter.
600 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
602 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
603 rather than `prepend' and add an interesting comment.
604 (tex-math-face, tex-font-lock-syntactic-face-function):
605 New face and function to use it.
606 (tex-define-common-keys, tex-mode-map): Use menu-item rather
607 than `menu-enable' symbol property.
608 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
609 (tex-mode): Add some latex-mode commands for auto-selection.
610 Use tex-font-lock-syntactic-face-function.
611 (tex-insert-quote): Simplify.
612 (tex-shell): New mode.
613 (tex-start-shell): Use it.
614 (tex-shell-proc, tex-shell-buf): New functions.
615 (tex-send-command): Use it.
616 (tex-main-file): Fix the meaning of the new arg REALFILE.
617 (tex-send-tex-command): New function split from `tex-start-tex'.
618 Set compilation-last-buffer and compilation-parsing-end.
620 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
621 when it follows non-comment text on the line.
623 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
624 Set font-lock-defaults.
625 (lisp-mode-shared-map): Init inside the defvar.
626 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
627 Use define-derived-mode.
629 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
631 * faces.el (header-line): Use `:box nil' for color/gs displays too.
633 2000-11-14 Gerd Moellmann <gerd@gnu.org>
635 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
636 recursively optimize body because that can lead to infinite
637 recursion; see comment there.
639 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
641 * faces.el (face-spec-set-match-display): Revert the change from
642 2000-10-24. Add a FIXME for after v21.1.
644 2000-11-13 Miles Bader <miles@gnu.org>
646 * textmodes/fill.el (skip-line-prefix): New function.
647 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
648 (fill-paragraph): Don't leave point inside the fill-prefix.
649 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
650 point inside the fill-prefix.
652 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
654 * calendar/calendar.el (generate-calendar-window): Use
655 `fit-window-to-buffer'.
657 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
659 * gud.el (gud-minor-mode): New var.
660 (gud-symbol, gud-val): New functions.
661 (gud-find-file): Copy gud-minor-mode to the new buffer.
662 (gud-menu-map): Include entries for commands that are not always
663 available, using :enable to (de)activate them.
664 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
665 (gud-mode-map): New map.
666 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
667 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
668 Don't set up gud's menu (it's done by the minor-mode).
669 (gud-minibuffer-local-map): New.
670 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
671 (gud-query-cmdline): New function.
672 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
673 (gud-mode): Use define-derived-mode.
674 Don't set up gud's menu (it's done by the minor-mode).
675 (gud-chop-words): Remove.
676 (gud-common-init): Use split-string instead.
677 (gud-new-keymap, gud-make-debug-menu): Eradicate.
679 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
680 Add keyword arg :name.
682 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
683 (diff-count-matches, diff-split-hunk): New functions.
684 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
686 * pcvs-info.el (cvs-fi-conflict-face): New var.
688 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
689 Make it into a simple syntax-table, shared among all submodes.
690 (sh-heredoc-face): Re-introduce.
691 (sh-font-lock-syntactic-face-function): New function.
692 (sh-mode): Use it. Also use define-derived-mode.
693 Remove old bogus setting of indent-region-function.
694 (sh-set-shell): Don't set the syntax-table any more.
695 (sh-mode-syntax-table) <defun>: Remove.
697 2000-11-12 Miles Bader <miles@gnu.org>
699 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
700 message if interactive.
702 2000-11-12 Dave Love <fx@gnu.org>
704 * mail/feedmail.el: Fix header,
705 (feedmail) <defgroup>: Add :link.
707 * view.el: Use local-map property, not keymap on mode-line string.
709 * scroll-all.el (scroll-all-mode): Customize variable. Add
710 autoload cookie to function.
712 * lazy-lock.el: Remove compatibility code.
714 * finder.el (finder-known-keywords): Add `files', remove `vms'.
715 (finder-help-echo): New variable.
716 (finder-mouse-face-on-line): Add help-echo stuff.
717 (finder-list-keywords, finder-list-matches): Use mapc.
719 * faces.el (face-font-registry-alternatives): Add :version.
721 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
724 * net/browse-url.el (browse-url-browser-function): Update :version.
726 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
727 (mail-mode): Use [:alnum:] in some regexps.
729 2000-11-10 Dave Love <fx@gnu.org>
731 * ediff.el (ediff-regions-internal, ediff-documentation):
732 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
735 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
736 buffer into fundamental mode.
737 (ediff-set-difference): Use copy-sequence if available.
739 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
740 ediff-patch-map non-nil.
741 (ediff-fixup-patch-map, ediff-fixup-patch-map)
742 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
743 buffer into fundamental mode.
745 * ediff-merg.el (state-or-merge): Defvar when compiling.
747 2000-11-10 Jason Rumney <jasonr@gnu.org>
749 * w32-fns.el (w32-add-charset-info): New function.
750 (w32-charset-info-alist): Use it.
752 2000-11-10 Gerd Moellmann <gerd@gnu.org>
754 * faces.el (face-font-registry-alternatives): New user-option.
756 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
758 * textmodes/texinfo.el (texinfo-block-default): New var.
759 (texinfo-insert-block): Use it. Insert a newline if needed.
761 * textmodes/fill.el (fill-indent-according-to-mode): New var.
762 (fill-region-as-paragraph): Use it.
764 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
765 (latex-mode): Tweak tex-*-(head|trail)er regexps.
766 Tweak paragraph regexps to allow a leading [ \t]*.
767 (tex-latex-block): Insert a newline if necessary.
768 (latex-insert-item): Only insert a newline if necessary.
769 (tex-guess-main-file): New function.
770 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
771 Set tex-main-file if TeX-master is provided.
772 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
774 2000-11-10 Gerd Moellmann <gerd@gnu.org>
776 * startup.el (command-line): Set the default tooltip-mode
777 to t for graphical displays which implement x-show-tip.
779 * tooltip.el (tooltip-mode): Add a comment about startup.el
780 setting the default value of this user-option.
782 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
784 * font-lock.el (font-lock-*-face) <defvar>: Move.
785 (font-lock-defaults-alist): Mark obsolete.
786 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
787 (font-lock-mode): Use define-minor-mode.
788 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
789 (font-lock-turn-off-thing-lock): Be more explicit.
790 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
791 (font-lock-syntactic-face-function): New var.
792 (font-lock-fontify-syntactically-region): Use it.
793 (font-lock-doc-face): New.
795 * pcvs.el (cvs-enabledp): Ignore errors.
796 (cvs-commit-filelist): Never query.
797 (cvs-mode-insert): Always add a terminating / in the initial prompt.
798 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
799 (cvs-do-removal): Use cvs-partition rather than delete-if.
800 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
803 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
804 Allow `next' to jump to after the end of the last match.
806 2000-11-09 Gerd Moellmann <gerd@gnu.org>
808 * simple.el (byte-compiling-files-p): New function.
810 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
813 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
816 * textmodes/ispell.el (ispell-library-path): Don't call
817 check-ispell-version when byte-compiling because that starts
818 an ispell process, and ispell might not be installed.
819 (toplevel): Don't set up a menu when byte-compiling.
821 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
822 it, so that a boundp test can be used to determine if we're
823 currently byte-compiling.
825 2000-11-09 Dave Love <fx@gnu.org>
827 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
830 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
832 * ps-print.el: Patch for variable initialization when spooling. Doc
834 (ps-output-list): Fun eliminated.
835 (ps-begin-file, ps-begin-job): Code fix.
837 2000-11-08 Dave Love <fx@gnu.org>
839 * ediff-wind.el (ediff-control-frame-parameters): Zero
842 2000-11-08 Gerd Moellmann <gerd@gnu.org>
844 * simple.el (shell-command, display-message-or-buffer)
845 (shell-command-on-region): Mention resize-mini-windows in the doc
847 (display-message-or-buffer): Take the value of resize-mini-windows
850 2000-11-07 Gerd Moellmann <gerd@gnu.org>
852 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
854 * dired.el (dired-between-files): Add `^. find' as an alternative
855 to the regular expression, for find-dired.
857 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
859 * textmodes/texnfo-upd.el: Require texinfo.
860 (defmacro, defgroup): Remove.
861 (texinfo-section-to-generic-alist): Remove.
862 Use texinfo-section-list instead (i.e. level is changed string->int).
863 (texinfo-filter): New function.
864 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
865 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
866 Use it. And use regexp-opt.
867 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
868 (texinfo-update-menu-region-beginning)
869 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
870 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
871 (texinfo-update-menu-same-level-regexps): Update.
872 (texinfo-update-node, texinfo-every-node-update)
873 (texinfo-sequential-node-update): Remove autoload cookie.
875 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
876 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
877 (texinfo-chapter-level-regexp): Remove.
878 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
880 2000-11-06 Dave Love <fx@gnu.org>
882 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
884 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
887 2000-11-06 Kenichi Handa <handa@etl.go.jp>
889 * composite.el (composition-function-table): Variable declaration
890 moved to src/composite.c.
891 (compose-chars-after): New optional arg object.
893 2000-11-06 Gerd Moellmann <gerd@gnu.org>
895 * bindings.el (mode-line-toggle-read-only)
896 (mode-line-toggle-modified, mode-line-widen)
897 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
898 (make-mode-line-mouse2-map): Rewritten.
899 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
900 functions so that C-h k can show something with a doc string.
902 * startup.el (fancy-splash-delay): Set to 10 seconds.
903 (fancy-splash-max-time): New user-option.
904 (fancy-splash-stop-time): New variable.
905 (fancy-splash-screens): Set it. Catch `stop-splashing'.
906 (fancy-splash-screens-1): Throw `stop-splashing' when current
907 time is greater than fancy-splash-stop-time.
909 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
911 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
913 * pcvs.el (cvs-mode-marked): New arg `noquery'.
914 Prompt user for a file rather than raising an error.
915 (cvs-enabledp): Fix call to cvs-mode-marked.
916 (cvs-insert-file): New function (extracted from cvs-mode-insert).
917 (cvs-mode-insert): Use it. Change the init prompt' value.
918 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
920 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
921 Don't pass default arg to ewoc-locate.
922 (ewoc-collect): Return result in the right order.
924 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
926 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
927 (cvs-status-get-tags): Fix regexp.
928 (cvs-status-trees, cvs-status-cvstrees):
929 Combine after change hooks and don't sit-for.
930 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
931 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
932 Use make-char rather than hard-coded cryptic data.
933 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
935 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
937 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
938 (cvs-insert-strings): New function.
940 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
942 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
943 `mwheel-scroll-amount'.
944 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
945 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
946 string-matching against the version string.
948 2000-11-06 Kenichi Handa <handa@etl.go.jp>
950 * language/thai.el ("Thai"): Set a lisp form that produces
951 composed string in `sample-text' language info.
953 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
954 composed string in `sample-text' language info.
956 * international/mule-cmds.el (describe-language-environment): Eval
957 `sample-text' data and insert the result.
959 * international/mule-conf.el (compound-text): Define this coding
960 system here. Make x-ctext and ctext aliases of it.
962 * language/european.el (compound-text, ctext): Moved to
963 international/mule-conf.el.
965 2000-11-05 Andrew Innes <andrewi@gnu.org>
967 * w32-fns.el (w32-version): New function.
969 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
971 * progmodes/awk-mode.el: Update copyright.
972 (awk-mode-abbrev-table): Remove.
973 (awk-font-lock-keywords): Use regexp-opt.
974 (awk-mode): Use define-derived-mode.
976 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
977 when extracting a suffix.
979 2000-11-04 Andre Spiegel <spiegel@gnu.org>
981 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
984 2000-11-04 Jason Rumney <jasonr@gnu.org>
986 * language/european.el (decode-mac-roman): Test against r1 not r0.
988 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
990 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
991 (icon-mode): Define indent-line-function.
992 (icon-comment-indent): Simplify.
993 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
995 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
997 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
998 Bind change-log-default-mode to defeat the caching done on it.
999 Don't bother saving excursion any more.
1001 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
1003 * frame.el (after-setting-font-hook): Rename hooks -> hook.
1004 (set-frame-font): Use the new name (and the old for compatibility).
1006 * toolbar/tool-bar.el (tool-bar-mode):
1007 * time.el (display-time-mode):
1008 * recentf.el (recentf-mode):
1009 * paren.el (show-paren-mode):
1010 * mwheel.el (mouse-wheel-mode):
1011 * msb.el (msb-mode):
1012 * jka-compr.el (auto-compression-mode):
1013 * image-file.el (auto-image-file-mode):
1014 * hl-line.el (hl-line-mode):
1015 * delsel.el (delete-selection-mode):
1016 * autoinsert.el (auto-insert-mode):
1017 * complete.el (partial-completion-mode): Drop unneeded positional args.
1019 * info.el (Info-mode):
1020 * comint.el (comint-mode): Don't bother with make-local-hook.
1022 * log-edit.el (log-edit-menu): New menu.
1024 2000-11-03 Miles Bader <miles@gnu.org>
1026 * wid-edit.el (widget-end-of-line): Reinstate, with a new
1027 definition, so that trailing spaces are handled properly.
1028 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
1030 2000-11-03 Gerd Moellmann <gerd@gnu.org>
1032 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
1034 (fancy-splash-screens): Set tab-width to 20.
1036 2000-11-03 Dave Love <fx@gnu.org>
1038 * comint.el (comint-completion-addsuffix): Fix custom type.
1040 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
1042 * font-lock.el (font-lock-buffers): Remove.
1043 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
1044 (font-lock-change-major-mode): Remove.
1045 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
1046 (font-lock-default-fontify-region): Extend the multiline
1047 fontification to whole lines.
1048 (font-lock-fontify-anchored-keywords)
1049 (font-lock-fontify-keywords-region): If matching just one
1050 line (with \n) only mark the \n as multiline.
1052 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
1053 Correctly handle the case where several :group args are supplied.
1055 (easy-mmode-define-global-mode): Allow :extra-args.
1056 Correctly handle the case where several :group args are supplied.
1058 2000-11-02 Miles Bader <miles@gnu.org>
1060 * calendar/calendar.el (diary-face, calendar-today-face)
1061 (holiday-face): Remove dependency on `window-system'.
1063 2000-11-02 Ken Raeburn <raeburn@gnu.org>
1065 * Makefile.in (emacs): Set EMACSLOADPATH always.
1066 (update-authors, .el.elc, compile-files): Don't do it explicitly
1068 (compile-files): Bomb out if compilation of a file fails.
1070 2000-11-02 Dave Love <fx@gnu.org>
1072 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
1074 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
1076 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
1077 punctuation in the warning inserted into the *mail* buffer.
1079 2000-11-02 Gerd Moellmann <gerd@gnu.org>
1081 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
1082 (authors-public-domain-p): New function.
1083 (authors-print): Use it.
1085 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
1087 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
1089 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1091 * ps-print.el: Extension for even/odd printing. Doc fix.
1092 (ps-print-version): New version number (6.3.1).
1093 (ps-even-or-odd-pages): Customization fix.
1094 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
1095 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
1096 (ps-page-count): Var replaced by `ps-page-column'.
1097 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
1098 (ps-print-sheet-p): New fun.
1100 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1102 * tooltip.el (tooltip-gud-tips-setup): New function.
1103 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
1104 (tooltip-mode): Call tooltip-gud-tips-setup.
1105 (tooltip-gud-tips): Use `gud-basic-call' instead of
1106 process-send-string, so the prompt gets frobbed appropriately.
1107 Handle nil return value from `tooltip-gud-print-command'.
1109 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
1111 * comint.el (comint-add-to-input-history): New function.
1112 (comint-send-input): Use `comint-add-to-input-history'.
1114 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1116 * info.el (info-menu-header): New face.
1117 (Info-fontify-menu-headers): New function.
1118 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
1120 * info.el (Info-insert-dir): Don't include blank lines at
1121 beginning of additional dir files (one is added automatically).
1123 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
1125 * emacs-lisp/easy-mmode.el (define-minor-mode):
1126 Revert the latest changes.
1127 Allow the three positional arguments to be skipped and replaced
1128 by keyword arguments.
1129 Add a :toggle argument to determine whether a nil arg means toggle
1130 or means turn-on. The default is unchanged.
1131 Add a call to force-mode-line-update.
1133 2000-11-01 Dave Love <fx@gnu.org>
1135 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
1138 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
1140 * calendar/calendar.el (diary-face, holiday-face): Add
1141 dark-background variants.
1143 2000-10-31 Sam Steingold <sds@gnu.org>
1145 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
1146 `tex-main-file' does not have directory in it.
1148 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
1150 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
1152 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
1154 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
1157 2000-10-31 Gerd Moellmann <gerd@gnu.org>
1159 * files.el (find-file-noselect): When we expand a wildcard, return
1160 a list of buffers, as we should do according to the doc string.
1162 2000-10-31 Ken Raeburn <raeburn@gnu.org>
1164 * loadup.el (top level): Adjust load path if program name is
1165 "../src/bootstrap-emacs", in case it's not dumped and thus the
1166 load path adjustment hasn't already been done.
1168 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1170 * ps-print.el: Fix bug on selected pages for printing. Use
1171 `color-values' for Emacs 21. Ensure fontification when jit-lock
1172 is on. Try to avoid warning messages when compiling. Doc Fix.
1173 (ps-print-version): New version number (6.3).
1174 (ps-color-device): Use `color-values' to determine if device
1176 (ps-color-values): Try to use `x-color-values' when using XEmacs.
1177 (ps-print-page-p): Changed from defsubst to defun.
1178 (ps-page-number): Changed from defmacro to defun.
1179 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
1181 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
1182 (ps-end-file, ps-dummy-page): Funs eliminated.
1183 (ps-print-color-scale): Changed default value.
1184 (ps-page-n-up, ps-print-page-p): New internal vars.
1185 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
1186 (ps-plot-region, ps-generate, ps-end-job): Code fix.
1188 * delim-col.el: Little programming improvement.
1189 (delimit-columns-str): New macro.
1190 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1192 2000-10-31 Kenichi Handa <handa@etl.go.jp>
1194 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
1195 Moved to european.el.
1196 (ccl-encode-mac-roman-font, fontset-mac): Modified for
1197 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1198 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
1199 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
1201 2000-10-30 Dave Love <fx@gnu.org>
1203 * progmodes/cc-menus.el (imenu-generic-expression)
1204 (imenu-progress-message): Only defvar when compiling.
1206 * emacs-lisp/elp.el (elp-unload-hook): New function.
1208 * loadhist.el (unload-feature): Call elp-restore-function,
1209 checking for symbols; don't use elp-restore-all.
1210 (loadhist-hook-functions): Doc fix.
1212 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
1214 * log-edit.el (log-edit-confirm): Fix the default.
1216 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1218 * delim-col.el: Little fix: replace delimit-columns-align-columns by
1219 delimit-columns-format.
1220 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1222 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
1224 * comint.el (comint-replace-by-expanded-history): Don't use
1225 comint-get-old-input (we're not looking at *old* input).
1226 (comint-get-old-input-default): If using fields, signal an error
1227 when the point is not in an input field.
1229 2000-10-30 Kenichi Handa <handa@etl.go.jp>
1231 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
1232 and mule-unicode-e000-ffff.
1234 * international/mule.el (decode-char, encode-char): New functions.
1235 (make-coding-system): Accept a symbol of translation table as a
1236 value of property `safe-chars'.
1238 * international/mule-cmds.el (encode-coding-char): Check property
1239 safe-chars instead of safe-charsets.
1241 * international/fontset.el (fontset-default): Modified for
1242 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1243 (x-font-name-charset-alist): Likewise.
1244 (ccl-encode-unicode-font): New CCL program. Record it in
1245 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
1247 * language/european.el (mac-roman-decoder, mac-roman-encoder):
1248 New translation tables.
1249 (decode-mac-roman, encode-mac-roman): Definition of these CCL
1250 programs are modified and moved from mac-win.el.
1251 (mac-roman): Definition of this coding system is modified and
1252 moved from mac-win.el.
1254 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1256 * ediff-wind.el (ediff-setup-control-frame): Enclose
1257 face-attribute in condition-case to avoid errors in older emacsen.
1259 2000-10-29 Miles Bader <miles@gnu.org>
1261 * custom.el (custom-add-to-group): Allow multiple entries for a
1262 given value OPTION, as long as their widget types are different.
1263 * cus-edit.el (custom-face-value-create): If face name doesn't end
1264 with "face", add such here (similar to custom group widgets).
1266 * comint.el (comint-highlight-prompt): Add :type.
1268 2000-10-28 John Wiegley <johnw@gnu.org>
1270 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
1271 Changed this function to operate on a temporary buffer instead of
1272 the main buffer. This not only keeps flyspell from marking a
1273 buffer as changed that wasn't, but it solves the jumpy cursor
1274 problem when attempts are made to edit incorrect words.
1275 (flyspell-maybe-correct-doubling): Same change as for
1276 `flyspell-maybe-correct-transposition'.
1278 * calendar/timeclock.el (timeclock-log): Doc fix.
1279 (timeclock-last-event): Doc fix.
1280 (timeclock-log): Kill the timelog buffer after appending a new
1282 (timeclock-find-discrep): Use a temp buffer to read in the
1283 timelog, instead of visiting the file.
1284 (timeclock-log-data): A new function, along with a host of helper
1285 functions, for the purpose of making timelog data accessible to
1288 * eshell/esh-mode.el (window-height test): Make certain that
1289 `eshell-stringify-t' is non-nil.
1290 (eshell-password-prompt-regexp): Changed to a much simpler
1292 (eshell-send-input): If `eshell-invoke-directly' returns t,
1293 directly invoke the parsed command using `eval'. This improves
1294 turn-around time on simple commands by a factor of three or
1295 greater, such as cd, ls, pwd, etc. -- which get used very often.
1296 It also conserves thousands of cons cells per call (since
1297 `eshell-do-eval' consumes memory like a Cookie Monster set loose
1298 in the Pacific Cookie Company).
1300 * eshell/esh-test.el (eshell-test): Whitespace fix.
1302 * eshell/em-ls.el (eshell-ls-insert-directory): Make
1303 `eshell-ls-initial-args' nil when inserting directory contents.
1305 * eshell/em-script.el (eshell-script-initialize): Add names to
1306 `eshell-complex-commands, since `source' and `.' are complex.
1308 * eshell/esh-cmd.el (eshell-rewrite-for-command)
1309 (eshell-rewrite-while-command): Use `eshell-protect' instead of
1310 `eshell-copy-handles'.
1311 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
1313 (eshell-separate-commands): Whitespace fix.
1314 (eshell-complex-commands): Added a new list of names, for
1315 determining whether a given command is as simple as it looks.
1316 (eshell-invoke-directly): New function. Returns t if a command
1317 should be invoked directly (using `eval'), rather than indirectly
1318 using `eshell-do-eval'.
1319 (eshell-do-eval): Whitespace fix.
1321 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
1322 which provides an emulation of the DOS shell behavior of assuming
1323 that cp/mv/ln should copy/move/link to the current directory.
1324 (eshell-remove-entries): Added a doc string.
1325 (eshell-shuffle-files): Removed the check for `target' being null.
1326 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
1327 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
1328 it to do a smarter check of whether a destination was provided.
1329 (eshell/mv, eshell/cp): Enable `:preserve-args'.
1330 (eshell/ln): Enable `:preserve-args', and use
1331 `eshell-mvcpln-template' to implement the body of the function.
1332 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
1333 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
1334 list after flattening it. This makes it possible to cat files
1335 with numerical names.
1336 (eshell-unix-initialize): Added several names to
1337 `eshell-complex-commands.
1338 (eshell-unix-command-complex-p): Return t if a given command name
1339 may result in external processes being invoked.
1341 * eshell/em-glob.el (eshell-glob-show-progress): Make this
1342 variable nil by default, since it slows down glob processing by a
1343 factor of two or more, and increases memory consumption.
1345 * eshell/em-smart.el: Added a note about how memory consumptive
1346 smart display mode can be (at least this is true in Emacs 21).
1347 (eshell-smart-initialize): Whitespace fix.
1348 (eshell-refresh-windows): Use `if' instead of `when'.
1349 (eshell-smart-scroll-window): Calling `save-current-buffer' was
1351 (eshell-currently-handling-window): Added a missing global
1354 * eshell/em-ls.el (eshell-do-ls): Code simplification.
1355 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
1357 (eshell-ls-exclude-hidden): Added this variable in addition to
1358 `eshell-ls-exclude-regexp'. This one prevents files beginning
1359 with . from even being read, which can improve memory consumption
1361 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
1362 read file entries beginning with a dot. In home directories with
1363 lots of hidden files, fully two-thirds of the time spent in ls is
1364 used to read directory entries that are immediately thrown away.
1365 (eshell-ls-initial-args): Added back this configuration variable,
1366 for specifying default initial arguments to every call to ls.
1367 Much faster than using an alias to do the same thing.
1368 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
1369 (eshell-ls-dir): Whitespace change.
1371 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
1373 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
1375 (eshell-stringify-t): Added a customization variable, to indicate
1376 whether `t' should be rendered as a string at all. If not, one
1377 can still determine if the result of an expression is true using
1378 "file-exists-p FILE && echo true".
1379 (eshell-stringify): If `eshell-stringify-t' is nil, don't
1382 * eshell/esh-module.el: Whitespace fix.
1384 * eshell/em-alias.el (eshell-alias-initialize): Added
1385 `eshell-command-aliased-p' to `eshell-complex-commands'.
1386 (eshell-command-aliased-p): New function that returns t if a
1387 command name names an aliased.
1389 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1391 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
1392 redrawing the screen when changing cursor color.
1393 (viper-insert-state-pre-command-sentinel)
1394 (viper-replace-state-pre-command-sentinel)
1395 (viper-replace-state-post-command-sentinel):
1396 Use viper-preserve-cursor-color.
1397 Many functions changed to use viper= instead of = when comparing
1399 * viper-util.el (viper-memq-char,viper=): New functions for
1400 working with characters.
1401 (viper-change-cursor-color): Fixed buglet.
1402 Many functions changed to use viper= instead of = when comparing
1404 * viper.el (viper-insert-state-mode-list): Added eshell.
1406 * ediff-init.el (ediff-before-setup-hook): New hook.
1407 Several typos fixed in various docstrings.
1408 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
1409 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
1411 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
1412 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
1413 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
1414 (ediff-get-selected-buffers): New function.
1415 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
1416 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
1417 save-window-excursion.
1418 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
1419 termination check in while loop.
1420 * ediff.el (ediff-get-default-file-name): Better defaults when in
1422 (ediff-files,ediff-merge-files,ediff-files3)
1423 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
1425 2000-10-28 Dave Love <fx@gnu.org>
1427 * info.el (Info-fontify-node): Add help-echo for menu items.
1429 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
1431 * startup.el (normal-top-level): If the value of $TERM indicates
1432 we are running from xterm or one of its work-alikes, default to a
1433 light background mode.
1435 Support for -fg, -bg, and -rv command-line arguments for TTYs:
1436 * faces.el (tty-handle-reverse-video): New function.
1437 (tty-create-frame-with-faces): Call it.
1439 * frame.el (frame-notice-user-settings): Don't apply
1440 default-frame-alist and initial-frame-alist to MS-DOS frames.
1441 Call tty-handle-reverse-video, frame-set-background-mode, and
1442 face-set-after-frame-default for non-MS-DOS frames.
1444 * startup.el (tty-long-option-alist): New variable.
1445 (tty-handle-args): New function.
1446 (command-line): Call tty-handle-args.
1448 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
1449 startup.el now does that for all character-terminal frames.
1451 2000-10-28 Miles Bader <miles@gnu.org>
1453 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
1454 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
1455 global. If :global is followed by a non-nil but non-t value,
1456 make the mode buffer-local, but also generate a `global-MODE'
1457 version using `easy-mmode-define-global-mode'. Add
1458 :conditional-turn-on keyword argument.
1460 2000-10-28 Dave Love <fx@gnu.org>
1462 * international/latin1-disp.el (latin1-char-displayable-p): Don't
1465 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
1467 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1468 Don't call find-buffer-file-type-coding-system. Instead, just
1469 set eol-type to -unix if inhibit-eol-conversion is in effect, or
1470 if the file is on an untranslated filesystem.
1471 (add-untranslated-filesystem): Use "D" instead of "f" inside
1474 2000-10-27 Dave Love <fx@gnu.org>
1476 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
1477 (refill-mode): Use it.
1479 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
1481 * international/quail.el (quail-activate): Don't make-local-hook.
1483 2000-10-27 Andre Spiegel <spiegel@gnu.org>
1485 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
1486 manual backups and file.~<rev>.~ for automatic ones.
1487 (vc-make-version-backup): Don't do it on MS-DOS without long file
1490 * vc.el (vc-version-other-window): If an automatic backup of the
1491 desired version exists, rename it instead of copying it.
1493 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
1494 after command. If there's an unexpected error, signal it instead
1496 (vc-cvs-merge-news): Be prepared for no news at all.
1498 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
1500 * shell.el (shell): Add BUFFER argument.
1501 * comint.el (make-comint-in-buffer): New function.
1502 (make-comint): Use it.
1504 * faces.el (face-spec-choose): Change syntax so that the list of
1505 attribute-value pairs is now the cdr of each clause, not the cadr.
1506 Detect old-style entries, and handle them. Use pop.
1508 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
1510 * cus-edit.el (custom-mode-map): Use a sparse map.
1511 (custom-mode): Don't bother with make-local-hook.
1513 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
1515 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
1517 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1519 * ps-print.el: Avoid compilation gripes.
1520 (ps-print-version): New version number (6.2.1).
1522 2000-10-26 Dave Love <fx@gnu.org>
1524 * menu-bar.el: Modify some menu item help strings.
1525 (menu-bar-help-menu): Add link to MORE.STUFF.
1527 * cus-edit.el (custom-mode): Add `special' mode-class property.
1529 * wid-browse.el (widget-browse-mode): Likewise.
1531 * wid-edit.el (widget-specify-field): Revert to using local-map
1532 property, not keymap.
1534 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
1536 * wid-edit.el (widget-field-end): When checking for a `boundary'
1537 field, do so in the correct buffer.
1539 * simple.el (undo): Correctly distinguish between numeric and
1540 non-numeric prefix args in non-transient-mark-mode, as per the doc
1541 string. When in transient-mark-mode, treat all prefix-args as
1544 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1545 Position point on match. Handle N == 0 correctly.
1547 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1548 (comint-mode-map): Reverse order of `comint-write-output' and
1549 `comint-append-output-to-file'.
1550 (comint-append-output-to-file): Reinstate this function, for the
1551 benefit of the menu.
1553 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
1555 * vc.el (vc-version-other-window): Bind `file'.
1557 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1559 * Makefile.in (update-authors): New target for maintenance purposes.
1561 * emacs-lisp/authors.el (batch-update-authors): New function.
1562 (authors-fixed-entries): New defconst.
1563 (authors-add-fixed-entries): New function.
1564 (authors): Call it.: Don't process lispref/.
1566 2000-10-25 Jason Rumney <jasonr@gnu.org>
1568 * cus-edit.el (custom-button-face, custom-button-pressed-face):
1569 Merge x w32 and mac definitions.
1571 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1573 * menu-bar.el (menu-bar-options-menu): Add a help string for
1576 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
1578 * time-stamp.el (time-stamp-string-preprocess):
1579 Fix a wrong type argument error.
1581 2000-10-25 Miles Bader <miles@gnu.org>
1583 * recentf.el (recentf-mode): Variable removed.
1584 (recentf-mode): Use `define-minor-mode'.
1586 * mwheel.el (mouse-wheel-mode): New global minor mode.
1587 (mwheel-install): Use `mouse-wheel-mode'.
1589 2000-10-25 Dave Love <fx@gnu.org>
1591 * progmodes/cperl-mode.el (cperl-mode):
1592 Set normal-auto-fill-function correctly.
1594 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1595 inherit from global-map and don't nullify menu-bar and tool-bar
1598 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
1600 * wid-edit.el (widget-field-at): New function.
1601 (widget-at, widget-field-activate): Use it.
1602 (widget-tabable-at): Use `widget-at'.
1603 (widget-specify-field): If the terminating character of the widget
1604 field (which is read-only) is a newline, put it into a special
1605 `boundary' field so that C-n/C-p act more naturally.
1606 (widget-field-end): Also don't subtract one if a special
1607 `boundary' field has been added after the widget field.
1609 * comint.el (comint-output-filter, comint-send-input): Don't
1610 bother adding stickiness fields to overlays to fool the field
1611 code, since it should notice the overlay insertion-types now.
1613 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1614 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1615 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1617 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1619 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1620 (authors): Set file coding system to iso-2022-7bit. Add
1621 file-local variables to output buffer.
1623 * files.el (after-find-file): Don't print any warnings if
1626 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1628 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1630 * delim-col.el: Now there is a column formatting mechanism.
1631 Modified to customization mechanisms convention. Doc fix.
1632 (columns): New group for delim-col.
1633 (delimit-columns-before, delimit-columns-after)
1634 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1635 (delimit-columns-end): New vars.
1636 (delimit-columns-customize, delimit-columns-format): New funs.
1637 (delimit-columns-region, delimit-columns-rectangle)
1638 (delimit-columns-rectangle-line): Modified to support column
1641 2000-10-24 Dave Love <fx@gnu.org>
1643 * log-edit.el (log-edit): Add :version and a :group for vc.
1645 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1647 * files.el (after-find-file): Don't print a message ``New file''
1650 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1651 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1652 get duplicate tool-bar entries because we'll see the global ones
1653 on more than one path through keymaps.
1655 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1657 * progmodes/cmacexp.el: Change Francesco's email address.
1659 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1661 * window.el (fit-window-to-buffer): Adjust point of the window
1662 buffer, not that of the current buffer.
1664 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1666 * progmodes/cmacexp.el: Update the euthor's email address.
1668 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1670 * faces.el (face-spec-set-match-display): Add `graphic' display
1671 type (the inverse of `tty'). Use `display-graphic-p' instead of
1672 the window-system variable.
1674 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1676 * international/isearch-x.el (isearch-with-input-method): Call
1677 input-method-function with the first event in
1678 unread-command-events.
1680 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1682 * faces.el (face-default-spec, face-user-default-spec): Make
1685 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1687 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1690 * term/mac-win.el: Remove definitions of mac-roman-lower and
1691 mac-roman-upper, require dired, and define instead of set
1692 mac-ready-for-drag-n-drop to avoid compilation error.
1694 2000-10-23 Andrew Innes <andrewi@gnu.org>
1696 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1697 superfluous calls to subst-char-in-string; instead apply
1698 expand-file-name after convert-standard-filename to ensure
1699 expected directory separators are used.
1701 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1703 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1705 2000-10-23 Dave Love <fx@gnu.org>
1707 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1708 (tool-bar-add-item): Set foreground and background for XBM icons.
1710 * international/latin1-disp.el (latin1-char-displayable-p): New
1711 function (from Handa).
1712 (latin1-display-check-font): Use it.
1714 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1715 using :key-sequence, making it much more usable. Use nconc, not
1717 (imenu--create-keymap-1): Avoid append.
1719 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1721 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1723 [the following changes fix a bug where `define-minor-mode' didn't
1724 correctly generate :require clauses for defcustoms in compiled files]
1725 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1726 (byte-compile-log-file, byte-compile-log-1): Don't set
1727 `byte-compile-current-file' to nil. Instead set
1728 `byte-compile-last-logged-file' to it. Test whether
1729 byte-compile-current-file equals byte-compile-last-logged-file
1730 instead of whether its nil.
1731 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1733 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1735 * textmodes/refill.el: Fix var names in doc.
1736 (refill-mode): Don't bother with make-local-hook anymore.
1738 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1740 * faces.el (face-user-default-spec, face-default-spec): New functions.
1741 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1742 (frame-set-background-mode, face-set-after-frame-default):
1743 Use `face-user-default-spec'. Simplify code slightly.
1745 * woman.el (woman-italic-face, woman-bold-face)
1746 (woman-unknown-face): Add dark-background variants.
1747 (woman-default-faces): Renamed from `woman-colour-faces'.
1748 Set using the stored defaults, rather than using hard-wired colors.
1749 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1750 Just make the foreground `unspecified' rather than "black".
1751 (woman-menu): Rename menu entries accordingly.
1753 * faces.el (header-line): Make more reasonable on mono/grayscale
1756 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1758 * cus-edit.el (custom-button-face): Use 3D look for mac.
1759 (custom-button-pressed-face): Likewise.
1761 * faces.el (set-face-attributes-from-resources): Handle mac frames
1762 in the same way as x and w32 frames.
1763 (face-valid-attribute-values): Likewise.
1764 (read-face-attribute): Likewise.
1765 (defined-colors): Likewise.
1766 (color-defined-p): Likewise.
1767 (color-values): Likewise.
1768 (display-grayscale-p): Likewise.
1769 (face-set-after-frame-default): Likewise.
1770 (mode-line): Same default face as for x and w32.
1771 (tool-bar): Likewise.
1773 * frame.el: Remove call to frame-notice-user-settings at end of
1776 * info.el (Info-fontify-node): make underlines invisible for mac
1777 as for x, pc, and w32 frame types.
1779 * term/mac-win.el: New file.
1781 2000-10-22 Dave Love <fx@gnu.org>
1783 * textmodes/refill.el: New file.
1785 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1787 * vc-hooks.el (vc-version-backup-file-name): New optional args
1789 (vc-delete-automatic-version-backups, vc-make-version-backup):
1791 (vc-before-save): Use the latter.
1792 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1795 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1796 expected by vc[-hooks].el.
1798 * vc.el (vc-checkout): Added `-p' suffix in call to
1799 vc-make-version-backups-p; use vc-make-version-backup to actually
1801 (vc-version-other-window, vc-version-backup-file): Handle both
1802 automatic and manual backups.
1803 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1806 2000-10-22 Miles Bader <miles@gnu.org>
1808 * comint.el (comint-highlight-input, comint-highlight-prompt):
1809 Renamed, `-face' at end removed.
1810 (comint-send-input, comint-output-filter): Use renamed faces.
1812 * window.el (fit-window-to-buffer): Change defaulting of
1813 MAX-HEIGHT slightly.
1815 * faces.el (color-values, color-defined-p): Use `member', not
1816 `memq', because it works correctly for strings.
1817 (frame-set-background-mode): Actually, "unspecified-fg" and
1818 "unspecified-bg" *are* strings. Use `member', not `memq', and
1819 `equal', not `eq', when a string value is possible.
1821 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1823 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1825 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1827 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1828 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1829 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1830 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1831 (sh-font-lock-syntactic-keywords): Use them.
1832 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1833 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1834 (sh-mode): Don't override font-lock-unfontify-region-function.
1835 Use a copy of sh-font-lock-syntactic-keywords.
1836 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1837 Don't call sh-scan-buffer since font-lock does it on the fly.
1838 (sh-get-indent-info): Use `face' rather than `syntax-table'
1839 text-property to detect here-documents.
1840 Replace sh-special-syntax with sh-st-punc.
1841 (sh-prev-line): Use `face' rather than `syntax-table'
1842 text-property to skip over here-documents.
1843 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1844 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1845 (sh-electric-less, sh-set-here-doc-region)
1846 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1847 (sh-scan-buffer, sh-rescan-buffer): Remove.
1849 2000-10-21 Andrew Innes <andrewi@gnu.org>
1851 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1852 remote (ange-ftp) file names.
1854 2000-10-21 Miles Bader <miles@gnu.org>
1856 * window.el (fit-window-to-buffer): New function.
1857 (shrink-window-if-larger-than-buffer): Use it.
1858 (window-text-height): Don't expect minibuffers to have mode-lines.
1860 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1861 * international/quail.el (quail-update-guidance): Use
1862 `fit-window-to-buffer' instead of `set-window-text-height'.
1864 * international/quail.el (quail-show-guidance-buf): Make sure
1865 guidance window really has enough room.
1866 (quail-update-guidance): If quail-guidance-win is already shown,
1867 make sure its height is OK.
1869 * window.el (window-text-height, set-window-text-height):
1871 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1872 instead of `window-height' & `mode-line-window-height-fudge'.
1873 (mode-line-window-height-fudge): Add FACE parameter.
1874 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1875 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1877 2000-10-20 Miles Bader <miles@gnu.org>
1879 * window.el (height-affecting-face-attributes): Use `defconst'.
1881 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1882 New function, conditionally aliased to `mode-line-window-height-fudge'.
1883 (ispell-help): Use it.
1884 (ispell-choices-win-default-height): Don't include mode-line fudge.
1885 (ispell-choices-win-default-height): New function.
1886 (ispell-show-choices, ispell-command-loop): Use function
1887 `ispell-choices-win-default-height' instead of variable.
1889 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1891 * window.el (mode-line-window-height-fudge): New variable.
1892 (height-affecting-face-attributes): New variable.
1893 (mode-line-window-height-fudge): New function.
1894 (shrink-window-if-larger-than-buffer): Use it.
1895 * help.el (resize-temp-buffer-window): Likewise.
1897 * info.el (Info-fontify-node): Add support for @subsubsection
1898 titles, which use `Info-title-4-face'.
1899 (Info-title-4-face): New face.
1900 (Info-title-3-face): Inherit from Info-title-4-face instead of
1903 2000-10-19 Jason Rumney <jasonr@gnu.org>
1905 * dired.el (dired-insert-directory): Do not let errors signalled by
1906 attempt to run dired-free-space-program prevent dired from working.
1908 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1910 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1912 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1914 * dirtrack.el (dirtrack): Fix call to run-hooks.
1916 * cmuscheme.el (cmuscheme-program-name): Renamed from
1917 scheme-program-name because xscheme.el contains a defcustom with
1918 the same name. As a consequence, customizing group `cmuscheme'
1919 loaded `xscheme' which redefined run-scheme.
1920 (run-scheme): Use cmuscheme-program-name.
1922 * ps-print.el (ps-print-emacs-type): Move into the
1925 * play/doctor.el (doctor-death): Update the Samaritans'
1926 anonymous address, and add a website for Befrienders International.
1928 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1930 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1931 Avoid compilation gripes. Doc fix.
1932 (ps-print-version): New version number (6.2).
1933 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1934 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1935 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1936 (ps-x-extent-priority, ps-x-extent-start-position)
1937 (ps-x-face-font-instance, ps-x-find-coding-system)
1938 (ps-x-font-instance-properties, ps-x-make-color-instance)
1939 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1940 avoid compilation gripes without defining functions.
1941 (ps-e-find-composition): Alias for function find-composition, to have a
1942 suitable function depending on Emacs version.
1943 (ps-color-device, ps-color-values, ps-face-foreground-name)
1944 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1945 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1946 (ps-print-ensure-fontified): Function definitions surrounded by
1947 `eval-and-compile' to avoid compilation gripes.
1948 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1949 by symbol-value to avoid compilation gripes.
1950 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1951 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1953 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1955 * startup.el (normal-top-level): Call `frame-set-background-mode'
1956 after `frame-notice-user-settings' because the latter doesn't call
1957 the former on a tty.
1959 * faces.el (frame-set-background-mode): `unspecified' &c are
1960 symbols, not strings.
1962 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1964 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1965 why some "light*" colors are deliberately absent from the alist.
1967 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1968 Change colors for tty's, as suggested by Miles Bader.
1970 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1972 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1973 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1974 for ISO10646-1 fonts.
1975 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1977 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1979 * faces.el (frame-set-background-mode): If a tty frame defines a
1980 background color, use that to compute the background mode, instead
1981 of always defaulting to "dark".
1983 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1985 * comint.el (comint-write-output): New function.
1986 (comint-mode-map): Add it to the menu.
1987 Bind `C-c C-s' to comint-write-output.
1989 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1991 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1992 Use fancy-splash-delay.
1994 2000-10-18 Alex Schroeder <alex@gnu.org>
1996 * progmodes/sql.el (sql-sybase-options): New option.
1997 (sql-sybase): Use it. Add sql-database to the list of parameters
1998 provided for login. The options -w 2048 -n are not used any more.
2000 * comint.el (comint-read-input-ring): Bugfix such that the first
2001 and the last entry of the input ring file are not lost.
2003 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2005 * ps-print.el: Internal variable changes to defcustom,
2006 make-local-hook changes to defvar. Doc fix.
2007 (ps-print-version): New version number (6.1).
2008 (ps-setup, ps-do-despool): Code fix.
2009 (ps-printer-name): Customization fix.
2010 (ps-printer-name-option): Now is a defcustom instead of an
2012 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
2013 (ps-print-begin-column-hook): Now are defvar instead of
2016 2000-10-18 Miles Bader <miles@gnu.org>
2018 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
2019 (comint-kill-output): Changed into an alias for `comint-delete-output',
2021 (comint-mode-map): Rename references to comint-kill-output.
2023 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
2025 * diff-mode.el (diff-header-face, diff-file-header-face)
2026 (diff-changed-face): Add bold and italic attributes to tty faces.
2027 (diff-function-face): New face.
2028 (diff-font-lock-keywords): Use it.
2030 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
2032 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
2033 Remove commented-out call to force-mode-line-update.
2034 (comint-kill-output): Use `forward-line 0' instead of
2035 beginning-of-line to make sure we get past the prompt.
2037 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
2039 * diff-mode.el (diff-header-face, diff-file-header-face):
2040 Add specific setting for dark background.
2041 (diff-context-face): Renamed from diff-comment-face.
2042 Set explicitly rather than inheriting from font-lock-comment-face.
2044 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2046 * startup.el (command-line): Move the code which sets the default
2047 TTY colors to before before-init-hook.
2049 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2051 * jit-lock.el (jit-lock-stealth-time): Doc fix.
2053 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2055 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
2056 extensions, for MS-DOS.
2058 * diff-mode.el (diff-header-face, diff-file-header-face)
2059 (diff-changed-face): Define tty-specific colors.
2061 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2063 * startup.el (fancy-splash-text): Realign the text.
2065 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2067 * font-lock.el (font-lock-comment-face): Define a separate default
2068 for dark-background tty's.
2070 2000-10-17 Miles Bader <miles@gnu.org>
2072 * help.el (resize-temp-buffer-window): Add hack to avoid last line
2073 being obscured by whizzy mode-lines on graphics displays.
2075 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2077 * info.el (Info-title-1-face, Info-title-2-face)
2078 (Info-title-3-face): Define colors for tty's.
2079 (info-header-node): Remove unneeded tty-specific definition.
2081 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
2083 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
2084 reverse from the frame parameters, and don't invert foreground and
2087 2000-10-16 Miles Bader <miles@gnu.org>
2089 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
2090 string "*Info*". Call propertized-buffer-identification to spruce
2093 2000-10-16 Gerd Moellmann <gerd@gnu.org>
2095 * help.el: Provide `help' for the sake of define-minor-mode
2096 which generates defcustoms with requires.
2098 * jit-lock.el (jit-lock-after-change): If we're in text that
2099 matches a multi-line font-lock pattern, make sure the whole text
2100 will be redisplayed.
2102 * emacs-lisp/authors.el (authors-add): Don't add an entry if
2103 author's name is unknown.
2105 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
2106 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
2107 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
2108 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
2109 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
2110 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
2111 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
2112 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
2113 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
2114 Add author information.
2116 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
2118 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
2119 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
2120 full-color version (using the Gimp) to eliminate dithering artifacts.
2122 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2124 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
2126 * simple.el (syntax-flag-table, string-to-syntax): Remove.
2128 2000-10-15 Dave Love <fx@gnu.org>
2130 * progmodes/sh-script.el: Require skeleton and comint when
2133 * pcomplete.el (pcomplete) <defgroup>: Add :version.
2135 * whitespace.el: Doc fixes.
2136 (top-level): Don't add hooks here.
2137 (whitespace-running-emacs): Deleted.
2138 (timer): Don't require.
2139 (whitespace): Add back :version conditional on xemacs test.
2140 (whitespace-spacetab-regexp, whitespace-indent-regexp)
2141 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
2142 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
2143 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
2144 Avoid specific xemacs test.
2145 (whitespace-global-mode): New option.
2146 (whitespace-global-mode): New command.
2147 (whitespace-unload-hook): New function.
2149 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
2150 (Info-fontify-node, Info-goto-node, Info-mode-menu)
2151 (Info-fontify-node): `Goto' goes to `Go to'.
2152 (Info-fontify-node): Add help-echo to xref links.
2154 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
2156 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
2158 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2160 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
2161 Use plist-get and allow :inherit.
2163 * emacs-lisp/cl-macs.el (cl-do-arglist):
2164 Use plist-get and plist-member instead of memq.
2166 * emacs-lisp/ewoc.el (ewoc-location): New function.
2167 (ewoc-enter-after, ewoc-enter-before): Document return value.
2168 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
2169 Don't need make-local-hook any more.
2170 (cvs-addto-collection): Return the new tin.
2171 (cvs-mode-insert): Jump to the new line.
2173 * jit-lock.el (jit-lock-fontify-buffer): Remove.
2175 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
2177 * font-lock.el (font-lock-syntactically-fontified): New var.
2178 (font-lock-fontify-syntactic-keywords-region): Use it.
2179 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
2181 * diff-mode.el (diff-find-file-name): Fix regexp.
2183 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
2184 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
2186 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
2187 (sh-mode-syntax-table): Add punctuation syntax for < and >.
2188 (sh-mode): Don't make all vars local here.
2190 (sh-set-shell): Use dolist. Don't set indent-region-function.
2191 (sh-mode-syntax-table): Use pop.
2192 (sh-remember-variable): Use push.
2193 (sh-help-string-for-variable): Use memq.
2194 (sh-safe-backward-sexp): Remove.
2195 (sh-safe-forward-sexp): Add ARG.
2196 (sh-get-indent-info, sh-prev-stmt): Use it.
2197 (sh-prev-line): Simplify by using forward-comment.
2198 (sh-this-is-a-continuation): Simplify.
2199 (sh-learn-buffer-indent): Use dolist.
2200 (sh-do-nothing): Remove.
2201 (sh-set-char-syntax, sh-set-here-doc-region):
2202 Use inhibit-modification-hooks.
2203 (sh-name-style): Use mapcar and push.
2204 (sh-load-style): Use dolist.
2205 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
2206 (sh-case, sh-while-getopts): Use propertize directly rather
2207 than sh-electric-rparen.
2209 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
2211 * textmodes/tex-mode.el: Require CL when compiling.
2212 (tex-mode-syntax-table): Init immediately.
2213 (tex-mode-map): Bind M-RET to latex-insert-item.
2214 (latex-mode): Set indent-line-function to latex-indent.
2215 (tex-common-initialization): Don't setup the syntax-table any more.
2216 (latex-insert-item): New skeleton.
2217 (tex-next-unmatched-end): Fix copy/paste braino.
2218 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
2219 (latex-indent, latex-find-indent): New functions.
2220 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
2221 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
2222 (tex-compilation-parse-errors): Use with-syntax-table.
2224 2000-10-15 Miles Bader <miles@gnu.org>
2226 * font-lock.el (font-lock-comment-face): Change dark-background,
2227 color, non-tty, default to `chocolate1'.
2229 2000-10-13 John Wiegley <johnw@gnu.org>
2231 * eshell/esh-util.el (require): Added a missing `require' form,
2232 needed when compiling (for an ange-ftp macro definition).
2234 2000-10-13 Dave Love <fx@gnu.org>
2236 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
2238 2000-10-13 Gerd Moellmann <gerd@gnu.org>
2240 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
2243 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
2244 transparent -colors 8).
2246 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
2248 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
2249 that breaks with old list format timestamps.
2250 (time-stamp-warn-inactive, time-stamp-old-format-warn)
2251 (time-stamp-count, time-stamp-conversion-warn): Improved doc
2254 2000-10-13 John Wiegley <johnw@gnu.org>
2256 * align.el, pcomplete.el, calendar/timeclock.el,
2257 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
2259 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
2260 faulty math, where holiday hours were being computing as seconds.
2262 2000-10-13 John Wiegley <johnw@gnu.org>
2264 * desktop.el (desktop-buffer-modes-to-save): Added a global for
2265 specifying what "other" kinds of buffers should be saved. This
2266 used to be hard-coded.
2267 (desktop-buffer-misc-functions): A global for specifying how
2268 auxiliary data should be determined for special buffer types.
2269 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
2270 instead of hard-coding the special buffer types.
2271 (desktop-save): Run `desktop-buffer-misc-functions' to gather
2272 auxiliary data, instead of hard-coding for Info buffers and dired.
2273 (desktop-buffer-info-misc-data): Aux function for determining Info
2274 buffer auxiliary info.
2275 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
2276 (desktop-buffer-info): Changed this function to use the info
2278 (desktop-create-buffer): Be a little more careful about what
2279 `minor-mode' means before calling it. This is important for some
2282 2000-10-13 John Wiegley <johnw@gnu.org>
2284 * eshell/esh-util.el: Added a global form which declares an
2285 autoload for `parse-time-string', if that function is not already
2286 defined, and if parse-time.el is available on the user's system.
2288 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
2289 to be aware of ange-ftp user info.
2290 (eshell-do-ls): Bind `ange-cache'. Also, use
2291 `eshell-file-attributes'.
2292 (eshell-ls-annotate): Use `eshell-file-attributes'.
2293 (eshell-ls-file): Made the user-id printing code a bit smarter.
2295 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
2296 allow identification of alias user ids in remote directories.
2297 It's manual, but there's no other way to know when the current
2298 user on the local machine, is also the owning user on the remote
2300 (fboundp): Bind `ange-cache'.
2301 (eshell-directory-files-and-attributes): Re-organized the logic a
2302 bit to use `eshell-file-attributes' instead of `file-attributes'.
2303 The former is more sensitive to directories that are read via FTP,
2304 and knows how to use ange-ftp to determine full attribute
2305 information, instead of just the name and last modtime.
2306 (eshell-current-ange-uids): Return the current user id when in a
2308 (eshell-parse-ange-ls): Parse a full directory listing that has
2309 been returned by ange-ftp.
2310 (eshell-file-attributes): This beefed up version of
2311 `file-attributes' is only special if the user is currently in a
2312 remote directory, in which case it does a lot of work to find out
2313 what the real attributes of a file are, as they appear on the
2314 remote machine. This makes usage of remote directories (i.e.,
2315 ange-ftp pathnames) much more useful. You can now use Eshell as a
2316 full-fledged FTP client, with much more manipulation ability than
2319 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
2320 variable, which means that Eshell's du should always be preferred
2321 in remote directories.
2322 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
2323 just `file-attributes'.
2324 (eshell-mvcp-template): Bind `ange-cache', to improve performance
2325 when reading remote directories. This is an Eshell-specific
2326 variable (not part of ange-ftp).
2327 (eshell/ln): Bind `ange-cache'.
2328 (eshell/du): Added some extra logic for determining when to use
2329 Eshell's du (which is slow), and when to use the external version
2330 (which may or may not exist).
2332 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
2333 `eshell-interactive-process', rather than using
2334 `get-buffer-process', since backgrounded processes don't count in
2335 the context of this function's logic.
2337 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
2338 `forward-char', so that null strings are parsed correctly.
2340 2000-09-13 John Wiegley <johnw@gnu.org>
2342 * eshell/em-pred.el (eshell-pred-file-type,
2343 eshell-pred-file-links, eshell-pred-file-size): Use
2344 `eshell-file-attributes'. This is more correct over ange-ftp.
2346 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
2347 that remote file globbing is more efficient.
2349 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
2350 gathering the files and attributes within a directory.
2352 * eshell/em-unix.el (eshell/cat): If any of the files passed on
2353 the command line is a special file (not a regular file, directory
2354 or symlink), always attempt to call the external version of cat.
2356 2000-09-13 John Wiegley <johnw@gnu.org>
2358 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
2359 Eshell-friendly version of find-tag.
2361 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
2363 * image-file.el (image-file-name-extensions)
2364 (image-file-name-regexps): Add autoload cookies.
2366 2000-10-13 Kenichi Handa <handa@etl.go.jp>
2368 * international/mule-cmds.el (select-safe-coding-system): If FROM
2369 is string, show it in *Warning* buffer.
2371 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
2373 * startup.el (normal-top-level): Use display-popup-menus-p instead
2375 (command-line): Use display-graphic-p instead of window-system.
2376 (command-line-1): Use display-popup-menus-p and display-mouse-p
2377 instead of window-system.
2379 2000-10-12 Sam Steingold <sds@gnu.org>
2381 * tooltip.el (tooltip-use-echo-area): New user variable.
2382 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
2384 2000-10-12 Dave Love <fx@gnu.org>
2386 * recentf.el: Maintainer's checkdoc fixes.
2388 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
2389 character class, not ASCII when matching file names.
2390 (fancy-splash-head): Add trailing slash to URL.
2391 (command-line): Don't require XPM support for toolbar.
2393 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
2394 (cperl-invalid-face): Revert last change.
2395 (cperl-init-faces): Quote cperl-invalid-face.
2397 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2399 * startup.el (fancy-splash-text): Remove superfluous quote.
2401 2000-10-12 Gerd Moellmann <gerd@gnu.org>
2403 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
2404 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
2405 (command-line-1): Don't use fancy-splash-pending-command.
2406 (fancy-splash-screens-1): Goto point-min after inserting text.
2408 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
2410 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
2411 instead of shared-lisp-mode-map.
2413 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
2415 * faces.el (header-line): Change tty-variant to use underlining.
2417 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
2418 (isearch-highlight): Restore lazy-isearch face properties at old
2419 position, and suppress them at new position.
2420 (isearch-dehighlight): Restore lazy-isearch face properties.
2421 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
2422 over the real isearch overlay, but in that case, don't give it a
2423 face property. Use `push'.
2425 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2427 * man.el (Man-getpage-in-background): Fix previous change.
2428 Decode the process output only when we are in multibyte mode.
2430 2000-10-11 Dave Love <fx@gnu.org>
2432 * info.el (Info-mode-menu): Fix some help.
2433 (info-tool-bar-map): Add entry for Info-last.
2435 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
2436 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
2437 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
2438 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
2439 * toolbar/search-replace.xpm, toolbar/exit.xpm:
2440 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
2441 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
2442 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
2443 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
2444 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
2445 Reduce colour requirements to 25 overall. (Probably wants
2446 revisiting from the originals to reduce further.)
2448 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
2450 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
2451 buffer-file-coding-system, instead of raw-text.
2452 (dehexlify-buffer): Bind coding-system-for-read to
2453 buffer-file-coding-system, instead of raw-text.
2455 2000-10-11 Sam Steingold <sds@gnu.org>
2457 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
2458 `underline' - fixes the bug introduced on 2000-09-21.
2460 2000-10-11 Dave Love <fx@gnu.org>
2462 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
2464 (scheme-mode): Doc fix.
2465 (scheme-font-lock-keywords-1): Match `define-syntax'.
2467 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
2469 * faces.el (frame-set-background-mode): Pay attention to saved
2470 face specs as well as default ones. Only do anything if the
2471 bg-mode or display-type has actually changed. Use `dolist'.
2472 (region): Make dark-background `region' face less in-your-face.
2474 2000-10-10 Sam Steingold <sds@gnu.org>
2476 * chistory.el, ielm.el, ledit.el:
2477 * progmodes/inf-lisp.el, progmodes/scheme.el:
2478 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
2480 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
2482 * textmodes/texinfo.el: Update copyright and fix typo.
2484 * desktop.el (desktop-modes-not-to-save): New var.
2485 (desktop-save-buffer-p): Use it.
2486 Also, obey desktop-buffers-not-to-save even for non-file buffers.
2487 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
2489 2000-10-10 Dave Love <fx@gnu.org>
2491 * toolbar/tool-bar.el (tool-bar-add-item)
2492 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
2495 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
2496 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
2497 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
2498 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
2499 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
2500 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
2501 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
2502 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
2503 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
2504 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
2505 the .xpms; probably need retouching.
2507 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
2509 * subr.el (add-to-list): Add optional argument APPEND.
2510 * battery.el (display-battery): Use `add-to-list'.
2512 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
2514 * play/zone.el (zone-timer, zone-wc-tbl): Rework
2515 these vars as symbol properties.
2516 (zone, zone-when-idle, zone-leave-me-alone)
2517 (zone-pgm-whack-chars): Use new symbol properties.
2519 * battery.el (display-battery): Doc spelling fix.
2521 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
2524 2000-10-09 Dave Love <fx@gnu.org>
2526 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
2527 has been initialized before calling tool-bar-setup.
2528 (tool-bar-add-item-from-menu): Add autoload cookie.
2530 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
2532 * menu-bar.el (send-mail-item-name): New function.
2533 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
2534 of mail-user-agent in the menu. Don't display the "Send Mail"
2535 item if mail-user-agent is nil or its value is ignore.
2536 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
2537 if read-mail-command is nil or its value is ignore.
2539 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2541 2000-10-09 Miles Bader <miles@gnu.org>
2543 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2545 * toolbar/left_arrow.xpm: Correct image size.
2547 * jka-compr.el: Don't call `jka-compr-install' when loading (it
2548 will be done by the definition of `auto-compression-mode' if
2549 necessary. Move code to uninstall existing file-name handler
2550 before definition of `auto-compression-mode'.
2552 * image-file.el (auto-image-file-mode): Move to the end of the
2553 file, because `define-minor-mode' actually calls the mode-function
2554 if the associated variable is non-nil, which requires that all
2555 needed functions be already defined.
2557 * mouse.el (popup-menu): Balance parens.
2559 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
2561 * mouse.el (popup-menu): Move the command call outside the loop
2562 so that popup-menu returns whatever the command returns.
2564 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
2565 (initialize-new-tags-table): Use run-hook-with-args-until-success.
2566 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2567 (tags-table-format-functions): Renamed from tags-table-format-hooks.
2569 * vc.el (vc-version-diff): diff-switches can be a list.
2570 Use relative filenames for prettier output.
2572 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2573 (vc-post-command-functions): Remove old-VC compatibility code.
2575 * newcomment.el (comment-indent-default): Autoload.
2577 * font-lock.el (font-lock-defaults): Make buffer-local.
2578 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2579 (font-lock-choose-keywords):
2580 Ignore LEVEL unless KEYWORDS is a list of syms.
2581 (c-keywords, c++-keywords, objc-keywords, java-keywords):
2582 Don't wrap regexp-opt things in \(...\) unnecessarily.
2584 * jit-lock.el: Don't require font-lock any more.
2585 (jit-lock-functions): Make buffer-local.
2586 (jit-lock-saved-fontify-buffer-function): Remove.
2587 (jit-lock-mode): Remove autoload cookie.
2588 Remove font-lock specific code.
2589 (jit-lock-unregister): Don't bother handling complex hooks any more.
2590 (jit-lock-refontify): New function.
2591 (jit-lock-fontify-buffer): Use it.
2592 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2593 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2594 Add optional args START and END.
2595 Never call font-lock-fontify-region directly.
2596 (jit-lock-function, jit-lock-stealth-fontify): Use it.
2598 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2600 2000-10-08 Dave Love <fx@gnu.org>
2602 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2604 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2606 * play/studly.el (studlify-region, studlify-word): Add autoload
2609 * play/morse.el (morse-region, unmorse-region): Add autoload
2612 * play/spook.el (spook-phrases-file): Use expand-file-name, not
2615 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2616 insist on symbols starting with word syntax.
2617 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2618 (eval-defun-1): Doc fix.
2619 (indent-sexp): Use nconc to build up indent-stack.
2621 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2622 Gnus with little use.
2623 (mail-setup-hook): Add mail-abbrevs-setup to options.
2625 * recentf.el: Doc fixes.
2627 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2630 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2631 without timezone and (8) with timezone to enforce some whitespace.
2632 Simplify code somewhat.
2634 * options.el (list-options): Doc that you should use customize.
2636 * iswitchb.el (iswitchb-mode): Add :require.
2638 * info.el (Info-goto-node, Info-menu): Doc fix.
2639 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2640 (info-tool-bar-map): New variable.
2641 (Info-mode): Use it.
2642 (Info-edit-map): Define all in defvar.
2643 (speedbar-attached-frame): Avoid compiler warning.
2645 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2646 (global-map): Bind [tool-bar] to a filtered map.
2647 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2648 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2650 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2652 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2653 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2654 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2655 icons, except up_arrow, which is left-arrow rotated.
2657 * imenu.el (imenu-add-to-menubar): Fix last change.
2659 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2661 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2662 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2664 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2666 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2667 typos in doc strings.
2669 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2670 the doc strings how to customize Font Lock faces.
2672 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2673 computing growth when dragging the header line.
2675 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2677 * simple.el (kill-line): Doc fix.
2679 2000-10-08 Miles Bader <miles@gnu.org>
2681 * faces.el (secondary-selection): Make foreground visible on tty.
2683 * jka-compr.el (auto-compression-mode): Move to the end of the
2684 file, because `define-minor-mode' actually calls the mode-function
2685 if the associated variable is non-nil, which requires that all
2686 needed functions be already defined.
2687 (with-auto-compression-mode): Add autoload cookie.
2689 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2691 * files.el (find-backup-file-name) [ms-dos]: If support for long
2692 file names is not available, behave as if version-control were set
2695 2000-10-07 Dave Love <fx@gnu.org>
2697 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2698 (browse-url-gnome-moz): New function.
2699 (browse-url-browser-function): Use it.
2700 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2702 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2704 * indent.el (tab-always-indent): New var.
2705 (indent-for-tab-command): Use it.
2707 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2708 raise an error. This way it can still default to a sane value.
2710 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2712 * startup.el (fancy-splash-screens): Use local rather than global map.
2713 Don't use `update-menu-bindings' any more.
2714 Get rid of assumptions about keymap representation.
2716 2000-10-06 Dave Love <fx@gnu.org>
2718 * textmodes/fill.el (sentence-end-double-space)
2719 (sentence-end-without-period): Doc fix.
2720 (adaptive-fill-regexp): Purecopy.
2721 (unjustify-current-line): Use line-end-position.
2722 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2724 * net/eudc-vars.el (eudc): Add :version, :link.
2726 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2728 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2729 Fix for define-minor-mode.
2730 (function-at-point): Alias to function-called-at-point.
2732 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2734 * simple.el (backward-word): Doc fix.
2736 * image-file.el (image-file-name-regexp): image-file-regexps ->
2737 image-file-name-regexps.
2738 (image-file-name-extensions): Add pbm.
2740 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2742 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2743 and add filename to the names so that diff-mode can jump to source.
2745 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2746 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2747 (tex-font-lock-keywords-1): Remove.
2748 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2749 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2750 (font-lock-default-fontify-region):
2751 Expand beg..end correctly when just following a multiline region.
2752 (font-lock-fontify-anchored-keywords):
2753 Include the anchor text as part of the multiline.
2755 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2757 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2758 latter needs the autoloaded define-minor-mode macro during the
2761 * startup.el (command-line): For now, activate tool-bar-mode only
2762 if XPM images are supported.
2764 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2765 window by dragging a header-line at the top of the frame; that's
2766 confusing because the header-line doesn't move.
2767 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2768 of treating the event as a list. Some cleanup.
2770 2000-10-06 Miles Bader <miles@gnu.org>
2772 * simple.el (display-message-or-buffer): New function.
2773 (shell-command-on-region): Use `display-message-or-buffer'.
2775 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2778 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2779 (smbclient-prompt-regexp): Add usage note to doc string.
2780 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2781 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2782 Use add-hook for adding the comint filter function, and only do so
2783 if it's not already in the global hook list.
2784 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2785 to `make-local-variable'.
2786 (nslookup-font-lock-keywords): Remove prompt entry.
2787 (nslookup): Don't set the process-filter.
2788 (finger): Exit the loop correctly when the regexps list runs out.
2789 (ftp, smbclient, smbclient-list-shares):
2790 Set the real major mode immediately, not after execing.
2791 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2793 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2795 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2797 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2799 * which-func.el (which-func-format): Remove spurious space.
2800 (which-func-mode): Don't make it permanent-local.
2801 (which-func-ff-hook): Allow which-func-maxout to be nil.
2802 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2803 (which-func-mode): Simplify.
2804 Use post-command-idle-hook rather than post-command-hook.
2805 Go through all buffers and update their state.
2806 (which-function): Also try add-log-current-defun-function.
2808 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2809 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2810 Update call to with-vc-properties accordingly.
2811 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2812 (vc-revert-buffer): More careful about window selection and deletion.
2813 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2815 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2816 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2817 (cvs-dired-action): Change the default to quickdir.
2819 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2820 if comment-indent-function returns nil.
2821 (comment-indent-default): New function.
2822 (comment-indent-function): Use it and document the new semantics.
2824 * image-file.el: Docstring fixes.
2826 * help.el (help-xref-on-pp): Use match-string.
2827 (describe-variable): New arg BUFFER.
2828 Store the current buffer in the help-xref-stack.
2829 (temp-buffer-resize-mode): Use define-minor-mode.
2831 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2832 consistently with its docstring.
2833 Set jit-lock-first-unfontify-pos in an idempotent way.
2834 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2836 2000-10-05 Alex Schroeder <alex@gnu.org>
2838 * sql.el (sql-mysql-options): New variable.
2839 (sql-mysql): Use it.
2841 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2843 * image.el (image): New group.
2845 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2846 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2848 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2850 * net/net-utils.el (nslookup-font-lock-keywords)
2851 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2852 Ignore the value of wqindow-system; always define keywords
2854 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2856 * startup.el (fancy-splash-screens): Remove the code for
2857 debugging; `(trace-to-stderr "EXITTT\n")'.
2859 2000-10-05 Miles Bader <miles@gnu.org>
2861 * diff-mode.el (diff-goto-source): Update call to
2862 `diff-hunk-status-msg' to reflect new REV variable.
2864 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2866 * progmodes/icon.el (icon-mode):
2867 Don't gratuitously override the default for comment-column.
2869 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2871 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2872 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2873 (jit-lock-functions): New var.
2874 (jit-lock-function-1): Use it if non-nil.
2875 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2876 Set the `fontified' property before doing the fontification to avoid
2877 repeatedly going through the same error.
2878 Don't turn errors into messages.
2879 (jit-lock-register, jit-lock-unregister): New functions.
2881 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2882 Use with-current-buffer.
2884 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2885 Turn comment into docstring.
2887 * apropos.el (apropos-mode): Use define-derived-mode.
2889 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2891 * startup.el (fancy-splash-pending-command): New variable.
2892 (fancy-splash-pre-command): New function.
2893 (fancy-splash-screens): Rewritten.
2894 (command-line-1): If fancy-splash-pending-command is set, call it
2897 2000-10-04 Dave Love <fx@gnu.org>
2899 * toolbar/tool-bar.el (tool-bar-setup): New function.
2900 (tool-bar-mode): Use it.
2902 * subr.el (substitute-key-definition): Doc fix.
2903 (play-sound-file): New command.
2905 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2907 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2908 vc-version-backup-file-name): New functions.
2910 * files.el (basic-save-buffer): Call vc-before-save before saving.
2912 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2913 vc-cvs-stay-local-p.
2915 * vc.el (vc-revert-buffer): Handle empty diff properly.
2916 (vc-version-backup-file): New function.
2917 (vc-checkout): Create a version backup if necessary.
2918 (vc-checkin): If a version backup file exists, delete it.
2919 (vc-version-diff): Diff locally using version backups, if available.
2920 (vc-revert-file): If there's a version backup, revert locally.
2921 (vc-transfer-file): Use version backup for base version, if
2922 available. If not, ask for confirmation whether to get it from the
2923 server. Update mode line before check-in.
2925 2000-10-04 Dave Love <fx@gnu.org>
2927 * toolbar/tool-bar.el (tool-bar-setup): New function.
2928 (tool-bar-mode): Use it.
2930 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2932 * net/net-utils.el (nslookup-font-lock-keywords)
2933 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2934 Only set if window-system is non-nil
2935 (net-utils-run-program): Returns buffer.
2936 (network-connection-reconnect): Added this function.
2939 Incorporates extensive cleanup and docfixes by
2940 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2941 Uses cl compile-time macros.
2942 (generic-mode-name, generic-comment-list)
2943 (generic-keywords-list, generic-font-lock-expressions)
2944 (generic-mode-function-list, generic-mode-syntax-table):
2946 (generic-mode-alist): Renamed to generic-mode-list.
2947 (generic-find-file-regexp): Default changed to "^#".
2948 (generic-read-type): Uses completing read on generic-mode-list.
2949 (generic-mode-sanity-check): removed this function.
2950 (generic-add-to-auto-mode): Removed this function
2951 (generic-mode-internal): Bind mode-specific definitions
2952 into function instead of putting them in alist.
2953 (generic-mode-set-comments): Reworked extensively.
2954 (generic-mode-find-file-hook): Simplified regexp searching
2955 (generic-make-keywords-list): Omit extra pair of parens
2957 * find-lisp.el (find-lisp-find-files-internal):
2958 Make sure directory name ends with "/".
2960 * generic-x.el (apache-conf-generic-mode):
2961 Regexp now allows leading whitespace.
2962 (rc-generic-mode): Added eval-when-compile
2963 around generic-make-keywords-list.
2964 Deleted duplicate regexp
2965 (rul-generic-mode): Added eval-when-compile
2966 around generic-make-keywords-list.
2967 (etc-fstab-generic-mode): New generic mode.
2968 (rul-generic-mode): Removed one eval-when-compile
2969 which caused a max-specpdl-size exceeded error.
2971 2000-10-04 Miles Bader <miles@gnu.org>
2973 * simple.el (minibuffer-temporary-goal-position): New variable.
2974 (next-history-element): Try to keep the position of point in the
2975 input string constant.
2977 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2978 (dired-do-create-files): If there's only one file, pass it in as
2979 the DEFAULT arg to dired-mark-read-file-name.
2981 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2983 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2984 (diff-goto-source): Be smarter when choosing REVERSE or not.
2986 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2987 (texinfo-mode-menu): Add an explicit shortcut for update all.
2989 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2991 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2992 factorize backend-specific code cleanly (this was essentially
2993 conceived by Stefan Monnier).
2994 (vc-unregister): Function removed.
2995 (vc-revert-file): New function.
2996 (vc-revert-buffer): Delegate some of the work to it.
2998 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2999 default branch unconditionally.
3000 (vc-rcs-set-default-branch): New function.
3001 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
3002 (vc-rcs-checkin): If an appropriate default branch has been set,
3003 force creation of that branch.
3004 (vc-rcs-receive-file): Rewritten to contain only backend-specific
3005 code (as suggested by Stefan Monnier).
3007 2000-10-02 Gerd Moellmann <gerd@gnu.org>
3009 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
3010 highlighting overlay with a different face over the overlay
3011 isearch uses to highlight the current match because that can lead
3012 to bad face combinations.
3014 * loadup.el (toplevel): Load faces before isearch.
3016 * isearch.el (isearch-faces): New custom group.
3017 (isearch): New defface; was already tested for in the code.
3018 (isearch-lazy-highlight-face): Changed to defface from defcustom.
3019 (isearch-highlight): Always use face `isearch'.
3021 2000-10-02 Dave Love <fx@gnu.org>
3023 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
3024 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
3025 comparison of opcode with operand.
3027 2000-10-03 Miles Bader <miles@gnu.org>
3029 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
3030 buffer, since the echo area will now grow to accommodate them.
3032 2000-10-02 Andre Spiegel <spiegel@gnu.org>
3034 * vc-hooks.el (vc-registered): If FILE used to be registered under
3035 a certain backend, try that one first.
3037 * vc.el (vc-responsible-backend): Undo the previous change in the
3038 argument list. Handle multiple backends correctly.
3039 (vc-find-new-backend): Function removed.
3040 (vc-register): Use vc-responsible-backend, as before.
3041 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
3043 2000-10-02 Gerd Moellmann <gerd@gnu.org>
3045 * startup.el (fancy-splash-head): Change message below the
3048 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
3050 * diff-mode.el (diff-goto-source): Emit a status message.
3051 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
3052 (diff-test-hunk): Fix doc string.
3053 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
3054 (diff-advance-after-apply-hunk): New variable.
3055 (diff-apply-hunk): Don't return a value.
3057 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
3059 * vc.el (vc-editable-p): Minor optimization.
3060 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
3061 (vc-find-new-backend): New function split from vc-responsible-backend.
3062 (vc-register): Use it.
3063 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
3064 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
3065 (vc-default-unregister, vc-revert-buffer): Docstring fix.
3066 (vc-clear-headers): Don't use find-file.
3067 (vc-revert-buffer): Use `and' again (must have been a braino).
3068 (vc-switch-backend): Only prompt if requested.
3069 Short circuit if nothing is to be done.
3070 Don't use vc-resynch-buffer which could lose unsaved editing.
3071 (vc-default-receive-file): Update call to vc-unregister.
3072 (with-vc-file, vc-next-action-on-file):
3073 Use vc-backend rather than vc-registered.
3074 (vc-next-action-on-file): Use intern-soft.
3075 Deal with read-only *vc-diff* buffer.
3076 (vc-transfer-file): Docstring fix.
3078 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
3079 (vc-rcs-receive-file): Avoid with-vc-properties.
3080 Update call to vc-unregister.
3081 Use constant `RCS' rather than (dynamically bound) var `backend'.
3083 2000-10-01 Andre Spiegel <spiegel@gnu.org>
3085 * vc.el (vc-next-action-on-file): Update mode line only if file
3087 (vc-start-entry): New argument initial-contents. Don't visit the file
3088 if it isn't already visited. Brought documentation up-to-date.
3089 (vc-next-action, vc-register): Updated calls to vc-start-entry.
3090 (vc-checkin): New optional arg initial-contents, which is passed to
3092 (vc-finish-logentry): Make sure to bury log buffer only if there
3093 really is one. Call `vc-resynch-buffer' on log-file, not
3095 (vc-default-comment-history, vc-default-wash-log): New functions.
3096 (vc-index-of): Removed.
3097 (vc-transfer-file): Make do without the above.
3098 (vc-default-receive-file): Call comment-history unconditionally. Pass
3099 the resulting string to vc-checkin, instead of inserting it into the
3102 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
3103 unconditionally. Use the comments as initial contents of the log
3104 entry buffer. Document the trick to force branch creation with no
3107 2000-10-01 Miles Bader <miles@gnu.org>
3109 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
3110 `recenter' with an arg to prevent redrawing the display.
3112 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
3114 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
3116 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
3118 * progmodes/c-mode.el (c-mode):
3119 Don't gratuitously override the default for comment-column.
3121 * textmodes/tex-mode.el (latex-metasection-list): New var.
3122 (latex-imenu-create-index): Use it.
3123 Move the regexp construction outside loops (and use push).
3124 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
3125 (tex-font-lock-keywords): Moved from font-lock.el.
3126 (tex-comment-indent): Remove.
3127 (tex-common-initialization): Don't set comment-indent-function.
3128 (latex-block-default): New var.
3129 (tex-latex-block): Use it to provide a default choice.
3130 Add any unknown choice to latex-block-names.
3131 Insert [...] after {...}.
3132 (tex-last-unended-begin): Simplify regexp.
3133 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
3134 (latex-forward-sexp-1, latex-forward-sexp): New functions.
3135 (latex-mode): Set forward-sexp-function.
3137 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
3138 Add regexp for @ignore ... @end ignore.
3139 (texinfo-heading-face): New face.
3140 (texinfo-font-lock-keywords): Use it.
3141 (texinfo-mode-menu): New menu.
3142 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
3144 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
3145 (texinfo-section-types-regexp, texinfo-section-level-regexp)
3146 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
3148 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
3150 * delsel.el (delete-selection-mode): Use define-minor-mode.
3152 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
3154 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3156 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
3158 2000-09-30 Gerd Moellmann <gerd@gnu.org>
3160 * replace.el (keep-lines-read-args): New function.
3161 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
3162 read arguments interactively. Add parameters RSTART and REND.
3163 Operate on the active region in Transient Mark mode.
3165 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
3167 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
3168 (authors-obsolete-files-regexps): New variable.
3169 (authors-add): Don't record changes in obsolete files.
3171 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3173 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
3175 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
3176 (comment-indent): Make sure there's a space between code and comment.
3177 Shift comments left to avoid going past fill-column.
3179 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3181 * startup.el (startup-echo-area-message): New function.
3182 (display-startup-echo-area-message): Use it.
3183 (fancy-splash-screens): Rewritten to use keymaps and a timer.
3184 (fancy-splash-default-action): New function.
3185 (fancy-splash-screens-1): New function.
3186 (fancy-splash-head): Put a help-echo and a keymap under the image.
3188 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3190 * diff-mode.el (diff-add-log-file-name): Remove.
3191 (diff-mode): Use add-log-buffer-file-name-function.
3193 * add-log.el (find-change-log): New arg BUFFER-FILE.
3194 (add-log-file-name): Obey add-log-file-name-function.
3195 (add-log-buffer-file-name-function): New var.
3196 (add-change-log-entry): Use it.
3198 2000-09-29 Miles Bader <miles@gnu.org>
3200 * image-file.el (image-file-name-extensions): New variable.
3201 (image-file-name-regexps): Renamed from `image-file-regexps'.
3202 New default value is nil. Call `auto-image-file-mode'.
3203 (image-file-name-regexp): New function.
3204 (auto-image-file-mode): New minor mode.
3205 (insert-image-file): Don't make conditional on the image-file
3206 handler being enabled.
3207 (image-file-handler): Make the call here conditional instead.
3208 (set-image-file-handler-enabled, enable-image-file-handler)
3209 (disable-image-file-handler): Functions removed.
3211 * emacs-lisp/authors.el (authors-print): Rephrase many-files
3214 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3216 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
3217 it's a function from CL.
3218 (latex-imenu-create-index): Replace eval-when-compile with progn
3219 because latex-section-alist is not bound while compiling.
3221 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3223 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
3224 (outline-mode): Use define-derived-mode.
3226 * progmodes/perl-mode.el (perl-mode):
3227 * progmodes/awk-mode.el (awk-mode):
3228 * progmodes/asm-mode.el (asm-mode):
3229 Don't gratuitously override the default for comment-column.
3231 * emacs-lisp/lisp.el (lisp-complete-symbol):
3232 Distinguish the let-binding case from the funcall case.
3233 (forward-sexp-function): New variable.
3234 (forward-sexp): Use it.
3236 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
3237 (easy-mmode-defmap): Remove the now useless autoload.
3239 * time.el (display-time-mode): Use define-minor-mode.
3241 * subr.el (add-minor-mode): Don't eval NAME.
3242 Don't depend on the presence of TOGGLE-FUN for any special behavior.
3243 Use if rather than cond.
3245 * simple.el (read-expression-map): Define more properly.
3246 (comment-indent-hook): Remove.
3247 (string-to-syntax): Bug fix.
3249 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
3250 (cvs-ediff-diff): Fix typo.
3251 (cvs-revert-if-needed): Don't bother preserving read-only.
3253 * paren.el (show-paren-mode): Use define-minor-mode.
3255 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
3256 (toggle-auto-compression): Remove.
3257 (jka-compr-build-file-regexp): Remove useless grouping.
3259 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
3260 Avoid user-reserved bindings.
3261 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
3262 (diff-header-face): Revert to grey85.
3264 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
3266 * complete.el (partial-completion-mode) <defcustom>: Remove.
3267 (partial-completion-mode): Use define-minor-mode.
3268 (PC-do-completion): Understand `completion-auto-help = delay'
3269 to mean to popup the completion buffer only the second time.
3270 (PC-include-file-all-completions, PC-include-file-all-completions)
3271 (PC-include-file-all-completions): Don't quote lambda.
3273 * comint.el (comint-mode-hook): Docstring fix.
3274 (comint-mode): Use define-derived-mode.
3275 (comint-mode-map): Remove obsolete comment.
3276 (make-comint): Minor stylistic change.
3277 (comint-insert-clicked-input): Be more careful to find the overlay.
3278 Use this-command-keys rather than hardcoding mouse-2.
3280 * font-lock.el: Replace confusing (,@ with ,
3281 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
3282 Don't use regexp-opt-depth. Spice up the regexp for args.
3283 Don't distinguish between cmds that can take an opt arg or not.
3284 Use `append' and `prepend' rather than `keep'.
3286 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
3287 (latex-outline-regexp): New var.
3288 (latex-outline-level): New fun.
3289 (latex-section-alist): New var.
3290 (latex-imenu-create-index): Use it. Use `push' as well.
3291 (tex-shell-map): Initialize it properly.
3292 (tex-mode): Minor stylistic change.
3293 (plain-tex-mode): Use define-derived-mode.
3294 (latex-mode): Use define-derived-mode.
3295 Construct the paragraph regexps in a more readable way.
3296 Set the buffer-local outline-{level,regexp} vars.
3297 (slitex-mode): Derive from latex-mode.
3298 (tex-common-initialization): Don't kill-all-vars anymore.
3299 Add setting for comment-add and font-lock-defaults.
3300 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
3301 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
3302 (tex-start-tex): New arg DIR (and send a chdir command for it).
3303 Also display the shell buffer and save it in tex-last-buffer-texed.
3304 (tex-region): Use expand-file-name rather than concat.
3305 Remove code made useless by changes in tex-start-tex.
3306 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
3308 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
3310 2000-09-28 Dave Love <fx@gnu.org>
3312 * eshell/eshell.el (eshell) <defgroup>: Add :version.
3314 2000-09-28 Gerd Moellmann <gerd@gnu.org>
3316 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
3319 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3321 * info.el (Info-extract-pointer): Undo last change.
3322 Instead, fix the position of the `bound' arg to re-search-backward.
3324 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
3326 * info.el (Info-extract-pointer):
3327 Widen more carefully, to avoid finding pointers in other nodes.
3328 (Info-index): Use push.
3330 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3332 * frame.el (set-frame-font): Remove call to obsolete function
3334 (set-foreground-color, set-background-color): Likewise for
3335 frame-update-face-colors.
3337 2000-09-27 Miles Bader <miles@gnu.org>
3339 * image-file.el: New file.
3341 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3343 * frame.el (frame-notice-user-settings): Don't call
3344 frame-update-faces, which is a no-op now.
3346 * ediff-wind.el (ediff-control-frame-parameters): Add zero
3349 2000-09-27 Dave Love <fx@gnu.org>
3351 * mouse.el: Fix last change.
3353 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
3355 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
3357 2000-09-22 Kenichi Handa <handa@etl.go.jp>
3359 * international/quail.el (quail-help): The output message is
3362 2000-09-26 Dave Love <fx@gnu.org>
3364 * mouse.el (popup-menu): If POSITION is nil, set it using
3367 2000-09-25 Sam Steingold <sds@gnu.org>
3369 * net/browse-url.el (browse-url-file-url): Check for null maps.
3371 2000-09-26 Gerd Moellmann <gerd@gnu.org>
3373 * frame.el (frame-notice-user-settings): Don't add a
3374 tool-bar-lines frame parameter to default-frame-alist in batch mode.
3376 * frame.el (frame-notice-user-settings):
3377 Make tool-bar-mode and default-frame-alist consistent.
3379 * toolbar/tool-bar.el (tool-bar-help): New function.
3381 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3383 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
3384 current-load-list in top-level forms. Else this leaks a cons cell
3385 every time a defun is called.
3387 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
3389 2000-09-25 Dave Love <fx@gnu.org>
3391 * startup.el (fancy-splash-head): Check XPM is available.
3393 * autoinsert.el (auto-insert): Doc fix.
3394 (auto-insert-alist): Following GNU notices, don't say `copyright
3395 _by_'. Use line-beginning-position.
3396 (auto-insert): Check buffer-file-name is non-nil before use.
3398 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3400 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
3401 starting with `@def' or `@multitable', in addition to ones
3402 specified by the user in auto-fill-inhibit-regexp.
3404 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
3406 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
3407 rmail-dont-reply-to-names matches the empty string.
3409 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3411 * startup.el (command-line-1, fancy-splash-text): Change the
3412 text to sound more friendly.
3414 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
3416 * progmodes/hideshow.el: Update author email address.
3417 Generally, sync w/ maintainer version 5.22.
3418 (hs-hide-all-non-comment-function): New var.
3419 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
3420 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
3421 (hs-show-region): Delete this command.
3422 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
3424 2000-09-22 Dave Love <fx@gnu.org>
3426 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
3427 (hl-line-highlight): Specify buffer when moving overlay.
3429 * progmodes/fortran.el (fortran-mode): Locally set
3430 normal-auto-fill-function.
3431 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
3432 (fortran-mode-map): Adjust auto-fill menu entry.
3434 2000-09-22 Gerd Moellmann <gerd@gnu.org>
3436 * vc-rcs.el (toplevel): Require `vc' when compiling.
3438 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
3440 2000-09-22 Andre Spiegel <spiegel@gnu.org>
3442 * vc.el (vc-switch-backend): Signal an error if the file is not
3443 registered under the new backend.
3445 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
3446 without explicit revision number.
3448 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
3450 * diff-mode.el (diff-file-header-face): Reset to its previous value.
3451 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
3452 (diff-xor): New function.
3453 (diff-find-source-location): Use it. Fix a stupid name clash.
3454 (diff-hunk-status-msg): New function.
3455 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
3456 (diff-test-hunk): Use diff-find-source-location.
3457 (diff-goto-source): Favor the `reverse'.
3458 (diff-hunk-text): Properly handle one-sided context diffs.
3459 (diff-apply-hunk): When done, advance to the next hunk.
3461 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3463 * startup.el (command-line): If frame was created with a non-zero
3464 tool-bar-lines parameter, switch tool-bar-mode on.
3466 * add-log.el (change-log-date-face, change-log-name-face)
3467 (change-log-email-face, change-log-file-face)
3468 (change-log-list-face, change-log-conditionals-face)
3469 (change-log-function-face, change-log-acknowledgement-face):
3470 New faces, inheriting from font-lock faces.
3471 (change-log-font-lock-keywords): Use them.
3473 2000-09-21 Dave Love <fx@gnu.org>
3475 * progmodes/cperl-mode.el (top-level): Clean up
3476 `eval-when-compile's and assorted defvars.
3477 (cperl-invalid-face): Don't double-quote value. Change custom
3479 (cperl-mode): Set normal-auto-fill-function and don't zap
3481 (cperl-imenu--function-name-regexp-perl): Renamed from
3482 imenu-example--function-name-regexp-perl.
3483 (cperl-imenu--create-perl-index): Renamed from
3484 imenu-example--create-perl-index.
3485 (cperl-xsub-scan): Don't require cl.
3487 * msb.el (msb-mode-map): Use substitute-key-definition.
3488 (msb-mode): Use msb-mode-map.
3490 2000-09-21 Andre Spiegel <spiegel@gnu.org>
3492 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
3494 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
3495 (vc-switch-backend): New function.
3496 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
3497 (vc-register): Fix prompt.
3498 (vc-unregister, vc-default-unregister): New functions.
3499 (vc-version-diff): Handle empty buffer in sentinel.
3501 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
3502 (vc-rcs-state-heuristic): Use it to guess the state of files with
3504 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
3505 been set with -b, but not created yet.
3506 (vc-rcs-fetch-master-state): With non-strict locking, compare file
3507 contents in order to find the state.
3508 (vc-rcs-checkin): Allow creation of branches with no changes.
3509 (vc-rcs-unregister, vc-rcs-receive-file)
3510 (vc-rcs-set-non-strict-locking): New functions.
3512 * vc-hooks.el (vc-name): Force correct computation of the value
3513 in case it is missing.
3515 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3517 * startup.el (fancy-splash-tail): Use a different foreground
3518 color on a dark frame background.
3520 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
3522 * info.el: Use the correct capitalization when making Info-mode
3523 and Info-edit-mode `special' modes.
3525 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
3527 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
3528 (diff-mode): Add support for add-log.el.
3529 (diff-hunk-text): Use char offsets rather than line offsets.
3530 (diff-find-source-location): Replace LINE with line-offset (nil
3531 if not found) and always set POS to a meaningful position.
3532 Adapt to the new char-offsets.
3533 (diff-apply-hunk): Drop support for the unused `select' POPUP.
3534 Adapt to the new diff-find-source-location.
3535 (diff-goto-source): Adapt to the new diff-find-source-location.
3537 * add-log.el (add-log-file-name): New function (split out of
3538 add-change-log-entry).
3539 (add-change-log-entry): Use it.
3540 Call add-log-file-name-function with the changelog file name if
3541 the current buffer is not associated with any file.
3542 Avoid find-file if the selected window is dedicated.
3544 * diff-mode.el (diff-find-source-location):
3545 Move code from diff-apply-hunk. Return buffer rather than file.
3546 (diff-apply-hunk): Use the new result from diff-find-source-location.
3547 (diff-goto-source): Use the new diff-find-source-location.
3549 2000-09-20 Dave Love <fx@gnu.org>
3551 * iswitchb.el: Some doc fixes.
3552 (iswitchb-mode-map): Define completely initially. Inherit
3553 minibuffer-local-map.
3554 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3556 (iswitchb-global-map): New variable.
3557 (iswitchb-summaries-to-end): Amalgamate regexps.
3558 (iswitchb-mode): New.
3559 (iswitchb-mode-hook): New variable.
3560 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
3563 2000-09-20 Gerd Moellmann <gerd@gnu.org>
3565 * ehelp.el (electric-help): New defgroup.
3566 (electric-help-shrink-window): New user-option.
3567 (with-electric-help): Use it.
3569 * window.el (shrink-window-if-larger-than-buffer): If face
3570 `mode-line' has a :box, and we're on a graphical frame, add 1
3571 to the needed window height.
3573 * frame.el (frame-notice-user-settings): Add a last parameter nil
3574 to a call to `append', because the last list passed to `append' is
3575 not copied, and so subsequent calls to assq-delete-all will modify
3576 default-frame-alist.
3578 * startup.el (fancy-splash-image): Change :type.
3579 (fancy-splash-head): Use an XBM image if appropriate.
3580 (command-line-1): Show splash screens in more cases.
3582 * startup.el (fancy-splash-text): Don't quote faces.
3584 * dired.el (dired-font-lock-keywords): Undo last change.
3585 (dired-readin): Bind indent-tabs-mode to nil.
3587 * startup.el (fancy-splash-head): If frame's background mode
3588 is `dark', change the black background of the image to gray.
3589 (fancy-splash-screens): Display startup echo area message.
3590 (display-startup-echo-area-message): New function.
3592 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
3594 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3596 * info.el (info-header-node): Tweak for color ttys.
3598 * faces.el (face-valid-attribute-values): Make sure directories we
3599 search for stipples both exist and are readable before trying to
3602 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3603 in the dry-run case.
3605 * jka-compr.el (with-auto-compression-mode): New macro.
3607 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3608 (custom-group-tag-face, custom-variable-tag-face): Use relative
3609 :height and inherit from `variable-pitch' face instead of
3611 * hi-lock.el (hi-black-hb): Likewise.
3613 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3614 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3615 toolbar-add-item, if image doesn't have a mask add a `:mask
3618 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3620 * diff-mode.el: Docstring fixes.
3621 (diff-header-face, diff-comment-face): New faces.
3622 (diff-font-lock-keywords): Highlight a bit differently.
3623 (diff-find-source-location): Don't return SPAN any more.
3624 (diff-hunk-text): Don't bother erasing the temp buffer.
3625 (diff-find-text): Drop argument LINE.
3626 (diff-apply-hunk): Update calls to diff-find-text.
3627 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3629 * calendar/calendar.el: Docstring fixes.
3630 (calendar-make-alist): Don't quote lambda.
3631 (calendar-star-date): Use make-local-variable.
3633 2000-09-19 Dave Love <fx@gnu.org>
3635 * toolbar/tool-bar.el: Renamed from toolbar.el.
3636 Change `toolbar' to `tool-bar' generally in symbols.
3637 Make some items invisible in `special' major modes.
3638 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3641 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3643 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3645 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3647 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3649 * files.el (find-file-suppress-same-file-warnings): New user-option.
3650 (find-file-noselect): Use it.
3652 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3653 (fancy-splash-screen): Defgroup.
3655 * add-log.el (change-log-font-lock-keywords): Match names
3656 more exactly for the case that font-lock-constant-face is
3659 2000-09-19 Richard M. Stallman <rms@gnu.org>
3661 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3663 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3665 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3667 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3669 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3670 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3671 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3672 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3673 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3674 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3675 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3676 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3677 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3678 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3679 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3680 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3682 * startup.el (fancy-splash-text): New variable.
3683 (fancy-splash-delay, fancy-splash-image): New user-options.
3684 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3685 (fancy-splash-screens): New functions.
3686 (command-line-1): If display has a `display' frame parameter, has
3687 colors, and we have XPM support, show more fancy splash screens.
3689 2000-09-19 Dave Love <fx@gnu.org>
3691 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3692 with null `help'. Use modern backquote syntax.
3694 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3696 * font-lock.el (font-lock-mode): Change message telling the user
3697 that ``the buffer is too big''.
3699 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3700 for instance for the case that tab-width is 2.
3702 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3704 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3705 toolbar-add-item, if image doesn't have a mask add a `:mask
3708 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3710 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3711 and return a cons if it's non-nil.
3712 (diff-apply-hunk): Try to jump to the line in the source text
3713 corresponding to the position of point in the in the hunk.
3715 * info.el (Info-title-3-face, Info-title-2-face)
3716 (Info-title-1-face): Use face inheritance and relative sizes
3717 instead of hard-wiring things.
3719 * faces.el (secondary-selection): Make dark-background variant sane.
3721 2000-09-16 Andrew Innes <andrewi@gnu.org>
3723 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3724 read-only, since they aren't under VC now.
3726 2000-09-17 Dave Love <fx@gnu.org>
3728 * tmm.el: Replace mapcar with mapc in several places.
3730 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3733 * international/latin1-disp.el: New file.
3735 * calendar/cal-move.el (scroll-calendar-left)
3736 (scroll-calendar-right): Make arg optional (for active mode line).
3738 * calendar/calendar.el (calendar-mode-line-format): Make fields
3740 (calendar-read-date, calendar-read-date, calendar-window-list):
3742 (calendar-month-name): Use aref, not sref.
3744 * view.el (minor-mode-alist): Propertize the string.
3746 * international/characters.el (standard-case-table): Add entries
3749 2000-09-18 Miles Bader <miles@gnu.org>
3751 * info.el (info-node, info-xref): Add dark-background variants.
3753 * faces.el (header-line): Change defaults to be less confusing
3754 when mixed with mode-lines.
3756 * info.el (Info-fontify-node): Make a few cleanups.
3757 Add extra `help-echo' and `local-map' props to node xrefs.
3758 Use header-specific faces for node-names & xrefs.
3759 (Info-use-header-line): New variable.
3760 (info-header-xref, info-header-node): New faces.
3761 (Info-setup-header-line): New function.
3762 (Info-select-node): Call Info-setup-header-line when enabled.
3763 (Info-extract-pointer): Work even if the header line is hidden.
3764 (Info-header-line): New variable.
3766 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3768 * vms-patch.el (print-region-function): Don't quote lambda.
3770 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3772 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3773 (lm-get-header-re): Allow spaces between the header and the colon.
3774 (lm-header): Allow $ in non-RCS headers.
3775 (lm-header-multiline): Put the strings back into order.
3776 Stop at an empty line. Don't require two space chars if the
3777 line is clearly not another header line.
3779 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3780 (popup-menu-popup): Remove.
3782 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3784 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3785 specification if or if not tool-bar item contains an `:enabled'
3788 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3789 current buffer has no file name.
3791 2000-09-15 Dave Love <fx@gnu.org>
3793 * strokes.el: Sync with maintainer's current version with changes
3794 for Emacs, but avoid runtime cl and levents.
3795 (toplevel): Change autoloads and compilation requires.
3796 (strokes-version, strokes-bug-address, strokes-lift): Values
3798 (strokes-xpm-header, strokes-insinuated): New variable.
3799 (strokes): Add :link.
3800 (strokes-mode): Customized.
3801 (strokes-while-inhibiting-garbage-collector): New macro.
3802 (strokes-remassoc): Avoid remove-if.
3803 (strokes-fix-button2-command): Don't use ad-do-it.
3804 (strokes-insinuate): New function.
3805 (strokes-button-press-event-p, strokes-button-release-event-p):
3806 New functions, used instead of non-`strokes-' versions..
3807 (strokes-mouse-event-p): Rewritten.
3808 (strokes-event-closest-point): Avoid event-point.
3809 (strokes-get-grid-position): Avoid cdadr, caadr
3810 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3812 (strokes-help): Use with-output-to-temp-buffer.
3813 (strokes-window-configuration-changed-p): New function.
3814 (strokes-update-window-configuration): Use buffer-live-p,
3815 strokes-window-configuration-changed-p.
3816 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3817 (strokes-char-face): New face.
3818 (strokes-char-table, strokes-base64-chars): New variable.
3819 (strokes-xpm-for-stroke, strokes-list-strokes)
3820 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3821 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3822 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3823 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3824 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3827 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3829 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3831 * image.el (create-image): Doc fix.
3833 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3834 instead of `:heuristic-mask t'.
3836 2000-09-14 Andrew Innes <andrewi@gnu.org>
3838 * makefile.w32-in: Revert to Unix line endings.
3840 2000-09-14 Andrew Innes <andrewi@gnu.org>
3842 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3845 * makefile.nt (DONTCOMPILE): Fix typo.
3847 * shell.el (shell-write-history-on-exit): New function.
3848 (shell-dumb-shell-regexp): New custom variable.
3849 (shell-mode): Make shell-write-history-on-exit the process
3850 sentinel if shell name matches shell-dumb-shell-regexp.
3852 * w32-fns.el: Comment out before-init-hook function which resets
3853 source-directory based; this breaks bootstrap.
3855 2000-09-14 Dave Love <fx@gnu.org>
3857 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3858 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3859 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3860 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3861 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3862 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3863 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3864 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3865 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3867 * toolbar/toolbar.el: New.
3869 * subdirs.el: Add toolbar.
3871 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3873 * indent.el (indent-for-tab-command): Doc fix.
3875 2000-09-14 Alex Schroeder <alex@gnu.org>
3877 * ansi-color.el (ansi-colors): Doc change.
3878 (ansi-color-get-face): Simplified regexp.
3879 (ansi-color-faces-vector): Added more faces, doc change.
3880 (ansi-color-names-vector): Doc change.
3881 (ansi-color-regexp): Simplified regexp.
3882 (ansi-color-parameter-regexp): New regexp.
3883 (ansi-color-filter-apply): Doc change.
3884 (ansi-color-filter-region): Doc change.
3885 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3886 deal with zero length parameters.
3887 (ansi-color-apply-on-region): Doc change.
3888 (ansi-color-map): Doc change.
3889 (ansi-color-map-update): Removed debugging message.
3890 (ansi-color-get-face-1): Added condition-case to trap
3891 args-out-of-range errors.
3892 (ansi-color-get-face): Doc change.
3893 (ansi-color-make-face): Removed.
3894 (ansi-color-for-shell-mode): New option.
3896 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3898 * international/quail.el (quail-start-translation): Translate KEY
3899 if necessary even if it doesn't have any mapping in the current
3901 (quail-start-conversion): Likewise.
3902 (quail-help): The output message is improved.
3904 2000-09-13 Miles Bader <miles@gnu.org>
3906 * comint.el (comint-output-filter): Revert to using
3907 `insert-before-markers'. Add bletcherous hack to undo damage
3908 caused by `insert-before-markers'. Put `front-sticky' property on
3909 overlays created here so that the field code understands how the
3910 overlay works. Use a let when making comint-last-prompt-overlay,
3911 so that the code is easier to read.
3913 2000-09-13 Dave Love <fx@gnu.org>
3915 * wid-edit.el (widget-default-format-handler): DTRT when
3916 doc-property is a function.
3918 2000-09-12 Francesco Potorti` <pot@gnu.org>
3920 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3921 filed name if it's not there.
3923 2000-09-12 Dave Love <fx@gnu.org>
3925 * simple.el (read-mail-command): Doc fix.
3926 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3928 * vc.el (vc-dired-listing-switches): Fix :version.
3930 * vc-hooks.el: Doc fixes.
3932 * subr.el (add-minor-mode): Use toggle-fun arg.
3934 * speedbar.el: Add :version to several defcustoms.
3936 * imenu.el (imenu--truncate-items, imenu--cleanup)
3937 (imenu--generic-function): Avoid mapcar.
3938 (imenu--replace-spaces): Function removed.
3939 (imenu--completion-buffer): Use subst-char-in-string.
3940 (imenu-add-to-menubar): Use keymap inheritance.
3942 2000-09-12 Miles Bader <miles@gnu.org>
3944 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3945 (diff-mode-map): Bind `diff-test-hunk'.
3946 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3948 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3950 * bytecomp.el (byte-compile-defvar): Undo last change
3951 because it breaks '(make-variable-buffer-local (defvar ...)'
3952 which is used at least in dired.
3954 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3956 * international/quail.el (quail-define-package): Docstring
3959 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3961 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3962 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3963 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3964 docstring of "chinese-py".
3966 * international/quail.el (quail-translation-docstring): New
3968 (quail-show-keyboard-layout): Docstring modified.
3969 (quail-select-current): Likewise.
3970 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3971 infinite recursive call.
3972 (quail-help): Check quail-translation-docstring. Format of the
3974 (quail-help-insert-keymap-description): Adjusted for the above
3977 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3979 * bytecomp.el (byte-compile-defvar): Only cons onto
3980 current-load-list in top-level forms. Else this leaks a cons cell
3981 every time a defun is called.
3983 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3985 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3986 Now understands non-unified diffs. Some functionality moved into
3987 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3988 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3989 modify anything. Only reposition point in the patched file if the
3990 patch succeeds. Only pop up another window if POPUP is true.
3991 Emit a message describing what happened if successful, and at what
3992 line-offset. Automatically detect reversed hunks and do something
3994 (diff-hunk-text, diff-find-text): New functions.
3995 (diff-filter-lines): Function removed.
3996 (diff-test-hunk): New function.
3997 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3999 2000-09-10 Dave Love <fx@gnu.org>
4001 * textmodes/tildify.el: Minor doc/commentary fixes.
4002 (tildify) <defgroup>: Add :version.
4004 * faces.el (face-x-resources): Make custom type more specific.
4005 (frame-background-mode): Use mapc.
4006 (region) <defcustom>: Add :version.
4008 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
4010 * vc-sccs.el (vc-sccs-register):
4011 * vc-rcs.el (vc-rcs-register):
4012 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
4013 * vc.el (vc-register): Clear file's properties.
4015 2000-09-08 Gerd Moellmann <gerd@gnu.org>
4017 * faces.el (face-spec-set): Only face-spec-reset-face when
4020 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
4022 * help.el (help-insert-xref-button): Fix a typo in doc string.
4024 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
4026 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4027 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
4030 * menu-bar.el (read-mail-item-name): New function.
4031 (menu-bar-tools-menu): Use it to compute and display the package
4033 (menu-bar-tools-menu): Fix typo in GUD's help string.
4035 2000-09-07 Dave Love <fx@gnu.org>
4037 * diff-mode.el (diff-mouse-goto-source): New function.
4039 * vc-sccs.el: Doc fixes.
4040 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
4042 * vc-rcs.el: Doc fixes.
4043 (vc-rcs-register-switches, vc-rcs-checkin-switches)
4044 (vc-rcs-checkout-switches, vc-rcs-header)
4045 (vc-rcs-master-templates): Add or change :version.
4047 * vc-cvs.el: Doc fixes.
4048 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
4049 (vc-cvs-stay-local): Add :version.
4051 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
4053 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4055 * international/quail.el (quail-help): Fix previous change.
4057 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4059 * faces.el (color-values): Doc fix.
4061 * faces.el (frame-set-background-mode): Use frame-parameter
4062 instead of frame-parameters.
4064 * frame.el (filtered-frame-list): Reduce consing.
4065 (frames-on-display-list): Call frame-parameter instead of
4068 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4070 * language/devan-util.el (devanagari-to-indian-region): In the
4071 loop, change the following char, not preceding char.
4073 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4075 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
4076 instead of frame-parameters.
4078 * faces.el (set-face-attribute): Simplify by calling
4079 internal-set-lisp-face-attribute with FRAME being 0.
4081 * vc.el: Remove `Id' version control keyword.
4083 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4085 * help.el (help-make-xrefs): Adjusted for the change of
4086 help-xref-mule-regexp.
4087 (help-insert-xref-button): New function.
4089 * international/mule-cmds.el (help-xref-mule-regexp-template):
4090 Include the pattern for character set.
4093 * international/quail.el: Don't require face.
4095 (quail-other-command): Dummy command to make quail-help work better.
4096 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
4097 (quail-keyboard-layout-substitution): New variable.
4098 (quail-update-keyboard-layout): New function.
4099 (quail-keyboard-layout-type): New customizable variable.
4100 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
4101 (quail-keyboard-translate): Pay attention to
4102 quail-keyboard-layout-substitution.
4103 (quail-insert-kbd-layout): New function.
4104 (quail-show-keyboard-layout): New function.
4105 (quail-get-translation): If the definition is a vector of length
4106 1, and the element is a string of length 1, return the character
4108 (quail-update-current-translations): Fix the case of
4109 relative-index out of range.
4110 (quail-build-decode-map, quail-insert-decode-map): New Functions.
4111 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
4112 Show key sequences for all available characters.
4113 (quail-help-insert-keymap-description): Don't show such verbose
4114 key bindings as quail-self-insert-command.
4116 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4117 Format changed, and each element now have extra documentations.
4118 (tit-process-header): Delete invalid characters from TIT-PROMPT.
4119 Adjusted for the change of quail-cxterm-package-ext-info.
4121 2000-09-06 Gerd Moellmann <gerd@gnu.org>
4123 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
4124 requiring it leads to a recursive loading of vc.el and vc-hooks.el
4127 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4129 * vc.el: (toplevel): Don't require `dired' at run-time.
4130 (vc-dired-resynch-file): Remove autoload cookie.
4132 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4134 * vc.el: Made several backend functions optional.
4135 (vc-default-responsible-p): New function.
4136 (vc-merge): Use RET for first version to trigger merge-news, not
4138 (vc-annotate): Handle backends that do not support annotation.
4139 (vc-default-merge-news): Removed. The existence of a merge-news
4140 implementation is now checked on caller sites.
4142 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
4145 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
4146 special case that has been removed from the default in vc-hooks.el.
4148 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4150 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
4152 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4154 * vc-hooks.el: Require vc during compilation.
4155 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
4156 macro `with-vc-properties' in vc.el.
4157 (vc-file-getprop): Doc fix.
4158 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
4160 * vc.el: Require dired-aux during compilation.
4161 (vc-name-assoc-file): Moved to vc-sccs.el.
4162 (with-vc-properties): New macro.
4163 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
4164 vc-finish-steal): Use it.
4165 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
4166 to the backend-specific function is now supposed to do the checkout,
4168 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
4170 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
4171 set file properties; that gets done in the generic code now.
4173 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
4174 Changed parameter list, added code from vc.el that does the
4175 checkout, possibly with a double-take.
4177 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
4178 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
4179 the above under the new name.
4180 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
4181 parameter list, added checkout command.
4182 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
4183 properties; that gets done in the generic code now.
4185 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4187 * vc.el: Docstring fixes (courtesy of checkdoc).
4189 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4191 * vc.el (vc-checkout-writable-buffer-hook)
4192 (vc-checkout-writable-buffer): Remove.
4193 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
4194 (vc-log-mode): Make it into a clean derived major mode.
4195 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
4196 vc-log-mode if log-edit is not available.
4197 (vc-dired-mode-map): Don't set-keymap-parent yet.
4198 (vc-dired-mode): Do set-keymap-parent here.
4199 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
4201 2000-09-05 Gerd Moellmann <gerd@gnu.org>
4203 * faces.el (set-face-attribute, face-spec-reset-face)
4204 (face-spec-set): Avoid consing by removing calls to `apply'.
4206 * frame.el (frame-parameter): Move to C code.
4208 2000-09-05 Dave Love <fx@gnu.org>
4210 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
4211 insert-before-markers-and-inherit. Now checked systematically!
4213 2000-09-05 Alex Schroeder <alex@gnu.org>
4215 * sql.el (sql-postgres): Use sql-postgres-options.
4216 (sql-postgres-options): New variable.
4218 2000-09-05 Alex Schroeder <alex@gnu.org>
4220 * sql.el (sql-mode-menu): Work around missing variable mark-active
4222 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
4223 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
4226 2000-09-04 Gerd Moellmann <gerd@gnu.org>
4228 * vc.el (vc-dired-resynch-file): Add autoload cookie.
4230 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
4232 * Makefile.in (DONTCOMPILE): Fix typo in file name.
4234 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4236 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
4237 don't support anything else under SCCS yet.
4239 * vc-hooks.el: Minor doc fixes.
4241 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4243 * vc.el (vc-next-action-on-file): Do not visit the file if it's
4244 not necessary. If verbose in state `needs-patch', do the same as
4245 under `up-to-date'. When NOT verbose and `needs-patch', check out
4246 latest version instead of `merge-news'.
4247 (vc-next-action-dired): Don't mess with default-directory here; it
4248 breaks other parts of dired. It is the job of the
4249 backend-specific functions to adjust it temporarily if they need it.
4250 (vc-next-action): Remove a special CVS case.
4251 (vc-clear-headers): New optional arg FILE.
4252 (vc-checkin, vc-checkout): Set properties vc-state and
4253 vc-checkout-time properly.
4254 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
4255 (vc-print-log): Use new backend function `show-log-entry'.
4256 (vc-cancel-version): Do the checks in a different order. Added a
4257 FIXME concerning RCS-only code.
4259 * vc-rcs.el (vc-rcs-show-log-entry): New function.
4260 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
4262 * vc-cvs.el (vc-cvs-show-log-entry): New function.
4264 * vc-hooks.el (vc-default-mode-line-string): Show state
4265 `needs-patch' as a `-' too.
4267 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4269 * vc.el (vc-responsible-backend): New optional arg REGISTER.
4270 (vc-default-could-register): New function.
4271 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
4272 (vc-resynch-buffer): Call vc-dired-resynch-file.
4273 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
4274 vc-resynch-buffer instead of vc-resynch-window.
4275 (vc-next-action-dired): Don't redisplay here, that gets done as a
4276 result of the individual file operations.
4277 (vc-retrieve-snapshot): Corrected prompt order.
4279 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
4281 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
4283 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
4284 hostname regexps. Updated all callers.
4285 (vc-cvs-responsible-p): Handle directories as well.
4286 (vc-cvs-could-register): New function.
4287 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
4288 properties up-to-date.
4290 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
4291 user whether to create one.
4293 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4295 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
4296 check out a non-existing file.
4298 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
4299 workfile does not exist.
4301 * vc.el (vc-version-diff): Use `require' to check for existence of
4304 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4306 * vc-cvs.el (vc-cvs-registered): Use new function
4307 vc-cvs-parse-entry to do the actual work.
4309 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4311 * vc-hooks.el (vc-find-backend-function): If function doesn't
4312 exist, return nil instead of error.
4313 (vc-call-backend): Doc fix.
4315 * vc.el (vc-do-command): Doc fix.
4316 (vc-finish-logentry): When checking in from vc-dired, choose the
4317 right backend for logentry check.
4318 (vc-dired-mode-map): Inherit from dired-mode-map.
4319 (vc-dired-mode): Local value of dired-move-to-filename-regexp
4321 (vc-dired-state-info): Removed, updated caller.
4322 (vc-default-dired-state-info): Use parentheses instead of hyphens.
4323 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
4324 (vc-dired-listing-switches): New variable.
4325 (vc-directory): Use it, instead of dired-listing-switches.
4327 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
4328 (vc-cvs-dir-state): New function.
4329 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
4330 (vc-cvs-parse-entry): New function, also to be used in
4333 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4335 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
4336 *or* single-window-frames.
4338 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4340 * vc.el (vc-update-changelog): Split into generic part and default
4341 implementation. Doc string adapted.
4342 (vc-default-update-changelog): New function. Call the `rcs2log'
4343 script in exec-directory, to fix a long-standing nuisance.
4345 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
4346 simply signals an error.
4348 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4350 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
4351 control-flow more clear and to avoid running `cvs' twice.
4353 * vc.el (vc-next-action-on-file): Doc fix.
4354 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
4355 (vc-print-log): Eval `file' before constructing the continuation.
4357 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4359 * vc.el (vc-next-action-on-file): Corrected several messages.
4360 (vc-merge): Add prefix arg `merge-news'; handle it.
4362 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
4363 is not reached. It is.
4364 (vc-cvs-merge): Set state to 'edited after merge.
4365 (vc-cvs-merge-news): Set workfile version to nil if not known.
4366 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
4368 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
4369 via stdout. (Merge from main line.)
4371 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4373 * vc.el (vc-finish-logentry): Thinko in the "same comment"
4376 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4378 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
4379 against kill-all-local-variables.
4380 (vc-log-edit): Don't save vc-parent-buffer any more.
4381 (vc-last-comment-match): Initialize to an empty string.
4382 (vc-post-command-functions): New hook.
4383 (vc-do-command): Run it.
4384 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
4385 (vc-finish-logentry): Only add the comment to the ring if it's
4386 different from the last comment entered.
4387 (vc-new-comment-index): New function.
4388 (vc-previous-comment): Use it. Make the minibuffer message
4389 slightly less terse.
4390 (vc-comment-search-reverse): Make it work forward as well. Don't
4391 set vc-comment-ring-index if no match is found. Use
4392 vc-new-comment-index.
4393 (vc-comment-search-forward): Use vc-comment-search-reverse.
4394 (vc-dired-mode-map): Don't inherit from dired-mode-map since
4395 define-derived-mode will do it for us. Bind `v' to a keymap that
4396 inherits from vc-prefix-map so that we can bind `vt' without
4398 (vc-retrieve-snapshot): Parenthesis typo.
4400 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
4401 to 1. Make sure to switch to *vc* before looking for an error
4402 message. Use vc-parse-buffer.
4404 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4406 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
4408 (vc-retrieve-snapshot): Split into two parts.
4409 (vc-default-retrieve-snapshot): New function.
4411 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
4412 (vc-cvs-retrieve-snapshot): New function (untested).
4413 (vc-cvs-stay-local): Default to t.
4414 (vc-cvs-remote-p): New function and property.
4415 (vc-cvs-state): Stay local only if the above is t.
4416 (vc-handle-cvs): Removed.
4417 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
4418 done via vc-handled-backends now.
4419 (vc-cvs-header): Escape Id.
4421 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4423 * vc.el (vc-do-command): Remove unused commands.
4424 (vc-version-diff): Make sure default-directory ends with a slash.
4425 Move the window commands into a vc-exec-after.
4426 (vc-print-log): Move more of the code into the `vc-exec-after'.
4428 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4430 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
4431 (vc-print-log): Search current revision from beginning of buffer.
4432 (vc-revert-buffer): Clear echo area after the diff is finished.
4433 (vc-prefix-map): Removed definition of "t" for terse display in vc
4435 (vc-dired-mode-map): Inherit from dired-mode-map. Added
4436 definition of "vt" for terse display.
4437 (vc-dired-mode): Fix dired-move-to-filename-regexp.
4439 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4441 * vc.el (vc-exec-after): Avoid caddr.
4443 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4445 * vc.el (vc-exec-after): New function.
4446 (vc-do-command): Use it to add a termination message for async
4448 (vc-checkout): Try to handle a missing-backend situation.
4449 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
4450 of a directory with a backend using async diffs.
4451 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
4454 * vc-sccs.el (vc-sccs-state-heuristic): Use
4455 file-ownership-preserved-p.
4457 * vc-rcs.el (vc-rcs-state-heuristic): Use
4458 file-ownership-preserved-p.
4459 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
4461 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4463 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
4466 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
4467 when there are no changes.
4469 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4471 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
4473 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
4475 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4477 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
4479 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
4480 the `fset' outside of the defvar so that it works even if
4481 vc-prefix-map was already defined.
4482 (vc-setup-buffer): New function, split out of vc-do-command.
4483 (vc-do-command): Allow BUFFER to be t to mean `just use the
4484 current buffer without any fuss'.
4485 (vc-version-diff): Change the `diff' backend operation to just put
4486 the diff in the current buffer without erasing it. Always use
4487 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
4488 shrink-window-if-larger-than-buffer.
4489 (vc-print-log): Change the `print-log' backend operation to just
4490 put the log in the current buffer without erasing it. Protect
4491 shrink-window-if-larger-than-buffer.
4492 (vc-update-change-log): Fix setd typo.
4494 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
4495 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
4497 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
4498 (vc-rcs-diff): Insert in the current buffer and remove unused arg
4501 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
4502 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
4503 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
4505 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4507 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
4508 not possible, use vc-BACKEND-workfile-unchanged-p.
4509 (vc-default-workfile-unchanged-p): New function. Delegates to a
4510 full vc-BACKEND-diff.
4512 * vc-hooks.el (vc-simple-command): Removed.
4514 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
4515 instead of vc-simple-command.
4516 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
4517 avoid doing a diff when opening a file.
4518 (vc-rcs-state): Added check for unlocked-changes.
4519 (vc-rcs-header): Escape Id.
4520 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
4521 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
4524 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
4525 (vc-sccs-diff): Remove optional arg CMP.
4526 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
4527 SCCS-specific function.
4529 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
4532 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4534 * vc.el (vc-editable-p): Renamed from vc-writable-p.
4535 (with-vc-file, vc-merge): Use vc-editable-p.
4536 (vc-do-command): Remove unused var vc-file and fix the
4537 doubly-defined `status' var. Add a user message when starting an
4539 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4540 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4541 Use with-current-buffer.
4542 (vc-buffer-sync): Use unless.
4543 (vc-next-action-on-file): If the file is 'edited by read-only,
4544 make it read-write instead of trying to commit.
4545 (vc-version-diff, vc-update-change-log): Use `setq
4546 default-directory' rather than `cd'.
4547 (vc-log-edit): Don't forget to set default-directory in the
4550 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4551 (vc-sccs-state-heuristic): Use file-writable-p instead of
4553 (vc-sccs-checkout): Use `unless'.
4555 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4556 of comparing userids.
4557 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4558 Simplify the logic by eliminating unreachable code.
4559 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4560 just do a recursive call if we need to retry.
4561 (vc-rcs-checkout): Handle the case where rcs is missing by making
4562 the buffer read-write if requested and re-signalling the error.
4564 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4566 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4568 * vc-hooks.el (vc-handled-backends): Docstring change.
4569 (vc-ignore-vc-files): Mark obsolete.
4570 (vc-registered): Check vc-ignore-vc-files.
4571 (vc-find-file-hook, vc-file-not-found-hook): Don't check
4574 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4576 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4578 * vc.el (vc-checkout): Don't do anything special for ange-ftp
4579 files since ange-ftp already has vc-registered return nil.
4581 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4582 (vc-sccs-workfile-version): Use with-temp-buffer and new
4583 vc-parse-buffer and don't bother setting the property.
4584 (vc-sccs-add-triple): Use with-current-buffer and
4586 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4588 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
4589 derives from the old vc-parse-buffer but uses the revision number
4590 rather than the date (much easier to compare robustly).
4591 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
4592 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
4593 locking-user more directly. Check strict locking and set
4594 checkout-model appropriately.
4595 (vc-rcs-parse-locks): Remove.
4596 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4597 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4598 (vc-rcs-system-release): Use with-current-buffer and
4600 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4602 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4603 (vc-simple-command): Docstring fix.
4604 (vc-registered): Align the way the file-handler is called with the
4605 way the function itself works.
4606 (vc-file-owner): Remove.
4608 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
4609 extraction of fields and call to file-attributes because of a
4610 temporary bug in rcp.el.
4611 (vc-cvs-fetch-status): Use with-current-buffer.
4613 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4615 * vc.el (vc-do-command): Use file-relative-name.
4616 (vc-responsible-backend): Use vc-backend if possible.
4617 (vc-create-snapshot): Improve the `interactive' spec. Add support
4618 for branches and dispatch to backend-specific `create-snapshot'.
4619 (vc-default-create-snapshot): New function, containing the bulk of
4620 the old vc-create-snapshot.
4621 (vc-retrieve-snapshot): Improve the interactive spec.
4623 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4624 (vc-backend-hook-functions): Remove.
4625 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4626 (vc-backend): Reintroduce the test for `file = nil' now that I
4627 know why it was there (and added a comment to better remember).
4629 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4630 code from vc-sccs-hooks.el.
4631 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4633 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4634 and file-directory-p instead of file-exists-p.
4635 (vc-sccs-check-headers): Simplify the regexp.
4637 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4638 from vc-rcs-hooks.el. Don't require 'vc anymore.
4639 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4640 file-directory-p instead of file-exists-p.
4642 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4643 from vc-cvs-hooks.el.
4644 (proto vc-cvs-registered): Require 'vc-cvs instead of
4645 'vc-cvs-hooks. Don't require 'vc anymore.
4646 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4647 file-directory-p instead of file-exists-p.
4648 (vc-cvs-create-snapshot): New function, replacing
4650 (vc-cvs-assign-name): Remove.
4652 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4654 * vc-cvs.el (vc-cvs-header): New var.
4656 * vc-rcs.el (vc-rcs-exists): Remove.
4657 (vc-rcs-header): New var.
4659 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4660 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4661 (vc-sccs-header): New var.
4663 * vc.el (vc-do-command): Get rid of the `last' argument.
4664 (vc-header-alist): Remove, replaced by vc-X-header.
4665 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4666 (vc-dired-hook): Use expand-file-name instead of concat.
4667 (vc-directory): Use file-name-as-directory.
4668 (vc-snapshot-precondition, vc-create-snapshot)
4669 (vc-retrieve-snapshot): Allow the command to operate on any
4672 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4673 just removing the 'WORKFILE argument or by removing the 'MASTER
4674 argument and replacing `file' with (vc-name file).
4676 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4678 * vc.el: Update Copyright and add a crude list of backend funs.
4679 (vc-writable-p): New function.
4680 (with-vc-file): Use vc-writable-p.
4681 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4682 (vc-register): Avoid vc-name.
4683 (vc-locking-user): Remove.
4684 (vc-steal-lock): Make the `owner' arg non-optional.
4685 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4687 (vc-default-dired-state-info): Use vc-state instead of
4688 vc-locking-user and return special strings for special states.
4689 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4690 and get rid of one of the special CVS cases.
4691 (vc-cancel-version): prettify error message with \\[...].
4692 (vc-rename-master): New function.
4693 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4694 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4695 the CVS special case generic.
4696 (vc-default-record-rename): Remove.
4697 (vc-file-tree-walk-internal): Only call FUNC for files that are
4698 under control of some VC backend and replace `concat' with
4700 (vc-file-tree-walk): Update docstring.
4701 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4702 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4704 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4705 vc-sccs-record-rename. Use `find-file-noselect' rather than
4706 `find-file' and call `vc-rename-master' to do the actual move.
4707 (vc-sccs-diff): Remove unused `backend' variable.
4709 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4710 to delay loading of vc-sccs until it is really used.
4711 (vc-sccs-master-templates): Preload.
4712 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4713 (vc-sccs-project-dir): Remove (merged into
4714 vc-sccs-search-project-dir).
4715 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4716 rather than `concat', make sure it is preloaded and don't bother
4717 to check that the file actually exists.
4718 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4719 `locks' argument (use buffer's content instead) and eliminate n^2
4722 * vc-rcs.el: Update Copyright.
4723 (vc-rcs-rename-file): New function.
4724 (vc-rcs-diff): Remove unused `backend' variable.
4726 * vc-hooks.el: Update Copyright.
4727 (vc-backend): Don't accept a nil argument any more.
4728 (vc-up-to-date-p): Turn into a defsubst.
4729 (vc-possible-master): New function.
4730 (vc-check-master-templates): Use `vc-possible-master' and allow
4731 funs in vc-X-master-templates to return a non-existent file.
4733 * vc-cvs.el: Update Copyright.
4734 (vc-cvs-diff): Remove unused `backend' variable.
4735 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4737 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4739 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4741 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4742 since it can be called from vc-rcs.el.
4743 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4745 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4747 * vc.el (vc-version-diff): Expand file name read from the
4748 minibuffer. Handle the case when a previous version number can't
4749 be guessed. Give suitable messages when there were no differences
4751 (vc-clear-headers): Call backend-specific implementation, if one
4753 (vc-cancel-version): Made error checks generic. When done, clear
4754 headers generically, too.
4756 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4757 from vc-clear-headers in vc.el.
4759 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4761 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4762 optional. Handle the case when it's not there.
4764 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4766 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4768 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4770 * vc-hooks.el (vc-loadup): Remove.
4771 (vc-find-backend-function): Use `require'. Also, handle the case
4772 where vc-BACKEND-hooks.el doesn't exist.
4773 (vc-call-backend): Cleanup.
4775 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4777 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4778 vc-rcs-grab-templates)
4779 (vc-rcs-registered): Remove. The default function works as well.
4780 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4781 vc-sccs-grab-templates)
4782 (vc-sccs-registered): Remove. The default function works as well.
4784 * vc.el (vc-version-diff): Left out a vc- in call to
4786 (vc-default-dired-state-info, vc-default-record-rename)
4787 (vc-default-merge-news): Update for the new backend argument.
4789 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4790 using the default function.
4791 (vc-call-backend): If calling the default function, pass it the
4792 backend as first argument. Update the docstring accordingly.
4793 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4794 for the new backend argument.
4795 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4796 (vc-find-backend-function): Use the new name.
4797 (vc-default-registered): New function.
4799 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4801 * vc.el (vc-merge): Use vc-find-backend-function.
4803 * vc-hooks.el (vc-backend-functions): Remove.
4804 (vc-loadup): Don't setup 'vc-functions.
4805 (vc-find-backend-function): New function.
4806 (vc-call-backend): Use above fun and populate 'vc-functions
4808 (vc-backend-defines): Remove.
4810 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4812 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4813 Call vc-call-backend without the leading vc-.
4814 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4815 (vc-check-headers): Call vc-call-backend without the leading vc-.
4816 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4817 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4818 Call vc-call-backend without the leading vc-.
4820 * vc-cvs.el (tail): Provide vc-cvs.
4821 * vc-sccs.el (tail): Provide vc-sccs.
4822 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4824 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4825 (vc-make-backend-function, vc-call): Pass names without leading
4826 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4827 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4828 (vc-call-backend): Always try to load vc-X-hooks.
4829 (vc-registered): Remove vc- in call to vc-call-backend.
4831 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4833 * vc.el (vc-process-filter): New function.
4834 (vc-do-command): Setup `vc-process-filter' for the async process.
4835 (vc-maybe-resolve-conflicts): New function to reduce
4836 code-duplication. Additionally, it puts the buffer in
4837 `smerge-mode' if applicable.
4838 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4839 calling `merge-news'.
4840 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4841 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4842 interfacing to log-edit.el.
4843 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4844 log-edit is available.
4845 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4847 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4849 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4850 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4851 defvar and the initialization.
4852 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4854 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4855 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4857 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4859 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4861 * vc.el (vc-file-clear-masterprops): Removed.
4862 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4863 (vc-version-diff): Use buffer-size without argument.
4864 (vc-register): Heed vc-initial-comment.
4866 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4869 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4870 file name and workfile version.
4871 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4873 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4874 vc-file-clear-masterprops.
4876 * vc-sccs.el (vc-sccs-checkout): Removed call to
4877 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4878 rather than user login name.
4881 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4883 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4884 `want-differences-if-changed' and simplify.
4885 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4886 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4887 output (which is invalid for async vc-diff) to decide whether to
4888 do the revert silently or not.
4890 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4892 * vc-hooks.el (vc-loadup): Load files quietly.
4893 (vc-call-backend): Oops, brain fart.
4895 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4897 * vc-cvs.el (vc-cvs-state): Typo.
4898 (vc-cvs-merge-news): Return the status code rather than the error msg.
4900 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4902 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4903 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4904 vc-state or vc-up-to-date-p.
4905 (vc-merge): Use vc-backend-defines to check whether merging is
4906 possible. Set state to 'edited after successful merge.
4908 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4909 return that name. Redocumented.
4911 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4913 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4914 new `vc-state' semantics.
4915 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4916 'vc-locking-user to the current user.
4917 (vc-merge): Inline vc-backend-merge. Comment out code that I
4918 don't understand and hence can't adapt to the new `vc-state' and
4919 `vc-locking-user' semantics.
4920 (vc-backend-merge): Remove.
4922 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4923 rather than 'vc-locking-user.
4925 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4927 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4928 (vc-state): Don't use 'reserved any more. Just use the same
4929 convention as the one used for vc-<backend>-state where the
4930 locking user (as a string) is returned.
4931 (vc-locking-user): Update, based on the above convention. The
4932 'vc-locking-user property has disappeared.
4933 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4935 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4936 with a heuristic one.
4937 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4938 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4939 error. That allows us to get to 'needs-merge even in the
4940 stay-local case. There's still no way to detect 'needs-patch in
4941 such a setup (or to force an update for that matter).
4942 (vc-cvs-logentry-check): Remove, the default works as well.
4944 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4946 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4948 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4949 major-mode in which the buffer might have been put earlier. Use
4950 `remove' and `when'. Allow `okstatus' to be `async' and use
4951 `start-process' in this case.
4952 (vc-version-diff): Handle the case where the diff looks empty
4953 because of the use of an async process.
4955 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4957 * vc.el (vc-next-action-on-file): Removed optional parameter
4958 `simple'. Recompute state unconditionally.
4959 (vc-default-toggle-read-only): Removed.
4961 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4962 (vc-toggle-read-only): Undid prev change.
4964 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4965 vc-cvs-simple-toggle. Redocumented.
4966 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4967 (vc-cvs-toggle-read-only): Removed.
4969 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4971 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4972 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4973 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4974 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4975 still is. So maybe it should be removed.
4976 (vc-head-version, vc-find-binary): Remove.
4977 (vc-recompute-state): Move from vc-hooks.el.
4978 (vc-next-action-on-file): Add a `simple' argument to allow
4979 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4980 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4981 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4982 (vc-dired-mode-map): Properly defvar it.
4983 (vc-print-log): Call log-view-mode if available.
4984 (small-temporary-file-directory): defvar instead of use boundp.
4985 (vc-merge-news): Moved to vc-cvs.el.
4986 (vc-default-merge-news): New function.
4988 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4989 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4990 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4991 unknown `vc-latest-version' function. It should probably refer to
4992 vc-workfile-version or somesuch, but it's very unclear to me and I
4993 don't have SCCS to test things.
4995 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4996 (vc-sccs-state-heuristic): Fix typo.
4997 (vc-sccs-workfile-unchanged-p): Add missing argument.
4999 * vc-rcs.el: Require vc and vc-rcs-hooks.
5000 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
5001 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
5002 (vc-release-greater-or-equal-p): Move from vc.
5003 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
5004 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
5005 (vc-rcs-checkout): Add a missing `new-version' argument in the
5006 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
5008 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
5009 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
5010 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
5011 than the apparently unbound `workfile-version'.
5013 * vc-hooks.el (vc-master-templates): Def the obsolete var.
5014 (vc-file-prop-obarray): Use `make-vector'.
5015 (vc-backend-functions): Add new hookable functions
5016 vc-toggle-read-only, vc-record-rename and vc-merge-news.
5017 (vc-loadup): If neither backend nor default functions exist, use
5018 the backend function rather than nil.
5019 (vc-call-backend): If the function if not bound yet, try to load
5020 the non-hook file to see if it provides it.
5021 (vc-call): New macro plus use it wherever possible.
5022 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
5023 nor `vc-find-binary' since it's only called from
5024 vc-mistrust-permission which is only used once the backend is known.
5025 (vc-checkout-model): Fix parenthesis.
5026 (vc-recompute-state, vc-prefix-map): Move to vc.el.
5028 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
5029 (vc-cvs-release, vc-cvs-system-release): Remove.
5030 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
5031 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
5033 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
5034 (vc-cvs-toggle-read-only): First cut at a function to allow a
5035 cvs-status-free vc-toggle-read-only.
5036 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
5037 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
5038 vc-cvs-status. Also set vc-state rather than vc-locking-user.
5039 (vc-cvs-checkout): Modify access rights directly if the user
5040 requested not to use `cvs edit'. And refresh the mode line.
5042 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
5043 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
5045 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5047 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
5048 workfile' that got lost when the code was extracted from vc.el.
5049 And merged the tail with the rest of the code (not possible in the
5050 old vc.el where the tail was shared among all backends). And
5051 explicitly set the state to 'edited if `writable' is set.
5053 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
5054 (vc-cvs-state): Be careful to return the value from
5056 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
5057 property but return it instead. Also be careful to handle a nil
5058 or "" `rev' when workfile is non-nil (it was handled properly when
5061 * vc.el: Removed those pesky unnecessary `(function' quotes.
5062 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
5063 directly in the defvar.
5064 (vc-do-command): Bind inhibit-read-only so as to properly handle
5065 the case where the destination buffer has been made read-only.
5066 (vc-diff): Delegate to vc-version-diff in all cases.
5067 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
5068 (vc-annotate-mode-variables): Removed (code moved partly to
5069 defvars and partly to vc-annotate-add-menu).
5070 (vc-annotate-mode): Turned into a derived-mode.
5071 (vc-annotate-add-menu): Moved in code in
5072 vc-annotate-mode-variables.
5073 (vc-update-change-log): Use make-temp-file if available.
5075 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
5077 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
5078 `vc-checkout-model' updated to `vc-cvs-update-model'.
5080 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5082 * vc.el (vc-next-action-on-file): Added handling of state
5084 (vc-checkout-carefully): Is now practically obsolete, unless the
5085 above is too slow to be enabled unconditionally.
5086 (vc-update-change-log): Fixed typo.
5088 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
5090 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
5091 Now handles state `unlocked-changes'.
5092 (vc-sccs-workfile-unchanged-p): New function, to support the above.
5094 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
5096 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
5097 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
5099 (vc-rcs-workfile-unchanged-p): Renamed from
5100 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
5101 function yet, but supposed to become one soon.
5103 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
5105 (vc-call-backend): Changed error message.
5106 (vc-state): Added description of state `unlocked-changes'.
5108 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5110 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
5111 always return t in CVS-controlled directories.
5113 * vc.el (vc-responsible-backend): New function.
5114 (vc-register): Largely rewritten.
5115 (vc-admin): Removed (implementation moved into vc-register).
5116 (vc-checkin): Redocumented.
5117 (vc-finish-logentry): If no backend defined yet (because we are in
5118 the process of registering), use the responsible backend.
5120 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5121 Updated function lists.
5122 (vc-call-backend): Fixed typo.
5124 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
5126 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
5127 Removed query option. Redocumented.
5129 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5131 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
5133 * vc.el: Updated callers of `vc-checkout-required' to use
5134 `vc-checkout-model'.
5136 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5138 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
5139 stuff updated to reference this function instead of the old
5140 `vc-backend-release-p'.
5142 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5144 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
5145 vc-checkout-model. Return appropriate values. Updated callers.
5147 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5149 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
5150 (vc-backend-revert): Function moved into `vc-revert';
5151 `vc-next-action' must be updated to accomodate this change.
5152 (vc-backend-steal): Function moved into `vc-finish-steal'.
5153 (vc-backend-logentry-check): Function moved into
5154 `vc-finish-logentry'.
5155 (vc-backend-printlog): Function moved into `vc-print-log'.
5156 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
5157 (vc-backend-assign-name): Function moved into
5158 `vc-create-snapshot'.
5160 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5162 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
5163 Rename to vc-checkout-model. Return appropriate values.
5166 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
5167 to vc-checkout-model.
5168 (vc-checkout-required): Rename to vc-checkout-model.
5169 Re-implement and re-comment.
5170 (vc-after-save): Use vc-checkout-model.
5172 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5174 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
5175 Update to use the vc-BACKEND-diff functions instead.
5176 `vc-diff' is now working.
5178 * vc-rcs.el (vc-rcs-logentry-check): New function.
5180 * vc-cvs.el (vc-cvs-logentry-check): New function.
5182 * vc-sccs.el (vc-sccs-diff): Function changed name from
5183 `vc-backend-diff'. This makes `vc-diff' work.
5185 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
5186 of functions possibly implemented in a vc-BACKEND library.
5187 (vc-checkout-required): Fix bug that caused an error to be
5188 signaled during `vc-after-save'.
5191 This checkin is made with our new VC code base for the very first time.
5192 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
5194 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
5195 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
5197 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
5198 updated to `vc-uses-locking'.
5199 (vc-checkout-required): Call to backend function.
5200 `vc-checkout-required' updated to `vc-uses-locking' instead.
5202 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
5203 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
5205 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
5206 to match the split into various backends.
5207 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
5208 (vc-retrieve-snapshot): Bug fix.
5210 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5212 * vc-sccs.el (vc-sccs-release): Doc fix.
5214 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5216 * vc.el (vc-next-action-on-file): Bug found and fixed.
5217 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
5218 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
5220 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
5221 (vc-rcs-checkout): Name space cleaned up. No more revision number
5222 crunching function names that are not prefixed with vc-rcs.
5223 (vc-rcs-checkout-model): Function added. References to
5224 `vc-checkout-model' replaced.
5226 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5228 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
5229 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
5230 still need to be split, and implemented for RCS).
5232 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5234 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
5236 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
5237 required by the vc.el file.
5239 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
5240 required by the vc.el file.
5241 (vc-rcs-exists): Function added.
5243 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
5244 required by the vc.el file.
5246 * vc.el (vc-admin): Updated to handle selection of appropriate
5247 backend. Current implementation is crufty and need re-thinking.
5249 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
5251 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5253 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
5254 beginning of annotate buffers correctly.
5256 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
5257 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
5258 functionality updated quite a lot to support multiple backends.
5259 Variables `vc-annotate-mode', `vc-annotate-buffers',
5260 `vc-annotate-backend' added.
5262 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
5263 `vc-annotate-difference' added to supported backend functions.
5265 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5267 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
5268 Use with-temp-file instead of /bin/sh. Merged from mainline
5270 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5272 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
5274 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
5276 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
5278 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5280 * vc-hooks.el: vc-state-heuristic added to
5281 vc-backend-hook-functions.
5283 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
5285 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
5287 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
5288 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
5289 state to `reserved'.
5291 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
5292 `vc-checkout-required'. Rename the `locked' state to `reserved'.
5294 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5296 * vc-rcs-hooks.el: Implement new state model. Hardly anything
5299 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
5301 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
5302 if defined. (Merged from main line, slightly adapted.)
5304 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
5305 millenium problem (merged from mainline).
5307 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5309 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
5310 part and moved the non-BACKEND stuff to vc.el.
5312 * vc.el: Split the annotate feature into a BACKEND specific part
5313 and moved it from the vc-cvs.el file to this one.
5315 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5317 * vc-hooks.el: Implement new state model.
5318 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
5319 (vc-locking-user): Simplify. Now only needed if the file is
5320 locked by somebody else.
5321 (vc-lock-from-permissions): Remove. Functionality is in
5322 vc-sccs-hooks.el and vc-rcs-hooks.el now.
5323 (vc-mode-line-string): New name for former vc-status. Adapted.
5324 (vc-mode-line): Adapt to use the above. Remove optional parameter.
5326 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
5327 Various simplifications and adaptations all over the place.
5329 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
5330 Simplify and adapt the rest.
5332 * vc.el (vc-resynch-window): Add TODO comment: check for
5333 interaction with view mode according to recent RCS change.
5334 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
5336 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5338 * vc.el: Convert the remaining function comments to docstrings.
5340 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5342 * vc.el (vc-backend-release, vc-release-greater-or-equal)
5343 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
5344 (vc-minor-part, vc-previous-version): Functions that operate and
5345 compare revision numbers got proper documentation. Comments added
5346 about their possible removal.
5348 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5350 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
5351 the vc-backend.el files.
5353 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
5355 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
5356 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
5357 (vc-rcs-previous-version): Functions added.
5359 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
5361 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
5363 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5365 * vc-hooks.el (vc-master-templates): Is really obsolete.
5366 Comment out the definition for now. What is the right procedure
5368 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
5370 (vc-default-registered): Remove.
5371 (vc-check-master-templates): New function; does mostly what the
5373 (vc-locking-user): Don't rely on the backend to set the property.
5375 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
5376 Rewrite documentation.
5377 (vc-rcs-templates-grabbed): New variable.
5378 (vc-rcs-grab-templates): New function.
5379 (vc-rcs-registered): Rewrite to use above mechanism.
5381 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
5382 Rewrite documentation.
5383 (vc-sccs-templates-grabbed): New variable.
5384 (vc-sccs-grab-templates): New function.
5385 (vc-sccs-registered): Rewrite to use above mechanism.
5386 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
5387 Don't throw the result, simply return it.
5389 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
5390 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
5391 (vc-cvs-registered): Does the check itself now. Simplify.
5393 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
5396 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5398 * vc-cvs.el (vc-cvs-diff): New function.
5400 * vc-sccs.el (vc-sccs-diff): New function.
5402 * vc-rcs.el (vc-rcs-diff): New function.
5403 (vc-rcs-checkout): Bug (typo) found and fixed.
5404 (vc-rcs-register-switches): New variable.
5406 * vc.el (vc-backend-diff): Function removed and placed in the
5409 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5411 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
5413 * vc.el (vc-backend-checkout): Function removed and replaced in
5414 the vc-backend.el files.
5416 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
5418 * vc.el (vc-backend-admin): Removed and replaced in the
5419 vc-backend.el files.
5421 * vc.el (Martin): Removed all the annotate functionality since it
5422 is CVS backend specific.
5424 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5426 * spec.txt: Added specification of vc-state.
5428 * vc-sccs-hooks.el (vc-sccs-master-properties):
5429 Remove handling of vc-latest-version and
5430 vc-your-latest-version. What used to be vc-latest-version, is now
5431 returned as vc-workfile-version.
5432 (vc-sccs-workfile-version): Adapt.
5434 2000-09-04 Dave Love <fx@gnu.org>
5436 * vc.el: [Merged from mainline.]
5437 (vc-dired-mode): Make the dired-move-to-filename-regexp
5438 regexp match the date, to avoid treating date as file size.
5439 Add YYYY S option to WESTERN/
5441 2000-09-04 Dave Love <fx@gnu.org>
5443 * vc.el: Require `compile' when compiling.
5444 (vc-logentry-check-hook): New option.
5445 (vc-steal-lock): Use compose-mail.
5446 (vc-dired-mode-map): Defvar when compiling.
5447 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
5448 vc-sccs.el and renamed. Callers changed.
5449 (vc-backend-checkout, vc-backend-logentry-check)
5450 (vc-backend-merge-news): Doc fix.
5451 (vc-default-logentry-check): New function.
5452 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
5453 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
5454 (vc-backend-merge): Doc fix. Use backend functions.
5455 (vc-check-headers): Use backend functions.
5457 * vc-cvs.el: Require vc when compiling.
5458 (vc-cvs-register-switches): Doc fix.
5459 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
5460 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
5461 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
5462 New functions (code from vc.el).
5463 (vc-annotate-display-default): Fix interactive spec.
5464 (vc-annotate-time-span): Doc fix.
5466 * vc-rcs.el: Require vc when compiling.
5467 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
5468 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
5469 (vc-rcs-checkin): New functions (code from vc.el).
5470 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
5472 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
5474 * vc-sccs.el: Require vc when compiling.
5475 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
5476 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
5478 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
5480 (vc-sccs-add-triple, vc-sccs-record-rename)
5481 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
5482 (vc-sccs-admin): Doc fix.
5484 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5486 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
5487 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
5488 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
5491 * vc-sccs.el (vc-admin-sccs): Added from vc.el
5493 * vc-cvs.el: Moved the annotate functionality from vc.el.
5494 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
5496 2000-09-04 Dave Love <fx@gnu.org>
5498 * vc.el (vc-backend-release): Call vc-system-release.
5500 * vc-sccs.el (vc-sccs-system-release):
5501 Renamed from vc-sccs-backend-release.
5503 * vc-rcs.el (vc-rcs-system-release):
5504 Renamed from vc-rcs-backend-release.
5506 * vc-cvs.el (vc-cvs-system-release):
5507 Renamed from vc-cvs-backend-release.
5509 2000-09-04 Dave Love <fx@gnu.org>
5511 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
5513 (vc-backend-release): Dispatch to backend functions.
5514 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
5515 probably needs attention.]
5517 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
5518 (vc-sccs-backend-release): New function.
5520 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
5521 (vc-cvs-backend-release): New function.
5523 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
5525 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
5526 (vc-default-dired-state-info): New function.
5527 (vc-dired-state-info): Dispatch to backends.
5528 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
5530 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
5531 from vc.el and renamed.
5533 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5535 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
5536 (vc-version-other-window, vc-backend-assign-name): Removed
5537 references to vc-latest-version; sometimes changed into
5538 vc-workfile-version.
5540 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5541 vc-rcs-master-workfile-version.
5542 (vc-rcs-workfile-version): Use the above. Don't call
5543 vc-latest-version (that was unreachable code, anyway).
5544 (vc-rcs-fetch-master-properties): Doc fix.
5546 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5547 (vc-backend-hook-functions): Removed them from this list, too.
5548 (vc-fetch-properties): Removed.
5549 (vc-workfile-version): Doc fix.
5551 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5552 (vc-rcs-workfile-version, vc-rcs-locking-user)
5553 (vc-rcs-uses-locking): Use it.
5555 * vc-hooks.el (vc-consult-rcs-headers):
5556 Moved into vc-rcs-hooks.el, under the name
5557 vc-rcs-consult-headers.
5559 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5561 (vc-cvs-find-master): Use this name only; correct different
5562 versions of the name.
5564 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5566 (vc-sccs-locking-user): Use the latter.
5568 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5571 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5573 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
5574 functions are implementation details of those two backends.
5576 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5578 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5579 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5581 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5582 (vc-sccs-parse-locks): SCCS-specific code moved here from
5585 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5586 code moved here from vc-hooks.
5588 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5589 into back-end specific parts and removed. Callers not updated
5590 yet; because I guess these callers will disappear into back-end
5591 specific files anyway.
5593 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5595 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5596 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5599 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5600 Store yes/no in the property, and return t/nil. Updated all
5603 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5604 vc-sccs-uses-locking. Don't set property.
5605 (vc-sccs-locking-user): Don't set property.
5607 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5608 vc-cvs-uses-locking. Don't set property here; leave that to
5610 (vc-cvs-locking-user): Reflect above change. Streamlined.
5612 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5613 vc-rcs-uses-locking.
5614 (vc-rcs-locking-user): Reflect above change.
5616 2000-09-04 Dave Love <fx@gnu.org>
5618 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5620 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5622 * vc-hooks.el (vc-checkout-model): Punt to backends.
5624 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5626 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5628 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5631 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5634 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5635 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5637 * vc-hooks.el (vc-default-locking-user): New function.
5638 (vc-locking-user, vc-workfile-version): Punt to backends.
5640 2000-09-04 Dave Love <fx@gnu.org>
5642 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5643 (vc-master-workfile-version): Moved from vc-hooks.
5645 * vc-rcs-hooks.el: Fix duplicate code in last change.
5647 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5648 (vc-rcs-master-templates): Improve :type.
5649 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5650 vc-master-workfile-version): Moved from vc-hooks.
5652 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5653 (vc-sccs-master-templates): Improve :type.
5654 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5656 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5658 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5659 (vc-cvs-master-templates): Improve :type. Use
5660 vc-cvs-find-cvs-master.
5661 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5663 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5665 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5666 Moved to vc-cvs-hooks.
5668 * vc-hooks.el: Add doc strings in various places. Simplify the
5670 (vc-handled-backends): New user variable.
5671 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5674 2000-09-04 Dave Love <fx@gnu.org>
5676 * vc.el: Some doc fixes for autoloaded and interactive functions.
5677 Fix compilation warnings from ediff stuff.
5678 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5680 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5682 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5684 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5686 2000-09-04 Dave Love <fx@gnu.org>
5688 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5690 (vc-make-backend-function, vc-loadup, vc-call-backend)
5691 (vc-backend-defines): New functions.
5693 * vc-hooks.el: Various doc fixes.
5694 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5695 (vc-match-substring): Function removed. Callers changed to use
5697 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5700 2000-09-04 Dave Love <fx@gnu.org>
5702 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5704 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5705 (vc-sccs-registered): Doc fix.
5707 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5708 (vc-cvs-registered): Doc fix.
5710 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5711 (vc-rcs-registered): Doc fix.
5713 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5715 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5717 * vc-hooks.el: vc-registered has been renamed
5718 vc-default-registered. Some functions have been moved to the
5719 backend specific files. they all support the
5720 vc-BACKEND-registered functions.
5722 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5724 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5726 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5728 2000-09-04 Dave Love <fx@gnu.org>
5730 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5731 menu-bar-update-hook.
5733 * help.el (help-manyarg-func-alist): Add
5734 find-operation-coding-system.
5736 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5738 * custom.el (custom-set-variables): Print message about errors in
5741 2000-09-03 Andrew Innes <andrewi@gnu.org>
5743 * makefile.w32-in: Change to DOS line endings.
5745 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5747 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5748 minor-mode keymaps, if they don't have one.
5750 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5752 * eshell/esh-module.el (eval-when-compile): Don't lose if
5753 esh-module.el's file name is truncated to DOS 8+3 limits.
5755 2000-09-01 John Wiegley <johnw@gnu.org>
5757 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5758 predicate, which caused entries in the completion list to be
5761 2000-08-30 John Wiegley <johnw@gnu.org>
5763 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5764 sending to subprocesses. Also, hook pre-command-hook if
5765 `eshell-send-direct-to-subprocesses' is non-nil.
5766 (eshell-send-direct-to-subprocesses): New config variable. If t,
5767 subprocess input is send immediately.
5768 (eshell-toggle-direct-send): New function.
5769 (eshell-self-insert-command): New function.
5770 (eshell-intercept-commands): New function.
5771 (eshell-send-input): If direct subprocess sending is enabled,
5772 don't echo any input to the Eshell buffer. Let the subprocess
5773 handle that. This requires "stty echo" in bash, for example.
5775 2000-08-28 John Wiegley <johnw@gnu.org>
5777 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5778 completion function for Eshell's implementation of `unset'.
5780 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5782 * info.el (Info-directory-list): Doc fix.
5784 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5786 * filecache.el (file-cache-add-directory-using-find): Don't quote
5787 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5789 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5791 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5794 2000-08-30 Andrew Innes <andrewi@gnu.org>
5796 * timer.el (run-with-idle-timer): Undo last change, so that timer
5797 is not activated immediately if Emacs is already idle. Some
5798 existing code relies on this behaviour.
5800 2000-08-30 Miles Bader <miles@gnu.org>
5802 * frame.el (set-frame-font): Do completion of font-name for
5805 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5807 * international/quail.el (quail-start-translation): Bind locally
5808 last-command-event, last-command, and this-command.
5809 (quail-start-conversion): Likewise.
5810 (quail-self-insert-command): Fix docstring.
5812 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5814 * progmodes/executable.el
5815 (executable-make-buffer-file-executable-if-script-p): Check that
5816 buffer contains at least 2 characters.
5818 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5820 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5822 2000-08-29 Dave Love <fx@gnu.org>
5824 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5825 (diff-mode-shared-map): Bind mouse-2.
5826 (diff-imenu-generic-expression): New variable.
5827 (diff-mode): Use it.
5829 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5830 (mouse-popup-menubar): Add minor mode menus.
5831 (popup-menu): Check for lookup-key returning number.
5833 2000-08-29 Miles Bader <miles@gnu.org>
5835 * comint.el (comint-send-input): Create overlays using the proper
5836 front/read-advance arguments.
5838 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5840 * ps-print.el: Even/odd pages printing. Doc fix.
5841 (ps-print-version): New version number (6.0).
5842 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5843 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5844 (ps-print-duplex-feature): Variable eliminated.
5845 (ps-even-or-odd-pages): New variable.
5847 * progmodes/ebnf2ps.el: Doc fix.
5848 (ebnf-version): New version (3.3).
5849 (ebnf-user-arrow): Change variable customization to sexp.
5850 (ebnf-user-arrow): Function eliminated.
5851 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5853 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5855 * help.el (help-xref-mule-regexp): New variable.
5856 (help-make-xrefs): Handle help-xref-mule-regexp.
5858 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5860 (describe-input-method): Temporarily activate the specfied input
5861 method to display the information.
5862 (describe-language-environment): Hyperlinks to mule related items.
5864 * international/mule-diag.el (charset-multibyte-form-string): New
5866 (list-character-sets-1): Use charset-multibyte-form-string.
5867 (describe-character-set): New function.
5868 (describe-coding-system): Hyperlinks to safe character sets.
5870 * international/quail.el (quail-help): New arg PACKAGE.
5871 Hyperlinks to mule related items.
5872 (quail-help-insert-keymap-description): Use
5873 substitute-command-keys instead of describe-bindings.
5874 (quail-translation-help): Hyperlinks to mule related items.
5876 2000-08-28 John Wiegley <johnw@gnu.org>
5878 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5879 have a defsubst call itself. Made `eshell-flatten-list' back into
5882 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5883 catch, in case re-centering point at bottom messes up the display.
5884 This happens frequently in Emacs 21, due I believe to variable
5887 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5888 to call `find-tag-interactive'.
5890 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5891 the list of remember directories.
5893 2000-08-28 John Wiegley <johnw@gnu.org>
5895 * align.el: Test align-region-separate to see if it's a symbol.
5897 2000-08-28 John Wiegley <johnw@gnu.org>
5899 * eshell/esh-util.el (eshell-flatten-list): Made this function
5900 into a defsubst form. It gets used very frequently, although
5901 calls don't occur all that often.
5903 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5906 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5907 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5909 (eshell-copy-handles): Created a new macro for duplicating the
5910 current set of open handles. This is needed by the looping
5912 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5913 is not incorrectly stomped on.
5915 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5916 declaration for pcomplete-use-paring.
5917 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5918 value of eshell-cmpl-use-paring.
5919 * pcomplete.el (pcomplete-use-paring): New config variable, to
5920 indicate whether paring should be used.
5921 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5922 completion alternatives that have already been used.
5924 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5925 bound to C-c C-y, which will repeat the previous N arguments
5926 (based on prefix argument).
5927 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5929 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5930 if there is no *Help* buffer. This is for XEmacs, which renames
5931 its help buffers uniquely. TODO: Find out what the current buffer
5934 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5935 first entry that correlates to a passwd/group number. Later
5936 entries (used for group/user name aliasing to multiple IDs) are
5939 * eshell/em-xtra.el (eshell/expr):
5940 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5941 (eshell-grep, eshell/diff, eshell/locate):
5942 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5943 argument list, before passing it to the system command.
5945 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5946 `find-tag' for use at final position in Eshell buffers (which
5947 otherwise triggers an error on Emacs 21).
5948 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5949 buffer, if it is currently bound to `find-tag'.
5951 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5952 in the list of matched Makefile names.
5953 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5954 directory, prefer its contents to Makefile.
5956 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5957 directory parts (like "cd old new", or "cd =regexp"), are now case
5958 sensitive on non-Windows/DOS platforms.
5960 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5961 types RET after an open delimiter (like "), display a message
5962 indicating that Eshell is waiting for the closing delimiter.
5964 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5965 environment variables.
5967 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5968 gracefully if the user enters incorrect arguments.
5970 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5973 * eshell/esh-var.el (eshell-interpolate-variable):
5974 * eshell/esh-mode.el (eshell-move-argument):
5975 * eshell/em-unix.el (eshell-du-sum-directory):
5976 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5977 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5980 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5981 to ensure the `preserve' flag gets propagated when doing recursive
5984 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5986 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5987 Don't convert \n into \0177 in memory.
5988 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5989 and back again, when reading and writing.
5991 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5993 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5994 testing of `fboundp' on `processp'.
5996 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5997 (eshell/jobs): Don't call process-list if it is not bound.
5998 (eshell-gather-process-output): Support systems where async
5999 subprocesses aren't supported.
6000 (eshell-scratch-buffer, eshell-last-sync-output-start): New
6003 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
6004 eshell-do-eval returns t.
6005 (eshell-do-pipelines-synchronously): New defmacro.
6006 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
6007 when async subprocesses aren't supported.
6008 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
6009 if async subprocesses aren't supported.
6010 (eshell-resume-command): Don't assume STATUS is a string.
6012 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
6014 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
6015 (eshell-close-target, eshell-get-target): Use eshell-processp.
6016 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
6018 (eshell-get-target, eshell-create-handles): Doc fix.
6020 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
6022 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
6023 criterion to include commands that output something, as long as it
6024 leaves both the command and the end-of-buffer visible when the
6026 (eshell-review-quick-commands): Adjust the help doc string
6029 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
6031 * locate.el (locate): Cleaned up locate command's interactive prompting
6032 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
6034 * filecache.el (file-cache-case-fold-search): New variable
6035 (file-cache-assoc-function): New variable
6036 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
6037 Use file-cache-case-fold-search variable
6038 (file-cache-add-file): Use file-cache-assoc-function
6039 (file-cache-delete-file): likewise
6040 (file-cache-directory-name): likewise
6041 (file-cache-debug-read-from-minibuffer): likewise
6043 2000-08-28 Gerd Moellmann <gerd@gnu.org>
6045 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
6046 (abbrev-table-name): New function.
6047 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
6048 If non-nil list local abbrev, only.
6050 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
6052 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
6053 from Gnus support code, and use special article copy buffer
6054 `(gnus-original-article-buffer)' instead. This allows to get rid
6055 of article-hide-headers usage (which breaks in the latest Gnus
6056 version). Thanks to Detlev Zundel.
6058 2000-08-28 Kenichi Handa <handa@etl.go.jp>
6060 * international/quail.el (quail-use-package): Hide "... loaded"
6062 (quail-start-translation, quail-start-conversion): Likewise.
6064 * international/kkc.el (kkc-region): Hide "... loaded" message.
6066 2000-08-27 Dave Love <fx@gnu.org>
6068 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
6070 2000-08-27 Miles Bader <miles@gnu.org>
6072 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
6074 2000-08-27 Kenichi Handa <handa@etl.go.jp>
6076 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
6077 'ja-dic-cnv), not (require 'skkdic-cnv).
6079 2000-08-26 Miles Bader <miles@gnu.org>
6081 * faces.el (face-x-resources): Add entry for :inherit.
6082 * cus-face.el (custom-face-attributes): Add support for :inherit
6083 attribute. Add support for relative face heights.
6084 (custom-face-attributes-get): Treat `nil' as being a default value
6085 for :inherit (as well as `unspecified').
6087 * faces.el (set-face-attribute): Update doc string.
6088 (face-attribute-name-alist): Add :inherit.
6089 (face-valid-attribute-values): Handle :inherit.
6090 (face-read-string): Rephrase prompt to be less confusing.
6091 Assume that DEFAULT is a string, since we must return a string.
6092 (face-read-integer): Use `format' to turn DEFAULT into an
6093 acceptable default for face-read-string. Match NEW-VALUE against
6094 the string "unspecified", not the symbol `unspecified', since
6095 that's what face-read-string returns.
6096 (read-face-attribute): Lookup a name for old-value in valid, and
6097 use it as a default if we find one. Treat all values from
6098 face-read-string as strings. If the default is used, don't do any
6099 more processing on the value, just use the old value directly.
6100 (read-face-and-attribute, modify-face): Tweak prompt.
6101 (read-face-name): Don't assume prompt ends with a space.
6103 * faces.el (describe-face): Add support for :inherit attribute.
6105 2000-08-25 Kenichi Handa <handa@etl.go.jp>
6107 * terminal.el (terminal-emulator): Fix args to `concat'. Now
6108 concat doesn't accept interger.
6110 * international/kkc.el: Remove SKK from Keywords. Require
6111 ja-dic-utl instead of skkdic-utl.
6113 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
6114 Provide ja-dic-cnv instead of skkdic-cnv.
6115 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
6116 (iso-2022-7bit-short): Add safe-charsets property.
6117 (skkdic-convert-postfix): Search Japanese chou-on character in
6118 addition to Hiragana character.
6119 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
6120 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
6121 (batch-skkdic-convert): Likewise.
6123 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
6124 Provide ja-dic-utl instead of skkdic-utl.
6125 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
6127 2000-08-24 Dave Love <fx@gnu.org>
6129 * disp-table.el (standard-display-default): Make the test of `l'
6132 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
6135 * international/iso-ascii.el: Make pilcrow convenient string
6136 consistent with section.
6137 (iso-ascii-display): Set up multibyte characters as well as
6140 2000-08-24 Kenichi Handa <handa@etl.go.jp>
6142 * international/mule-cmds.el (reset-language-environment): Set
6143 default-process-coding-system to '(undecided . iso-latin-1), which
6144 makes process I/O almost consistent with file I/O. Call this
6145 function when mule-cmds.el[c] is loaded.
6147 2000-08-22 Andrew Innes <andrewi@gnu.org>
6149 * makefile.w32-in: New file.
6151 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
6153 * comint.el (comint-output-filter): Compare end of
6154 comint-last-output-overlay with the start of the newly inserted
6155 text, not the end, when deciding whether to extend it.
6156 Set saved-point's insertion type to advance after insertion.
6158 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
6159 since this is now done independently of font-lock mode.
6161 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6163 * server.el (server-kill-new-buffers): New user option.
6164 (server-existing-buffer): New buffer-local variable.
6165 (server-visit-files): When using an existing buffer, set
6166 server-existing-buffer to t.
6167 (server-buffer-done): If server-kill-new-buffers is t, kill the
6168 buffer, unless it was already present before visiting it with
6171 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
6173 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
6174 even if the display doesn't support colors: some displays will
6175 support bold/underline faces.
6177 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6179 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
6181 * startup.el (command-line): If user's init file had an error,
6182 add explanatory text to *Messages*.
6184 2000-08-21 Kenichi Handa <handa@etl.go.jp>
6186 * man.el (Man-getpage-in-background): Decode the process output by
6187 the system locale coding system.
6189 2000-08-20 Dave Love <fx@gnu.org>
6191 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
6192 Don't test x-popup-menu.
6193 (function) <complete-function>: Complete only fbound symbols.
6194 <validate, value>: New.
6195 (variable) <complete-function>: Complete only bound symbols.
6196 (coding-system): Add :base-only, :complete-function, :validate,
6197 :value, :prompt-match.
6198 (widget-coding-system-prompt-value): Use read-coding-system and
6200 (editable-field): Add :help-echo.
6201 (widget-push-button-gui, widget-push-button-cache)
6202 (widget-gui-action, widget-editable-list-gui): COmment out, along
6204 (widget-at): Make arg optional.
6205 (widget-echo-help): Adjust for current help-echo calling sequence.
6206 (widget-specify-field, widget-specify-button)
6207 (widget-specify-insert, widget-get-sibling, widget-image-find)
6208 (widget-convert, widget-insert, widget-leave-text)
6209 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
6210 (widget-setup, widget-field-find, widget-before-change)
6211 (widget-after-change, widget-default-complete)
6212 (widget-default-create, widget-default-delete)
6213 (widget-push-button-value-create, editable-field)
6214 (widget-field-prompt-value, widget-field-validate)
6215 (widget-choice-value-create, widget-choice-action)
6216 (widget-choice-validate, widget-checklist-add-item)
6217 (widget-radio-add-item, widget-radio-chosen)
6218 (widget-radio-value-inline, widget-editable-list-value-create)
6219 (widget-editable-list-entry-create)
6220 (widget-documentation-link-add)
6221 (widget-documentation-string-value-create)
6222 (widget-regexp-validate, widget-file-complete)
6223 (widget-sexp-validate, widget-plist-convert-widget)
6224 (widget-plist-convert-widget, widget-alist-convert-widget)
6225 (widget-alist-convert-widget, widget-color-complete): Simplify,
6226 particularly to avoid bindings which aren't optimized out.
6228 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
6230 (down-list, backward-up-list, up-list, kill-sexp)
6231 (backward-kill-sexp, mark-sexp): Make arg optional.
6232 (lisp-complete-symbol): Add optional arg PREDICATE.
6234 * cus-start.el: Add display-buffer-reuse-frames,
6235 file-coding-system-alist.
6237 2000-08-20 Gerd Moellmann <gerd@gnu.org>
6239 * startup.el (command-line): Clear realized faces after
6240 modifying TTY color mappings.
6242 2000-08-20 Miles Bader <miles@gnu.org>
6244 * faces.el (face-attr-match-p): Don't return true if ATTRS are
6245 merely a subset of FACE's attributes.
6247 2000-08-19 Miles Bader <miles@gnu.org>
6249 * comint.el (comint-output-filter): Save the point with a marker,
6250 not just a buffer position.
6252 * international/mule.el (set-buffer-process-coding-system): Make
6253 interactive prompt less confusing.
6255 2000-08-19 Gerd Moellmann <gerd@gnu.org>
6257 * hilit-chg.el: General cleanup of doc strings, comments and
6260 2000-08-19 Miles Bader <miles@gnu.org>
6262 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
6263 Compiler macro removed; beginning-of-line is no longer always
6264 equivalent to forward-line, in the presence of fields.
6266 * comint.el (comint-output-filter): Remove ad-hoc saving of
6267 restriction, and just use save-restriction, now that it works
6268 correctly. Don't adjust comint-last-input-start to account for
6269 our insertion; it shouldn't have moved because we don't use
6270 insert-before-markers anymore. Comment out call to
6271 `force-mode-line-update'; why is it here?
6273 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
6274 while checking for prompt to delete. Use `forward-line 0'
6275 instead of beginning-of-line.
6276 (gud-filter): Temporarily widen gud comint buffer while
6279 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
6281 * progmodes/sh-script.el: Big bag of typos.
6283 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
6284 check since ispell-process is not bound when ispell is not yet loaded.
6286 2000-08-18 Dave Love <fx@gnu.org>
6288 * image.el (find-image): Copy `spec' before using plist-put.
6290 2000-08-18 Gerd Moellmann <gerd@gnu.org>
6292 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
6295 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
6296 backward-kill-sexp, analogous to kill-sexp.
6298 * progmodes/icon.el (icon-indent-line)
6299 (icon-is-continuation-line): Handle comments specially.
6301 2000-08-17 Ken Stevens <k.stevens@ieee.org>
6303 * ispell.el: Set to standard author/maintainer/keyword fields.
6304 Fine tuning to menu map appearance and operation, and added help.
6305 Remove `start' and `end' error messages when compiling.
6306 (ispell-choices-win-default-height): Fixed comment string.
6307 (ispell-dictionary-alist-1): Fixed regexp in castellano and
6308 castellano8 dictionaries.
6309 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
6310 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
6311 dictionary, added italiano dictionary.
6312 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
6314 (ispell-tex-skip-alists): Added psfig support.
6315 (ispell-skip-html): Renamed from ispell-skip-sgml.
6316 (ispell-begin-skip-region-regexp, ispell-skip-region)
6317 (ispell-minor-check): Improved html skipping support to skip across
6318 code, and recognize `&' commands without propper `;' syntax;
6319 (ispell-process-line): Fix alignment error when manually
6320 correcting spelling.
6321 (ispell): Fix comment string.
6322 (ispell-add-per-file-word-list): Always put word list on new line.
6324 2000-08-17 Gerd Moellmann <gerd@gnu.org>
6326 * format.el (format-encode-run-method): Fix error message to say
6327 `encode' instead of `decode'. Use save-window-excursion around
6328 shell-command-on-region as in format-decode-run-method because
6329 shell-command-on-region can display a buffer with error output.
6330 (format-decode): Don't record undo information for the decoding.
6331 (format-annotate-function): Add parameter FORMAT-COUNT. Make
6332 that number part of the temporary buffer name so that more than
6333 one decoding using a temporary buffer can happen safely.
6335 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
6336 of `A-z' in the regexp.
6338 * hilit-chg.el: Fix typos in commentary.
6340 * help.el (view-emacs-news): Rewritten for new naming scheme
6343 * startup.el (command-line): Pop to *Messages* in case an error
6344 is signaled while loading user-init-file.
6346 2000-08-17 Andreas Schwab <schwab@suse.de>
6348 * files.el (insert-directory): Don't lose original file name,
6349 undoing an undocumented change.
6351 2000-08-17 Alex Schroeder <alex@gnu.org>
6353 * sql.el (sql-magic-go): Use comint-bol.
6354 (sql-copy-column): Use comint-line-beginning-position.
6355 (comint-line-beginning-position): Define a replacement for
6356 comint-line-beginning-position if it is not fboundp.
6358 2000-08-17 Alex Schroeder <alex@gnu.org>
6360 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
6361 it didn't have any effect anyway.
6363 2000-08-17 Alex Schroeder <alex@gnu.org>
6365 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
6366 --pset and pager=off instead of sending \\o|cat at the beginning
6369 2000-08-17 Miles Bader <miles@gnu.org>
6371 * progmodes/octave-inf.el: Add compatibility definition of
6372 comint-line-beginning-position.
6374 2000-08-17 Kenichi Handa <handa@etl.go.jp>
6376 * startup.el (normal-top-level): Look in each dir in load-path for
6377 a leim-list.el file too. This assures of loading leim-list.el
6378 that is created at Emacs installation time even if a user have his
6381 2000-08-17 Miles Bader <miles@gnu.org>
6383 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
6384 foreground color to black if the background is dark.
6386 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
6388 * loadhist.el (unload-feature): Typo.
6390 * finder.el (finder-compile-keywords):
6391 * cus-dep.el (custom-make-dependencies): Add local-variable settings
6392 to the generated file.
6394 * mail/mh-e.el (mh-make-local-vars):
6395 Replace make-variable-buffer-local with make-local-variable.
6398 * options.el (Edit-options-{set,toggle,t,nil}):
6399 * mail/mailabbrev.el (mail-abbrevs-mode):
6400 * textmodes/tex-mode.el (tex-expand-files):
6401 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
6403 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
6405 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
6406 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
6407 Allow going past the last element.
6408 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
6409 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
6410 (cvs-mouse-toggle-mark): Don't move point.
6411 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
6413 * progmodes/compile.el (grep): Provide a default set of files.
6414 (next-error): Docstring fix.
6415 (compilation-find-file): Avoid find-file (fails in a dedicated window).
6417 * emacs-lisp/easy-mmode.el (define-minor-mode):
6418 Use `symbol-value' to keep the byte-compiler quiet.
6420 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
6421 (diff-find-source-location): New fun, extracted from diff-goto-source.
6422 (diff-goto-source): Use it.
6423 (diff-next-complex-hunk, diff-filter-lines): New function.
6424 (diff-apply-hunk): New command.
6426 * smerge-mode.el (smerge-mode-menu): Doc fix.
6428 * msb.el (msb-mode): Define it in terms of define-minor-mode.
6430 2000-08-16 Dave Love <fx@gnu.org>
6432 * windmove.el (windmove) <defgroup>: Add :version.
6434 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
6435 (goto-address-fontify-p, goto-address-highlight-p)
6436 (goto-address-url-face, goto-address-url-mouse-face)
6437 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
6438 (goto-address-url-regexp): Use thing-at-point-url-regexp.
6439 (goto-address-fontify, goto-address-at-mouse): Simplify,
6440 (goto-address-at-point): browse-url-url-at-point,
6441 goto-address-find-address-at-point can return nil.
6442 (goto-address-find-address-at-point): Return nil on failure.
6444 * align.el (align) <defgroup>: Add :version.
6446 * calculator.el (calculator): Add :version.
6447 (calculator): Use two lines for calculator window if `modeline'
6450 * play/5x5.el: Doc fixes.
6451 (5x5) <defgroup>: Add :version.
6453 * play/fortune.el (fortune) <defgroup>: Add :version.
6454 (fortune-append): Fix error message.
6455 (fortune-from-region): Doc fix.
6457 * play/pong.el (pong): Doc fix.
6459 * play/morse.el: Keywords, commentary, autoloads.
6461 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
6463 * desktop.el (desktop-save): Don't look at symbol-value of a
6464 member of minor-mode-alist, unless it is boundp.
6466 2000-08-16 Sam Steingold <sds@gnu.org>
6468 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
6469 `while'; use `with-current-buffer' instead of `save-excursion'.
6470 Removed unnecessary kludges now that "*Buffer List*" is excluded.
6472 2000-08-16 Kenichi Handa <handa@etl.go.jp>
6474 * international/ccl.el (declare-ccl-program): Docstring modified.
6475 (ccl-execute-with-args): Likewise.
6477 2000-08-16 Miles Bader <miles@gnu.org>
6479 * progmodes/sql.el: Add compatibility definition of
6480 comint-line-beginning-position.
6482 2000-08-15 Gerd Moellmann <gerd@gnu.org>
6484 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
6485 'buffer-menu' property.
6486 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
6488 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
6489 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
6492 * buff-menu.el (list-buffers-noselect): Don't display the
6493 *Buffer List* buffer.
6495 * font-lock.el: Require jit-lock to prevent a very late
6496 `Loading jit-lock' message.
6498 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
6499 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
6502 2000-08-15 Miles Bader <miles@gnu.org>
6504 * textmodes/ispell.el (ispell-graphic-p): New constant.
6505 (ispell-choices-win-default-height, ispell-help): Use
6506 `ispell-graphic-p' instead of `xemacsp'.
6508 2000-08-15 Dave Love <fx@gnu.org>
6510 * simple.el: Autoload widget-convert when compiling.
6511 (mail-user-agent): Doc fix.
6513 * help.el (function-called-at-point, variable-at-point): Use
6515 (help-manyarg-func-alist): Add insert-and-inherit.
6517 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
6519 * delsel.el (delsel-unload-hook): New function.
6521 * find-file.el: Doc fixes. Move provide to end.
6522 (ff) <defgroup>: Add :link.
6523 (ff-goto-click): Deleted.
6524 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
6525 Use mouse-set-point.
6527 * textmodes/tildify.el: Doc fixes.
6528 (tildify) <defgroup>: Add:version.
6530 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
6531 (glasses-custom-set): Use set-default, not set.
6532 (minor-mode-alist): Propertize the lighter.
6533 (glasses-mode): Provide optional arg.
6535 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
6536 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
6537 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6538 option. Provide :type.
6539 (cwarn-configuration): Provide :type.
6540 (cwarn-mode): Doc fix.
6542 * add-log.el (change-log-merge): Doc fix.
6543 (change-log-redate): New command.
6545 * net/browse-url.el (browse-url-filename-alist): Add a clause for
6547 (browse-url): Use dolist, not mapcar.
6548 (browse-url-at-point): Check for null url.
6549 (browse-url-event-buffer, browse-url-event-point): Functions
6551 (browse-url-at-mouse, browse-url-netscape): Simplify.
6553 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6555 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6556 Fix previous change to mapcan.
6557 (msb--init-file-alist, msb--add-separators)
6558 (msb--make-keymap-menu): Simplify.
6559 (msb--choose-file-menu): Use copy-sequence.
6560 (msb-mode-map): Add title to keymap.
6561 (msb-unload-hook): New function.
6563 * bs.el: Fix indentation.
6564 (bs) <defgroup>: Add :links.
6566 (bs-apply-sort-faces): Don't use window-system.
6567 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6569 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
6571 * calendar/timeclock.el (timeclock-file): Run .timelog through
6572 convert-standard-filename.
6574 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6576 * emacs-lisp/authors.el: New file.
6578 * paren.el (show-paren-priority): New user option.
6579 (show-paren-function): Set overlay priorities to
6580 show-paren-priority.
6582 2000-08-14 Miles Bader <miles@gnu.org>
6584 * comint.el (comint-bol): Use `forward-line 0' instead of calling
6585 beginning-of-line with inhibit-field-text-motion bound.
6587 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6589 * calendar/timeclock.el: New file.
6591 2000-08-14 David Ponce <david@dponce.com>
6593 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6594 `widget-button-click'. so that one can use left mouse button to
6595 click on dialog buttons.
6597 2000-08-14 Emmanuel Briot <briot@gnat.com>
6599 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6600 identifiers, since XML is case sensitive
6602 2000-08-12 Miles Bader <miles@gnu.org>
6604 * comint.el (comint-output-filter): Don't bother frobbing
6605 window-start, it doesn't seem to be necessary.
6607 * comint.el (comint-send-string, comint-send-region): Make into
6608 real functions. Snapshot the prompt before sending.
6610 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6612 * info.el (Info-find-emacs-command-nodes): Rewrite to use
6613 technique similar to Info-index, instead of relying on specific
6614 names of relevant Index nodes.
6615 (Info-goto-emacs-command-node): Bind Info-history to nil when
6616 going to the first node found by Info-find-emacs-command-nodes.
6618 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6620 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6622 2000-08-10 Miles Bader <miles@gnu.org>
6624 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6626 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6628 * info.el (Info-file-list-for-emacs): More elements for the
6629 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6632 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6634 * comint.el (comint-send-input): Make the newline boundary overlay
6635 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6636 (comint-output-filter): Use `insert' instead of
6637 `insert-before-markers'. Extend comint-last-output-overlay when
6638 necessary since we can't rely on insert-before-markers to do it.
6639 * gud.el (gud-filter): Use `with-current-buffer' instead of
6640 save-excursion when inserting the output, so that point gets
6641 updated correctly; the old method relied on a rather dodgy
6642 side-effect of comint-output-filter to avoid the effect of
6645 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6647 * files.el (recover-file): Call insert-directory instead of
6648 invoking `ls' directly.
6650 2000-08-10 Miles Bader <miles@gnu.org>
6652 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6653 (comint-last-prompt-overlay): New variables.
6654 (comint-output-filter): Implement prompt highlighting.
6655 (comint-snapshot-last-prompt): New function.
6656 (comint-send-input): Snapshot the last prompt.
6657 Use comint-highlight-input-face.
6658 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6659 Use defface instead of defcustom.
6660 (send-invisible, comint-send-eof): Snapshot the last prompt.
6661 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6662 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6664 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6666 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6667 (regexp-opt-group): Use a list of chars for `letters'.
6668 (regexp-opt-charset): `chars' is now a list of chars.
6669 Use a char-table rather than a vector so it works for multibyte chars.
6671 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6672 Set cvs-minor-current-files to the selected fileinfo.
6673 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6674 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6676 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6678 * files.el (insert-directory): Don't call access-file on
6679 directories on DOS and Windows.
6681 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6683 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6684 longer if necessary.
6685 (ccl-embed-code): Call ccl-embed-data to store CODE in
6688 2000-08-09 Miles Bader <miles@gnu.org>
6690 * comint.el (comint-output-filter): Properly handle the case where
6691 the text surrounded by comint-last-output-overlay was deleted.
6693 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6695 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6697 (Info-file-list-for-emacs): Remove "info" from the list because
6698 that leads to trying to use the documentation from file `info'
6699 in various situations where it isn't appropriate, for instance
6702 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6703 DIR and/or STRING are nil.
6705 * progmodes/compile.el (compilation-setup): Make variable
6706 compilation-error-screen-columns buffer-local, as some comment
6707 in the code suggests it should be.
6709 * files.el (auto-mode-interpreter-regexp): New variable.
6710 (set-auto-mode): Use it.
6712 * indent.el (indent-for-tab-command): Doc fix.
6714 * mouse-sel.el (mouse-sel-mode): Doc fix.
6716 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6719 * help.el (print-help-return-message): When
6720 display-buffer-reuse-frames is set, let the help window been quit,
6721 instead of deleting it, which might delete a reused frame.
6723 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6725 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6726 rename a directory to a name that differs only by its letter case.
6728 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6730 * international/quail.el (quail-define-rules): Handle Quail decode
6731 map correctly. Add code for supporting annotations.
6732 (quail-install-decode-map): New function.
6733 (quail-defrule-internal): New optional arguments decode-map and
6735 (quail-advice): New function.
6737 2000-08-07 Sam Steingold <sds@gnu.org>
6739 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6740 `defconst', `define-condition', `with-slots'.
6741 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6743 2000-08-03 Miles Bader <miles@gnu.org>
6745 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6747 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6748 comint-use-prompt-regexp-instead-of-fields.
6749 (comint-send-input): Add `input' field property to stuff we send to
6750 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6751 (comint-output-filter): Add `output' field property to process
6752 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6753 (comint-replace-by-expanded-history)
6754 (comint-get-old-input-default, comint-show-output)
6755 (comint-backward-matching-input, comint-forward-matching-input)
6756 (comint-next-prompt, comint-previous-prompt): Use field
6757 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6758 (comint-line-beginning-position): New function.
6759 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6760 (comint-replace-by-expanded-history-before-point): Use
6761 comint-line-beginning-position and line-end-position.
6762 (comint-last-output-overlay): New variable.
6763 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6765 * shell.el (shell-prompt-pattern): Doc change.
6766 (shell-backward-command): Use line-beginning-position.
6768 * gud.el (gud-gdb-complete-command): Use
6769 comint-line-beginning-position.
6771 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6772 comint-bol doesn't actually go to the beginning of the line.
6774 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6775 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6776 (try-expand-line-all-buffers): Likewise.
6778 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6779 explicitly matching comint-prompt-regexp.
6780 (sql-copy-column): Use comint-line-beginning-position instead of
6781 explicitly matching comint-prompt-regexp.
6783 * progmodes/octave-inf.el (inferior-octave-complete): Use
6784 comint-line-beginning-position.
6786 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6788 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6789 looking for a prompt, use `forward-line 0' instead of
6790 `beginning-of-line', to avoid getting caught by an input field.
6792 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6794 * files.el (shell-quote-wildcard-pattern): Make sure to return
6795 PATTERN, in the Unix case.
6797 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6799 * play/zone.el (zone): Discard any pending input before running
6800 the randomly-chosen pgm.
6802 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6804 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6805 checking the existence of any multibyte characters.
6807 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6809 * help.el (describe-mode): Test minor-mode symbol for being
6810 bound before testing its value for being nil.
6812 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6813 `first', `second', and `third'.
6815 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6816 (second): Make it an alias for `cadr'.
6818 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6820 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6821 types of display support faces now.
6823 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6825 * pcvs.el (require): Require `cl' during compilation, only.
6827 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6828 (toplevel): Remove `remq' and `remove' from autoloads.
6829 (cl-fake-autoloads): New variable. If set, arrange for an error
6830 when CL functions etc. are autoloaded.
6832 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6834 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6836 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6837 popped up, but the user clicks outside the menu, return an empty
6838 regexp (that causes unhighlight-regexp to have no effect).
6840 * menu-bar.el (menu-bar-games-menu): Add Zone.
6842 * hi-lock.el (toplevel): Require font-lock.
6844 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6846 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6847 (ebnf-8-bit-chars): New var for bug fix.
6848 (ebnf-string): Bug fix.
6850 2000-08-03 Sam Steingold <sds@gnu.org>
6852 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6853 instead of `buffer-string'.
6854 (require 'cl): Always, not just when compiling.
6855 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6858 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6860 * international/mule-cmds.el (select-safe-coding-system): Make
6861 the message text about selecting a safe coding system more clear.
6863 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6865 * hi-lock.el: New file.
6867 * play/zone.el: New file.
6869 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6870 value of tab-width in the original buffer. Choose a line number
6871 format that's a multiple of the original buffer's tab width, so
6872 that lines appear right.
6874 * textmodes/ispell.el (ispell): New function, replacing an alias.
6875 Spell-check active region if in transient-mark-mode and mark
6876 is active; otherwise spell-check buffer.
6878 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6880 * ps-mule.el: Fix a customization problem on
6881 ps-mule-font-info-database-default.
6883 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6885 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6886 display-mouse-p instead of window-system.
6887 (ebrowse-member-mode-map): Ditto.
6889 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6891 * progmodes/ebnf2ps.el: Update ps-print functions call.
6892 Indentation fix. Doc fix.
6893 (ebnf-version): New version number (3.2).
6894 (ebnf-format-color, ebnf-begin-job): Code fix.
6896 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6898 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6899 font lock support on window-system.
6900 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6902 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6903 display-color-p, if fboundp, instead of window-system.
6905 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6907 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6908 instead of window-system.
6910 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6912 (widget-choice-mouse-down-action): Use display-popup-menus-p
6913 instead of window-system.
6915 * strokes.el (strokes-file): Run the file name through
6916 convert-standard-filename.
6917 (strokes-mode): Call display-mouse-p instead of looking at
6918 window-system. Change the error message accordingly.
6920 * progmodes/cpp.el (toplevel): Support faces on tty's.
6922 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6923 (lm-plot-square, lm-init-display): Don't use window-system.
6925 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6926 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6928 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6929 instead of looking at window-system.
6931 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6933 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6934 of testing if iswitchb-prepost-hooks is bound, because the
6935 latter will always be true when invoking a recursive minibuffer
6936 from an active Iswitchb buffer.
6938 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6940 * files.el (shell-quote-wildcard-pattern): New function.
6941 (insert-directory): Call it. Only prepend "\" to command on Unix
6942 and GNU/Linux systems.
6944 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6946 * eshell/esh-groups.el: Change custom :link file names
6947 from `eshell.info' to `eshell'.
6949 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6951 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6952 correctly in recursive ange-ftp listings.
6954 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6956 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6957 ps-header-font-size-internal and
6958 ps-header-title-font-size-internal variables are not set,
6959 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6960 face text property is (foreground-color . COLOR) or
6961 `(background-color . COLOR)', ps-print crashes. Doc fix.
6962 (ps-print-version): New version number (5.2.4).
6963 (ps-plot-region): Code fix.
6964 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6965 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6968 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6970 * glasses.el (glasses-make-readable): Fix uncapitalization of
6971 identifiers like `myXMLDocument'.
6973 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6975 * mail/mail-hist.el (mail-hist-previous-input)
6976 (mail-hist-next-input): Do the obvious code factorization.
6977 (mail-hist-retrieve-and-insert): New func, contains common
6979 If inserting a message body, leave point at top.
6981 2000-07-28 Sam Steingold <sds@gnu.org>
6983 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6984 Use `<=', not `<' to compare times!
6985 (ange-ftp-ls): Remove.
6987 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6989 * play/cookie1.el: Add explanation of how to make cookie.el
6990 compatible with strfile(1) to comment.
6992 * subr.el (remove, remq): New functions.
6994 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6995 escape `*' in regexps.
6996 (midnight-find): Reverse order of arguments in the funcall of
6999 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
7002 * play/meese.el: Add Commentary section.
7004 2000-07-27 Alex Schroeder <alex@gnu.org>
7006 * sql.el (sql-ms): Added autoload cookie.
7007 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
7008 (sql-oracle): Ditto.
7009 (sql-help): Doc change.
7011 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
7012 types and exceptions.
7014 2000-07-27 Alex Schroeder <alex@gnu.org>
7016 * sql.el (sql-placeholder-history): New variable.
7017 (sql-query-placeholders-and-send): New function that will query
7018 the user and replace placeholders with user input.
7019 (sql-oracle): If running on NT, set comint-input-sender to
7020 sql-query-placeholders-and-send.
7022 (sql-stop): If in the SQLi buffer, insert stop notification, else
7023 present it as a message.
7025 2000-07-27 Alex Schroeder <alex@gnu.org>
7027 * sql.el (sql-input-ring-separator): Doc change.
7028 (sql-input-ring-file-name): Doc change.
7029 (sql-interactive-mode): Use `sql-input-ring-separator' and
7030 `sql-input-ring-file-name' to set the comint-mode equivalents
7031 without making them local variables.
7032 (sql-stop): Don't bind `sql-input-ring-separator' and
7033 `sql-input-ring-file-name' dynamically to their comint-mode
7036 2000-07-27 Kenichi Handa <handa@etl.go.jp>
7038 * international/mule.el (register-char-codings): New function.
7039 (make-coding-system): Handle `safe-chars' specification in the arg
7042 * international/mule-cmds.el
7043 (find-coding-systems-region-subset-p): This function deleted.
7044 (sort-coding-systems-predicate): New variable.
7045 (sort-coding-systems): New function.
7046 (find-coding-systems-region): Use
7047 find-coding-systems-region-internal.
7048 (find-coding-systems-string): Use find-coding-systems-region.
7049 (find-coding-systems-for-charsets): Check
7050 char-coding-system-table.
7051 (select-safe-coding-system-accept-default-p): New variable.
7052 (select-safe-coding-system): Mostly rewritten. New argument
7054 (select-message-coding-system): Call select-safe-coding-system
7055 with ACCEPT-DEFAULT-P arg.
7056 (reset-language-environment): Reset default-sendmail-coding-system
7057 to the default value iso-latin-1.
7058 (set-language-environment): Don't set the obsolete variable
7059 charset-origin-alist.
7061 * international/codepage.el (cp-coding-system-for-codepage-1):
7062 Give `safe-chars' property to make-coding-system.
7064 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
7065 calling select-message-coding-system twice.
7067 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
7068 instead of `safe-charsets'.
7069 (cyrillic-alternativnyj): Likewise.
7070 (ccl-encode-alternativnyj): Don't check the charset
7073 2000-07-27 Kenichi Handa <handa@etl.go.jp>
7075 * composite.el (compose-chars-after): Preserve match data.
7077 2000-07-26 Sam Steingold <sds@gnu.org>
7079 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
7080 (ange-ftp-real-file-newer-than-file-p): New function.
7081 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
7082 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
7084 * tooltip.el (tooltip-float-time): Removed (use `float-time').
7085 * midnight.el (midnight-float-time): Ditto.
7087 2000-07-26 Andreas Schwab <schwab@suse.de>
7089 * files.el (normal-backup-enable-predicate): Correct
7090 interpretation of the return value of compare-strings.
7092 2000-07-26 Gerd Moellmann <gerd@gnu.org>
7094 * isearch.el (isearch-resume): New function.
7095 (isearch-done): Add something to command-history to resume
7097 (isearch-yank-line, isearch-yank-word): Use
7098 buffer-substring-no-properties instead of buffer-substring.
7100 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
7101 of flyspell-mouse-map.
7103 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
7104 duplicate definition.
7105 (makefile-mode): Remove duplicate setting of local-abbrev-table.
7107 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
7108 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
7110 2000-07-25 Sam Steingold <sds@gnu.org>
7112 * net/ange-ftp.el: Get modtime over the net.
7113 (ange-ftp-file-modtime): New function.
7114 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7115 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
7117 (ange-ftp-dot-to-slash): New function.
7118 (ange-ftp-fix-name-for-vms): Use it.
7120 * midnight.el (midnight-buffer-display-time): Use
7121 `with-current-buffer'.
7123 2000-07-25 Gerd Moellmann <gerd@gnu.org>
7125 * find-dired.el: Update copyright notice.
7126 (find-dired): Offer to kill a running `find'.
7128 * enriched.el (enriched-face-ans): For a `foreground-color'
7129 property, return '(("x-color" COLOR))' so that COLOR will be
7130 output as a parameter of the x-color annotation. Likewise for the
7131 `background-color' property. In the case of normal face
7132 properties, don't return annotations for unspecified foreground
7133 and background face attributes.
7135 2000-07-25 Kenichi Handa <handa@etl.go.jp>
7137 * language/japan-util.el (japanese-katakana-region): Fix handling
7140 2000-07-25 Miles Bader <miles@gnu.org>
7142 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
7143 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
7146 2000-07-24 Andrew Innes <andrewi@gnu.org>
7148 * timer.el (timer-activate-when-idle): Add optional parameter
7149 DONT-WAIT. Update docstring.
7150 (run-with-idle-timer): Specify extra parameter to
7151 timer-activate-when-idle, so that timer will be activated
7152 immediately if Emacs is already idle.
7154 * w32-fns.el (w32-using-nt): Fix docstring.
7156 2000-07-24 Dave Love <fx@gnu.org>
7158 * mouse.el (popup-menu): Set last-command-event.
7159 (mouse-major-mode-menu-prefix): Declare.
7161 2000-07-24 Gerd Moellmann <gerd@gnu.org>
7163 * textmodes/flyspell.el: Update to author's version 1.5d.
7165 * progmodes/hideshow.el: Update copyright notice.
7167 * vcursor.el: Set maintainer to FSF, since author cannot
7170 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
7172 * info.el (Info-goto-emacs-key-command-node): Leave a space after
7175 * mouse.el (popup-menu): Run the keymap through indirect-function,
7176 in case it was defined with define-prefix-key. If the menu is a
7177 list of keymaps, look up the binding of user's choice in each one
7179 (mouse-popup-menubar): If the global and local menu-bar keymaps
7180 don't have a prompt string, create one and insert it into the
7181 keymap. Don't barf if current-local-map returns nil.
7183 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
7185 * dired.el (dired-sort-R-check): Added to allow recursive listing
7187 (dired-sort-other): Use it.
7189 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7191 * Release of cc-mode 5.27
7193 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7195 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
7196 c-beginning-of-statement-1 that caused a bad case of recursion
7197 which could consume a lot of CPU in large classes in languages
7198 that have in-expression classes (i.e. Java and Pike).
7200 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
7201 statements before top level constructs (i.e. case 6 is moved
7202 before case 5 and is now case 4) to catch in-expression
7203 classes in top level expressions correctly.
7205 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7207 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
7208 objc-method-intro. Case 4 removed and case 5I added.
7210 * cc-langs.el (c-append-paragraph-start): New variable used by
7211 c-common-init to get paragraph-start correct.
7212 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
7213 initialize paragraph-start to make it correct both with and
7214 without the javadoc special case.
7216 * cc-mode.el (java-mode): Use c-append-paragraph-start to
7217 initialize paragraph-start for javadoc markup.
7219 * cc-vars.el (c-style-variables-are-local-p): Incompatible
7220 change by defaulting this to t. It's motivated by the
7221 confusing behavior that otherwise arise from the style system
7222 when editing both java and non-java files at the same time
7223 (see the comments about style setting in c-common-init).
7225 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7227 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
7228 similar to the one in c-fill-paragraph to check the fill
7229 prefix from the adaptive fill function for sanity.
7231 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7233 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
7236 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7238 * cc-mode.texi Documented the change of cpp-macro.
7240 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7242 * cc-align.el (c-lineup-multi-inher): Handle lines with
7243 leading comma nicely. Extended to handle member initializers
7246 * cc-engine.el: (c-beginning-of-inheritance-list,
7247 c-guess-basic-syntax): Fixed recognition of inheritance lists
7248 when the lines begins with a comma.
7250 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
7252 * cc-vars.el (c-offsets-alist): Changed default for
7253 member-init-cont to c-lineup-multi-inher since it now handles
7254 member initializers and indents better for leading commas.
7256 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7258 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
7259 handling that caused class open lines to be recognized as
7260 statement-conts in some cases.
7262 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
7263 guessed by the adaptive fill function unless point is on the
7264 first line of a block comment.
7266 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
7267 when the buffer ends with a macro continuation char.
7269 * cc-engine.el (c-guess-basic-syntax): Added support for
7270 function definitions as statements in Pike. The first
7271 statement in a lambda block is now labeled defun-block-intro
7272 instead of statement-block-intro.
7274 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
7275 so that the class surrounding point is selected, not the one
7276 innermost in the state.
7278 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
7279 recognition of switch labels having hanging multiline
7282 * cc-engine.el (c-beginning-of-member-init-list): Broke out
7283 some code in c-guess-basic-syntax to a separate function.
7284 * cc-engine.el (c-just-after-func-arglist-p): Fixed
7285 recognition of member inits with multiple line arglists.
7286 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
7287 member-init-cont when the commas are in funny places.
7289 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7291 * cc-defs.el (c-auto-newline): Removed this macro since it's
7294 * cc-engine.el (c-looking-at-bos): New helper function.
7295 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
7296 inexpr and toplevel classes apart in Pike.
7298 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
7301 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
7302 constant, since "class" can introduce an in-expression class
7305 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7307 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
7308 indentation on cpp-macro lines.
7310 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
7311 a syntax modifier like comment-intro, to make it possible to
7312 get syntactic indentation for preprocessor directives. It's
7313 incompatible wrt to lineup functions on cpp-macro, but it has
7314 no observable effect in the 99.9% common case where cpp-macro
7317 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7319 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
7320 member-init-cont when the preceding arglist is several lines.
7322 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7324 * cc-styles.el (c-style-alist): The basic offset for the BSD
7325 style corrected to 8.
7327 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7329 * cc-styles.el (c-style-alist): Adjusted the indentation of
7330 brace list openers in the gnu style.
7332 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7334 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
7336 * cc-cmds.el (c-electric-brace, c-electric-slash,
7337 c-electric-star, c-electric-semi&comma, c-electric-colon,
7338 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
7339 when c-syntactic-indentation is nil.
7341 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
7342 we were left at comments preceding the first statement when
7343 reaching the beginning of the buffer.
7345 * cc-vars.el (c-syntactic-indentation): New variable to turn
7346 off all syntactic indentation.
7348 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7350 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
7351 between the text and the block comment ender when it hangs,
7352 depending on how many there are before the fill.
7354 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7356 * cc-engine.el (c-beginning-of-closest-statement): New helper
7357 function to go back to the closest preceding statement start,
7358 which could be inside a conditional statement.
7359 * cc-engine.el (c-guess-basic-syntax): Use
7360 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
7362 * cc-engine.el (c-guess-basic-syntax): Better handling of
7363 arglist-intro, arglist-cont-nonempty and arglist-close when
7364 the arglist is nested inside parens. Cases 7A, 7C and 7F
7367 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
7368 up-to-date with javadoc 1.2.
7370 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7372 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
7373 multiline Pike type decls.
7375 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7377 * cc-cmds.el (c-indent-new-comment-line): Always break
7378 multiline comments in multiline mode, regardless of
7381 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7383 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
7384 fully::qualified::names in C++ member init lists. Preamble in
7387 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7389 * cc-langs.el (c-common-init): Handling of obsolete variables
7390 moved to c-initialize-cc-mode. More compatible style override
7391 when using global style variables.
7392 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
7393 variables moved here.
7395 * cc-mode.texi: Documented the special behavior of
7396 c-special-indent-hook as a style variable. Don't talk about
7397 doing (c-make-styles-buffer-local t) in a mode hook, since
7398 that's already too late to work right.
7400 * cc-styles.el (c-make-styles-buffer-local): Flag style
7401 variable localness in c-style-variables-are-local-p to make
7402 the compatibility measure in c-common-init work well.
7404 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
7405 longer contain set-from-style.
7406 * cc-styles.el (c-initialize-builtin-style): Don't check for
7407 set-from-style on c-special-indent-hook.
7408 * cc-styles.el (c-copy-tree): Obsolete. The standard function
7409 copy-alist is sufficient now.
7411 * cc-styles.el (c-set-style, c-set-style-1,
7412 c-get-style-variables): Fixes to variable initialization so
7413 that duplicate entries in styles have the same effect
7414 regardless of DONT-OVERRIDE.
7416 * cc-styles.el (c-set-style-2): Fixed bug where the
7417 initialization of inheriting styles failed when the
7418 dont-override flag is set.
7420 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
7423 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7425 * cc-defs.el (c-forward-comment): Removed the workaround
7426 introduced in 5.38 since it had worse side-effects. If a line
7427 contains the string "//\"", it regarded the // as a comment
7428 start since the \ temporarily doesn't have escape syntax.
7430 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
7432 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
7433 ada-xref.el before ada-prj.el, so that the Project menu is created
7434 when ada-prj tries to add to it.
7435 (ada-activate-keys-for-case): Suppress the characters that are not
7436 part of the Ada syntax. Better compatibility with else-mode
7437 (ada-adjust-case-interactive): When auto-casing is not active,
7438 correctly insert newlines (used to insert only ^M). Prevent the
7439 syntax table from being changed in case of an error
7440 (or '_' becomes part of a word and some commands are confused).
7441 Do nothing if ada-auto-case is nil.
7442 (ada-after-keyword-p): Ignore keywords that are also attributes
7443 (ada-batch-reformat): Update usage comment
7444 (ada-call-from-contextual-menu): New function
7445 (ada-case-read-exceptions): Reinitialize the casing exception list
7446 first to nil first, so that the casing exception file can be
7448 (ada-check-defun-name): Handles "configure" keyword for gnatdist
7450 (ada-compile-goto-error): Fix regexp used to detect a file:line
7451 anywhere in the error message
7452 (ada-contextual-menu-last-point): New variable
7453 (ada-create-keymap): If the variable delete-key-deletes-forward is
7454 t on XEmacs, it means that DEL should delete one character
7456 (ada-create-menu): Use :included instead of :visible for XEmacs.
7457 New submenu "Options".
7458 (ada-end-stmt-re): Correctly indent "select ... then abort"
7460 (ada-fill-comment-paragraph): Correctly delete all leading '--'
7461 even if they don't match ada-fill-comment-prefix Fix handling of
7462 paragraphs on the first or last line of a file.
7463 (ada-format-paramlist): Fix handling of default parameter values.
7464 (ada-get-body-name): New function.
7465 (ada-get-current-indent): Optimized by searchling directly for an
7466 existing generic part or a statement outside of it. Handle
7467 ada-indent-align-comments when indenting comments Replaced some
7468 regexps by testing directly the next character. This results in a
7469 huge speedup on some files. New indentation scheme for renames
7470 statements. Stop looking for the 'while' or 'for' associated with
7471 a 'loop' at the first semicolon encountered. A "return" can also
7472 match an anonymous access subprogram declaration.
7473 (ada-get-indent-noindent): Ignore strings and comments when
7474 looking for the keywords "record" and "private".
7475 (ada-goto-matching-decl-start): When matching "if", make sure we
7476 are not in fact seeing "end if". Ignore "when" statements except
7477 when initial keyword was "begin". Fix handling of nested
7478 procedures. Add a recursive call to this function to skip over
7479 other 'end' statmts. Fix indentation for "when .. => begin"
7480 (ada-in-open-paren-p): Fix indentation for complex boolean
7481 expressions, where 'and then', 'or else' and parenthesis
7482 statements are mixed up.
7483 (ada-in-paramlist-p): Skip comments while searching for the
7484 beginning Fix handling of operator declarations.
7485 (ada-indent-align-comments): New variable
7486 (ada-indent-current): Change the syntax table only in the
7487 protected section, so that we are sure it is restored correctly.
7488 (ada-indent-on-previous-lines): Use ada-use-indent and
7489 ada-with-indent Correctly indent "select ... then"
7490 (ada-indent-region): Slight speedup.
7491 (ada-indent-renames): New variable.
7492 (ada-last-which-function-subprog, ada-last-which-function-line):
7494 (ada-looking-at-semi-private): Correctly indent the 'private'
7495 keyword when it is the first word in a package declaration.
7496 (ada-loose-case-word): Stop searching if at the end of the buffer.
7497 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
7498 even if point is not initially at the end of the word.
7499 (ada-matching-decl-start-re): Add "when".
7500 (ada-mode): Add support for abbrev-mode, outline-mode and
7501 which-func-mode Override the old find-file.el entry in
7502 ff-special-constructs since it is using the obsolete
7503 ada-spec-suffix variable
7504 (ada-no-auto-case): New function
7505 (ada-scan-paramlist): When parsing the argument type, accept
7506 spaces (as in "X 'Class", generated by Rational Rose).
7507 (ada-other-file-name): No longer loads the other file.
7508 (ada-popup-menu): Save and restore the current buffer and cursor
7509 position before and after displaying the menu.
7510 (ada-search-ignore-complex-boolean): New function.
7511 (ada-uncomment-region): Emacs21 already knows how to delete
7512 comments not starting in the first column.
7513 (ada-use-indent): New variable
7514 (ada-which-function): New function.
7515 (ada-with-indent): New variable
7516 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
7517 can be batch-compiled from the command line.
7519 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
7520 Add to the menu when the file is loaded, not in ada-mode-hook.
7521 Add -toolbar to the default ddd command Switches moved from
7522 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
7523 ada-prj-default-comp-opt
7524 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
7525 Reference Manual to the menu
7526 (ada-check-current): rewritten as a call to ada-compile-current
7527 (ada-compile): Removed.
7528 (ada-compile-application, ada-compile-current, ada-check-current):
7529 Set the compilation-search-path so that compile.el automatically
7530 finds the sources in src_dir. Automatic scrollong of the
7531 compilation buffer. C-uC-cC-c asks for confirmation before
7533 (ada-compile-current): New parameter, prj-field
7534 (ada-complete-identifier): Load the .ali file before doing
7536 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
7537 conform to gnatmake's behavior.
7538 (ada-find-file-in-dir): New function
7539 (ada-find-references): Set the environment variables for gnatfind
7540 (ada-find-src-file-in-dir): New function.
7541 (ada-first-non-nil): Removed
7542 (ada-gdb-application): Add support for jdb, the java debugger.
7543 (ada-get-ada-file-name): Load the original-file first if not done
7545 (ada-get-all-references): Handles the new ali syntax (parent types
7546 are found between <>).
7547 (ada-initialize-runtime-library): New function
7548 (ada-mode-hook): Always load a project file when a file is opened,
7549 so that the casing exceptions are correctly read.
7550 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7551 (ada-parse-prj-file): Use find-file-noselect instead of find-file
7552 to open the project file, since the latter does not work with
7553 speedbar Get default values before loading the prj file, or the
7554 default executable file name is wrong. Use the absolute value of
7555 src_dir to initialize ada-search-directories and
7556 compilation-search-path,... Add the standard runtime library to
7557 the search path for find-file.
7558 (ada-prj-default-debugger): Was missing an opening '{'
7559 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7561 (ada-prj-default-gnatmake-opt): New variable
7562 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7563 buffers, the project file is the default one Save the windows
7564 configuration before displaying the menu.
7565 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7566 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7567 ...) regexp-quote identifiers names to support operators +,
7569 (ada-remote): New function.
7570 (ada-run-application): Erase the output buffer before starting the
7571 run Support remote execution of the application. Use
7572 call-process, or the arguments are incorrectly parsed
7573 (ada-set-default-project-file): Reread the content of the active
7574 project file, not the one from the current buffer When a project
7575 file is set as the default project, all directories are
7576 automatically associated with it.
7577 (ada-set-environment): New function
7578 (ada-treat-cmd-string): New special variable ${current}
7579 (ada-treat-cmd-string): Revised. The substitution is now done for
7580 any ${...} substring
7581 (ada-xref-current): If no body was found, compiles the spec
7582 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7583 compiler to get rid of command line length limitations.
7584 (ada-xref-get-project-field): New function
7585 (ada-xref-project-files): New variable
7586 (ada-xref-runtime-library-specs-path)
7587 (ada-xref-runtime-library-ali-path): New variables
7588 (ada-xref-set-default-prj-values): Default run command now does a
7589 cd to the build directory. New field: main_unit Provide a default
7590 file name even if the current buffer has no prj file.
7593 Rewritten to show a tabbed-dialog.
7594 (ada-prj-add-ada-menu): Remove the map and name parameters.
7595 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7597 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7598 (ada-prj-load-from-file): New function
7599 (ada-prj-save): Always save fields that depend on the current buffer
7600 (ada-prj-show-value): New function
7602 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7603 Ada mode. This will allow us to display the Ada menu in any buffer
7604 we want (for project items).
7605 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7606 number of spaces in the header.
7608 2000-07-24 Dave Love <fx@gnu.org>
7610 * ediff-init.el (ediff-region-help-echo): Bind face-help.
7612 2000-07-23 Noah Friedman <friedman@splode.com>
7614 * type-break.el (type-break): perform autosave.
7615 Suggested by Stephen Gildea <gildea@intouchsys.com>.
7616 (type-break-do-query): Cancel query schedule while performing
7617 actual query, to avoid possibility of a second query being made
7618 while first one is already in progress.
7619 (type-break-time-stamp-format): New variable.
7620 (type-break-time-stamp): New function.
7621 (type-break-time-warning): Use it.
7622 (type-break-keystroke-warning): Use it.
7623 (type-break-noninteractive-query): Use it.
7625 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7627 Use add-minor-mode to set minor-mode-alist, if available.
7628 (eldoc-echo-area-use-multiline-p): New user option.
7629 (eldoc-echo-area-multiline-supported-p): New variable.
7630 (eldoc-docstring-format-sym-doc): Use them.
7631 (eldoc-mode): If not using idle timers, append to local post and
7632 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7633 (eldoc-display-message-no-interference-p): Don't interfere with
7635 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7636 (eldoc-function-arglist): New function.
7637 (eldoc-function-argstring): Use it.
7639 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7640 auto save directory exists before calling directory-files.
7642 2000-07-23 Dave Love <fx@gnu.org>
7644 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7647 2000-07-21 Dave Love <fx@gnu.org>
7649 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7650 now passed to the function. It now works properly.
7652 * smerge-mode.el (smerge-mode-menu): Fill it out.
7654 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7656 * info-look.el (info-lookup): If *info* is shown in another frame
7657 on the same display, select that frame, instead of switching to
7658 the Info buffer in another window of the selected frame.
7660 * simple.el (universal-argument-map): Bind numeric keypad keys
7661 kp-0 to kp-9 and kp-subtract.
7662 (digit-argument): Handle these keys.
7664 2000-07-20 Dave Love <fx@gnu.org>
7666 * net/goto-addr.el (goto-address-fontify): Don't bother with
7667 buffer-modified and read-only stuff -- irrelevant with overlays.
7668 Put an extra property on the overlays and use it to clean up in
7669 case goto-address is re-run.
7671 2000-07-19 Richard M. Stallman <rms@gnu.org>
7673 * timer.el (run-with-idle-timer): Doc fix.
7675 * mail/mail-utils.el (mail-strip-quoted-names):
7676 Handle case where <...> appears inside "...".
7677 Use replace-match to edit the string more simply.
7678 (rmail-dont-reply-to): Cope with an unmatched ".
7680 2000-07-19 Dave Love <fx@gnu.org>
7682 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7685 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7686 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7687 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7689 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7691 * textmodes/refer.el: Correct maintainer's email address.
7693 * progmodes/hideif.el: Correct author's email address.
7694 Fix typo in comment.
7698 * mail/mailheader.el: Correct author's mail address.
7700 * gnus/parse-time.el: Correct author's mail address.
7702 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7704 * comint.el (comint-highlight-input, comint-highlight-face):
7706 (comint-input-ring-file-name): Change custom type.
7707 (comint-mode-map): Bind mouse-2.
7708 (comint-insert-clicked-input): New function.
7709 (comint-send-input): Handle input highlighting.
7711 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7713 * mouse.el (popup-menu): New function.
7714 (mouse-major-mode-menu): Use it.
7716 2000-07-18 Dave Love <fx@gnu.org>
7718 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7721 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7723 * faces.el (face-font-selection-order)
7724 (face-font-family-alternatives): Add custom type.
7726 2000-07-18 Dave Love <fx@gnu.org>
7728 * cus-edit.el (custom-variable-reset-saved)
7729 (custom-variable-reset-standard): Remove unused bindings.
7731 * rect.el (open-rectangle-line): Remove unused let.
7733 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7735 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7737 * cdl.el: Fix `Maintainer' keyword.
7739 * play/pong.el: Add author's email address.
7741 2000-07-17 Sam Steingold <sds@gnu.org>
7743 * files.el (insert-directory): Call `split-string' instead of
7746 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7748 * mail/vms-pmail.el: Change maintainer to FSF.
7750 * net/goto-addr.el: Change maintainer to FSF.
7752 * recentf.el: Update from author.
7754 * info.el (Info-title-face-alist): Removed.
7756 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7758 * eshell/eshell.el (eshell): Replace links to eshell.info with
7759 links to eshell, to avoid problems on systems where the manual is
7760 installed as `eshell'.
7761 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7762 * eshell/em-smart.el (eshell-smart): Ditto.
7763 * eshell/em-banner.el (eshell-banner): Ditto.
7764 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7766 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7767 same-file check in the MS-DOS version (it does support inodes).
7769 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7771 * eshell/eshell.el (eshell-directory-name):
7772 Run default directory name through convert-standard-filename.
7774 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7776 * international/mule-cmds.el (select-safe-coding-system):
7777 Fix typo in the comment.
7779 * language/european.el (compound-text):
7780 Force katakana-jisx0201 to be designated to G1.
7782 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7783 Don't translate some national variant characters of latin-jisx0201.
7784 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7786 * international/kkc.el (kkc-after-update-conversion-functions):
7788 (kkc-update-conversion): Run functions in it at the tail.
7790 2000-07-16 John Wiegley <johnw@gnu.org>
7792 * lisp/align.el (align-newline-and-indent):
7793 Adding new function. for auto-aligning blocks of code on RET.
7794 (align-region): Fixed badly formatted minibuffer message.
7796 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7798 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7799 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7800 the conversion list at first if appropriate.
7801 (kkc-next): Don't update kkc-next-count here.
7802 (kkc-prev): Don't update kkc-prev-count here.
7803 (kkc-show-conversion-list-update): Fix setting up of conversion
7806 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7808 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7810 2000-07-16 Dave Love <fx@gnu.org>
7812 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7813 function to be more specific.
7815 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7816 non-string help-echo.
7817 (widget-types-convert-widget): Defsubst it.
7818 (widget-echo-help): Try to cope with a help-echo function of two
7821 2000-07-15 Jason Rumney <jasonr@gnu.org>
7823 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7824 Declare as obsolete.
7826 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7828 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7830 * hilit-chg.el: Fix typo.
7832 2000-07-14 Dave Love <fx@gnu.org>
7834 * info.el (Info-mode-menu): Fix use of :help, :enable.
7836 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7838 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7840 2000-07-13 Dave Love <fx@gnu.org>
7842 * emacs-lisp/easymenu.el: Doc fixes.
7843 (easy-menu-remove): Defalias to ignore.
7845 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7846 Call throw correctly.
7848 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7850 * faces.el (frame-background-mode): Doc fix.
7852 * simple.el (eval-expression-print-length): Change custom type to
7853 allow entering nil as value.
7855 2000-07-13 Dave Love <fx@gnu.org>
7857 * progmodes/fortran.el (fortran-imenu-generic-expression):
7858 Change definition layout.
7859 (fortran-mode-menu): Reinstate customize entries.
7861 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7862 Use :filter, per old XEmacs code.
7864 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7866 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7867 event when deciding what to send to the terminal.
7869 2000-07-12 Dave Love <fx@gnu.org>
7871 * cus-start.el: Add optional version as 4th element of specs and
7872 use it for several things new in v21. Remove load-path. Fix type
7873 of line-number-display-limit.
7875 2000-07-11 Dave Love <fx@gnu.org>
7877 * progmodes/fortran.el: Don't require easymenu.
7878 Use repeat counts in various regexps.
7879 (fortran-mode-syntax-table): Defvar directly.
7880 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7881 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7882 Use defvar, not defconst.
7883 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7884 (fortran-mode): Set fortran-comment-line-start-skip,
7885 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7886 (fortran-comment-indent): Use defsubst.
7887 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7888 Use fortran-comment-indent, not fortran-comment-indent-function.
7889 (fortran-comment-region, fortran-electric-line-number): Simplify.
7890 (fortran-auto-fill): New function.
7891 (fortran-do-auto-fill): Deleted.
7892 (fortran-find-comment-start-skip):
7893 Check for non-null comment-start-skip.
7894 (fortran-auto-fill-mode, fortran-fill-statement):
7895 Use fortran-auto-fill.
7896 (fortran-fill): Use fortran-auto-fill. Check for null
7897 comment-start-skip. Simplify final clause and use end-of-line finally.
7899 * widget.el (widget-plist-member): New alias.
7901 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7903 * eshell/esh-module.el (toplevel): Reference
7904 byte-compile-current-file only if it is bound.
7906 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7908 * dired.el: Don't require `dired-aux'.
7910 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7912 * dired-aux.el (dired-show-file-type): New function.
7913 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7914 (dired-show-file-type): Add autoload.
7916 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7918 * international/mule-diag.el (describe-font): Adjusted for the
7919 change of fontset-info.
7920 (print-fontset): Likewise.
7922 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7924 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7926 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7928 * bindings.el: Bind `[delete]' to delete-char.
7930 * dired.el (dired-find-alternate-file): New function.
7931 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7932 (toplevel): Require dired-aux when compiling.
7933 (dired-buffers): Move defvar within file to avoid compiler warning.
7935 * info.el (Info-last-search): Variable removed.
7936 (Info-search-history): New variable.
7937 (Info-search): New Info-search-history.
7939 * battery.el, info-look.el: Change author's mail address.
7941 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7943 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7944 if rmail-ignored-headers is nil.
7945 (rmail-retry-failure): Bind rmail-ignored-headers and
7946 rmail-displayed-headers to nil.
7948 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7950 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7951 (print-region-1): Don't hard code `-h' here.
7953 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7955 2000-07-01 Francesco Potorti` <pot@gnu.org>
7957 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7958 exim can use "your message" instead of "the message".
7960 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7962 * facemenu.el: Docstrings fixes.
7963 (facemenu-get-face): Don't use internal-find-face.
7964 (facemenu-iterate): Rename arg to match the docstring.
7966 * newcomment.el (uncomment-region): Be more careful when skipping
7967 backwards over `=' not to bump into BOBP.
7969 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7971 * ediff-diff.el (ediff-wordify): Use syntax table.
7972 * ediff-init.el (ediff-has-face-support-p): Use
7973 ediff-color-display-p.
7974 (ediff-color-display-p): Use display-color-p, changed to defun
7976 Got rid of special cases for NeXT and OS/2.
7977 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7980 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7982 * emacs-lisp/lucid.el: Require CL.
7983 (copy-tree, remprop): Remove, it's provided by CL.
7984 (map-keymap): Define in terms of cl-map-keymap.
7985 (extent-property, set-extent-end-glyph): New functions.
7987 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7989 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7991 * Makefile.in (DONTCOMPILE): Add comment that the name may
7992 not be changed without changing the make-dist script.
7994 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7995 (cl-mapc): Use mapc instead of cl-old-mapc.
7997 2000-07-05 Andrew Innes <andrewi@gnu.org>
7999 * makefile.nt: Add support for `bootstrap' and related targets.
8001 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
8003 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
8004 (easy-menu-do-define): Use `menu-item' format.
8005 Handle case where easy-menu-create-menu returns a symbol.
8006 Manually call the potential top-level filter in the function binding.
8007 (easy-menu-filter-return): New arg NAME.
8008 Convert to a keymap if MENU is an XEmacs menu.
8009 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
8010 (easy-menu-converted-items-table, easy-menu-convert-item):
8011 New var and fun to memoize easy-menu-convert-item-1.
8012 (easy-menu-do-add-item): Use it.
8013 (easy-menu-create-menu): Use easy-menu-convert-item.
8014 Wrap easy-menu-filter-return around any :filter specification.
8015 Don't convert the menu if a filter was specified.
8016 Tell easy-menu-make-symbol not to check for MENU being an expression.
8017 (easy-menu-make-symbol): New arg NOEXP.
8019 2000-07-05 Gerd Moellmann <gerd@gnu.org>
8021 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
8022 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
8023 (eval-defun): If called with prefix arg, instrument code for
8026 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
8027 similar to that of eval-defun.
8029 2000-07-04 Dave Love <fx@gnu.org>
8031 * hl-line.el (hl-line-overlay): Make it permanent-local.
8033 * calendar/todo-mode.el: Replaced with a working version, based on
8034 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
8036 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
8038 * paths.el (prune-directory-list): New function.
8039 (Info-default-directory-list): Rewritten to more methodically
8040 enumerate a big list of possible info directories (based on the
8041 list used by the standalone info reader).
8043 * info.el (info-initialize): Use prune-directory-list to remove
8044 non-existent directories from Info-directory-list.
8046 * paths.el (Info-default-directory-list): Try a list of possible
8047 info-directories instead of a single one. Add the possible
8048 info directory "/usr/share/info".
8050 * woman.el (woman-man.conf-path): Explicitly include the debian
8051 man-db config file "/etc/manpath.config".
8052 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
8053 are present in `manpath.config'.
8054 (woman-manpath): Include "/usr/share/man".
8056 2000-07-03 Gerd Moellmann <gerd@gnu.org>
8058 * frame.el (blink-cursor-mode): Don't hide cursor initially.
8060 * startup.el (command-line): Initialize blink-cursor based
8063 * frame.el (blink-cursor): Default to nil if not running under
8066 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
8067 (face-x-resources): Remove duplicate entry for :font.
8069 * textmodes/refer.el (refer-find-entry-internal): Use some-window
8070 instead of cycling through windows with next-window.
8072 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
8073 of cycling through windows with next-window.
8075 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
8076 of cycling through windows with next-window.
8078 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
8079 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
8080 instead of cycling through windows with next-window.
8082 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
8083 instead of cycling through windows with next-window.
8085 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
8086 of cycling through windows with next-window.
8088 * terminal.el (te-process-output): Use walk-windows instead of
8089 cycling through windows with next-window.
8091 * server.el (server-switch-buffer): Use some-window instead of
8092 cycling through windows with next-window.
8094 * window.el (some-window): New function.
8095 (walk-windows): Remove reference to walk-windows-start.
8097 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
8099 2000-07-03 Richard Stallman <rms@gnu.org>
8101 * window.el (walk-windows): Guarantee termination by keeping a list
8102 of all the windows already handled.
8104 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8106 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
8109 * man.el (Man-notify-when-ready): Don't use window-system. If
8110 Man-notify-method is newframe, and the display is not
8111 multi-frame, select the frame created for the man page.
8112 (Man-init-defvars): Doc fix.
8114 2000-06-28 Gerd Moellmann <gerd@gnu.org>
8116 * faces.el (region): Change background color for light background.
8118 * ediff-wind.el (ediff-setup-control-frame): Remove :box
8119 attribute from mode-line face of Ediff control frame.
8121 * replace.el (query-replace-map): Bind `e' like `E'.
8123 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8125 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
8126 Change name to "Select All".
8128 * dos-fns.el (convert-standard-filename): Fix last change.
8130 2000-06-27 Gerd Moellmann <gerd@gnu.org>
8132 * help.el (describe-variable): Don't insert a second `'s' in front
8133 of the string `value is shown below'. Since the syntax-table is
8134 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
8135 an existing `'s', so that this won't be deleted.
8137 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
8138 * pcmpl-unix.el: New files.
8140 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
8142 * wid-edit.el (widget-member): Use the new plist-member.
8144 2000-06-26 Gerd Moellmann <gerd@gnu.org>
8146 * replace.el (perform-replace): Undo change of 2000-04-04.
8147 Instead, move backward 1 character at the end of the loop when
8150 * faces.el (fringe): Change face for different backgrounds.
8152 * eshell/esh-module.el (toplevel): Load defgroup's differently;
8155 * eshell/*.el: Change spelling of the Free Software Foundation.
8157 * eshell/esh-toggle.el: Removed.
8159 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
8161 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
8164 2000-06-26 Alex Schroeder <alex@gnu.org>
8166 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
8167 `define-key'; instead of checking `(emacs-version)' check for
8168 `set-keymap-parent' and `set-keymap-name' directly. Add entries
8169 for `;' and `o' which might be electric.
8171 (sql-electric-stuff): New user option.
8172 (sql-magic-go): New function which uses `sql-electric-stuff'.
8173 (sql-magic-semicolon): New function which uses
8174 `sql-electric-stuff'.
8176 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
8179 (sql-oracle-options): New variable.
8180 (sql-oracle): Use it.
8182 (sql-imenu-generic-expression): Doc change.
8183 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
8186 (sql-informix): Added command line parameter "-" to force
8187 sql-informix-program to use stdout.
8189 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
8191 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
8192 (cp864-decode-table): Doc fix.
8193 (cp720-decode-table): New variable, supports the Arabic OEM
8194 codepage used by Windows.
8195 (cp737-decode-table): New, Greek OEM codepage used by Windows.
8197 2000-06-23 Dave Love <fx@gnu.org>
8199 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
8200 (font-lock-fontify-anchored-keywords): Use
8201 line-beginning-position.
8202 (global-font-lock-mode): Use mapc.
8204 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
8206 * eshell/esh-module.el: Require CL when compiling.
8208 2000-06-23 Gerd Moellmann <gerd@gnu.org>
8210 * comint.el (comint-substitute-in-file-name): Call replace-match
8211 with second and third arg t.
8213 * cus-edit.el (custom-button-face, custom-button-pressed-face):
8214 Specify foreground color.
8216 * faces.el (tool-bar, mode-line, header-line): Specify foreground
8219 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
8221 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
8222 cddr instead of cdddr.
8224 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
8225 instead of copy-list.
8227 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
8230 * subdirs.el: Add eshell subdirectory.
8232 * eshell: New subdirectory containing the Eshell package.
8234 * pcomplete.el: New file.
8236 2000-06-23 Paul Eggert <eggert@twinsun.com>
8238 * mail/mailpost.el (post-mail-send-it): Make sure file has
8239 proper permissions from birth.
8241 * files.el (basic-save-buffer-2): When temporarily setting
8242 file modes, set them to current modes plus 0200, not to 0777.
8244 * emerge.el (emerge-make-temp-file): Make sure file has proper
8245 permissions from birth.
8247 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
8249 * files.el (make-backup-file-name-1): On DOS/Windows, run the
8250 backup file name through convert-standard-filename.
8252 * dos-fns.el (convert-standard-filename): Convert leading
8253 directories as well. When long file names are supported, convert
8254 characters that are invalid in Windows file names.
8256 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8258 * ps-print.el: Fix bug: if ^L is the very first buffer character,
8259 ps-print crashes. New feature: page selection for printing. Create
8260 raw-text-unix coding system for XEmacs. Doc fix.
8261 (ps-print-version): New version number (5.2.3).
8262 (ps-plot-region): Bug fix.
8263 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
8264 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
8265 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
8267 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
8268 (ps-last-page): New vars.
8270 2000-06-21 Gerd Moellmann <gerd@gnu.org>
8272 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
8273 empty option string.
8275 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
8277 * man.el (man): Doc fix.
8279 2000-06-21 Kenichi Handa <handa@etl.go.jp>
8281 * international/mule-cmds.el (set-language-info-alist): Docstring
8284 2000-06-20 Gerd Moellmann <gerd@gnu.org>
8286 * version.el (emacs-version): Use ISO date format.
8288 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
8289 instead of `M-backspace'.
8291 * simple.el (turn-off-auto-fill): New function.
8293 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
8295 * jit-lock.el (with-buffer-prepared-for-jit-lock):
8296 Renamed from with-buffer-prepared-for-font-lock and use
8297 inhibit-modification-hooks rather than setting *-change-functions.
8298 Update all functions to use the new name.
8299 (jit-lock-first-unfontify-pos): New semantics (and doc).
8300 (jit-lock-mode): Make non-interactive.
8301 Don't automatically turn on font-lock.
8302 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
8303 Always use jit-lock-after-change.
8304 Remove and restore font-lock-after-change-function.
8305 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
8306 (jit-lock-after-unfontify-buffer): Remove.
8307 (jit-lock-stealth-fontify):
8308 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
8309 (jit-lock-after-change): Set the `fontified' text-prop to nil.
8311 2000-06-20 Sam Steingold <sds@gnu.org>
8313 * emacs-lisp/cl-indent.el (toplevel): Indent
8314 `print-unreadable-object' properly. Untabify.
8316 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8318 * textmodes/reftex.el (reftex-find-citation-regexp-format):
8319 Support for bibentry.
8320 (reftex-compile-variables): Fixed problem with end of section-re.
8322 * texmodes/reftex-dcr.el (reftex-view-crossref,
8323 reftex-view-crossref-from-bibtex):
8324 Deal with changed `reftex-find-citation-regexp-format'.
8325 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
8326 Replaced `remprop' with `put'.
8327 (reftex-view-crossref, reftex-view-crossref-when-idle):
8328 Support for bibentry.
8330 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
8331 New entry for bibentry package.
8333 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
8334 Regexp also matches "\nobibliography".
8336 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
8337 Call `reftex-ensure-write-access' before doing anything.
8338 (reftex-ensure-write-access): New function.
8340 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8342 * progmodes/idlwave.el: File re-installed (update to version 4.2)
8344 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
8346 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
8348 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
8351 2000-06-20 Dave Love <fx@gnu.org>
8353 * faces.el (frame-background-mode): Use set-default, not set, in
8355 (frame-update-faces, frame-update-face-colors): Define with
8358 * enriched.el (enriched-decode-foreground)
8359 (enriched-decode-background): Don't use internal-find-face.
8361 * apropos.el: Doc fixes.
8363 * cus-edit.el (customize-changed-options): Check arg.
8364 (customize-version-lessp): Don't require decimal point.
8366 * custom.el (defcustom, defgroup): Doc fix.
8368 * newcomment.el (comment) <defgroup>: Add :version.
8369 (comment-multi-line): Doc fix.
8371 * emulation/mlsupport.el (define-hooked-local-abbrev,
8372 define-hooked-global-abbrev): Fix, using define-abbrev.
8374 2000-06-19 Gerd Moellmann <gerd@gnu.org>
8376 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
8379 2000-06-19 Dave Love <fx@gnu.org>
8381 * menu-bar.el (menu-bar-options-save): New function.
8382 (menu-bar-options-menu): Use it.
8383 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
8386 2000-06-19 Andreas Schwab <schwab@suse.de>
8388 * progmodes/etags.el (tags-query-replace): Put new parameters
8389 START and END at the end, for backward compatibility.
8391 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8393 * international/codepage.el:
8394 (cp-coding-system-for-codepage-1): Delete special codes for
8395 generating xxx-dos coding system because now a CCL based coding
8396 system can handle EOL conversion by default.
8398 * international/mule.el (make-coding-system): Generate subsidiary
8399 coding systems for EOL handling variants even for a CCL based
8402 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8404 * international/isearch-x.el (isearch-minibuffer-input-method)
8405 (isearch-minibuffer-input-method-function): These variables
8407 (isearch-with-input-method): Don't use the above variables.
8408 (isearch-process-search-multibyte-characters): Likewise. Call
8409 read-string with the arg INHERIT-INPUT-METHOD t.
8411 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
8413 * font-lock.el (font-lock-after-fontify-buffer)
8414 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
8416 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
8417 Use consistent make-local-variable style for font-lock-fontified.
8418 (jit-lock-fontify-buffer):
8419 Don't bother checking for font-lock-mode and jit-lock-mode.
8421 * time.el: Remove trailing ^M that prevent CVS-merging.
8423 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8425 * Makefile.in (distclean): New target.
8427 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
8429 * Makefile.in (srcdir): Define for update-subdirs.
8431 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8433 * find-lisp.el: New file.
8435 2000-06-16 Andrew Innes <andrewi@gnu.org>
8437 * time.el (display-time-mail-function): New variable, to allow
8438 external packages to indicate when new mail is available.
8439 (display-time-update): Use it.
8441 2000-06-16 Kenichi Handa <handa@etl.go.jp>
8443 * international/mule.el (mule-version): Change version name to
8444 SAKAKI. AOI has already been used by Meadow.
8446 * international/quail.el (quail-show-guidance-buf): To find the
8447 bottom window (but minibuffer), pay attention to the height of
8450 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
8452 * arc-mode.el (archive-mode-map): Use the new menu-item format for
8453 menu-bar menus. Add help strings. Don't remove the Edit menu
8454 from the menu bar, as the menu bar has enough space now.
8456 * Makefile.in (SHELL): Make sure /bin/sh is used.
8458 * woman.el (woman-man-buffer): Fix bold and underlined CJK
8459 characters, which use series of two ^H characters instead of one.
8461 2000-06-15 Gerd Moellmann <gerd@gnu.org>
8463 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
8464 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
8466 (Info-find-node-2): Try a case-sensitive search first, then
8467 do a case-insensitive search.
8469 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
8472 * complete.el (PC-env-vars-alist): New variable.
8473 (PC-complete-as-file-name): New function.
8474 (partial-completion-mode): Initialize PC-env-vars-alist from
8475 process-environment.
8476 (PC-do-completion): Handle completion of env vars.
8478 * info.el (Info-set-mode-line): Show file name in mode line,
8479 use `*Info*' instead of `Info:'.
8481 * startup.el (command-line-1): Change copyright messages to year
8484 2000-06-15 Dave Love <fx@gnu.org>
8486 * net/goto-addr.el (goto-address-fontify): Use keymap property,
8489 2000-06-15 Kenichi Handa <handa@etl.go.jp>
8491 * international/mule.el (set-buffer-file-coding-system): Almost
8492 rewritten to handle `undecided' as no-op.
8494 2000-06-14 Gerd Moellmann <gerd@gnu.org>
8496 * Makefile.in: New file.
8498 * Makefile: Removed.
8500 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
8501 (goto-address-highlight-keymap): Bind C-c RET.
8503 2000-06-14 Kenichi Handa <handa@etl.go.jp>
8505 * mail/sendmail.el (sendmail-send-it): The temporary buffer
8506 inherits buffer-file-coding-system of the current buffer.
8508 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
8509 0. Give correct argument to set-auto-coding-function.
8510 (tar-expunge): For goto-char, use (point-min), not 0.
8511 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
8512 (tar-subfile-save-buffer): Likewize.
8514 * international/mule.el
8515 (after-insert-file-set-buffer-file-coding-system): Call
8516 set-buffer-file-coding-system with the arg FORCE t.
8518 2000-06-13 Gerd Moellmann <gerd@gnu.org>
8520 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
8521 nil. Contemporary sendmails issue an X-Authentication-Warning if
8522 the sender is set with `-f'.
8524 2000-06-13 Dave Love <fx@gnu.org>
8526 * help.el (describe-function-1): Kluge around cases of functions
8527 fset to subrs whose doc doesn't match their symbol-name.
8529 * image.el (insert-image): Default STRING to a space.
8531 * info.el Doc fixes.
8532 (Info-build-node-completions): Match Ref tags.
8534 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
8536 * frame.el (display-multi-frame-p, display-multi-font-p): New
8537 defaliases for display-graphic-p.
8539 * hl-line.el: Fixed a typo in commentary.
8541 2000-06-13 Kenichi Handa <handa@etl.go.jp>
8543 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8546 2000-06-12 Dave Love <fx@gnu.org>
8548 * image.el (insert-image): Save a little consing.
8550 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8552 * language/tibet-util.el: Convert all tibetan-1-column characters
8553 to the corresponding tibetan characters.
8554 (tibetan-add-components): Delete code for the special treatment of
8557 * language/tibetan.el (tibetan-composable-pattern): Fix previous
8559 (tibetan-vowel-transcription-alist): More rules added.
8560 (tibetan-composite-vowel-alist): New variable.
8561 (tibetan-precomposition-rule-alist): More rules added.
8563 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
8565 * startup.el (command-line): Only call menu-bar-mode if interactive.
8567 * thingatpt.el (toplevel symbol-properties):
8568 * textmodes/makeinfo.el (makeinfo-compile):
8569 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8570 * progmodes/hideif.el (hif-compress-define-list)
8571 (hide-ifdef-use-define-alist):
8572 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8573 (ange-ftp-vms-add-file-entry):
8574 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8575 * man.el (Man-build-man-command):
8576 * mail/rnewspost.el (news-reply-header-hook):
8577 * info.el (Info-insert-dir):
8578 * emulation/mlconvert.el (backward-word, forward-word, setq):
8579 * emacs-lisp/gulp.el (gulp-send-requests):
8580 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8581 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8582 (byte-optimize-apply, end of file):
8583 * emacs-lisp/advice.el (ad-advice-class-completion-table)
8584 (ad-make-freeze-definition):
8585 * startup.el (command-line, command-line-1): Don't quote lambdas.
8587 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8588 (cvs-cleanup-removed): New function.
8589 (cvs-cleanup-functions): New var.
8590 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8591 some flexibility in specifying additional entries to auto-cleanup.
8592 (cvs-quickdir): New function.
8593 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8594 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8595 (cvs-mode-find-file): Check that we are on a filename or dirname
8596 when invoked through a mouse-click.
8597 (cvs-full-path): Remove.
8598 (cvs-dired-action): Re-introduced.
8599 (cvs-dired-noselect): Use it.
8600 (vc-post-command-functions): use this new hook if available.
8602 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8603 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8604 (cvs-filename-map, cvs-dirname-map): Remove.
8605 (cvs-default-action): Remove.
8606 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8607 if the arg is really a keymap.
8608 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8609 Don't hardcode the mapping from state (aka type) to face, but check
8610 the var cvs-fi-<type>-face instead.
8611 (cvs-fileinfo-from-entries): New function.
8613 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8615 (cvs-find-file-and-jump): Change default to be safer.
8616 (cvs-mode-diff-map): Define it as a function as well.
8617 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8618 Bind mouse-2 in this global map rather than with text-properties.
8620 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8621 file to resolve the ambiguity between C(conflict) and C(need-merge).
8623 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8625 * international/mule.el (set-buffer-file-coding-system): If
8626 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8629 2000-06-12 Dave Love <fx@gnu.org>
8631 * wid-edit.el (widget-specify-button): Really suppress the face if
8634 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8636 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8638 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8640 * imenu.el (imenu-generic-expression): Docstring fix.
8642 * composite.el (composition-function-table): Move the `put'
8643 below the autoload cookie so we can load the file before loaddefs.
8645 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8647 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8648 Handle easy-mmode-define-global-mode.
8649 For complex macros like define-minor-mode that can generate
8650 several autoload entries, try to autoload entries in the
8653 * emacs-lisp/easy-mmode.el (define-minor-mode):
8654 If KEYMAP is a symbol, just use it.
8655 Use byte-compile-current-file and load-file-name to infer the
8656 proper :require to pass to defcustom.
8657 Wrap the hook var into `progn' so as not to autoload it.
8658 Add a :autoload-end cookie.
8659 Be more careful about the evaluation of KEYMAP.
8660 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8661 (define-derived-mode): Move define-abbrev-table outside of defvar.
8663 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8665 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8666 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8667 (backup-compiled-files): Ignore errors during `tar'.
8668 (bootstrap): Make autoloads before elc files.
8670 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8672 * international/mule.el (set-buffer-file-coding-system): If one of
8673 undecided-XXX is specified, change only EOL conversion.
8675 * international/mule-conf.el (unix): New alias for the coding
8676 system undecided-unix.
8678 2000-06-09 Dave Love <fx@gnu.org>
8680 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8682 * progmodes/executable.el: Byte compile dynamic.
8683 (executable-insert): Change custom type.
8684 (executable-find): Add autoload cookie.
8685 (executable-make-buffer-file-executable-if-script-p): New
8686 function. After Noah Friedman.
8688 * files.el (after-save-hook): Customize, with
8689 executable-make-buffer-file-executable-if-script-p as an option.
8691 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8693 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8694 "tib24p-mule.bdf" for Tibetan.
8696 * composite.el (decompose-composite-char): Declare it as obsolete.
8698 * man.el (Man-fontify-manpage): Pay attention to underline and
8699 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8701 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8703 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8704 Set maintainer to FSF since author isn't reachable.
8706 2000-06-08 Dave Love <fx@gnu.org>
8708 * international/mule-cmds.el (select-safe-coding-system): If
8709 DEFAULT-CODING-SYSTEM is not specified, also check the most
8710 preferred coding-system if buffer-file-coding-system is
8711 `undecided'. From Handa.
8713 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8715 * international/mule.el
8716 (after-insert-file-set-buffer-file-coding-system): If the buffer
8717 size is greater than INSERTED, judget that we are not visiting.
8719 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8721 * whitespace.el (defgroup whitespace): Comment out `:version'.
8722 XEmacs 20.4 has problems defining the group with this present.
8723 We'll have this commented out till get resolve the problem.
8725 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8727 * align.el: Update from author.
8729 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8731 * apropos.el (apropos-mode-hook): New user variable.
8732 (apropos-mode): Run apropos-mode-hook.
8734 2000-06-07 David Ponce <david@dponce.com>
8736 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8737 commands. Require `wid-edit' at run-time.
8739 2000-06-07 David Ponce <david@dponce.com>
8741 * recentf.el: Added some "Commentary".
8742 (recentf-open-more-files, recentf-edit-list): Minor changes to
8743 move the point at the top of the file list. This behaviour is
8744 consistent with the menu one when the list contains a lot of
8746 (recentf-cleanup): Now displays the number of items removed from
8748 (recentf-relative-filter) New menu filter to show filenames
8749 relative to `default-directory'.
8751 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8753 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8754 with/without giving an error if PostScript printer doesn't have this
8755 kind of page size. Zebra Stripe continues or restarts on next page.
8756 Manual/automatic paper feeding. Switch or not the header.
8757 (ps-print-version): New version number (5.2.2).
8758 (ps-windows-system): Include emx as a Windows system.
8759 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8760 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8761 (ps-background-text): Code fix.
8762 (ps-error-handler-message, ps-user-defined-prologue)
8763 (ps-print-prologue-header, ps-printer-name)
8764 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8765 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8766 (ps-use-face-background): Customization fix.
8767 (ps-n-up-database): Data fix.
8768 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8769 (ps-switch-header): New vars.
8770 (ps-xemacs-color-name, ps-face-foreground-name)
8771 (ps-face-background-name, ps-boolean-constant): New funs.
8773 2000-06-07 Dave Love <fx@gnu.org>
8775 * allout.el: New version from Manheimer.
8777 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8779 * textmodes/fill.el (fill-find-break-point): Check the validity of
8782 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8784 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8785 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8786 Call display-color-p and display-mouse-p instead of looking at
8789 2000-06-06 Dave Love <fx@gnu.org>
8791 * image.el (find-image): Doc fix. Return nil if image not found.
8792 (put-image, insert-image): Make STRING arg optional.
8794 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8796 * language/vietnamese.el: Remove eval-when-compile.
8797 (viet-viscii-nonascii-translation-table): Define it as a
8798 translation table made from viet-viscii-decode-table.
8799 (viet-viscii-encode-table): Define it as a translation table made
8800 from the reverse map of above.
8801 (viet-vscii-nonascii-translation-table): Define it as a
8802 translation table made from viet-vscii-decode-table.
8803 (viet-vscii-encode-table): Define it as a translation table made
8804 from the reverse map of above.
8805 (ccl-decode-viscii): Use translate-character.
8806 (ccl-encode-viscii, ccl-encode-viscii-font)
8807 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8810 * language/cyrillic.el: Remove eval-when-compile.
8811 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8812 translation table made from cyrillic-koi8-r-decode-table.
8813 (cyrillic-koi8-r-encode-table): Define it as a translation table
8814 made from the reverse map of above.
8815 (ccl-decode-koi8): Use translate-character.
8816 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8817 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8818 a translation table made from cyrillic-alternativnyj-decode-table.
8819 (cyrillic-alternativnyj-encode-table): Define it as a translation
8820 table made from the reverse map of above.
8821 (ccl-decode-alternativnyj): Use translate-character.
8822 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8825 * international/mule-diag.el (non-iso-charset-alist): Specify
8826 translation table symbol instead of translation table itself.
8827 (list-block-of-chars): CHARSET may be a translation table symbol.
8829 * international/mule.el (make-coding-system): If CODING-SYSTEM
8830 already exists, override it.
8832 * international/fontset.el: Use family `proportional' for Tibetan
8835 * international/ccl.el (ccl-compile-translate-character): Don't
8836 check if Rrr has property translation-table.
8837 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8839 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8841 * info.el: Bind case-fold-search to t when searching in case
8842 a user sets it to nil in a hook.
8844 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8846 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8847 * hl-line.el (hl-line-mode): Use the new :global key argument.
8849 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8850 (tar-clip-time-string): Prepend a space.
8851 (tar-grind-file-mode): Construct a string rather than modifying one.
8852 (tar-header-block-summarize): Fix docstring.
8853 Use `format' rather than an error-prone set of copy-loops.
8855 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8856 (diff-goto-source, diff-unified->context, diff-context->unified)
8857 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8858 understand the format output by the `-p' argument to diff.
8860 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8861 (sh-re-done): Use defconst.
8862 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8863 (sh-help-string-for-variable, sh-guess-basic-offset):
8864 Don't quote lambdas.
8865 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8866 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8868 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8869 (mh-letter-mode): Derive from text-mode.
8870 This implicitly means that it now calls kill-all-local-variables.
8871 Also remove the Emacs-18 compatibility code.
8873 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8874 Make use of symbol-property doc-string-elt.
8875 Use memq rather than a sequence of eq.
8876 (doc-string-elt): Fix the wrong or missing previously unused values.
8877 (autoload-print-form): New function extracted from
8878 generate-file-autoloads to allow recursion when handling progn
8879 so that defvar's and defun's docstrings are properly printed.
8880 (generate-file-autoloads): Use it.
8882 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8883 Use find-file-hooks in the minor-mode function.
8884 Be careful not to loop indefinitely in the post-command-hook function.
8886 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8888 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8890 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8891 differences whenever appropriate.
8892 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8893 * viper.el (find-file, find-file-other-window): Get viper to do
8896 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8898 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8899 (jit-lock-fontify-buffer): New function for JIT refontification.
8900 (jit-lock-mode): Fix docstring.
8901 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8902 Remove jit-lock-after-change from the _local_ hook.
8903 (jit-lock-function-1): Fix docstring.
8905 * info.el (Info-on-current-buffer): Initialize info.
8907 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8909 * progmodes/tcl.el (tcl-indent-for-comment):
8910 Ignore comment-indent-hook.
8912 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8913 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8914 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8915 and improve to use the lighter to guess the capitalization.
8916 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8917 Add keyword arguments to specify global-ness or the custom group.
8918 Add local-map and help-echo properties to the lighter.
8919 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8920 (easy-mmode-define-global-mode): New macro.
8922 2000-06-02 Dave Love <fx@gnu.org>
8924 * wid-edit.el: byte-compile-dynamic since we typically don't use
8925 all the widgets. Don't require cl or widget. Remove
8926 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8927 (widget-read-event): Removed. Callers changed to use read-event.
8928 (widget-button-release-event-p): Renamed from
8929 button-release-event-p.
8930 (widget-field-add-space, widget-field-use-before-change):
8932 (widget-specify-field): Use keymap property, not local-map.
8933 (widget-specify-button): Obey :suppress-face.
8934 (widget-specify-insert): Use modern backquote syntax.
8935 (widget-image-directory): Renamed from widget-glyph-directory.
8936 (widget-image-enable): Renamed from widget-glyph-enable.
8937 (widget-image-find): Replaces widget-glyph-find.
8938 (widget-button-pressed-face): Move defvar.
8939 (widget-image-insert): Replaces widget-glyph-insert.
8940 (widget-convert): Use keywordp.
8941 (widget-leave-text, widget-children-value-delete): Use mapc.
8942 (widget-keymap): Remove XEmacs stuff.
8943 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8944 (widget-button-click): Don't set point at the click, but re-centre
8945 if we scroll out of window. Rewritten for images v. glyphs &c.
8946 (widget-tabable-at): Use POS arg, not point.
8947 (widget-beginning-of-line, widget-end-of-line)
8948 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8949 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8950 (widget-default-create): Use widget-image-insert; some rewriting.
8951 (widget-visibility-value-create)
8952 (widget-push-button-value-create, widget-toggle-value-create): Use
8953 widget-image-insert.
8954 (checkbox): Create on and off images dynamically.
8955 (documentation-link): Change :help-echo.
8956 (widget-documentation-link-echo-help): Remove.
8958 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8960 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8962 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8963 (easy-mmode-define-toggle, define-minor-mode): Use it.
8964 (easy-mmode-define-keymap): Docstring fix.
8965 (define-derived-mode): Default PARENT to fundamental-mode.
8966 Add the derived-mode-parent symbol-property.
8967 (easy-mmode-derived-mode-p): New function.
8969 2000-06-02 Dave Love <fx@gnu.org>
8971 * files.el (convert-standard-filename): Doc fix.
8972 (normal-backup-enable-predicate): New function.
8973 (backup-enable-predicate): Use it to replace the lambda form.
8975 * calendar/todo-mode.el: [This needs more work on the outline
8977 (todo) <defgroup>: Add :version.
8978 (todo-add-category): Don't use pushnew.
8979 (todo-cmd-raise): Fix typo.
8980 (todo-top-priorities): Change temp buffer name.
8981 (todo-category-alist): Avoid redundant lambda.
8982 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8983 Use outline-next-heading.
8985 * autoarg.el: Rewritten to use define-minor-mode.
8986 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8987 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8989 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8991 * isearch.el (isearch-other-meta-char): Fix previous change.
8993 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8995 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8996 (log-edit-done): Only add the comment to the ring if it's different
8997 from the last comment entered.
8999 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
9001 2000-06-01 Dave Love <fx@gnu.org>
9003 * hl-line.el: Rewritten using define-minor-mode.
9005 * help.el (describe-function-1): Distinguish special form from
9006 builtin function. Sanity-check presence of arglist for builtins.
9008 2000-06-01 Kenichi Handa <handa@etl.go.jp>
9010 * international/characters.el: Fix syntax/category setting of
9013 * language/tibet-util.el (tibetan-add-components): Fixes for new
9014 encoding of Tibetan characters.
9015 (tibetan-decompose-precomposition-alist): New variable.
9016 (tibetan-decompose-region): Convert precomposed characters to
9017 non-precomposed characters.
9018 (tibetan-decompose-string): Likewise.
9019 (tibetan-composition-function): Fix args to
9020 thibetan-compose-string.
9022 * language/tibetan.el (tibetan-composable-pattern): More
9023 characters included.
9024 (tibetan-consonant-transcription-alist): Rule for "R" added.
9025 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
9027 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
9029 * language/lao-util.el (lao-composition-function): Fix args to
9032 * language/thai-util.el (thai-composition-function): Fix args to
9035 * isearch.el (isearch-update): Set disable-point-adjustment to t
9036 to prevent the point moving to the end of a composition when a
9037 part of a composition is searched.
9038 (isearch-other-meta-char): If the key invoking this command can be
9039 mapped by function-key-map to a printing char, call
9040 isearch-process-search-char directly.
9042 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
9044 * emacs-lisp/bytecomp.el:
9046 * international/mule-cmds.el:
9047 * international/mule-util.el:
9048 * international/mule.el:
9051 * faces.el: Update calls to make-obsolete with a WHEN argument.
9053 * byte-run.el (make-obsolete, make-obsolete-variable):
9054 Add an optional WHEN argument and change the format of the
9055 symbol-property information.
9056 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
9057 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
9058 new obsolete-symbol-property format and print WHEN if it is provided.
9060 2000-05-31 Dave Love <fx@gnu.org>
9062 * loadhist.el (loadhist-hook-functions): Remove
9063 before-change-function, after-change-function.
9064 (unload-feature): Deal with symbols which are both bound and
9067 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
9068 before-change-function, after-change-function.
9070 * simple.el (newline): Don't bind before-change-function,
9071 after-change-function.
9073 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
9075 * whitespace.el (whitespace-rescan-timer-time): Update interval
9076 set to 600 seconds (10 minutes) instead of 60 seconds since
9077 a large number of whitespace buffers causes emacs to `freeze'
9078 for a considerable amount of time.
9080 * whitespace.el: Updated email address
9082 2000-05-31 Dave Love <fx@gnu.org>
9084 * add-log.el (change-log-font-lock-keywords) <function>: Add
9085 pattern for function of change.
9086 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
9087 acknowledgements patterns.
9089 2000-05-31 Kenichi Handa <handa@etl.go.jp>
9091 * isearch.el (isearch-printing-char): If keyboard coding system is
9092 being used, call isearch-process-search-multibyte-characters.
9094 * international/isearch-x.el: Mostly rewritten.
9096 * international/quail.el (quail-start-conversion): Don't include
9097 unhandled events in the returned events, but set them in
9098 unread-command-events. Exit if all inputs are deleted.
9100 2000-05-30 Jason Rumney <jasonr@gnu.org>
9102 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
9104 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
9105 Reenable code to create initial fontsets.
9106 Use set-fontset-font in place of put-charset-property.
9108 2000-05-30 Gerd Moellmann <gerd@gnu.org>
9110 * progmodes/perl-mode.el (perl-indent-line): When looking for a
9111 label, ensure that the first colon isn't followed by another.
9113 * paths.el (Info-default-directory-list): Doc fix.
9115 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
9116 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
9117 send a query containing USER only, not USER@HOST.
9119 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
9120 and rmail-msgend to compute the restriction at the end, instead of
9123 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9125 * dabbrev.el (dabbrev-expand): Don't display messages in the
9126 echo area if the minibuffer window is active.
9128 * jit-lock.el (jit-lock-mode): Add after change function to
9131 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
9133 * antlr-mode.el: New commands: hide/unhide actions,
9134 upcase/downcase literals.
9135 (antlr-tiny-action-length): New user option.
9136 (antlr-hide-actions): New command. Suggested by
9137 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
9138 (antlr-mode-map): New binding [C-c C-v].
9139 (antlr-mode-menu): New entries.
9140 (antlr-downcase-literals): New command.
9141 (antlr-upcase-literals): Ditto.
9143 * antlr-mode.el: Minor changes: indendation, mode-name.
9144 (antlr-indent-line): Indent cpp directive at column 0.
9145 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
9147 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
9148 (antlr-font-lock-additional-keywords): Workaround for intentional
9149 bug in XEmacs version of font-lock.
9150 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
9151 be used by a smarter version of `buffers-menu-grouping-function'.
9153 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9155 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
9156 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
9158 2000-05-29 Kenichi Handa <handa@etl.go.jp>
9160 * international/encoded-kb.el
9161 (encoded-kbd-iso2022-designation-map): Pay attention to that
9162 charset-iso-final-char return -1 for eight-bit-control and
9165 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9167 * speedbar.el (speedbar-use-images, speedbar-update-flag)
9168 (speedbar-easymenu-definition-base): Use display-graphic-p where
9169 available, instead of window-system.
9171 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9173 * international/codepage.el (cp-coding-system-for-codepage-1): Add
9174 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
9177 2000-05-26 Dave Love <fx@gnu.org>
9179 * disp-table.el (standard-display-underline): Don't use
9182 * mail/reporter.el: Maintainer change. Doc fixes.
9183 (reporter-version): Deleted.
9185 * emacs-lisp/elp.el: Maintainer change.
9186 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
9188 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
9190 * add-log.el (add-change-log-entry): Merge the current entry with the
9191 previous one if the previous one is empty.
9193 2000-05-26 Dave Love <fx@gnu.org>
9195 * loadhist.el (unload-feature): Fix interactive spec [from
9196 lijnzaad@ebi.ac.uk].
9198 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
9199 subr-arity to check primitives.
9200 (byte-compile-flush-pending, byte-compile-file-form-progn)
9201 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
9202 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
9205 2000-05-26 Kenichi Handa <handa@etl.go.jp>
9207 * international/fontset.el: Set family names of non-latin charsets
9208 in default fontset to "*".
9210 * international/mule-diag.el (print-fontset): Combine family part
9211 and registry part of the fontname by "-*-" instead of "-".
9213 * international/mule-cmds.el (encode-coding-char): Make strings
9214 multibyte before calling encode-coding-string.
9216 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
9218 * derived.el: Fix keywords.
9219 (define-derived-mode): Only define if needed.
9221 * simple.el (fill-comment, comment-column, comment-start)
9222 (comment-start-skip, comment-end, comment-indent-function)
9223 (block-comment-start, block-comment-end, indent-for-comment)
9224 (set-comment-column, kill-comment, comment-padding, comment-region)
9225 (comment-multi-line, indent-new-comment-line): Remove.
9227 * bindings.el (esc-map): Change ; to comment-dwim and use the new
9228 function names for comment operations.
9230 * newcomment.el: Add abundant autoload cookies.
9231 (comment-style): Don't depend on runtime data at compile-time.
9232 (comment-indent-hook): Remove.
9233 (comment-indent): Check if comment-indent-hook is bound.
9234 (comment-region): Docstring fix.
9236 2000-05-25 Dave Love <fx@gnu.org>
9238 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
9239 byte-code-function-p.
9241 * mail/rmailsum.el: Add provide.
9243 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
9245 * smerge-mode.el (smerge-diff-switches): Don't use list* in
9248 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
9250 * ediff-diff.el (ediff-exec-process): delete --binary option from
9251 non-buffer ediff jobs.
9253 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9255 * hilit-chg.el (highlight-changes-mode): Ask about color or
9256 grayscale support, not about window-system.
9258 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
9260 (ffap-highlight): Always default to t.
9262 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
9263 display-popup-menus-p instead of looking at window-system.
9265 * disp-table.el (standard-display-g1, standard-display-graphic):
9266 Only refuse to use string glyphs on X and MS-Windows.
9268 * avoid.el: Remove window-system from commentary, suggest to use
9269 display-*-p instead.
9271 * apropos.el (apropos-print): Use display-mouse-p instead of
9274 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9276 * international/codepage.el (cp-decoding-vector-for-codepage):
9277 Fill up unsupported characters with their own codes. From Kenichi
9280 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9282 * international/mule-diag.el (describe-char-after): Use
9283 display-graphic-p instead of window-system, so that this function
9286 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9288 * international/codepage.el (cp-make-coding-systems-for-codepage):
9289 Remove the eight-bit-graphic and eight-bit-control charsets from
9290 the list of charsets which we convert into `?'.
9292 2000-05-25 Kenichi Handa <handa@etl.go.jp>
9294 * international/mule-conf.el: Specify CHARSET-ID explicitely for
9296 (mule-unicode-0100-24ff, japanese-jisx0213-1,
9297 japanese-jisx0213-2): New charsets.
9299 * international/fontset.el: Setup default fontset for new charsets.
9301 2000-05-24 Dave Love <fx@gnu.org>
9303 * info.el (Info-find-node-2): Restructure [following "Vadim
9304 S. Solomin" <sovs@uic.nnov.ru>].
9306 * icomplete.el: Fix header for Finder.
9308 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
9310 * rmailout.el (rmail-output-to-rmail-file): Added optional param
9313 * rmail.el (rmail-automatic-folder-directives): New user variable.
9314 (rmail-show-message): Add call to `rmail-auto-file' during
9316 (rmail-auto-file): New function.
9318 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9320 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
9322 (ediff-test-utility,ediff-diff-mandatory-option)
9323 (ediff-reset-diff-options): Utilities for proper initialization of
9324 ediff-diff-options and ediff-diff3-options on Windows.
9326 * ediff-init.el (ediff-merge-filename-prefix): New customizable
9329 * ediff-mult.el (ediff-filegroup-action): Use
9330 ediff-merge-filename-prefix.
9332 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9334 * viper-ex.el (ex-write): Set selective display to nil.
9336 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9338 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
9339 aliases for hebrew-iso-8bit.
9341 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9343 * woman.el: New version from Francis J. Wright
9344 <F.J.Wright@Maths.QMW.ac.uk>.
9345 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
9346 names in environment variables regardless of the path separator.
9347 (woman-topic-all-completions-1): Don't call file-name-directory-p
9348 on all files, since woman-file-regexp already filters out any
9351 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9353 * international/quail.el (quail-start-translation): Don't change
9354 modified-p of the current buffer.
9355 (quail-start-conversion): Likewise.
9357 * international/kkc.el (kkc-region): Don't change modified-p of
9360 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
9362 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
9364 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
9366 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
9367 (speedbar-insert-button): Invisible text property fix.
9368 (speedbar-directory-plus): Renamed from speedbar-directory-+
9369 (speedbar-directory-minus): Renamed from speedbar-directory--
9370 (speedbar-page-plus): Renamed from speedbar-file-+
9371 (speedbar-page-minus): Renamed from speedbar-file--
9372 (speedbar-page): Renamed from speedbar-file-
9373 (speedbar-tag): Renamed from speedbar-tag-
9374 (speedbar-tag-plus): Renamed from speedbar-tag-+
9375 (speedbar-tag-minus): Renamed from speedbar-tag--
9376 (speedbar-expand-image-button-alist): Use above renames.
9378 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
9379 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
9380 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
9381 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
9382 * sb-pg.xpm: Renamed from sb-file.xpm
9383 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
9384 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
9386 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9388 * international/quail.el (quail-show-guidance-buf): Set
9389 current-input-method of the guidance buffer to the name of the
9390 curren input method.
9392 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
9394 * progmodes/compile.el (compile-internal): Style typo.
9396 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
9397 quote vars and functions in the docstring.
9399 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
9401 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
9402 Don't quote lambdas.
9404 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
9406 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9408 * startup.el (command-line): Determine source file of compiled
9409 user init file differently. Warn if compiled user init file
9410 is older than its source file.
9412 * ffap.el (ffap-url-regexp): Add `https'.
9414 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
9416 * files.el (make-backup-file-name-1): Replace slashes with `!'
9417 rather than `|' (which is not allowed on Windows). Replace the
9418 drive letters with a string "drive_X".
9420 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9422 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
9424 * files.el (interpreter-mode-alist): Add `bash2'.
9426 2000-05-22 Dave Love <fx@gnu.org>
9428 * loadhist.el (feature-symbols, file-provides, file-requires): Use
9430 (feature-file): Avoid calling symbol-name. Doc fix.
9431 (file-set-intersect, file-dependents): Use dolist, not mapcar.
9432 (loadhist-hook-functions): Add mouse-position-function.
9433 (unload-feature): Change uses of mapcar.
9435 * files.el (parse-colon-path): Doc fix.
9436 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
9437 (set-auto-mode): Use mapc.
9439 * complete.el (PC-look-for-include-file): Use :alnum: character
9441 (partial-completion-mode): Add autoload cookie.
9443 2000-05-22 Sam Steingold <sds@gnu.org>
9445 * info.el (Info-fontify-node): Fixed the call to
9446 `add-text-properties' (bug introduced on 2000-05-18).
9448 2000-05-22 Dave Love <fx@gnu.org>
9450 * bindings.el: Remove debug-ignored-errors set in other files.
9452 * progmodes/etags.el: Add to debug-ignored-errors.
9453 (visit-tags-table-buffer): Clear out buffers holding old tables
9454 when making a new list.
9455 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
9458 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
9460 (cmpl-string-case-type): Use character classes.
9463 * textmodes/ispell.el:
9466 * progmodes/compile.el: Add to debug-ignored-errors.
9468 * dabbrev.el: Add to debug-ignored-errors.
9469 (dabbrev-completion): Use mapc.
9471 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
9473 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
9474 (woman-mapcan, woman-parse-man.conf)
9475 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
9476 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
9477 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
9479 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
9480 (woman-manpath): Call woman-parse-man.conf.
9481 (woman-emulation): New defcustom, defaults to nroff.
9482 (woman-font-support): New defconst.
9483 (woman-use-symbol-font): New defcustom.
9484 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
9486 Many functions: Doc fix.
9488 2000-05-22 Kenichi Handa <handa@etl.go.jp>
9490 * international/quail.el (quail-simple-translation-keymap): Map
9491 128..255 to quail-self-insert-command.
9492 (quail-keyboard-layout-alist): Add definition for "pc102-de".
9494 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
9496 * help.el (help-manyarg-func-alist): Typo.
9498 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
9499 intervals which makes it heaps simpler.
9501 * newcomment.el (comment-region-internal): Go back to BEG after quoting
9502 the nested comment markers.
9504 * subr.el (remove-hook): Don't turn the hook's value into a list.
9506 2000-05-21 Dave Love <fx@gnu.org>
9508 * edmacro.el (edmacro-parse-keys): Return vector if any elements
9509 are invalid characters.
9511 * international/mule-util.el (detect-coding-with-priority): Use
9512 mapc. Remove redundant lambda.
9514 * international/mule-diag.el (list-non-iso-charset-chars)
9515 (describe-fontset): Remove redundant lambda.
9517 * emulation/crisp.el (brief-mode): New alias.
9519 * emacs-lisp/ring.el (ring-elements): New function.
9521 * emacs-lisp/easymenu.el (easy-menu-create-menu)
9522 (easy-menu-do-add-item): Use keywordp.
9524 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
9526 * replace.el: Doc and error message fixes.
9527 (replace-highlight): Use facep, not internal-find-face.
9529 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
9531 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
9533 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
9534 (log-edit-insert-changelog): Drop `:' as well.
9536 * log-view.el: Fix file description.
9537 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9539 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9540 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9542 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9543 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9544 Print a status message if the toggle is called interactively.
9545 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9546 for global minor modes and use `defcustom' for them.
9548 (easy-mmode-define-derived-mode): Remove.
9549 (define-derived-mode): Fancier default docstring.
9550 (easy-mmode-define-navigation): Signal an error rather than (ding).
9552 * newcomment.el (comment-styles): New `box-multi'.
9553 (comment-normalize-vars): Better default for comment-continue to
9554 avoid whitespace-only continuations.
9555 (comment-search-forward): Always move even in the no-syntax case.
9556 (comment-padright): Only obey N if it's only obeyed for padleft.
9557 (comment-make-extra-lines): Better handling of empty continuations.
9558 Use `=' for the filler if comment-start has only one character.
9559 (uncomment-region): Try handling the special `=' filler.
9560 (comment-region): Allow LINES even if MULTI is nil.
9561 (comment-box): Choose box style based on comment-style.
9563 2000-05-20 Kenichi Handa <handa@etl.go.jp>
9565 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9566 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9568 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
9570 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9571 and insert, not subst-char-in-region.
9573 * international/mule-diag.el (list-character-sets-1): Handle
9574 charsets eight-bit-control and eight-bit-graphic.
9575 (list-iso-charset-chars): Likewise.
9576 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9577 charactes as is. Use indent-to to align characters.
9579 * international/mule-cmds.el (find-multibyte-characters): Never
9580 exclude charsets eight-bit-control and eight-bit-graphic.
9582 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9584 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9585 Don't quote lambdas.
9587 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9589 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9591 * gud.el (gud-jdb-directories): Doc fix.
9593 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9595 * newcomment.el: New file.
9597 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9599 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9601 2000-05-18 Andreas Schwab <schwab@suse.de>
9603 * dired.el (dired-between-files): Also skip lines beginning with
9606 2000-05-18 Gerd Moellmann <gerd@gnu.org>
9608 * msb.el (msb-menu-cond): Add choice `user'.
9610 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9612 * ps-print.el: Compatibility, customization and doc fix.
9613 (ps-printer-name-option): Replace defconst by defvar.
9614 (ps-postscript-code-directory): XEmacs compatibility.
9615 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9617 (ps-user-defined-prologue, ps-print-prologue-header)
9618 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9619 compatibility and code fix.
9620 (ps-print-background-image, ps-print-background-text):
9622 (ps-line-number-start, ps-n-up-on): New vars.
9624 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9626 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9627 the indent-comment function to just return the appropriate indent.
9629 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9631 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9632 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9633 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9635 2000-05-18 Dave Love <fx@gnu.org>
9637 * info.el (Info-fontify-node): Add intangible property as well as
9640 * calendar/appt.el (appt-make-list): Match all lines of entry.
9641 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9643 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9645 * international/mule-diag.el (describe-char-after): Call
9646 internal-char-font, not char-font. If internal-char-font returns
9647 nil, display "-- none --".
9649 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9651 * image.el (image-type-available-p): Don't reference image-types
9654 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9656 * autoarg.el (autoarg-mode): Typo in the :set argument.
9658 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9660 * startup.el (command-line-1): Don't signal an error if the
9661 directory for auto-save-list files does not yet exist.
9663 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9665 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9667 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9669 * subr.el (remove-hook): `setq' hook-value, not `set'.
9671 2000-05-16 Sam Steingold <sds@gnu.org>
9673 * info.el (debug-ignored-errors): More errors to ignore.
9675 2000-05-16 Dave Love <fx@gnu.org>
9677 * cus-edit.el: Don't require cl or easymenu.
9678 (custom-variable-prompt): Test standard-value property, not
9681 2000-05-16 Sam Steingold <sds@gnu.org>
9683 * subr.el (add-hook): `setq' hook-value, not `set'.
9685 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9687 * startup.el (command-line-1): Mention the FAQ in the startup
9690 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9692 * progmodes/compile.el (compilation-parse-errors): Collect
9693 `nomessage' regexps last.
9695 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9697 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9698 to the function name.
9700 2000-05-15 Dave Love <fx@gnu.org>
9702 * speedbar.el (speedbar-recenter): Typo.
9703 (speedbar-expand-line): Make arg optional.
9704 (speedbar-mode): Avoid a compiler warning.
9706 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9708 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9709 user-specified option string is empty.
9711 * mouse.el (mouse-yank-at-click): Doc fix.
9713 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9715 * term/internal.el (IT-character-translations): More updates of
9716 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9719 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9721 * env.el (getenv): New function, interactively callable.
9722 (setenv, getenv): Remove autoload cookies.
9724 * loadup.el: Load `env'.
9726 * progmodes/f90.el: Change author's mail address.
9728 2000-05-14 Dave Love <fx@gnu.org>
9730 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9731 goto-addr as an option.
9733 * help.el (help-xref-stack): Doc fix.
9734 (help-xref-following): New variable.
9735 (help-make-xrefs): Use it.
9736 (help-xref-go-back): Use position information from stack element.
9737 (help-follow): Make position in stack element a pair. Use
9738 help-xref-following.
9740 * autoarg.el: New file.
9742 * faces.el: Declare more functions obsolete.
9744 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9745 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9746 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9747 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9748 Remove all the setup-...-environment functions.
9750 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9752 * speedbar.el: Updated the commentary section. xemacs20p now uses
9753 >= when detecting. Require `defimage' safely.
9754 (speedbar-easymenu-definition-base): Add toggle for images.
9755 (speedbar-easymenu-definition-special): Add flush cache & expand.
9756 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9757 (speedbar-reconfigure-keymaps-hook): New variable.
9758 (speedbar-frame-parameters): Updated documentation.
9759 (speedbar-use-imenu-flag): Updated custom tag
9760 (speedbar-dynamic-tags-function-list): New variable.
9761 (speedbar-tag-hierarchy-method): Updated doc & custom.
9762 (speedbar-indentation-width, speedbar-indentation-width) New
9764 (speedbar-hide-button-brackets-flag): Customizable.
9765 (speedbar-vc-indicator): Doc update.
9766 (speedbar-ignored-path-expressions): Updated default value.
9767 (speedbar-supported-extension-expressions): Updated default value.
9768 (speedbar-syntax-table): Remove {} paren status.
9769 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9770 as "+". Added overlay aliases.
9771 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9772 `force-mode-line-update'.
9773 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9774 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9776 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9777 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9778 of arbitrary text, and new helper functions.
9779 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9781 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9782 (speedbar-directory-buttons): Update path search/expansion.
9783 (speedbar-make-tag-line): Pay attention to
9784 `speedbar-indentation-width'. Use more care w/ invisible
9786 (speedbar-change-expand-button-char): Call
9787 `speedbar-insert-image-button-maybe'.
9788 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9789 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9790 (speedbar-trim-words-tag-hierarchy)
9791 (speedbar-simple-group-tag-hierarchy): New functions
9792 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9793 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9795 (speedbar-mouse-set-point): New function
9796 (speedbar-power-click): Updated documentation.
9797 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9799 (speedbar-expand-line, speedbar-contract-line): Make more robust
9801 (speedbar-expand-line): Takes universal argument to flush the
9803 (speedbar-flush-expand-line): New function.
9804 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9805 Use new generator insertion method.
9806 (speedbar-fetch-dynamic-tags): New function.
9807 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9808 `speedbar-fetch-dynamic-imenu'.
9809 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9810 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9811 "Revert Buffer" menu items.
9812 (speedbar-buffer-buttons-engine): Be smarter when creating a
9813 filename tag (for expansion purposes.).
9814 (speedbar-highlight-one-tag-line,
9815 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9816 (speedbar-recenter): New functions.
9817 (defimage-speedbar): Image loading abstraction.
9818 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9819 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9820 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9821 (speedbar-tag-type, speedbar-tag-mail): New images.
9822 (speedbar-expand-image-button-alist): New variable.
9823 (speedbar-insert-image-button-maybe): Insert an image over some
9826 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9828 * international/mule-cmds.el (encode-coding-char): An ASCII
9829 character is always encodable.
9831 * international/mule-conf.el: Add more information in descriptions
9834 * international/mule-diag.el (describe-char-after): New function.
9835 (describe-font-internal): Adjusted for the change of font-info.
9836 (describe-font): Likewise.
9837 (print-fontset): Rewritten for the new fontset implementation.
9838 (describe-fontset): Include fontset alias names in completion.
9839 (list-fontsets): Adjusted for the change of print-fontset.
9841 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9842 describe-char-after instead of displaying the detail in the echo
9844 (syntax-code-table): Format changed.
9845 (string-to-syntax): Adjusted for the above change.
9847 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9849 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9851 2000-05-12 Dave Love <fx@gnu.org>
9853 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9854 dependence. Use line-{beginning,end}-position, not
9855 point-at{b,e}ol. Some doc fixes.
9856 (todo-position): New function. Fix callers of position to use it.
9857 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9859 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9861 * time.el (display-time-mail-icon): Use `:ascent center'.
9863 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9864 handling FTP security extensions.
9866 2000-05-11 Dave Love <fx@gnu.org>
9868 * calendar/todo-mode.el: New file.
9870 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9872 * comint.el (comint-read-input-ring): Move reference to
9873 comint-input-ring-size outside of the save-excursion. It was
9874 causing the default value to be the only one ever seen.
9876 * font-lock.el: Update copyright. Remove Simon Marshall's email
9877 address on request from him.
9879 * subr.el (substitute-key-definition): Add comment describing
9880 the meaning of PREFIX.
9882 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9884 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9886 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9887 (add-minor-mode): Don't make the variable buffer-local and add a
9888 reference to define-minor-mode in the docstring.
9890 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9891 HEADER/FOOTER and fix bug with trailing empty directory.
9892 (cvs-append-to-ignore): Use vc-editable-p if available.
9893 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9894 (vc-do-command): Tweak advice to handle the new VC.
9896 * log-view.el (log-view-goto-rev): New function for the new VC.
9897 (log-view-minor-wrap): Use mark-active.
9899 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9900 (log-edit-changelog-full-paragraphs): New var.
9901 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9902 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9903 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9904 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9905 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9906 Replace the `cvs' prefix with `log-edit'.
9908 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9910 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9911 (diff-font-lock-defaults): Explicitly turn off multiline.
9912 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9913 (diff-ediff-patch): Fix call to ediff-patch-file.
9914 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9917 * frame.el (automatic-hscrolling): Typo.
9919 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9921 2000-05-09 Sam Steingold <sds@goems.com>
9923 * apropos.el (apropos-print): use `describe-face' instead of
9924 `customize-face-other-window'.
9926 2000-05-09 Dave Love <fx@gnu.org>
9928 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9930 * help.el (describe-variable): Have customize button pop the
9931 help-xref stack when invoked.
9932 (help-xref-symbol-regexp): Add `face'.
9933 (help-make-xrefs): Check for quoted face names and adapt regexp
9934 submatch numbers to cope.
9935 (help-xref-interned): Maybe insert face doc too. Separate
9936 sections with a line of hyphens.
9938 * faces.el: Some doc fixes. Declare some functions obsolete.
9939 (describe-face): Add customize button. Return the help
9942 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9944 * term/internal.el (IT-character-translations): Fix last change.
9946 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9948 * woman.el: New file
9949 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9951 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9953 * term/internal.el (IT-character-translations): Update ASCII
9954 simulations for greek-iso8859-7, add latin-iso8859-14 and
9957 * international/mule-cmds.el (set-language-info-alist): Call
9958 define-prefix-command with 3 arguments, to make the map suitable
9961 2000-05-07 Dave Love <fx@gnu.org>
9963 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9965 2000-05-05 Dave Love <fx@gnu.org>
9967 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9968 list in doc string. Don't quote keyword symbols.
9969 * emacs-lisp/cl.el: Likewise
9970 * emacs-lisp/cl-seq.el: Likewise
9972 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9974 * abbrev.el (abbrev-mode): Make ARG optional.
9976 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9978 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9980 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9982 * subr.el (substitute-key-definition): Clarify documentation.
9984 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9986 * glasses.el (glasses-convert-to-unreadable): Use
9987 `glasses-separator' instead of the hard-wired "_".
9988 (glasses-mode): Call `glasses-make-unreadable' only in a single
9991 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9993 * term/internal.el (cjk-codepages-alist): Add associations for
9994 Chinese and Korean codepages. Remove FIXME comment.
9996 2000-05-03 Dave Love <fx@gnu.org>
9998 * time.el (display-time-mail-face, display-time-use-mail-icon):
10000 (display-time-mail-icon): New variable.
10001 (display-time-string-forms): Use the above. Fix the local-map.
10003 2000-05-03 Gerd Moellmann <gerd@gnu.org>
10005 * replace.el (query-replace-map): Add binding for `E'.
10006 (query-replace-help): Extend help text.
10007 (perform-replace): Allow editing the replacement string.
10009 * make-mode.el (makefile-mode-abbrev-table): New variable.
10010 (makefile-mode): Set local abbrev table to
10011 makefile-mode-abbrev-table.
10012 (makefile-font-lock-keywords): Fontify includes and conditionals.
10014 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
10015 set TOGGLE's value.
10017 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
10018 mail-interactive-insert-alias.
10019 (mail-abbrev-complete-alias): New command.
10020 (mail-mode-map): Bind it to `M-TAB'.
10022 2000-05-03 Kenichi Handa <handa@etl.go.jp>
10024 * language/lao-util.el (lao-compose-region): New function.
10026 2000-05-02 Gerd Moellmann <gerd@gnu.org>
10028 * files.el (recover-session): Make directories as necessary
10029 if they don't exist yet.
10031 * calendar/cal-french.el
10032 (french-calendar-multibyte-special-days-array)
10033 (french-calendar-special-days-array): Change French text.
10034 (calendar-french-date-string): Change output.
10035 (calendar-goto-french-date): Likewise.
10037 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
10039 * wid-edit.el (widget-default-active): Obey `:always-active'.
10040 (widget-documentation-string-value-create): Set `:always-active'.
10042 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10044 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
10045 default prefix to `~/_emacs.d/auto-save.list/_s'.
10046 (normal-top-level): Create the directory for auto-save files, if
10047 it doesn't already exist (in the ms-dos case only).
10049 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10051 * international/mule-cmds.el (set-language-environment): Don't
10052 concat an integer (dos-codepage), use format instead.
10054 2000-05-02 Dave Love <fx@gnu.org>
10056 * help.el (help-xref-on-pp): Check for constant symbols.
10058 2000-04-29 Gerd Moellmann <gerd@gnu.org>
10060 * startup.el (normal-top-level): Put a condition-case around
10061 the code loading subdirs.el.
10063 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10065 * ps-print.el: Upside-down and face background color printing,
10066 line number step, doc fix.
10067 (ps-print-version): New version number (5.2).
10068 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
10069 (ps-face-attribute-list, ps-plot-with-face): Code fix.
10070 (ps-spool-config): Var fix.
10071 (ps-printer-name-option): Const fix.
10072 (ps-print-upside-down, ps-use-face-background)
10073 (ps-line-number-step): New vars.
10074 (ps-window-system, ps-lp-system): New consts.
10075 (ps-face-background): New fun.
10077 2000-04-28 Richard Stallman <rms@gnu.org>
10079 * files.el (make-auto-save-file-name):
10080 Apply auto-save-file-name-transforms to visited file name
10081 before generating auto save file name.
10082 (auto-save-file-name-transforms): New variable.
10084 * files.el (backup-enable-predicate):
10085 Correctly test for a file under a temporary directory.
10087 2000-04-28 Gerd Moellmann <gerd@gnu.org>
10089 * subr.el (add-minor-mode): Rewritten.
10091 2000-04-28 Kenichi Handa <handa@etl.go.jp>
10093 * mail/sendmail.el (sendmail-send-it): Set
10094 buffer-file-coding-system to the selected coding system for MIME
10097 2000-04-27 Gerd Moellmann <gerd@gnu.org>
10099 * dired.el (dired-move-to-filename-regexp): Allow format where
10100 YYYY is followed by two spaces.
10102 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
10103 in the second character class of the regexp.
10105 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
10108 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
10111 * subr.el (add-minor-mode): Use `set' instead of `setq'.
10113 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
10116 2000-04-27 Sen Nagata <sen@eccosys.com>
10118 * emacs-lisp/crm.el (crm-completion-table): New variable.
10119 (crm-collection-fn, crm-test-completion)
10120 (completing-read-multiple): Use it.
10122 2000-04-27 Dave Love <fx@gnu.org>
10124 * help.el (locate-library): Use mapc.
10125 (help-manyarg-func-alist): Add call-process-region.
10127 2000-04-26 Gerd Moellmann <gerd@gnu.org>
10129 * subr.el (add-minor-mode): Make argument MAP optional.
10131 * desktop.el (desktop-save): Save list of minor modes.
10132 (desktop-create-buffer): Restore minor modes.
10133 (desktop-minor-mode-table): New user-option.
10135 * subr.el (add-minor-mode): New function.
10137 * image.el (find-image): New function.
10138 (defimage): Rewritten to find image at load time.
10140 * startup.el (normal-top-level-add-to-load-path): Handle
10141 case that the default directory is not in load-path.
10143 * help.el: Old patch from Stefan Monnier.
10144 (help-xref-on-pp): New function.
10145 (describe-variable): Use it to display xrefs in a symbol's value.
10147 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
10149 * cus-edit.el (custom-face): Fix parenthesis.
10151 2000-04-26 Kenichi Handa <handa@etl.go.jp>
10153 * mail/rmail.el (rmail-expunge): When there are no deleted
10154 messages, do nothing.
10156 2000-04-26 Dave Love <fx@gnu.org>
10158 * international/mule-cmds.el (locale-translation-file-name):
10160 (set-locale-environment): Set it here (at runtime).
10162 2000-04-25 Gerd Moellmann <gerd@gnu.org>
10164 * replace.el (perform-replace): Add parameters START and END. Use
10165 them instead of the check for a region in Transient Mark mode.
10166 (query-replace-read-args): Return two more list elements for the
10167 start and end of the region in Transient Mark mode.
10168 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10169 (map-query-replace-regexp, replace-string, replace-regexp): Add
10170 optional last arguments START and END and pass them to
10173 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
10174 form with additional arguments for perform-replace.
10176 * progmodes/etags.el (tags-query-replace): Add parameters START
10177 and END. Construct a form with additional arguments for
10180 * simple.el (shell-command): Set default directory for "*Shell
10181 Command Output" buffer.
10183 * language/european.el (iso-latin-4): Fix typo.
10185 * emacs-lisp/crm.el: New file.
10187 2000-04-24 Dave Love <fx@gnu.org>
10189 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
10190 (Custom-reset-saved, Custom-reset-standard)
10191 (custom-group-value-create, custom-group-set, custom-group-save)
10192 (custom-group-reset-current, custom-group-reset-saved)
10193 (custom-group-reset-standard): Use mapc.
10194 (custom-buffer-create-internal): Disable undo when creating items.
10196 (custom-face): Avoid redundant lambda.
10198 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10200 * startup.el (auto-save-list-file-prefix): Set default to
10201 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
10203 2000-04-24 Sam Steingold <sds@gnu.org>
10205 * time-stamp.el (time-stamp-string-preprocess): Always convert
10206 `field-result' to a string.
10208 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10210 * frame.el (scrolling): New group.
10211 (automatic-hscrolling): New user-option.
10213 * startup.el (command-line-x-option-alist): Add `-lsp' and
10216 2000-04-19 Dave Love <fx@gnu.org>
10218 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
10219 (cl-mapc): Rename from mapc. Fix the funcall.
10221 2000-04-19 Gerd Moellmann <gerd@gnu.org>
10223 * simple.el (clone-indirect-buffer-other-window): New command.
10224 (clone-indirect-buffer): Add optional arg NORECROD.
10225 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
10227 * help.el (resize-temp-buffer-window): Use count-screen-lines.
10229 * window.el (count-screen-lines): New function.
10230 (shrink-window-if-larger-than-buffer): Use count-screen-lines
10231 instead of window-buffer-height.
10233 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
10234 non-existing variable comint-input-sentinel.
10235 (inferior-lisp-args-to-list): Removed.
10236 (inferior-lisp): Use split-string instead of
10237 inferior-lisp-args-to-list.
10239 * hexl.el (hexl-insert-hex-string): New command.
10241 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
10244 2000-04-18 Gerd Moellmann <gerd@gnu.org>
10246 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
10247 at the start of an existing but empty folder.
10249 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10251 * ps-mule.el: Customization fix, doc fix.
10252 (ps-multibyte-buffer): Customization fix.
10254 2000-04-17 Richard M. Stallman <rms@gnu.org>
10256 * subr.el (read-passwd): Use read-char-exclusive.
10258 2000-04-17 Gerd Moellmann <gerd@gnu.org>
10260 * textmodes/texinfo.el (texinfo-insert-@email)
10261 (texinfo-insert-@emph, texinfo-insert-@quotation)
10262 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
10263 (texinfo-mode-map): Add key bindings for them.
10265 * files.el (basic-save-buffer-2): Use a template with `$'
10266 instead of `#' for VMS.
10268 * simple.el (clone-indirect-buffer): New function.
10270 2000-04-16 Stephen Eglen <stephen@gnu.org>
10272 * iswitchb.el (iswitchb-case): New function. If the user input
10273 contains any upper-case characters, the search is made
10276 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
10278 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
10280 (texinfo-font-lock-syntactic-keywords): New var.
10281 (texinfo-font-lock-keywords): Remove comment regexp.
10282 (texinfo-insert-block): New function.
10283 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
10284 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
10285 and font-lock-defaults. Use regexp-opt for outline-regexp.
10286 (texinfo-environments): New var.
10287 (texinfo-environment-regexp): Use regexp-opt and
10288 texinfo-environments.
10290 * textmodes/ispell.el (ispell-menu-map-needed): Check that
10291 ispell-process is bound since this might be eval'd before ispell
10293 (ispell-message): Use a tiny bit less magic and a bit more hard
10294 data to figure out what kind of sc-cite-regexp to use.
10296 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
10298 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
10299 (insert-cyclic-diary-entry): Unquote the lambda.
10301 * gud.el (gud-jdb-build-source-files-list): Fix typo.
10303 * files.el (backup-enable-predicate): Unquote the lambda.
10305 * cus-edit.el (custom-face, face): Unquote the lambda.
10307 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10309 * ps-print.el: Check for line-beginning-position definition.
10311 * ps-print.el: Fix counting lines in a region.
10312 (ps-print-version): New version number (5.1.5).
10313 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
10314 (ps-printing-region): Fun code fix.
10316 2000-04-15 Gerd Moellmann <gerd@gnu.org>
10318 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
10319 to file-directory-p.
10321 2000-04-14 Gerd Moellmann <gerd@gnu.org>
10323 * gud.el (gud-jdb-build-source-files-list): Check that directory
10324 exists before calling directory-files.
10326 2000-04-13 Dave Love <fx@gnu.org>
10328 * emacs-lisp/trace.el: Change maintainer. Use new backquote
10331 * emacs-lisp/cl-specs.el: Remove when, unless.
10333 * emacs-lisp/cl-extra.el: Don't quote keywords.
10334 (cl-old-mapc): New variable.
10336 (cl-map-intervals): Use with-current-buffer. Don't check for
10337 next-property-change.
10338 (cl-map-overlays): Use with-current-buffer.
10340 (copy-tree, remprop): Define unconditionally.
10342 * emacs-lisp/cl-compat.el (keywordp): Remove.
10344 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
10346 (edebug-spec): Enable keywordp.
10348 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
10351 * cus-start.el: Use keywordp.
10353 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10355 * diary-lib.el (include-other-diary-files): Fix the fix of
10356 2000-02-18 by doing a save-excursion.
10358 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10360 * ps-print.el: Customization fix, doc fix.
10361 (ps-print-version): New version number (5.1.4).
10362 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
10363 (ps-print-preprint): Adjust code.
10364 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
10365 (ps-print-prologue-header, ps-print-control-characters)
10366 (ps-spool-config): Customization fix.
10368 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
10370 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
10371 converted to the new menu-item format, names silightly changed,
10372 help strings added.
10374 Support for spelling without async subprocesses:
10376 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
10377 (ispell-session-buffer): New variables.
10378 (ispell-start-process, ispell-process-status,
10379 ispell-accept-output, ispell-send-string): New functions, for
10380 Ispell invocation when async subprocesses aren't supported.
10381 (ispell-word, ispell-pdict-save, ispell-command-loop,
10382 ispell-process-line, ispell-buffer-local-parsing): Replace calls
10383 to process-send-string with calls to ispell-send-string, and
10384 accept-process-output with ispell-accept-output.
10385 (ispell-init-process): Call ispell-process-status instead of
10386 process-status with.
10387 (ispell-init-process): Call ispell-start-process. Call
10388 ispell-accept-output and ispell-send-string. Don't call
10389 process-kill-without-query and kill-process if they are unbound.
10390 (ispell-async-processp): New function.
10392 2000-04-12 Dave Love <fx@gnu.org>
10394 * info.el: Add debug-ignored-errors.
10395 (Info-mode-menu): Add some items.
10396 (Info-directory): Add autoload cookie.
10398 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
10399 Modify `truncate-lines'. Make `describe-language-environment'
10400 always visible and add help. Modify `describe-key' help. Invoke
10401 Info-directory from `info'. New entry `emacs-manual'.
10403 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10405 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
10406 propertized-buffer-identification.
10407 (ebrowse-update-member-buffer-mode-line): Likewise.
10408 (ebrowse--mode-strings): Removed.
10409 (ebrowse--mode-line-props): Removed.
10411 * files.el (auto-mode-alist): Add `EBROWSE'.
10413 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
10414 space before testing for end of buffer.
10415 (ebrowse-load): Removed.
10416 (ebrowse-revert-tree-buffer-from-file): Rewritten.
10417 (ebrowse-create-tree-buffer): Rewritten.
10418 (ebrowse-tree-mode): Read tree from buffer.
10420 * progmodes/ebrowse-ffh.el: Removed.
10422 2000-04-10 Kenichi Handa <handa@etl.go.jp>
10424 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
10426 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10428 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
10429 at the wrong place.
10431 2000-04-09 Dave Love <fx@gnu.org>
10433 * files.el (backup-enable-predicate): Use
10434 temporary-file-directory, small-temporary-file-directory.
10435 (make-backup-file-name-function, backup-directory-alist): New
10437 (make-backup-file-name-1): New function.
10438 (make-backup-file-name): Use it.
10439 (find-backup-file-name): Likewise. Use format for clarity, not
10441 (file-newest-backup): Use make-backup-file-name.
10443 2000-04-09 Gerd Moellmann <gerd@gnu.org>
10445 * progmodes/ebrowse-ffh.el: New file.
10447 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
10449 (ebrowse-load): Add autoload.
10451 * finder.el (finder-commentary): Add autoload cookie.
10453 * mail/rfc2368.el: Correct author's email address.
10455 * progmodes/ebrowse.el: New file.
10457 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
10459 (easy-menu-do-add-item): Ditto.
10460 (easy-menu-define): Extend doc string.
10462 * jit-lock.el (with-buffer-unmodified): Use
10463 restore-buffer-modified-p.
10464 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
10465 (jit-lock-function, jit-lock-stealth-fontify): Don't use
10466 with-buffer-unmodified.
10468 2000-04-08 Dave Love <fx@gnu.org>
10470 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
10473 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
10475 * viper-util.el (viper-put-on-search-overlay): New subroutine.
10476 (viper-flash-search-pattern): No operation when using Emacs
10477 doesn't support face.
10478 Use `viper-put-on-search-overlay'.
10480 2000-04-04 Gerd Moellmann <gerd@gnu.org>
10482 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
10485 * progmodes/make-mode.el: Some doc fixes.
10486 (makefile-mode-abbrev-table): New variable.
10487 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
10488 (makefile-font-lock-keywords): Fontify includes and conditionals.
10489 (toplevel): Require `dabbrev' and `add-log' when compiling.
10491 * replace.el (perform-replace): Don't move forward one char
10492 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
10493 to do that because it leaves point 1 position after the last
10494 replacement, after everything has been replaced.
10496 * jit-lock.el (with-buffer-unmodified): New macro.
10497 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
10499 (jit-lock-function-1): Extracted from jit-lock-function; not
10500 preserving buffer's modified state.
10501 (jit-lock-function, jit-lock-stealth-fontify): Call
10502 jit-lock-function-1.
10504 * mail/rfc2368.el: Remove supernumerary copyright line.
10506 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
10508 * glasses.el: Provide facilities for inserting space before left
10509 parentheses and uncapitalization of identifiers.
10510 (glasses-mode): Try to remove old overlays in all cases.
10512 2000-04-03 Gerd Moellmann <gerd@gnu.org>
10514 * progmodes/compile.el (compile-internal): Display the compilation
10515 buffer in a different frame, if it's already displayed there.
10517 * mail/rfc2368.el: New file.
10519 * simple.el (sendmail-user-agent-compose): Recognize a `body'
10520 header and insert its value as mail body.
10522 * subr.el (member-ignore-case): New function.
10524 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
10525 (dabbrev--find-expansion): Ignore buffers matching a regexp
10526 from dabbrev-ignored-regexps.
10528 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
10529 to extensions handled by gzip.
10531 2000-04-03 Richard M. Stallman <rms@gnu.org>
10533 * files.el (insert-directory): List the total free space
10534 along with the used space.
10536 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
10537 line is followed by one that matches CITATION-REGEXP, end the
10540 2000-04-03 Markus Rost <rost@delysid.gnu.org>
10542 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10543 (rmail-make-basic-summary-line): Use that option.
10545 2000-04-03 Kenichi Handa <handa@etl.go.jp>
10547 * international/mule-cmds.el (encoded-string-description):
10548 Rewritten. Try pretty description for ISO 2022 escape sequences
10549 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
10550 for hexadecimal format.
10552 2000-04-01 Dave Love <fx@gnu.org>
10554 * cpp.el: Change customization group to `c' from `C'.
10556 * vcursor.el (vcursor-move): Use display-color-p.
10558 * international/mule-util.el: Provide mule-utils.
10559 (string-to-sequence): Simplify and speed up.
10561 * international/mule.el (make-coding-system): Purecopy doc-string.
10563 * international/mule-cmds.el: Various menu changes.
10564 (describe-specified-language-support): Handle `Default'.
10565 (set-language-info): Purecopy `info'.
10567 2000-03-31 Andrew Innes <andrewi@gnu.org>
10569 * vc.el (vc-backend-diff): Return the correct status if we had to
10570 retry the rcsdiff command without the --brief option.
10572 2000-03-31 Dave Love <fx@gnu.org>
10574 * help.el (help-manyarg-func-alist): Correct several omissions.
10576 * add-log.el: Don't require cl, fortran.
10577 (add-log-current-defun-function): Doc fix.
10578 (change-log-version-number-regexp-list): Remove SCCS part. Doc
10580 (change-log-version-rcs): Function deleted.
10581 (change-log-version-number-search): Doc fix. Use
10582 vc-workfile-version. Avoid CL dolist.
10583 (add-change-log-entry): Just call add-log-current-defun to get
10584 defun. Simplify somewhat.
10585 (change-log-get-method-definition-1): Likewise.
10586 (add-log-current-defun): Return nil if calling
10587 add-log-current-defun-function does so. Move Fortran stuff to
10588 fortran.el. Return string without properties.
10590 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10591 and :alpha: char classes.
10593 * mail/supercite.el: Defvar curline when compiling.
10594 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10595 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10596 rather than a-zA-Z0-9 to allow non-ASCII characters.
10598 2000-03-31 Gerd Moellmann <gerd@gnu.org>
10600 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10602 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10603 Re-enable new code.
10605 * lpr.el (print-region-1): Use -d to specify printer name for
10606 systems `usg-unix-v*, `dgux', `hpux', `irix'.
10608 2000-03-31 Dave Love <fx@gnu.org>
10610 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10611 for function definition in symbol's function value slot first
10612 instead of first consulting byte-compile-function-environment.
10614 2000-03-31 Kenichi Handa <handa@etl.go.jp>
10616 * language/european.el ("Polish"): New language environment.
10617 (setup-polish-environment): New function.
10619 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10621 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10624 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10625 trying to `load' the symbol of an autoload instead of the file
10626 recorded in the autoload. Fix error messages.
10628 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10630 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10631 (ps-print-version): New version number (5.1.3).
10632 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10633 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10634 (ps-generate-postscript-with-faces): Code fix.
10635 (ps-color-values): XEmacs compatibility.
10636 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10637 (ps-default-fg, ps-default-bg): Adjust customization.
10638 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10639 (ps-color-scale): Renaming old ps-color-value fun.
10640 (ps-print-headers): Replace ps-print-header group to avoid conflict
10641 with ps-print-header variable.
10642 (ps-print-miscellany): New group.
10643 (ps-format-color, ps-rgb-color): New funs.
10644 (ps-default-foreground): New var.
10645 (ps-printer-name-option): New const.
10647 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10649 * net/net-utils.el:
10650 (network-connection-host, network-connection-service): New variables
10651 (network-connection-mode): New mode, derived from comint-mode
10652 (network-connection-mode-setup): New function, saves host and
10653 service information in local variables.
10656 (locate-word-at-point): Added this function
10657 (locate): Default to using locate-word-at-point as input
10658 Run dired-mode-hook
10660 2000-03-29 Dave Love <fx@gnu.org>
10662 * calendar/appt.el: Doc fixes.
10663 (appt-check): Convert min-to-app to a string before passing to
10664 appt-disp-window-function or concat.
10665 (appt-delete-window): Remove test for frame-root-window.
10666 (appt-select-lowest-window, appt-convert-time): Simplify.
10668 * emacs-lisp/bytecomp.el: Doc fixes.
10669 (byte-compile-file-form-autoload): Update
10670 byte-compile-function-environment.
10672 2000-03-29 Andreas Schwab <schwab@suse.de>
10674 * emacs-lisp/autoload.el: Also print defsubst doc string
10677 * dired.el (dired-insert-directory): If dired-free-space-program
10678 failed just delete its output.
10680 2000-03-29 Dave Love <fx@gnu.org>
10682 * international/iso-cvt.el: Move provide to end. Doc fixes.
10683 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10684 (iso-iso2sgml, iso-sgml2iso): New functions.
10685 (iso-cvt-define-menu): Fix some entries and use backquote for
10688 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10690 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10692 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10693 ISO-DATE. If non-nil, return date in ISO 8601 format.
10695 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10697 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10698 if it ever becomes used.
10699 (log-edit-mode-hook): Default to vc-log-mode-hook.
10700 (log-edit-mode): Fix the docstring.
10702 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10705 2000-03-26 Dave Love <fx@gnu.org>
10707 * net/browse-url.el (browse-url): Re-fix case of
10708 browse-url-browser-function being an alist.
10709 (browse-url): Add :link to defgroup.
10711 * files.el: Doc fixes.
10712 (file-truename): Include `[' in wildcard characters.
10713 (automount-dir-prefix): Customize.
10714 (find-file-wildcards): Add :version.
10715 (find-file-noselect): Simplify a mapcar call.
10717 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10718 compatible with inf-lisp version.
10719 (eval-defun-1): Fix custom-declare-variable case.
10721 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10723 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10725 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10727 * Makefile (COMPILE_FIRST): New macro.
10728 (compile-files): Compile files from COMPILE_FIRST first.
10730 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10733 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10734 matching open parenthesis in column 0 to defun-prompt-regexp
10735 only if open-paren-in-column-0-is-defun-start is set.
10737 * sun-curs.el: Require CL at compile-time only.
10739 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10740 instead of copy-list which is a function from CL.
10741 (msb--choose-menu, msb--mode-menu-cond)
10742 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10743 (msb--init-file-alist): Use mapcar instead of mapcan.
10744 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10745 `(' in column 0 in doc string.
10746 (msb--add-separators): Use mapcar instead of mapcan.
10748 * cus-dep.el: Require CL at compile-time only.
10750 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10752 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10753 (byte-compile-warnings): New warning `noruntime'.
10754 (byte-compile-constants, byte-compile-variables): Fix docstring.
10755 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10756 execute `eval-whenc-compile's body.
10757 (byte-compile-unresolved-functions): Fix docstring.
10758 (byte-compile-eval): New function.
10759 (byte-compile-callargs-warn): Check if the function will be available
10760 at runtime (via property `byte-compile-noruntime').
10761 (byte-compile-print-syms): New function.
10762 (byte-compile-warn-about-unresolved-functions): Also warn about
10763 `noruntime' functions (and use `byte-compile-print-syms').
10764 (byte-compile-file): Capitalize the message.
10766 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10768 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10769 (rmail-expunge): Ask for confirmation depending on the setting
10770 of rmail-confirm-expunge.
10772 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10774 * Makefile (bootstrap-clean): If $(emacs) exists, build
10775 loaddefs.el first. A loaddefs.el that's not up-to-date might
10776 cause a bootstrap failure because things don't autoload as
10779 2000-03-23 Dave Love <fx@gnu.org>
10781 * net/browse-url.el: Restore previous use of
10782 browse-url-maybe-new-window.
10784 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10786 * ps-print.el: Skip banner page fix.
10787 (ps-print-version): New version number (5.1.2).
10788 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10790 2000-03-23 Dave Pearson <davep@davep.org>
10792 * net/quickurl.el Changed the type of parameter passed to the
10793 function defined by `quickurl-format-function'. Before only the
10794 text of the URL was passed. Now the whole URL structure is passed
10795 and the function is responsible for extracting the parts it
10796 requires. Changed the default of `quickurl-format-function'
10798 (quickurl-insert): Changed the `funcall' of
10799 `quickurl-format-function' to match the above change.
10800 (quickurl-list-insert): Changed the `url' case so that it makes
10801 use of `quickurl-format-function', previous to this the format was
10804 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10806 * startup.el: Change some spellings for the X Window System.
10808 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10810 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10811 up the code and the regexp and make sure the cursor is temporarily
10812 moved to the suspicious line while querying the user.
10814 2000-03-22 Jason Rumney <jasonr@gnu.org>
10816 * w32-fns.el (w32-charset-info-alist): Initialize.
10818 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10820 * ps-print.el: N-up last page fix.
10821 (ps-print-version): New version number (5.1.1).
10822 (ps-end-file, ps-end-job, ps-generate): Code fix.
10824 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10826 * files.el (find-file-run-dired): Update docstring.
10827 (find-directory-functions): New hook.
10828 (find-file-noselect): Run find-directory-functions rather than
10829 calling dired directly.
10831 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10833 * pcvs.el: Add a minimal leading commentary.
10834 (cvs-make-cvs-buffer): Change the header part by removing the startup
10835 message and adding a `Module' entry. Also replace the FOOTER and
10836 HEADER special fileinfos with the new support in ewoc for updating
10837 its own footer and header.
10838 (cvs-update-header): Update to use the header/footer of the ewoc.
10839 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10840 (cvs-is-within-p): New function.
10841 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10842 to only examine some subset of the buffers.
10844 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10845 `format' instead of our own ad-hoc functions.
10846 Remove HEADER and FOOTER cases, now handled in the EWOC.
10847 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10849 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10850 output to avoid scaring the user.
10851 (cvs-parse-table): Catch message for non-up-to-date commits.
10853 * pcvs-defs.el (cvs-startup-message): Remove.
10854 (cvs-global-menu): New autoloaded menu.
10856 * pcvs-util.el (cvs-string-fill): Remove.
10858 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10859 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10860 PP part of it and also make it work for footers and headers.
10861 (ewoc-create): Drop POS and BUFFER arguments.
10862 Use the DLL's dummy node to store the end-of-footer position.
10863 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10864 (ewoc-refresh): Remove unused `header' variable.
10865 (ewoc-(get|set)-hf): New functions.
10867 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10868 log-view-*-(message|file) and use easy-mmode-define-navigation.
10869 (log-view-message-re): Match SCCS format as well.
10870 And match the revision line rather than the dashed separator line.
10871 (log-view-mode): Use the new define-derived-mode.
10872 (log-view-current-tag): Fill in with an actual implementation.
10874 * cvs-status.el (cvs-status-(prev|next)): Rename from
10875 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10876 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10877 to let the output "breathe" a little more (more readable).
10878 (cvs-status-mode): Use the new define-derived-mode.
10880 * smerge-mode.el (smerge-auto-leave): New function and variable.
10881 (smerge-basic-map): Rename from smerge-basic-keymap.
10882 Change the bindings for smerge-diff-*.
10883 (smerge-*-map): Use easy-mmode-defmap.
10884 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10885 (smerge-keep-*): Use smerge-auto-leave.
10887 2000-03-21 Jason Rumney <jasonr@gnu.org>
10889 * cus-edit.el (custom-button-face): Use 3D look for w32.
10890 (custom-button-pressed-face): Likewise.
10892 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10894 * progmodes/etags.el (tags-case-fold-search): New user-option.
10895 (tags-loop-eval): New function. Bind case-fold-search around eval
10896 depending on the value of tags-case-fold-search.
10897 (tags-loop-continue): Use tags-loop-eval.
10898 (find-tag-in-order): Bind case-fold-search depending on the value
10899 of tags-case-fold-search.
10901 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10903 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10904 (diff-end-of-hunk): Return the end position for use in
10905 `easy-mmode-define-navigation'.
10906 (diff-recenter): Remove.
10907 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10908 of `easy-mmode-define-navigation'.
10909 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10910 previous renaming) and fix to use new names.
10911 (diff-merge-strings): Use \n as separator: simpler, faster.
10912 (diff-mode): Use `define-derived-mode'.
10914 * derived.el (define-derived-mode): Don't autoload anymore.
10915 Prefer the macro-only version provided by easy-mmode.el.
10917 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10918 `easy-mmode-define-derived-mode'.
10919 Use `combine-run-hooks'.
10920 (easy-mmode-define-navigation): New macro.
10922 * subr.el (combine-run-hooks): New function.
10924 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10926 * term/x-win.el: Fontsets related initialization is simplified.
10928 * international/mule-diag.el (describe-font): Don't refer to
10929 global-fontset-alist, instead call font-list.
10930 (describe-fontset, list-fontsets, mule-diag): Likewise.
10931 (print-fontset): Adjusted for the change of fontset
10934 * international/fontset.el (x-charset-registries): Variable
10935 removed, instead the corresponding data is stored in the default
10937 (register-alternate-fontnames): Function removed.
10938 (resolved-ascii-font): Variable removed.
10939 (x-compose-font-name): Ignore the second argument REDOCE.
10940 (x-complement-fontset-spec): Complement only an ASCII font and
10941 element for those charsets than can use that ASCII font.
10942 (generate-fontset-menu): Don't refer to global-fontset-alist,
10943 instead call fontset-list.
10944 (uninstantiated-fontset-alist): Variable removed.
10945 (x-style-funcs-alist): Likewise.
10946 (fontset-default-styles): Likewise.
10947 (x-modify-font-name): Function removed.
10948 (create-fontset-from-fontset-spec): Ignore the argument
10950 (create-fontset-from-ascii-font): Docsting adjusted for the above
10952 (instantiate-fontset, resolve-fontset-name): Functions removed.
10953 (fontset-list): Now implemented by C code.
10955 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10956 (describe-face): Include `font' attribute in the description.
10958 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10960 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10962 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10964 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10965 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10966 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10968 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10969 about behavior of set-buffer-modified-p wrt redisplay.
10971 2000-03-19 Richard M. Stallman <rms@gnu.org>
10973 * view.el (view-mode-disable): Kill local binding of view-read-only.
10975 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10977 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10978 is a string, convert it to a syntax cell using string-to-syntax.
10980 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10981 (string-to-syntax): New function.
10983 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10984 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10985 try to use passive ftp mode.
10987 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10989 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10991 * simple.el (append-to-buffer): Update point of windows after
10994 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10995 forward then moving backward. Reindent.
10997 * frame.el (other-frame): Call x-focus-frame only if
10998 focus-follows-mouse is off.
11000 2000-03-17 Dave Love <fx@gnu.org>
11002 * pcvs-util.el (cvs-strings->string): Rename
11003 replace-regexps-in-string.
11005 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
11007 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
11008 regexp for labels cannot span several lines.
11010 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
11011 `(setq :<key> ':<key>)' to the macro expansion.
11013 2000-03-16 Dave Love <fx@gnu.org>
11015 * progmodes/f90.el (f90): Put custom group under `languages', not
11017 (f90-mode-hook): Customize.
11018 (f90-mode): Set add-log-current-defun-function.
11019 (f90-current-defun): New function.
11021 2000-03-16 Gerd Moellmann <gerd@gnu.org>
11023 * cus-edit.el (custom-variable-tag-face): Handle case that
11024 default face's height is not a number.
11025 (custom-face-tag-face, custom-group-tag-face-1)
11026 (custom-group-tag-face): Ditto.
11027 (custom-group-tag-face-1): Add :group.
11029 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
11031 2000-03-15 Gerd Moellmann <gerd@gnu.org>
11033 * pcvs-defs.el (toplevel): Remove autoload cookie for form
11034 requiring easymenu.
11036 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11038 * ps-print.el: PostScript user-defined prologue, PostScript error
11040 (ps-print-version): New version number (5.1).
11041 (ps-user-defined-prologue, ps-error-handler-message)
11042 (ps-print-prologue-0, ps-error-handler-alist): New vars.
11043 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
11044 (ps-insert-string): New function.
11046 2000-03-15 Kenichi Handa <handa@etl.go.jp>
11048 * international/ccl.el (ccl-compile-expression): Don't generate
11049 invalid self-assignment code.
11051 2000-03-14 Dave Love <fx@gnu.org>
11053 * subr.el (replace-regexp-in-string): Renamed from
11054 replace-regexps-in-string. Doc fix.
11056 2000-03-12 Dave Love <fx@gnu.org>
11058 * cus-edit.el: Doc fixes.
11059 (customize-set-variable, customize-save-variable): Rename args for
11061 (custom-variable-tag-face, custom-face-tag-face)
11062 (custom-group-tag-face-1, custom-group-tag-face): Modify from
11063 style which user identify as hyperlink.
11064 (hook): Don't add undefined functions to the hook.
11065 (debug-ignored-errors): Transfer message from bindings.el.
11067 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11069 * recentf.el (recentf-keep-non-readable-files-p): Remove
11070 double/nested definition.
11072 2000-03-12 Dave Love <fx@gnu.org>
11074 * facemenu.el (facemenu-get-face): Use display-color-p.
11075 * enriched.el (enriched-decode-foreground): Likewise.
11076 (enriched-decode-background): Likewise.
11077 * isearch.el (isearch-highlight): Likewise.
11078 * info-look.el (info-lookup): Likewise.
11079 * simple.el (completion-setup-function): Likewise.
11081 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
11084 * bindings.el (mode-line-format): Fix line-number and
11085 column-number items. Add help-echo for the background.
11086 (mode-line-mule-info): Modify help-echo.
11088 * avoid.el (mouse-avoidance-mode): Add autoload cookie to defcustom.
11090 * files.el (load-file): Allow completion to .elc.
11092 * man.el: Doc fixes.
11093 (Man-init-defvars): Use display-color-p to set fontification.
11095 * play/hanoi.el (hanoi-internal): Don't use oddp.
11097 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11099 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
11101 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
11103 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
11105 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
11108 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
11110 * font-lock.el (font-lock-keywords): Fix the doc now that
11111 regexp-opt-depth is unnecessary.
11112 (save-buffer-state): Set an edebug spec.
11113 (font-lock-fontify-anchored-keywords): Properly handle the case when
11114 the matcher goes past the limit.
11116 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
11117 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
11119 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
11120 dll.el and cookie.el (from Elib) with heavy renaming and other
11123 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
11124 Autoload the functions used.
11125 (easy-mmode-define-syntax): Fix CL typo.
11126 (easy-mmode-define-derived-mode): Improve the docstring generation.
11128 2000-03-10 Gerd Moellmann <gerd@gnu.org>
11130 * textmodes/texinfo.el (texinfo-version): Variable and function
11133 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
11135 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
11136 allow more flexibility.
11137 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
11139 (easy-mmode-defmap, easy-mmode-defsyntax)
11140 (easy-mmode-define-derived-mode): New macros.
11142 2000-03-09 Didier Verna <didier@xemacs.org>
11144 * rect.el (replace-rectangle): New function.
11146 2000-03-09 Dave Love <fx@gnu.org>
11148 * progmodes/fortran.el (fortran-comment-line-start): Define as
11150 (fortran-comment-line-start-skip): Don't match cpp stuff.
11151 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
11152 (fortran-mode-map): Remove over-eager custom-menu-create for now.
11153 (fortran-mode): Don't set fortran-comment-line-start-skip,
11154 fortran-comment-line-start here. Set comment-start,
11155 add-log-current-defun.
11156 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
11157 (fortran-current-defun): New function.
11159 2000-03-09 Gerd Moellmann <gerd@gnu.org>
11161 * emacs-lisp/re-builder.el: New file.
11163 * mouse.el (mouse-drag-region): Don't run up-event handler
11164 if hscroll has changed.
11166 * octave-mod.el (octave-font-lock-keywords): To font-lock the
11167 builtin operators, use `font-lock-builtin-face' for Emacs and
11168 `font-lock-preprocessor-face' otherwise.
11170 * font-lock.el (lisp-font-lock-keywords-1): Highlight
11171 `(defun (setf foo)' differently.
11173 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
11175 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
11176 (regexp-opt): Update comment and adapt the code the new meaning of
11177 the `paren' argument of regex-opt-group for shy-groups.
11178 (regexp-opt-depth): Handle shy groups as well as backslashed
11180 (regexp-opt-group): Turn the leading comment into a docstring.
11181 Allow `paren' to be a string (the string to use to open a group).
11182 Remove open-presuf and close-presuf. Instead of checking for `all
11183 one-char' and then later on check for `several one-char', handle
11184 both cases close together. Also apply a more generic algorithm
11185 for suffixes (the mirror image of the algorithm used for
11186 prefixes). Use shy-groups. Use nreverse rather than reverse.
11187 (regexp-opt-try-suffix): Removed.
11189 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
11190 from comint-mode-map, so we can just inherit from it. Also, move
11191 the initialization into the `defvar' since there's no docstring
11192 anyway and it's fairly short.
11193 (inferior-scheme-mode): Define it as derived-mode: the code is
11194 shorter and this way we inherit from comint-mode-map rather than
11197 * subr.el (replace-regexps-in-string): Properly handle the case
11198 where we match an empty string.
11200 * comint.el (comint-exec-1): Add the current-dir to the exec-path
11201 when the command has a directory component (such as "./testml").
11202 Also fix a typo in the comment.
11204 2000-03-08 Gerd Moellmann <gerd@gnu.org>
11206 * Makefile (compile-files): Compile files one by one because
11207 that's the only way to ensure a clean compilation environment for
11208 each individual file.
11210 * frame.el (other-frame): Call x-focus-frame.
11212 2000-03-07 Dave Love <fx@gnu.org>
11214 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
11215 :require to defcustom.
11217 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
11220 * files.el (auto-mode-alist): Add configure.in.
11222 * progmodes/autoconf.el: New file.
11224 2000-03-07 Gerd Moellmann <gerd@gnu.org>
11226 * mail/mh-e.el: Change maintainer to `none'.
11228 * recentf.el (recentf-keep-non-readable-files-p): Quote args
11229 to remove-hook and add-hook.
11231 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11233 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
11235 (mail-send): Test mail-send-nonascii also for the new `mime' value.
11236 (sendmail-send-it): Conditionally add MIME headers specifying the
11237 used character set.
11239 2000-03-07 Dave Love <fx@gnu.org>
11241 * winner.el: Fix keywords, autoload cookies. Split
11242 eval-when-compile form to avoid compilation failure.
11244 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
11246 * international/mule.el: Modify comment about coding system
11247 property `coding-category'.
11248 (make-coding-system): New argument EOL-TYPE. Pay attention to
11249 coding-category property of PROPERTIES.
11251 * international/mule-conf.el (coding-category-utf-8,
11252 coding-category-utf-16-be, coding-category-utf-16-le): New coding
11253 categories. Include them in the argument for set-coding-priority.
11255 * international/mule-cmds.el (reset-language-environment): Include
11256 coding-category-utf-8, coding-category-utf-16-be, and
11257 coding-category-utf-16-le in the argument for set-coding-priority.
11258 (reset-language-environment): Initialize coding-category-utf-8,
11259 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
11261 2000-03-06 Karl Fogel <kfogel@red-bean.com>
11263 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
11264 code abstracted out of `bookmark-jump-noselect'. Now tries info
11265 extensions as well as compression extensions.
11266 (bookmark-jump-noselect): Use above new func.
11268 2000-03-03 Gerd Moellmann <gerd@gnu.org>
11270 * strokes.el: Change maintainer's mail address.
11272 2000-03-03 Kenichi Handa <handa@etl.go.jp>
11274 * international/mule-diag.el (list-character-sets): Make help-echo
11275 string by substitute-command-keys.
11276 (list-character-sets): Likewise.
11277 (sort-listed-character-sets): Call help-setup-xref.
11279 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11281 * time.el (display-time-mail-file): Add `none' to the list of
11284 2000-03-01 Dave Love <fx@gnu.org>
11286 * help.el (help-xref-go-back): Don't try to set position.
11288 * international/mule-diag.el (list-character-sets): Call
11289 help-setup-xref. Add help-echo to xrefs.
11290 (list-character-sets-1): Add help-echo to xrefs.
11292 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11294 * frame.el (blink-cursor-mode): Switch cursor on when turning
11297 * add-log.el (add-log-current-defun): Add support for
11300 * mail/rmail.el (rmail-quit-hook): New variable.
11302 2000-03-01 Dave Love <fx@gnu.org>
11304 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
11306 * help.el (help-xref-button): Add help-echo arg.
11307 (describe-function-1, describe-variable, help-make-xrefs): Use it.
11309 * faces.el (list-faces-display): Supply help-echo with
11312 * facemenu.el (list-text-properties-at): Set help-xref-stack to
11315 2000-03-01 Gerd Moellmann <gerd@gnu.org>
11317 * image.el (defimage): Look for image files in load-path.
11319 * frame.el (busy-cursor-delay-seconds): Change type to
11322 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11324 * recentf.el (recentf): Added version tag to the defgroup of
11327 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11329 * recentf.el (recentf-cleanup): Changed to remove excluded file
11331 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
11332 action to select/unselect a file.
11333 (recentf-edit-list): Code cleanup and improvement.
11334 (recentf-open-more-files-action): `recentf-open-more-files' button
11335 widget action to open a file.
11336 (recentf-open-more-files): No more use standard completion but
11338 (recentf-more-collection): Deleted.
11339 (recentf-more-history): Deleted.
11340 (recentf-setup-more-completion): Deleted.
11342 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11344 * recentf.el (recentf-mode): No more needs that Emacs is running
11345 under a window-system.
11347 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11349 * recentf.el (recentf-edit-list): New command to edit the recent
11350 list which allow the user to remove files.
11351 (recentf-edit-selected-items): New global variable, used by
11352 `recentf-edit-list' to hold the list of files to be removed from
11354 (recentf-make-menu-items): Updated to display a "Edit list..."
11355 menu item. Minor code cleanup.
11357 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11359 * recentf.el (recentf-open-more-files): New command to open files
11360 that are not displayed in the menu.
11361 (recentf-more-collection): New global variable holding the set of
11362 permissible completions used by `recentf-open-more-files'.
11363 (recentf-more-history): New global variable holding the history list
11364 used by `recentf-open-more-files' completion.
11365 (recentf-setup-more-completion): New function to setup completion for
11366 `recentf-open-more-files'.
11367 (recentf-make-menu-items): Updated to display a "More..." menu item.
11369 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11371 * recentf.el (recentf-menu-action): Doc fixed.
11373 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11375 * recentf.el (recentf-menu-filter): Doc updated.
11376 (recentf-update-menu-hook): Allow menu filters to force menu update.
11377 (recentf-make-menu-items): New menu filter handling.
11378 (recentf-make-menu-item): New helper function.
11379 (recentf-menu-elements): New menu handling function.
11380 (recentf-sort-ascending): Updated to new menu filter handling.
11381 (recentf-sort-descending): Updated to new menu filter handling.
11382 (recentf-sort-basenames-ascending): New menu filter function.
11383 (recentf-sort-basenames-descending): New menu filter function.
11384 (recentf-show-basenames): New menu filter function.
11385 (recentf-show-basenames-ascending): New menu filter function.
11386 (recentf-show-basenames-descending): New menu filter function.
11388 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11390 * diary-lib.el (list-diary-entries): Don't try to go forward at
11391 the end of the buffer.
11393 2000-02-29 Kenichi Handa <handa@etl.go.jp>
11395 * international/mule-diag.el (list-character-sets): Completely
11397 (sort-listed-character-sets): New function.
11398 (list-character-sets-1): Completely rewritten.
11399 (list-character-sets-2): New function.
11400 (non-iso-charset-alist): New variable.
11401 (decode-codepage-char): New function.
11402 (charset-history): New variable.
11403 (read-charset) (list-block-of-chars)
11404 (list-iso-charset-chars)
11405 (list-non-iso-charset-chars)
11406 (list-charset-chars): New functions.
11407 (mule-diag): Call list-character-sets-2, not
11408 list-character-sets-2.
11409 (dump-charsets): Likewise.
11411 2000-02-29 Gerd Moellmann <gerd@gnu.org>
11413 * dired-x.el (dired-filename-at-point): Add `@' to valid
11414 file name characters.
11415 (dired-filename-at-point): Handle ange-ftp file names.
11417 * frame.el (frame-notice-user-settings): Use assq-delete-all
11418 instead of assoc-delete-all.
11419 (frame-notice-user-settings): Ditto.
11421 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
11424 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
11426 * calculator.el (calculator-use-menu): New option.
11427 (calculator-initial-bindings): Changed some bindings to work as
11429 (calculator-forced-input): Removed.
11430 (calculator-restart-other-mode): New variable.
11431 (calculator-mode-map): Set up menu.
11433 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
11435 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
11438 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
11440 * viper-cmd.el (viper-envelop-ESC-key): added the option to
11441 translate all ESC key sequences.
11442 (viper-goto-mark-subr): restore markers for files for which
11444 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
11445 * viper-util.el (viper-set-replace-overlay-glyphs,
11446 viper-set-replace-overlay): always check if the replacement
11448 * viper.el (viper-vi-state-mode-list): added major modes.
11449 * ediff-wind.el: minor comment changes.
11450 * ediff.el: copyright notice date fix.
11452 2000-02-27 Jason Rumney <jasonr@gnu.org>
11454 * faces.el (face-font-family-alternatives): Add arial to helv.
11455 (mode-line, header-line, tool-bar): Same default as x for w32.
11456 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
11457 face-font-family-alternatives from working.
11458 * term/w32-win.el (mouse-set-font): Do not build fontset from
11461 2000-02-25 Sam Steingold <sds@goems.com>
11463 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
11466 2000-02-25 Richard M. Stallman <rms@gnu.org>
11468 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
11470 2000-02-25 Gerd Moellmann <gerd@gnu.org>
11472 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
11475 * frame.el (busy-cursor-delay-seconds): New option.
11477 2000-02-24 Gerd Moellmann <gerd@gnu.org>
11479 * frame.el (show-cursor-in-non-selected-windows): New option.
11481 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11483 * diary-lib.el (include-other-diary-files): Undo the selective
11484 display in any included file and don't kill it.
11486 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
11488 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
11489 bar. Menu items converted to (menu-item format, help strings
11491 [downcase, upcase]: Don't enable on MS-DOS.
11492 [symlink, symlinks]: Don't show if make-symbolic-link is not
11494 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
11496 2000-02-23 Dave Love <fx@gnu.org>
11498 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
11499 (backward-kill-word): Revert addition of * to interactive spec --
11502 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
11503 (backward-kill-sentence, kill-sentence): Likewise.
11505 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
11506 scratch buffer name.
11507 (gud-format-command): Use int-to-string in ?l case. Simplify
11510 * term/w32-win.el (internal-face-interactive): Update prompt for
11511 new read-face-name.
11513 * mail/footnote.el (footnote): Add :version to defgroup.
11514 (footnote-section-tag-regexp): Customize.
11515 (footnote-start-tag, footnote-end-tag): New option.
11516 (footnote-latin-regexp): New variable.
11517 (Footnote-latin): New function.
11518 (footnote-style-alist): Add element for latin style.
11519 (footnote-style): Moved.
11520 (Footnote-goto-footnote): Use eq to test arg.
11522 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
11524 * emacs-lisp/byte-opt.el: Change old backquote syntax.
11525 (byte-compile-trueconstp): Include keywords.
11526 (byte-optimize-quote, byte-optimize-lapcode): Use
11527 byte-compile-const-symbol-p.
11528 (byte-optimize-char-before): New optimization.
11530 * emacs-lisp/bytecomp.el: Change old backquote syntax.
11531 (byte-compile-const-symbol-p): New function.
11532 (byte-compile-constp, byte-compile-out-toplevel)
11533 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
11536 * subr.el (define-key-after): Default AFTER to t. Doc fix.
11538 2000-02-23 Kenichi Handa <handa@etl.go.jp>
11540 * international/encoded-kb.el: Be sure to update minor-mode-alist
11541 and minor-mode-map-alist.
11542 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11543 codes SS2 and SS3 correctly.
11544 (encoded-kbd-self-insert-ccl): New function.
11545 (encoded-kbd-setup-keymap): New function.
11546 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
11547 by calling encoded-kbd-setup-keymap.
11549 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11551 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11554 2000-02-22 Dave Love <fx@gnu.org>
11556 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11557 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11559 (lisp-mode-syntax-table): Set up for #|...|# comments.
11560 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
11561 classes. Match `defface'.
11562 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11563 (eval-defun-1): Fix for defcustom.
11564 (lisp-indent-region): Doc fix.
11566 * subr.el (when, unless, split-string): Doc fix.
11567 (read-passwd): Move call of clear-this-command-keys to the right
11569 (replace-regexps-in-string): New function.
11571 2000-02-22 Gerd Moellmann <gerd@gnu.org>
11573 * help.el (describe-variable): Set syntax table to
11574 emacs-lisp-mode-syntax-table when moving forward over the
11577 2000-02-22 Dave Love <fx@gnu.org>
11579 * xt-mouse.el: Doc fixes.
11580 (xterm-mouse-position-function): New function, replacing advice of
11582 (xterm-mouse-mode): Use it. Don't turn on under a window system.
11584 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11586 2000-02-21 Gerd Moellmann <gerd@gnu.org>
11588 * format.el (format-annotate-single-property-change): Handle
11589 properties.with dotted-list values.
11590 (format-proper-list-p): New function.
11592 * enriched.el (enriched-face-ans): Handle '(foreground-color
11593 . COLOR) and (background-color . COLOR).
11595 2000-02-20 Dave Love <fx@gnu.org>
11597 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11598 and assignments to it.
11599 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11601 (make-flyspell-overlay): Use it.
11602 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11604 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11605 (lm-get-header-re): Defun, not defsubst.
11606 (lm-get-package-name): Defun, not defsubst. Simplify.
11607 (lm-version): Doc fix. Simplify.
11608 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11609 (lm-crack-address, lm-last-modified-date, lm-commentary)
11610 (lm-verify, lm-synopsis): Simplify.
11611 (lm-report-bug): Require emacsbug. Use compose-mail.
11613 2000-02-20 Gerd Moellmann <gerd@gnu.org>
11615 * dired.el (dired-mode): Call propertized-buffer-identification
11616 to set mode-line-buffer-identification to something having
11617 the right text properties.
11619 * bindings.el (propertized-buffer-identification): New function.
11621 2000-02-20 Dave Love <fx@gnu.org>
11623 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11624 check for t-mouse too.
11626 * cus-start.el: Make echo-keystrokes `number'.
11628 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11630 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11631 Don't call ring-empty-p unless tags-location-ring is bound.
11632 From Noah Friedman <friedman@splode.com>.
11634 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11636 * progmodes/hideshow.el (hs-flag-region): No longer use
11637 `intangible' overlay property.
11639 (hs-toggle-hiding): New command.
11640 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11642 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11643 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11646 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11648 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11650 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11652 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11654 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11655 of `*' to handle `(* ... *)' comments.
11657 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11659 * faces.el (list-faces-display): Use display-mouse-p instead of
11662 * menu-bar.el (global-map): Menu-bar items converted to the new
11663 format (menu-item..., rearranged for better CUA compliance, and
11664 their names changed for better clarity. Help strings added.
11666 * international/mule-cmds.el (mule-menu-keymap)
11667 (describe-language-environment-map, set-coding-system-map)
11668 (setup-language-environment-map): Convert to new (menu-item...
11669 form, add help strings. Change names of menu items for better
11670 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11673 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11675 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11678 2000-02-16 Dave Love <fx@gnu.org>
11680 * faces.el: Don't require custom. Add more specific :groups to
11682 (set-face-attribute): Purecopy args.
11683 (read-face-name): Default to name at point and use it in prompt.
11684 Remove colon from arg in all callers.
11685 (list-faces-display): Hyperlink to face descriptions and customize
11688 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11690 * wid-edit.el (widget-match-inline): An atom never matches a
11693 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11695 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11696 at ':' characters by call to split-string.
11698 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11700 * textmodes/bibtex.el: Added RCS version identification.
11702 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11704 * textmodes/bibtex.el: Some temporary comments removed.
11705 (bibtex-field-name, bibtex-entry-type): Made the relationship
11707 (bibtex-field-const): Allow capital letters.
11708 (bibtex-start-of-string): Deleted because unused.
11710 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11711 use the term 'reference' to describe a bibtex entry as a whole.
11712 Further, reference keys are no longer called 'labels'.
11713 (bibtex-keys): Renamed to bibtex-reference-keys.
11714 (bibtex-reformat-previous-labels): Renamed to
11715 bibtex-reformat-previous-reference-keys.
11716 (bibtex-reference-type): Renamed to bibtex-entry-type.
11717 (bibtex-reference-head): Renamed to bibtex-entry-head.
11718 (bibtex-reference-maybe-empty-head): Renamed to
11719 bibtex-entry-maybe-empty-head.
11720 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11721 (bibtex-search-reference): Renamed to bibtex-search-entry.
11722 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11723 bibtex-enclosing-entry-maybe-empty-head.
11724 (bibtex-entry-field-alist, bibtex-entry-head,
11725 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11726 bibtex-map-entries, bibtex-search-entry,
11727 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11728 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11729 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11730 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11731 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11732 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11733 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11735 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11737 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11739 (bibtex-format-field-delimiters): New function, functionality
11740 extracted from bibtex-format-entry.
11741 (bibtex-autokey-get-yearfield-digits): New function, functionality
11742 extracted from bibtex-autokey-get-yearfield.
11744 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11745 entries in order to avoid stack overflow in the regexp matcher if
11746 field contents become large.
11747 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11748 bibtex-field-string-part-not-braced,
11749 bibtex-field-string-part-no-inner-braces,
11750 bibtex-field-string-part-1-inner-brace,
11751 bibtex-field-string-part-2-inner-braces,
11752 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11753 bibtex-field-string-quoted, bibtex-field-string,
11754 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11755 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11756 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11757 as parsing is now performed by the following functions.
11758 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11759 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11760 bibtex-parse-field-string, bibtex-search-forward-field-string,
11761 bibtex-parse-association, bibtex-field-name-for-parsing,
11762 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11763 bibtex-search-forward-field, bibtex-search-backward-field,
11764 bibtex-start-of-field, bibtex-end-of-field,
11765 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11766 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11767 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11768 bibtex-parse-string, bibtex-search-forward-string,
11769 bibtex-search-backward-string, bibtex-start-of-string,
11770 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11771 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11772 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11773 entries. Instead of reporting the results of the parsing by
11774 match-beginning or match-end, these functions return data structures
11775 that hold the corresponding positions.
11776 (bibtex-enclosing-field): Changed to also report field boundaries by
11777 return values rather than by match-beginning or match-end. The
11778 following functions have been adapted to use the new parsing
11780 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11781 bibtex-enclosing-field, bibtex-format-entry,
11782 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11783 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11784 bibtex-print-help-message, bibtex-end-of-entry,
11785 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11786 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11787 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11788 method for parsing.
11789 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11790 bibtex-map-entries, bibtex-flash-head,
11791 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11792 bibtex-autokey-change, bibtex-autokey-get-namefield,
11793 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11794 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11795 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11796 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11797 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11798 order to make the new binding of case-fold-search immediately
11801 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11803 * textmodes/bibtex.el: Copyright notice is up to date.
11804 Added constant 'bibtex-maintainer-salutation.
11806 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11807 than make-temp-name, use match-string-no-properties and eliminate
11808 a quadratic behavior when building bibtex-strings.
11810 * bibtex.el (bibtex-reference-key): Accept string entries whose
11811 reference key contains upper case letters.
11813 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11815 * bibtex.el (bibtex-reference-head): Allow entries to start with
11818 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11820 * bibtex.el: Hiding of entry bodies is not longer provided by
11821 bibtex.el directly. Instead the hideshow package can be used.
11822 Added a special bibtex entry to hs-special-modes-alist.
11823 (bibtex-hs-forward-sexp): Added for hideshow.el.
11825 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11827 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11828 at ':' characters by call to split-string.
11830 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11832 * textmodes/bibtex.el: Added RCS version identification.
11834 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11836 * textmodes/bibtex.el: Some temporary comments removed.
11837 (bibtex-field-name, bibtex-entry-type): Made the relationship
11839 (bibtex-field-const): Allow capital letters.
11840 (bibtex-start-of-string): Deleted because unused.
11842 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11843 use the term 'reference' to describe a bibtex entry as a whole.
11844 Further, reference keys are no longer called 'labels'.
11845 (bibtex-keys): Renamed to bibtex-reference-keys.
11846 (bibtex-reformat-previous-labels): Renamed to
11847 bibtex-reformat-previous-reference-keys.
11848 (bibtex-reference-type): Renamed to bibtex-entry-type.
11849 (bibtex-reference-head): Renamed to bibtex-entry-head.
11850 (bibtex-reference-maybe-empty-head): Renamed to
11851 bibtex-entry-maybe-empty-head.
11852 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11853 (bibtex-search-reference): Renamed to bibtex-search-entry.
11854 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11855 bibtex-enclosing-entry-maybe-empty-head.
11856 (bibtex-entry-field-alist, bibtex-entry-head,
11857 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11858 bibtex-map-entries, bibtex-search-entry,
11859 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11860 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11861 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11862 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11863 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11864 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11865 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11867 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11869 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11871 (bibtex-format-field-delimiters): New function, functionality
11872 extracted from bibtex-format-entry.
11873 (bibtex-autokey-get-yearfield-digits): New function, functionality
11874 extracted from bibtex-autokey-get-yearfield.
11876 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11877 entries in order to avoid stack overflow in the regexp matcher if
11878 field contents become large.
11879 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11880 bibtex-field-string-part-not-braced,
11881 bibtex-field-string-part-no-inner-braces,
11882 bibtex-field-string-part-1-inner-brace,
11883 bibtex-field-string-part-2-inner-braces,
11884 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11885 bibtex-field-string-quoted, bibtex-field-string,
11886 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11887 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11888 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11889 as parsing is now performed by the following functions.
11890 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11891 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11892 bibtex-parse-field-string, bibtex-search-forward-field-string,
11893 bibtex-parse-association, bibtex-field-name-for-parsing,
11894 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11895 bibtex-search-forward-field, bibtex-search-backward-field,
11896 bibtex-start-of-field, bibtex-end-of-field,
11897 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11898 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11899 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11900 bibtex-parse-string, bibtex-search-forward-string,
11901 bibtex-search-backward-string, bibtex-start-of-string,
11902 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11903 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11904 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11905 entries. Instead of reporting the results of the parsing by
11906 match-beginning or match-end, these functions return data structures
11907 that hold the corresponding positions.
11908 (bibtex-enclosing-field): Changed to also report field boundaries by
11909 return values rather than by match-beginning or match-end. The
11910 following functions have been adapted to use the new parsing
11912 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11913 bibtex-enclosing-field, bibtex-format-entry,
11914 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11915 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11916 bibtex-print-help-message, bibtex-end-of-entry,
11917 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11918 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11919 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11920 method for parsing.
11921 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11922 bibtex-map-entries, bibtex-flash-head,
11923 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11924 bibtex-autokey-change, bibtex-autokey-get-namefield,
11925 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11926 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11927 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11928 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11929 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11930 order to make the new binding of case-fold-search immediately
11933 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11935 * textmodes/bibtex.el: Copyright notice is up to date.
11936 Added constant 'bibtex-maintainer-salutation.
11938 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11939 than make-temp-name, use match-string-no-properties and eliminate
11940 a quadratic behavior when building bibtex-strings.
11942 * bibtex.el (bibtex-reference-key): Accept string entries whose
11943 reference key contains upper case letters.
11945 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11947 * bibtex.el (bibtex-reference-head): Allow entries to start with
11950 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11952 * bibtex.el: Hiding of entry bodies is not longer provided by
11953 bibtex.el directly. Instead the hideshow package can be used.
11954 Added a special bibtex entry to hs-special-modes-alist.
11955 (bibtex-hs-forward-sexp): Added for hideshow.el.
11957 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11959 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11960 proceedings entry type (for cross referencing). Thanks to Wagner
11961 Toledo Correa for the suggestion.
11963 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11965 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11967 * international/characters.el: Setup case table for Vietnamese.
11969 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11971 * uniquify.el (toplevel): Require CL at compile time.
11972 (uniquify-push): Removed.
11974 * shadowfile.el (shadow-when): Removed.
11976 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11977 (tempo-process-and-insert-string): Use dolist instead of
11980 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11981 regexp for paragraph-start.
11983 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11986 2000-02-10 Dave Love <fx@gnu.org>
11988 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11989 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11991 (widget-specify-field, widget-specify-button): Don't use
11992 widget-mouse-help as help-echo property.
11993 (default): Use #'ignore for :validate and :mouse-down-action.
11994 (checkbox): Add help-echo.
11995 (widget-sexp-validate): Rewritten to clarify error messages.
11996 (character): Use char-valid-p in :match function.
11997 (widget-color-complete): Use facemenu-color-alist.
11998 (widget-color-action): Use facemenu-read-color.
12000 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
12001 set up `caar' &c that we now have.
12003 2000-02-09 Ray Blaak <blaak@gnu.org>
12005 * delphi.el: Make resourcestring a declaration region, like const
12008 2000-02-09 Dave Love <fx@gnu.org>
12010 * bindings.el (mode-line-input-method-map): New variable.
12011 (mode-line-mule-info): Use it; fix last change.
12012 (mode-line-mode-menu): Move definition.
12013 (mode-line-mouse-sensitive-p): Deleted.
12014 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
12015 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
12018 * startup.el (command-line-1): Don't call
12019 make-mode-line-mouse-sensitive.
12021 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
12023 * mail/rmail.el (rmail-retry-failure): Use
12024 rmail-beginning-of-message before rmail-toggle-header, because the
12025 former toggles headers.
12027 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
12029 * diff-mode.el (diff-kill-junk): New interactive function.
12030 (diff-reverse-direction): Use delete-and-extract-region.
12031 (diff-post-command-hook): Restrict the area so that the hook also works
12032 outside of any diff hunk. This is necessary for the minor-mode.
12033 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
12034 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
12036 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
12037 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
12038 so that it can be used more easily in <foo>-mode-hook. Also make sure
12039 to avoid duplicate entries.
12040 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
12041 (font-lock-remove-keywords): Just as was done for `add', allow it to
12042 work even if font-lock-mode is nil. Also make sure we don't modify
12043 any pre-existing list by forcing a copy-sequence. Finally rename
12044 `major-mode' to `mode'.
12045 (font-lock-fontify-syntactic-anchored-keywords)
12046 (font-lock-fontify-anchored-keywords)
12047 (font-lock-fontify-keywords-region): Use line-end-position.
12048 Don't make `font-lock-multiline' local (it's now done in
12049 font-lock-set-defaults).
12050 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
12051 move the `font-lock-fontified' creation to inside the `unless'.
12053 2000-02-06 Andrew Innes <andrewi@gnu.org>
12055 * term/w32-win.el (x-handle-args): Comment out call to message,
12056 which occurs before window system is initialized.
12058 * makefile.nt: Add support for recompiling lisp code.
12060 2000-02-04 Dave Love <fx@gnu.org>
12062 * bindings.el (mode-line-mule-info): Fix/extend last change.
12064 * completion.el: Replace completion-dolist with dolist.
12066 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
12069 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
12071 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
12072 environment names before they go into the section regexp.
12074 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
12075 char class in regexp.
12077 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
12078 `case-fold-search' to nil.
12080 * progmodes/idlwave.el (idlwave-template): Respect
12081 `idlwave-abbrev-change-case'.
12082 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
12083 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
12084 idlwave-while): respect `idlwave-reserved-word-upcase'.
12085 (idlwave-rw-case): New function.
12086 (idlwave-statement-match): Fixed problem with assignment regexp.
12087 (idlwave-font-lock-keywords): Improved regexp for keyword
12089 (idlwave-surround): New argument LENGTH to support padding of
12090 operators longer than 1 char.
12092 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
12093 idlwave-shell-expression-overlay. Implemented printing of
12094 expressions on higher levels of the calling stack.
12095 (idlwave-shell-display-level-in-calling-stack): Restore stack
12097 (idlwave-retrieve-expression-from-level): New function.
12098 (idlwave-shell-last-calling-stack): Variable removed.
12099 (idlwave-shell-reset): Argument action reversed (`visible' to
12100 `hidden'). Also remove stop-line overlay.
12101 (idlwave-shell-calling-stack-routine): New variable.
12102 (idlwave-shell-parse-stack-and-display): Messages now display
12103 negative level numbers.
12104 (idlwave-shell-mode): Set `modeline-format'.
12105 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
12106 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
12108 (idlwave-shell-print-expression-function): New option.
12110 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
12111 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
12112 `tool-bar' instead of `toolbar'.
12114 2000-02-02 Dave Love <fx@gnu.org>
12116 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
12117 emacs-lisp-mode-hook. Don't check for defalias being defined.
12119 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
12120 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
12121 the new builtins directly.
12123 * whitespace.el (whitespace): Add :version to defgroup.
12125 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
12128 * thingatpt.el (sexp-at-point, symbol-at-point)
12129 (number-at-point, list-at-point): Add autoload cookie.
12131 * recentf.el (recentf): Add :version to defgroup.
12133 * quickurl.el (quickurl): Add :version to defgroup.
12135 * elide-head.el (elide-head): Use point-marker more.
12137 * bs.el (bs): Add :version to defgroup.
12139 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
12141 * progmodes/delphi.el (delphi): Add :version to defgroup.
12143 2000-02-02 Gerd Moellmann <gerd@gnu.org>
12145 * ange-ftp.el (ange-ftp-write-region): Handle case that
12146 succeeding process operation sets a different coding system.
12148 * calculator.el: New file.
12150 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
12152 * frame.el (frames-on-display-list, framep-on-display): New
12154 (display-mouse-p, display-popup-menus-p, display-graphic-p)
12155 (display-selections-p, display-screens, display-pixel-width)
12156 (display-pixel-height, display-mm-width, display-mm-height)
12157 (display-backing-store, display-save-under, display-planes)
12158 (display-color-cells, display-visual-class): New functions.
12160 * term/tty-colors.el (tty-color-gray-shades): New function.
12162 * faces.el (display-color-p): Use framep-on-display.
12163 (display-grayscale-p): New function.
12165 2000-01-31 Dave Love <fx@gnu.org>
12167 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
12168 (create-fontset-from-x-resource): Don't concat integers.
12170 2000-01-31 Inge Frick <inge@nada.kth.se>
12172 * view.el: Some changes in documentation. Removed some trailing
12173 whitespace. Changed some parameter names to agree with
12175 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
12176 window is not deleted. Modifies change 1998-04-26.
12178 2000-01-31 Gerd Moellmann <gerd@gnu.org>
12180 * windmove.el: New file.
12182 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12183 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12184 progmodes/ebnf-yac.el: Update copyright and license info.
12186 * jit-lock.el (jit-lock-function): Widen before calculating end
12188 (jit-lock-stealth-chunk-start): Rewritten.
12190 * info.el (Info-title-face-alist): Removed.
12191 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
12193 (Info-fontify-node): Use these faces.
12195 2000-01-30 Gerd Moellmann <gerd@gnu.org>
12197 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
12198 (cl-macro-list1): Recognize `&allow-other-keys' instead of
12199 `&allow-other-keywords'.
12201 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
12202 the list of directories scanned heuristically.
12204 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
12207 2000-01-30 Jason Rumney <jasonr@gnu.org>
12209 * w32-fns.el: Define w32-tty-standard-colors.
12211 * startup.el (command-line): Use w32-tty-standard-colors when in
12214 2000-01-30 Dave Love <fx@gnu.org>
12216 * jka-compr.el (jka-compr-load): Fix up load-history.
12218 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
12220 * emacs-lisp/cl-macs.el: Revert previous change.
12222 2000-01-29 Dave Love <fx@gnu.org>
12224 * facemenu.el: Purecopy various strings.
12226 * timezone.el (timezone-fix-time): Window against 69 for two-digit
12227 years. Deal with three-digit years.
12229 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
12230 defconst, purecopy.
12231 (help-back-label): Purecopy it.
12233 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12235 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
12236 variable. If non-nil, order the buffer list according to the
12237 currently selected frame.
12238 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
12239 non-nil, pass the selected frame to function buffer-list.
12241 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12243 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
12245 2000-01-28 Dave Love <fx@gnu.org>
12247 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
12249 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
12250 Don't use lisp-indent-hook property.
12253 * subr.el: Move out indent and edebug specs for when and unless.
12255 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
12258 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
12261 2000-01-28 Gerd Moellmann <gerd@gnu.org>
12263 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
12264 `collecting' as synonym for `collect'.
12266 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
12267 for the case it contains spaces.
12269 * simple.el (what-cursor-position): Change formatting of
12272 * frame.el (delete-other-frames): New function.
12273 (toplevel): Bind it to C-x 5 1.
12275 * sort.el (sort-numeric-base): New option.
12276 (sort-numeric-fields): If number starts with `0' or `0[xX[',
12277 interpret it as octal or hexadecimal. Use sort-numeric-base
12280 * progmodes/glasses.el: New file.
12282 2000-01-27 Gerd Moellmann <gerd@gnu.org>
12284 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
12285 userids differently.
12287 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12288 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12289 progmodes/ebnf-yac.el: New files.
12291 2000-01-26 Dave Love <fx@gnu.org>
12293 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
12294 on a function with an empty body. [From Eric Ludlam.]
12296 2000-01-25 Andre Spiegel <spiegel@gnu.org>
12298 * vc.el (vc-version-diff): Make sure file name is expanded.
12300 2000-01-25 Gerd Moellmann <gerd@gnu.org>
12302 * scroll-bar.el (scroll-bar-timer): Variable removed.
12303 (scroll-bar-toolkit-scroll): Don't use a timer.
12305 2000-01-25 Kenichi Handa <handa@etl.go.jp>
12307 * language/thai-util.el (thai-composition-function): Delete
12310 2000-01-24 Dave Love <fx@gnu.org>
12312 * fortran.el (fortran-mode): Use beginning-of-defun-function,
12313 end-of-defun-function.
12315 * font-lock.el (turn-on-font-lock): Don't depend on window-system
12318 2000-01-22 Jason Rumney <jasonr@gnu.org>
12320 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
12321 conflicts with new face support.
12323 2000-01-22 Richard M. Stallman <rms@gnu.org>
12325 * replace.el (query-replace): Rename last arg to DELIMITED.
12326 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
12327 (query-replace-regexp): Likewise.
12329 2000-01-20 Richard M. Stallman <rms@gnu.org>
12331 * subr.el (with-syntax-table): Use make-symbol, not gensym.
12333 * emacs-lisp/lisp.el (beginning-of-defun-function):
12334 Variable renamed from beginning-of-defun.
12335 Do not call make-variable-buffer-local.
12336 (beginning-of-defun-raw): Use new variable name; doc fix.
12337 (beginning-of-defun): Doc fix.
12338 (end-of-defun-function): Variable renamed from end-of-defun.
12339 Do not call make-variable-buffer-local.
12340 (end-of-defun): Use new variable name; doc fix.
12342 * subr.el (dolist, dotimes): Copied from cl-macs.el
12345 * mail/undigest.el (rmail-digest-end-regexps):
12346 Variable replaces rmail-digest-end-regexp.
12347 Allows multiple regexps for detecting the end line.
12348 (undigestify-rmail-message): Corresponding changes.
12350 2000-01-19 Dave Love <fx@gnu.org>
12352 * files.el (user-init-file): Don't declare here -- is primitive.
12354 * startup.el (command-line): Check for compiled user-init-file and
12355 set to uncompiled version if necessary.
12357 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12359 * mail/undigest.el (rmail-digest-end-regexp): New user option.
12360 (undigestify-rmail-message): Use it.
12362 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
12364 2000-01-17 Gerd Moellmann <gerd@gnu.org>
12366 * tmm.el (tmm-goto-completions): Adapt to prompt being part
12369 2000-01-14 Gerd Moellmann <gerd@gnu.org>
12371 * emacs-lisp/copyright.el (copyright-update): Removed the
12372 requirement for a trailing space from `copyright-regexp', to
12373 support copyrights with owner specified on a separate line..
12375 * align.el: New file.
12377 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
12379 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
12381 2000-01-13 Dave Love <fx@gnu.org>
12383 * ph.el: Removed. (Obsoleted by EUDC.)
12385 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12387 * net/eudc.el (toplevel): Remove autoloaded code installing
12388 menu with easymenu, because that causes build problems.
12390 * frame.el (frame-notice-user-settings): New variable.
12391 (frame-notice-user-settings): Don't modify frame parameters
12392 if called a second time.
12394 2000-01-13 Richard M. Stallman <rms@gnu.org>
12396 * frame.el (frame-notice-user-settings):
12397 Notice default-frame-parameters even for non-window frames.
12399 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12401 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
12403 (eudc-bob-can-display-inline-images): Extend for Emacs.
12404 (eudc-bob-toggle-inline-display): Ditto.
12405 (eudc-bob-display-jpeg): Ditto.
12407 2000-01-12 Gerd Moellmann <gerd@gnu.org>
12409 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
12410 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
12411 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
12413 * add-log.el (add-change-log-entry): Fix error trying an `(insert
12416 * subdirs.el: Add `net' directory.
12418 * net: New directory.
12420 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
12421 eval-last-sexp. Don't bind debug-on-error here.
12422 (eval-last-sexp): New function. Bind debug-on-error if
12423 eval-expression-debug-on-error is non-nil.
12424 (eval-defun-2, eval-defun): Likewise.
12426 * simple.el (eval-expression): Don't bind debug-on-error if
12427 eval-expression-debug-on-error is nil. Detect changed
12428 debug-on-error, and propagate new value to global binding, if
12429 eval-expression-debug-on-error is non-nil,
12430 (eval-expression-debug-on-error): Change doc string.
12432 2000-01-11 Richard M. Stallman <rms@gnu.org>
12434 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
12436 * emacs-lisp/lisp-mode.el (with-syntax-table):
12437 Set up lisp-indent-function property.
12439 * subr.el (with-syntax-table): Moved from simple.el.
12441 * simple.el (with-syntax-table): Moved to subr.el.
12443 2000-01-11 Gerd Moellmann <gerd@gnu.org>
12445 * tmm.el (tmm-shortcut): Delete region after prompt instead
12448 * textmodes/fill.el (fill-common-string-prefix): New function.
12449 (fill-context-prefix): Use the longest common prefix of first
12450 and second line fill prefix, if there is one.
12452 2000-01-11 Richard M. Stallman <rms@gnu.org>
12454 * array.el (array-mode): Don't use make-variable-buffer-local.
12455 Use make-local-variable for `truncate-lines'.
12457 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
12459 * add-log.el (add-log-current-defun): Handle user-defined
12460 add-log-current-function returning nil,
12462 * add-log.el (add-change-log-entry): Insert version number
12463 if having found a current function
12465 * add-log.el (add-log-current-defun): Call
12466 `add-log-current-defun-function'. Try matches at level 0 and
12467 level 1. Strip whitespace from defun found.
12469 2000-01-10 John Wiegley <johnw@gnu.org>
12471 * allout.el (isearch-done/outline-provisions): Added `edit'
12472 argument to correspond with the current definition of
12475 2000-01-10 Dave Love <fx@gnu.org>
12477 * elide-head.el (elide-head): Use point-marker, not point.
12479 2000-01-10 Gerd Moellmann <gerd@gnu.org>
12481 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
12482 before and after the year 2000.
12484 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
12485 Add ispell- prefix.
12487 2000-01-10 Ken Stevens <k.stevens@ieee.org>
12489 * ispell.el: Only define dictionaries in menus when they exist.
12490 (version18p): New variable.
12491 (version20p): New variable.
12492 (xemacsp): New variable.
12493 (ispell-choices-win-default-height): Fix for XEmacs visibility.
12494 (ispell-dictionary-alist1): Added Brasileiro dictionary.
12495 (ispell-dictionary-alist6): Russian command lines no longer accept
12496 run-together words.
12497 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
12498 (ispell-dictionary-alist): Add koi8-r to customize definition.
12499 (check-ispell-version): Added documentation string. Returns
12500 library path when called non-interactively.
12501 (ispell-menu-map-needed): Uses new variables.
12502 (ispell-library-path): New variable.
12503 (ispell-decode-string): XEmacs fix for bogus variable bindings.
12504 (ispell-word): Improved documentation string. Test for valid
12505 character mappings. Correctly check typed in word changes that can
12506 result in single words split into multiple words. Returns
12508 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
12509 replace in recursive query replace mode. Help message for
12510 recursive edit mode.
12511 (ispell-show-choices): Protect against bad framepop bindings.
12512 (ispell-help): Fix to work with XEmacs.
12513 (ispell-highlight-spelling-error): Use new variables.
12514 (ispell-overlay-window): Fix to work with XEmacs.
12515 (ispell-parse-output): Passed and returns location information
12516 tracking spelling corrections. Doesn't recheck same word on
12518 (ispell-init-process): Protect against bogus XEmacs variable binding.
12519 Fix call to single argument in sleep-for. Use new variables.
12520 (ispell-region): Passed and returns location information tracking
12521 spelling corrections. Doesn't check same word on current line.
12522 Improved documentation string. Doesn't resend a line already
12523 checked to the ispell process - fixes bug in LaTeX parsing.
12524 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
12525 (ispell-skip-region): No longer skips <TT> in SGML.
12526 (ispell-process-line): Tracks location information with spelling
12527 corrections. Added documentation string. Accounts for words
12528 already accepted on this line. Don't allow query-replace on line
12529 starting with math characters. Doesn't resend a line already sent
12530 to ispell process. Fixes alignment error bug.
12532 2000-01-10 Richard M. Stallman <rms@gnu.org>
12534 * dired-x.el (dired-guess-shell-alist-default):
12535 Suggest xloadimage, which is free, not xv, which isn't.
12537 * ange-ftp.el (ange-ftp-file-name-nondirectory):
12538 Don't ever include the host name or user name in the value.
12540 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12542 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12545 2000-01-09 Stephen Eglen <stephen@gnu.org>
12547 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12550 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
12552 * cus-edit.el (custom-hook-convert-widget): Fix comment.
12554 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12556 * progmodes/cperl-mode.el: Replace ^F with ^L.
12558 * sendmail.el (toplevel): Provide `sendmail' when compiling
12559 before `require'ing rmail and mailalias to prevent infinite
12562 2000-01-08 Dave Love <fx@gnu.org>
12564 * emacs-lisp/backquote.el: Remove inappropriate customization
12565 (allowing custom.el to use backquote).
12567 2000-01-07 Dave Love <fx@gnu.org>
12569 * add-log.el (add-log-debugging): Deleted.
12570 (add-change-log-entry): Treat a backup FILE-NAME as its parent
12571 file. Remove debugging code.
12572 (change-log-get-method-definition, change-log-name): Add doc.
12573 (change-log-sortable-date-at): New function.
12574 (change-log-merge): New command.
12576 * time.el (display-time-string-forms): Make the Mail string active.
12577 (display-time-update): Provide help-echo for load average.
12579 * bindings.el (make-mode-line-mouse2-map): New function.
12580 (mode-line-modified): Use it and simplify.
12581 (mode-line-mule-info): Provide help-echo info.
12582 (minor-mode-alist): Activate the strings.
12583 (make-mode-line-mouse-sensitive): Simplify for
12584 mode-line-buffer-identification.
12586 2000-01-07 Gerd Moellmann <gerd@gnu.org>
12588 * play/pong.el: New file.
12590 2000-01-06 Dave Love <fx@gnu.org>
12592 * array.el: Assorted cleanups for compiler warnings, doc strings,
12593 `array-' prefix for symbols.
12595 2000-01-05 Dave Love <fx@gnu.org>
12597 * textmodes/outline.el (outline-mode-menu-bar-map): Add
12598 outline-headers-as-kill.
12599 (outline-mode): Define imenu-generic-expression.
12600 (outline-headers-as-kill): New command.
12602 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12603 from paragraph-start.
12604 (paragraph-indent-minor-mode): New command.
12606 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12607 M-C-e, M-C-h, C-j, C-xnd, TAB.
12608 (fortran-mode): Set beginning-of-defun, end-of-defun.
12609 (fortran-column-ruler): Simplify.
12610 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12611 (fortran-with-subprogram-narrowing): Likewise.
12612 (fortran-indent-subprogram): Call mark-defun.
12613 (fortran-check-for-matching-do): Change narrowing.
12615 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12616 (cl-lucid-hash-tag): Delete.
12617 (cl-hash-table-p): Correct test for native table.
12618 (cl-hash-table-count): Use hash-table-count.
12620 * browse-url.el (browse-url): Fix case of
12621 browse-url-browser-function being an alist.
12623 2000-01-05 Carsten Dominik <cd@gnu.org>
12625 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12626 (reftex-index-phrase-file-extension): New options.
12628 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12629 Use new option `reftex-index-phrase-file-extension'.
12631 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12632 `reftex-parse-file-extension'.
12634 2000-01-05 Dave Love <fx@gnu.org>
12636 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12637 (beginning-of-defun-raw): Use it.
12638 (end-of-defun): New variable.
12639 (end-of-defun): Use it.
12640 (check-parens): New command.
12642 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12644 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12645 (hs-show-block): Don't use `mapcar' when not accumulating.
12647 Fix buglet in local variables initialization.
12649 2000-01-05 Andreas Schwab <schwab@suse.de>
12651 * hscroll.el (hscroll): Doc fix.
12653 2000-01-05 Carsten Dominik <cd@gnu.org>
12655 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12658 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12659 file idlw-rinfo.el.
12660 (idlwave-customize): load must read file idlw-shell.el.
12661 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12663 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12665 * progmodes/idlw-shell.el: Also provide idlwave-shell
12666 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12667 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12669 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12670 both reftex-dcr and reftex-vcr.
12672 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12674 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12676 * ps-print.el: PostScript code now is in separate files, doc fix.
12677 (ps-print-version): New version number (5.0.3).
12678 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12680 (ps-spool-config): Initialization fix.
12681 (ps-print-prologue-1, ps-print-prologue-2)
12682 (ps-print-duplex-feature): PostScript code moved to separated file.
12683 (ps-background-image): Little code reformating.
12684 (ps-begin-file, ps-begin-job): Fix code.
12685 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12686 (ps-prologue-file): New fun.
12688 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12690 * ps-vars.el: Eliminated.
12692 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12695 * ps-print.el: ps-vars eliminated, doc fix.
12696 (ps-print-version): New version number (5.0.2).
12697 (ps-spool-config): Initialization fix.
12698 (ps-print-customize): New fun.
12700 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12702 * autorevert.el (auto-revert-mode): Return value of
12705 2000-01-04 Dave Love <fx@gnu.org>
12707 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12710 2000-01-03 Dave Love <fx@gnu.org>
12712 * elide-head.el (elide-head) [defgroup]: Add :version.
12714 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12715 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12716 `cl-hash-table-p', not `hash-table-p'.
12717 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12719 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12721 * faces.el (face-read-integer, read-face-attribute)
12722 (color-defined-p, color-values): unspecified-{f,b}g are now
12725 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12727 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12728 at comment end, and re-insert them after filling.
12730 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12732 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12733 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12734 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12736 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12738 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12739 the new name of face-color-supported-p.
12741 * term/w32-win.el (xw-defined-colors): Likewise.
12743 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12745 * simple.el (completion-setup-function): Count completion-size
12746 from minibuffer-prompt-end, not from point-min.
12748 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12750 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12751 Pass the frame to tty-color-* functions.
12752 (display-color-p, frame-set-background-mode): Pass the frame to
12753 tty-display-color-p.
12755 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12757 (tty-color-alist, tty-modify-color-alist): New functions.
12758 (tty-color-define, tty-color-clear, tty-color-approximate)
12759 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12760 an optional parameter FRAME.
12762 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12764 * image.el (create-image, defimage): Don't assume image data is a
12767 * image.el (defimage): Handle specifications containing :data
12769 (image-type-from-data): New function.
12770 (image-type-from-file-header): Use it.
12771 (create-image): Add parameter DATA-P.
12773 See ChangeLog.8 for earlier changes.
12775 ;; Local Variables:
12776 ;; coding: iso-2022-7bit