1 2000-11-27 Miles Bader <miles@gnu.org>
3 * help.el (help-manyarg-func-alist): Correct entry for `vconcat'.
5 2000-11-25 Jason Rumney <jasonr@gnu.org>
7 * startup.el (command-line): Call set-locale-environment after
8 Window System init file is read, as it can result in a call to
11 2000-11-25 Eli Zaretskii <eliz@is.elta.co.il>
13 * simple.el (shell-command): Mention the effect of the prefix
14 argument in the doc string.
16 2000-11-25 Miles Bader <miles@gnu.org>
18 * cus-face.el (custom-face-attributes): Add "None" choice to :stipple.
20 * wid-edit.el (widget-field-value-delete): Don't try to delete
21 overlay when it's the `psuedo-overlay' that exists at some points.
23 2000-11-24 Jason Rumney <jasonr@gnu.org>
25 * international/mule-cmds.el (locale-language-names): Add "jp" as
26 a non-standard alternative for Japanese.
28 2000-11-24 Andre Spiegel <spiegel@gnu.org>
30 * vc-hooks.el: Require 'cl during compilation.
32 2000-11-24 Gerd Moellmann <gerd@gnu.org>
34 * faces.el (face-set-after-frame-default): Let face attributes
35 specified for new frames override frame parameters.
37 * startup.el (command-line): Fix computation of the source file
38 for user-init-file when user-init-file is a compiled file.
40 2000-11-24 Miles Bader <miles@gnu.org>
42 * cus-edit.el (custom-filter-face-spec, custom-pre-filter-face-spec)
43 (custom-post-filter-face-spec): New functions.
44 (custom-face-set, custom-face-value-create): Filter the face spec
45 before and after customization.
46 (custom-face-set): If VALUE specifies a null face, pass a
47 non-null-but-otherwise-ignored face-spec instead to `face-spec-set'.
48 * cus-face.el (custom-face-attributes): Remove SET and GET
49 functions. Add some IN-FILTER and OUT-FILTER functions in the few
52 * wid-edit.el (checkbox): Add a small `X' to the the :on-glyph, so
53 that it's distinguishable from the :off-glyph on dark-background
54 displays. Set its background color too.
56 * cus-start.el (all): Restore entry for `mode-line-inverse-video',
57 so that people can easily turn it off.
59 2000-11-24 Michael Kifer <kifer@cs.sunysb.edu>
61 * ediff-diff.el: Moved variables around to have it compile under NT.
63 * ediff-help.el (ediff-use-long-help-message): Made it customizable.
65 * ediff-init.el (ediff-abbrev-jobname): Use capitalize.
67 * ediff-wind.el (ediff-skip-unsuitable-frames): Deleted the
68 redundant skip-small-frames test.
70 * viper-cmd.el (viper-change-state-to-vi): Disable overwrite mode.
71 (viper-downgrade-to-insert): protect against errors in hooks.
73 * viper-init.el (viper-vi-state-hook,viper-insert-state-hook)
74 (viper-replace-state-hook,viper-emacs-state-hook): Do cursor handling.
75 (viper-restore-cursor-type,viper-set-insert-cursor-type): New
78 * viper-util.el (viper-memq-char): Bug fixes.
80 * viper.el (viper-mode): Fix cursor handling.
82 2000-11-24 Kenichi Handa <handa@etl.go.jp>
84 * international/mule-diag.el (list-iso-charset-chars): For
85 two-byte charset, fix the `while' condition.
86 (list-non-iso-charset-chars): Fix the `while' condition.
88 2000-11-23 Stefan Monnier <monnier@cs.yale.edu>
90 * subr.el (add-hook, remove-hook): Don't call make-local-hook
91 if the variable is make-variable-buffer-local.
93 * progmodes/ada-stmt.el (ada-template-map): Initialize
94 and bind it to C-c t in ada-mode-map.
95 (ada-stmt-mode-hook): New function extracted from old code.
96 Only change the buffer-local side of skeleton-*.
97 (ada-mode-hook): Use it.
99 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
101 * iswitchb.el (iswitchb-minibuf-depth): New variable.
102 (iswitchb-read-buffer): Record in iswitchb-minibuf-depth the value
103 we expect to be returned by minibuffer-depth once we prompt the
104 user in the minibuffer.
105 (iswitchb-entryfn-p): If minibuffer-depth returns the same value
106 as recorded in iswitchb-minibuf-depth, return non-nil.
108 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
110 * hscroll.el (turn-on-hscroll, hscroll-mode, hscroll-global-mode)
111 (hscroll-window-maybe): Docstring fix.
113 2000-11-23 Dave Love <fx@gnu.org>
115 * rect.el (string-rectangle): Don't test delete-selection-mode.
117 2000-11-23 Gerd Moellmann <gerd@gnu.org>
119 * avoid.el (mouse-avoidance-too-close-p): Return nil if mouse
122 * dired-aux.el (dired-add-entry): Don't call dired-get-filename
123 with `no-dir'; we want the directory part to be able to remove
126 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
128 * textmodes/outline.el (outline-flag-region):
129 Don't bind inhibit-read-only since we don't modify the buffer.
130 (outline-isearch-open-invisible): Don't jump to overlay-start
131 since we're trying to unhide text around point.
132 (outline-discard-overlays): Use dolist.
134 * autoinsert.el (auto-insert-alist): Add `provide' to elisp skeleton.
136 2000-11-22 Gerd Moellmann <gerd@gnu.org>
138 * mail/rmail.el (rmail-confirm-expunge): Default to
141 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
143 * textmodes/tex-mode.el (tex-font-lock-keywords-1):
144 Fix ARG regexp to skip quoted braces.
145 (tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
146 Remove `bf' and `it' from `bold' and `italic' (they were wrong and
147 are (correctly) handled separately).
148 Remove `caption' and `footnote' from `citations': they contain text.
149 Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
150 (latex-skeleton-end-hook): New function.
151 (latex-mode): Use it.
152 (tex-start-tex-marker): Remove.
153 (tex-send-tex-command): Don't set tex-start-tex-marker.
154 (tex-error-parse-syntax-table): New var.
155 (tex-compilation-parse-errors): Use it.
156 Ignore tex-start-tex-marker. Don't bother with marker-position.
157 (tex-validate-buffer): Don't bother with marker-position.
159 * textmodes/flyspell.el (flyspell-prog-text-faces): New var.
160 (flyspell-generic-progmode-verify): Use it.
162 2000-11-22 Sam Steingold <sds@gnu.org>
164 * simple.el (delete-trailing-whitespace): New interactive
167 * progmodes/ada-mode.el (ada-mode): Use it instead of
168 `ada-remove-trailing-spaces'.
169 (ada-remove-trailing-spaces): Removed.
171 * textmodes/two-column.el (2C-merge): Recommend it in the doc.
173 * textmodes/picture.el (picture-clean): Removed.
174 (picture-mode-exit): Call it instead of `picture-clean'.
176 2000-11-22 Gerd Moellmann <gerd@gnu.org>
178 * frame.el (show-cursor-in-non-selected-windows): Doc fix.
180 * hi-lock.el (hi-lock-refontify): Don't call non-existent
181 jit-lock-fontify-buffer; it should anyway be unneccessary to
182 do anything special when jit-lock is active.
183 (hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
185 2000-11-22 Dave Love <fx@gnu.org>
187 * calendar/todo-mode.el (todo-top-priorities): Use
188 todo-tmp-buffer-name. From Milan Zamazal <Milan.Zamazal@qbizm.com>.
190 * language/chinese.el, language/cyrillic.el:
191 * language/devanagari.el, language/ethiopic.el, language/greek.el:
192 * language/hebrew.el, language/indian.el, language/japanese.el:
193 * language/korean.el, language/lao.el, language/misc-lang.el:
194 * language/thai.el, language/tibetan.el, language/vietnamese.el:
197 * cus-edit.el (custom-buffer-create-internal): Save some consing.
198 (custom-variable-set): Improve validation error mesage.
200 * rect.el (string-rectangle): Revert last change.
201 (string-rectangle-line): New arg DELETE.
202 (string-rectangle): Check delete-selection-mode.
204 * emacs-lisp/edebug.el (edebug-version)
205 (edebug-maintainer-address): Deleted.
206 (edebug-submit-bug-report): Just alias to report-emacs-bug.
207 (edebug-read-function): Account for other `'#' read forms.
208 (edebug-mode-menus): Make some items toggles.
209 (edebug-outside-unread-command-event, unread-command-event):
210 Remove these to avoid warnings.
212 2000-11-22 David Ponce <david@dponce.com>
214 * recentf.el (recentf-menu-items-for-commands)
215 (recentf-make-menu-items, recentf-make-menu-item)
216 (recentf-filter-changer): Added :help and :active menu-item properties.
218 (recentf-build-dir-rules, recentf-dump-variable)
219 (recentf-edit-list, recentf-open-files-item)
220 (recentf-open-files): Replaced unnecessary `mapcar' with new
223 2000-11-23 Miles Bader <miles@gnu.org>
225 * faces.el (menu): Make inverse-video on ttys too.
227 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
229 * simple.el (comment-line-break-function): Use the new name
230 indent-new-comment-line -> comment-indent-new-line.
231 (clone-indirect-buffer): Don't ignore NORECORD.
232 (next-completion): Properly handle the case where items are adjacent.
234 * mouse.el (popup-menu): Stupid typo.
236 2000-11-22 Gerd Moellmann <gerd@gnu.org>
238 * emacs-lisp/authors.el: Remove autoload cookies, add author,
239 maintainer, keywords tags.
241 * rect.el (replace-rectangle): Don't call string-rectangle-line
242 with too many arguments.
244 2000-11-22 Andre Spiegel <spiegel@gnu.org>
246 * ediff-util.el (ediff-file-checked-out-p)
247 (ediff-file-checked-in-p): Call vc-state instead of
248 vc-locking-user, which no longer exists.
250 * emulation/viper-util.el (viper-file-checked-in-p): Same as above.
252 2000-11-22 Dave Love <fx@gnu.org>
254 * md5.el (md5): Provide.
255 (md5): Fix error call.
257 2000-11-22 Miles Bader <miles@gnu.org>
259 * textmodes/refill.el (refill-adjust-ignorable-overlay)
260 (refill-fill-paragraph-at): Remove debugging code.
262 * calendar/calendar.el (generate-calendar-window): When we don't
263 call `fit-window-to-buffer', make sure the top line is fully visible.
265 * image-file.el (insert-image-file): Don't make `read-only'
266 property rear-nonsticky.
268 * isearch.el (isearch-original-minibuffer-message-timeout): New var.
269 (isearch-mode): Set `minibuffer-message-timeout' to nil, after
270 stashing away its original value.
271 (isearch-edit-string): Temporarily restore `minibuffer-message-timeout'
272 in the recursive edit.
273 Bind `isearch-original-minibuffer-message-timeout' to protect it.
274 (isearch-done): Restore `minibuffer-message-timeout'.
276 * cus-start.el: Remove entry for `mode-line-inverse-video'.
278 2000-11-21 Stefan Monnier <monnier@cs.yale.edu>
280 * progmodes/ada-mode.el (ada-mode): `set '' -> `setq'.
282 * find-lisp.el (find-lisp-find-files-internal):
283 Use dolist, when and file-name-as-directory.
285 * emacs-lisp/edebug.el (edebug-form-spec prop): Use dolist.
286 (define-derived-mode, define-minor-mode): Add specs.
288 * window.el: General comment and spacing fixes.
289 (save-selected-window): Use backquotes.
290 (window-safely-shrinkable-p): New function.
291 (shrink-window-if-larger-than-buffer): Use it.
293 * subr.el (make-local-hook): Docstring fix.
295 * shell.el (shell-mode): Use define-derived-mode.
297 * newcomment.el (comment-indent): Insert comment before calling
298 comment-indent-function. Don't insert in column 0.
299 (comment-dwim): Indent before inserting comment.
301 * isearch.el (isearch-mode-map): Fix docstring. Init in defvar.
302 (minibuffer-local-isearch-map): Init in defvar. Use inheritance.
303 (isearch-clean-overlays, isearch-range-invisible, isearch-unread):
304 Use mapc rather than map.
306 * files.el (find-buffer-visiting): Compare all attributes before
307 declaring two files identical (rather than just their inode-no).
308 (auto-mode-alist): Use \' rather than $.
310 * which-func.el: Update maintainer line.
312 * pcvs.el (uniquify-buffer-file-name): Remove advice.
313 * uniquify.el (uniquify-list-buffers-directory-modes): New var.
314 (uniquify-buffer-file-name): Use it.
316 2000-11-22 Miles Bader <miles@gnu.org>
318 * cus-start.el: Add entry for `minibuffer-prompt-properties'.
319 * simple.el (minibuffer-avoid-prompt): New function.
321 2000-11-21 Gerd Moellmann <gerd@gnu.org>
323 * Makefile.in (.SUFFIXES): Add .SUFFIXES.
325 2000-11-21 Miles Bader <miles@gnu.org>
327 * emacs-lisp/advice.el (ad-special-forms): Correct the conditional
328 inclusion of `track-mouse'.
330 * textmodes/refill.el (refill-ignorable-overlay): New variable.
331 (refill-adjust-ignorable-overlay): New function.
332 (refill-fill-paragraph-at): Use `refill-ignorable-overlay' to fill
333 only the paragraph's tail if possible.
334 Update `refill-ignorable-overlay'.
335 (refill-mode): Initialize/cleanup `refill-ignorable-overlay'.
337 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
338 point inside the fill-prefix.
340 * textmodes/refill.el (refill-post-command-function): Don't reset
341 refill-doit in the case where a self-insertion command doesn't
342 case a refill. Use `refill-fill-paragraph-at', getting position
344 (refill-after-change-function): Set `refill-doit' to END.
345 (refill-fill-paragraph-at): New function, mostly from old
346 refill-fill-paragraph.
347 (refill-fill-paragraph): Use `refill-fill-paragraph-at'.
348 (refill-pre-command-function): New function.
349 (refill-mode): Add it to `pre-command-hook'.
351 2000-11-20 Gerd Moellmann <gerd@gnu.org>
353 * textmodes/artist.el (artist-mode): Fix autoload cookie.
355 * font-lock.el (java-keywords): Add MATCH-HIGHLIGHT part for
358 2000-11-20 Andre Spiegel <spiegel@gnu.org>
360 * vc.el, vc-hooks.el: Undo prev change (moved functions back to
363 * vc-rcs.el (vc-rcs-state): Before calling vc-workfile-unchanged-p,
366 * vc-cvs.el (vc-cvs-checkout): Fix bug that broke C-x v ~-style
369 2000-11-20 Dave Love <fx@gnu.org>
371 * Makefile.in (DONTCOMPILE): Omit bindings.el.
373 2000-11-20 Gerd Moellmann <gerd@gnu.org>
375 * calculator.el: New version from author.
377 2000-11-19 Gerd Moellmann <gerd@gnu.org>
379 * info.el (info-menu-5): Doc fix.
381 * textmodes/artist.el: New file.
383 2000-11-19 Andre Spiegel <spiegel@gnu.org>
385 * vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
386 and differentiate according to checkout model.
387 (vc-rcs-fetch-master-state): Don't call vc-workfile-unchanged-p,
388 since this function is only concerned with master state.
390 * vc-hooks.el (vc-workfile-unchanged-p,
391 vc-default-workfile-unchanged-p): Moved here from vc.el.
393 * vc.el (vc-workfile-unchanged-p,
394 vc-default-workfile-unchanged-p): See above.
396 2000-11-19 Miles Bader <miles@gnu.org>
398 * image-file.el (insert-image-file): Make `intangible' and
399 `read-only' properties rear-nonsticky too.
401 2000-11-18 Gerd Moellmann <gerd@gnu.org>
403 * ps-print.el: Update copyright notice.
405 * tooltip.el (tooltip-x-offset, tooltip-y-offset): New user-options.
406 (tooltip-show): Use the offsets.
408 * bindings.el (mode-line-modified): Fix a typo.
409 (mode-line-toggle-modified, mode-line-widen)
410 (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
412 2000-11-17 Gerd Moellmann <gerd@gnu.org>
414 * ps-print.el: Minor fixes from author.
416 2000-11-16 Stefan Monnier <monnier@cs.yale.edu>
418 * vc.el (vc-version-diff): Bind inhibit-read-only when inserting text.
419 (vc-version-backup-file): Docstring fix.
421 2000-11-16 Gerd Moellmann <gerd@gnu.org>
423 * files.el (basic-save-buffer): Don't add a newline if
424 find-file-literally is non-nil.
425 (find-file-literally): Extend doc string.
427 * sort.el (sort-columns): If sort-fold-case it non-nil, invoke
428 sort(1) with the `-f' argument.
430 2000-11-16 Andre Spiegel <spiegel@gnu.org>
432 * vc.el: Updated backend documentation.
433 (vc-default-check-headers): New function.
435 * vc-{cvs,rcs,sccs}.el: Functions reordered.
437 * vc.el (vc-revert-buffer): Ask for confirmation if file seems
439 (vc-do-command): In the asynchronous case, output messages only if
440 the minibuffer is not active.
442 * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
443 `vc-cvs-use-edit' is on.
444 (vc-cvs-checkout): When this is used for reverting the workfile,
445 make a backup of the original contents and revert to that in case
447 (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
450 * vc.el (vc-annotate): Changed handling of prefix arg; now asks
451 for both version and ratio in the minibuffer.
453 * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
454 Use vc-do-command to perform the annotation, not call-process.
456 2000-11-16 Kenichi Handa <handa@etl.go.jp>
458 * international/quail.el (quail-start-translation): Don't call
459 `message' before reading key sequence.
461 2000-11-16 Miles Bader <miles@lsi.nec.co.jp>
463 * net/ange-ftp.el (ange-ftp-file-modtime): Don't use `caddr'.
465 2000-11-16 Kenichi Handa <handa@etl.go.jp>
467 * window.el (fit-window-to-buffer): Be sure to acquire at least
468 one text line even if the buffer is empty.
470 2000-11-16 Gerd Moellmann <gerd@gnu.org>
472 * net/ange-ftp.el (ange-ftp-file-writable-p)
473 (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
474 ange-ftp-process-verbose to nil.
476 2000-11-15 Dave Love <fx@gnu.org>
478 * wid-edit.el (widget-specify-field, widget-specify-button): If
479 :help-echo is a function, set help-echo of overlay to
481 (widget-mouse-help): New function.
482 (widget-echo-help): Rewritten for :help-echo functions only taking
485 * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
487 (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
488 and that JPEG is available.
489 (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
491 * international/mule-cmds.el (locale-charset-language-names):
494 2000-11-15 Gerd Moellmann <gerd@gnu.org>
496 * faces.el (face-set-after-frame-default): If
497 `inhibit-default-face-x-resources' is bound, don't intialize the
498 default face from X resources.
500 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
502 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
503 Don't set EMACSLOADPATH.
505 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
507 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
509 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
510 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
512 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
514 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
515 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
516 (checkdoc-minor-keymap): Backward compatibility.
517 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
518 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
519 (checkdoc-this-string-valid-engine): Be a bit more strict
520 to avoid matching substrings of `...' quoted vars/funs.
521 (checkdoc-defun-info): Only look for `interactive' if alone.
522 (debug-ignored-errors): Add "arg doesn't appear in docstring".
524 * progmodes/compile.el (grep): `tag-default' can be nil.
526 * newcomment.el (comment-indent): Paren typo.
528 2000-11-14 Dave Love <fx@gnu.org>
530 * calculator.el: New maintainer version.
532 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
534 * cmuscheme.el: Doc fixes.
535 (cmuscheme) <defgroup>: Use `scheme' as parent.
536 (cmuscheme-program-name): Remove. Change uses to
539 * xscheme.el (scheme-program-name): Don't define here.
541 * progmodes/scheme.el (scheme-program-name): New variable
542 (originally in cmuscheme).
544 2000-11-14 Miles Bader <miles@gnu.org>
546 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
547 Handle header-lines. Don't loop forever if we can't enlarge the
548 window anymore. Simplify a bit.
550 2000-11-14 Kenichi Handa <handa@etl.go.jp>
552 * window.el (fit-window-to-buffer): Don't check
553 window-text-height. Assure that the last line is fully visible.
555 * international/quail.el (quail-show-guidance-buf): Call
556 fit-window-to-buffer to assure the enough height of the guidance
558 (quail-update-guidance): Avoid making the guidance buffer shorter.
560 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
562 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
563 rather than `prepend' and add an interesting comment.
564 (tex-math-face, tex-font-lock-syntactic-face-function):
565 New face and function to use it.
566 (tex-define-common-keys, tex-mode-map): Use menu-item rather
567 than `menu-enable' symbol property.
568 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
569 (tex-mode): Add some latex-mode commands for auto-selection.
570 Use tex-font-lock-syntactic-face-function.
571 (tex-insert-quote): Simplify.
572 (tex-shell): New mode.
573 (tex-start-shell): Use it.
574 (tex-shell-proc, tex-shell-buf): New functions.
575 (tex-send-command): Use it.
576 (tex-main-file): Fix the meaning of the new arg REALFILE.
577 (tex-send-tex-command): New function split from `tex-start-tex'.
578 Set compilation-last-buffer and compilation-parsing-end.
580 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
581 when it follows non-comment text on the line.
583 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
584 Set font-lock-defaults.
585 (lisp-mode-shared-map): Init inside the defvar.
586 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
587 Use define-derived-mode.
589 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
591 * faces.el (header-line): Use `:box nil' for color/gs displays too.
593 2000-11-14 Gerd Moellmann <gerd@gnu.org>
595 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
596 recursively optimize body because that can lead to infinite
597 recursion; see comment there.
599 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
601 * faces.el (face-spec-set-match-display): Revert the change from
602 2000-10-24. Add a FIXME for after v21.1.
604 2000-11-13 Miles Bader <miles@gnu.org>
606 * textmodes/fill.el (skip-line-prefix): New function.
607 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
608 (fill-paragraph): Don't leave point inside the fill-prefix.
609 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
610 point inside the fill-prefix.
612 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
614 * calendar/calendar.el (generate-calendar-window): Use
615 `fit-window-to-buffer'.
617 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
619 * gud.el (gud-minor-mode): New var.
620 (gud-symbol, gud-val): New functions.
621 (gud-find-file): Copy gud-minor-mode to the new buffer.
622 (gud-menu-map): Include entries for commands that are not always
623 available, using :enable to (de)activate them.
624 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
625 (gud-mode-map): New map.
626 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
627 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
628 Don't set up gud's menu (it's done by the minor-mode).
629 (gud-minibuffer-local-map): New.
630 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
631 (gud-query-cmdline): New function.
632 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
633 (gud-mode): Use define-derived-mode.
634 Don't set up gud's menu (it's done by the minor-mode).
635 (gud-chop-words): Remove.
636 (gud-common-init): Use split-string instead.
637 (gud-new-keymap, gud-make-debug-menu): Eradicate.
639 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
640 Add keyword arg :name.
642 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
643 (diff-count-matches, diff-split-hunk): New functions.
644 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
646 * pcvs-info.el (cvs-fi-conflict-face): New var.
648 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
649 Make it into a simple syntax-table, shared among all submodes.
650 (sh-heredoc-face): Re-introduce.
651 (sh-font-lock-syntactic-face-function): New function.
652 (sh-mode): Use it. Also use define-derived-mode.
653 Remove old bogus setting of indent-region-function.
654 (sh-set-shell): Don't set the syntax-table any more.
655 (sh-mode-syntax-table) <defun>: Remove.
657 2000-11-12 Miles Bader <miles@gnu.org>
659 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
660 message if interactive.
662 2000-11-12 Dave Love <fx@gnu.org>
664 * mail/feedmail.el: Fix header,
665 (feedmail) <defgroup>: Add :link.
667 * view.el: Use local-map property, not keymap on mode-line string.
669 * scroll-all.el (scroll-all-mode): Customize variable. Add
670 autoload cookie to function.
672 * lazy-lock.el: Remove compatibility code.
674 * finder.el (finder-known-keywords): Add `files', remove `vms'.
675 (finder-help-echo): New variable.
676 (finder-mouse-face-on-line): Add help-echo stuff.
677 (finder-list-keywords, finder-list-matches): Use mapc.
679 * faces.el (face-font-registry-alternatives): Add :version.
681 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
684 * net/browse-url.el (browse-url-browser-function): Update :version.
686 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
687 (mail-mode): Use [:alnum:] in some regexps.
689 2000-11-10 Dave Love <fx@gnu.org>
691 * ediff.el (ediff-regions-internal, ediff-documentation):
692 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
695 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
696 buffer into fundamental mode.
697 (ediff-set-difference): Use copy-sequence if available.
699 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
700 ediff-patch-map non-nil.
701 (ediff-fixup-patch-map, ediff-fixup-patch-map)
702 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
703 buffer into fundamental mode.
705 * ediff-merg.el (state-or-merge): Defvar when compiling.
707 2000-11-10 Jason Rumney <jasonr@gnu.org>
709 * w32-fns.el (w32-add-charset-info): New function.
710 (w32-charset-info-alist): Use it.
712 2000-11-10 Gerd Moellmann <gerd@gnu.org>
714 * faces.el (face-font-registry-alternatives): New user-option.
716 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
718 * textmodes/texinfo.el (texinfo-block-default): New var.
719 (texinfo-insert-block): Use it. Insert a newline if needed.
721 * textmodes/fill.el (fill-indent-according-to-mode): New var.
722 (fill-region-as-paragraph): Use it.
724 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
725 (latex-mode): Tweak tex-*-(head|trail)er regexps.
726 Tweak paragraph regexps to allow a leading [ \t]*.
727 (tex-latex-block): Insert a newline if necessary.
728 (latex-insert-item): Only insert a newline if necessary.
729 (tex-guess-main-file): New function.
730 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
731 Set tex-main-file if TeX-master is provided.
732 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
734 2000-11-10 Gerd Moellmann <gerd@gnu.org>
736 * startup.el (command-line): Set the default tooltip-mode
737 to t for graphical displays which implement x-show-tip.
739 * tooltip.el (tooltip-mode): Add a comment about startup.el
740 setting the default value of this user-option.
742 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
744 * font-lock.el (font-lock-*-face) <defvar>: Move.
745 (font-lock-defaults-alist): Mark obsolete.
746 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
747 (font-lock-mode): Use define-minor-mode.
748 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
749 (font-lock-turn-off-thing-lock): Be more explicit.
750 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
751 (font-lock-syntactic-face-function): New var.
752 (font-lock-fontify-syntactically-region): Use it.
753 (font-lock-doc-face): New.
755 * pcvs.el (cvs-enabledp): Ignore errors.
756 (cvs-commit-filelist): Never query.
757 (cvs-mode-insert): Always add a terminating / in the initial prompt.
758 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
759 (cvs-do-removal): Use cvs-partition rather than delete-if.
760 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
763 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
764 Allow `next' to jump to after the end of the last match.
766 2000-11-09 Gerd Moellmann <gerd@gnu.org>
768 * simple.el (byte-compiling-files-p): New function.
770 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
773 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
776 * textmodes/ispell.el (ispell-library-path): Don't call
777 check-ispell-version when byte-compiling because that starts
778 an ispell process, and ispell might not be installed.
779 (toplevel): Don't set up a menu when byte-compiling.
781 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
782 it, so that a boundp test can be used to determine if we're
783 currently byte-compiling.
785 2000-11-09 Dave Love <fx@gnu.org>
787 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
790 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
792 * ps-print.el: Patch for variable initialization when spooling. Doc
794 (ps-output-list): Fun eliminated.
795 (ps-begin-file, ps-begin-job): Code fix.
797 2000-11-08 Dave Love <fx@gnu.org>
799 * ediff-wind.el (ediff-control-frame-parameters): Zero
802 2000-11-08 Gerd Moellmann <gerd@gnu.org>
804 * simple.el (shell-command, display-message-or-buffer)
805 (shell-command-on-region): Mention resize-mini-windows in the doc
807 (display-message-or-buffer): Take the value of resize-mini-windows
810 2000-11-07 Gerd Moellmann <gerd@gnu.org>
812 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
814 * dired.el (dired-between-files): Add `^. find' as an alternative
815 to the regular expression, for find-dired.
817 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
819 * textmodes/texnfo-upd.el: Require texinfo.
820 (defmacro, defgroup): Remove.
821 (texinfo-section-to-generic-alist): Remove.
822 Use texinfo-section-list instead (i.e. level is changed string->int).
823 (texinfo-filter): New function.
824 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
825 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
826 Use it. And use regexp-opt.
827 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
828 (texinfo-update-menu-region-beginning)
829 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
830 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
831 (texinfo-update-menu-same-level-regexps): Update.
832 (texinfo-update-node, texinfo-every-node-update)
833 (texinfo-sequential-node-update): Remove autoload cookie.
835 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
836 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
837 (texinfo-chapter-level-regexp): Remove.
838 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
840 2000-11-06 Dave Love <fx@gnu.org>
842 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
844 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
847 2000-11-06 Kenichi Handa <handa@etl.go.jp>
849 * composite.el (composition-function-table): Variable declaration
850 moved to src/composite.c.
851 (compose-chars-after): New optional arg object.
853 2000-11-06 Gerd Moellmann <gerd@gnu.org>
855 * bindings.el (mode-line-toggle-read-only)
856 (mode-line-toggle-modified, mode-line-widen)
857 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
858 (make-mode-line-mouse2-map): Rewritten.
859 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
860 functions so that C-h k can show something with a doc string.
862 * startup.el (fancy-splash-delay): Set to 10 seconds.
863 (fancy-splash-max-time): New user-option.
864 (fancy-splash-stop-time): New variable.
865 (fancy-splash-screens): Set it. Catch `stop-splashing'.
866 (fancy-splash-screens-1): Throw `stop-splashing' when current
867 time is greater than fancy-splash-stop-time.
869 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
871 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
873 * pcvs.el (cvs-mode-marked): New arg `noquery'.
874 Prompt user for a file rather than raising an error.
875 (cvs-enabledp): Fix call to cvs-mode-marked.
876 (cvs-insert-file): New function (extracted from cvs-mode-insert).
877 (cvs-mode-insert): Use it. Change the init prompt' value.
878 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
880 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
881 Don't pass default arg to ewoc-locate.
882 (ewoc-collect): Return result in the right order.
884 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
886 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
887 (cvs-status-get-tags): Fix regexp.
888 (cvs-status-trees, cvs-status-cvstrees):
889 Combine after change hooks and don't sit-for.
890 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
891 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
892 Use make-char rather than hard-coded cryptic data.
893 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
895 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
897 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
898 (cvs-insert-strings): New function.
900 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
902 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
903 `mwheel-scroll-amount'.
904 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
905 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
906 string-matching against the version string.
908 2000-11-06 Kenichi Handa <handa@etl.go.jp>
910 * language/thai.el ("Thai"): Set a lisp form that produces
911 composed string in `sample-text' language info.
913 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
914 composed string in `sample-text' language info.
916 * international/mule-cmds.el (describe-language-environment): Eval
917 `sample-text' data and insert the result.
919 * international/mule-conf.el (compound-text): Define this coding
920 system here. Make x-ctext and ctext aliases of it.
922 * language/european.el (compound-text, ctext): Moved to
923 international/mule-conf.el.
925 2000-11-05 Andrew Innes <andrewi@gnu.org>
927 * w32-fns.el (w32-version): New function.
929 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
931 * progmodes/awk-mode.el: Update copyright.
932 (awk-mode-abbrev-table): Remove.
933 (awk-font-lock-keywords): Use regexp-opt.
934 (awk-mode): Use define-derived-mode.
936 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
937 when extracting a suffix.
939 2000-11-04 Andre Spiegel <spiegel@gnu.org>
941 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
944 2000-11-04 Jason Rumney <jasonr@gnu.org>
946 * language/european.el (decode-mac-roman): Test against r1 not r0.
948 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
950 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
951 (icon-mode): Define indent-line-function.
952 (icon-comment-indent): Simplify.
953 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
955 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
957 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
958 Bind change-log-default-mode to defeat the caching done on it.
959 Don't bother saving excursion any more.
961 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
963 * frame.el (after-setting-font-hook): Rename hooks -> hook.
964 (set-frame-font): Use the new name (and the old for compatibility).
966 * toolbar/tool-bar.el (tool-bar-mode):
967 * time.el (display-time-mode):
968 * recentf.el (recentf-mode):
969 * paren.el (show-paren-mode):
970 * mwheel.el (mouse-wheel-mode):
972 * jka-compr.el (auto-compression-mode):
973 * image-file.el (auto-image-file-mode):
974 * hl-line.el (hl-line-mode):
975 * delsel.el (delete-selection-mode):
976 * autoinsert.el (auto-insert-mode):
977 * complete.el (partial-completion-mode): Drop unneeded positional args.
979 * info.el (Info-mode):
980 * comint.el (comint-mode): Don't bother with make-local-hook.
982 * log-edit.el (log-edit-menu): New menu.
984 2000-11-03 Miles Bader <miles@gnu.org>
986 * wid-edit.el (widget-end-of-line): Reinstate, with a new
987 definition, so that trailing spaces are handled properly.
988 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
990 2000-11-03 Gerd Moellmann <gerd@gnu.org>
992 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
994 (fancy-splash-screens): Set tab-width to 20.
996 2000-11-03 Dave Love <fx@gnu.org>
998 * comint.el (comint-completion-addsuffix): Fix custom type.
1000 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
1002 * font-lock.el (font-lock-buffers): Remove.
1003 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
1004 (font-lock-change-major-mode): Remove.
1005 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
1006 (font-lock-default-fontify-region): Extend the multiline
1007 fontification to whole lines.
1008 (font-lock-fontify-anchored-keywords)
1009 (font-lock-fontify-keywords-region): If matching just one
1010 line (with \n) only mark the \n as multiline.
1012 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
1013 Correctly handle the case where several :group args are supplied.
1015 (easy-mmode-define-global-mode): Allow :extra-args.
1016 Correctly handle the case where several :group args are supplied.
1018 2000-11-02 Miles Bader <miles@gnu.org>
1020 * calendar/calendar.el (diary-face, calendar-today-face)
1021 (holiday-face): Remove dependency on `window-system'.
1023 2000-11-02 Ken Raeburn <raeburn@gnu.org>
1025 * Makefile.in (emacs): Set EMACSLOADPATH always.
1026 (update-authors, .el.elc, compile-files): Don't do it explicitly
1028 (compile-files): Bomb out if compilation of a file fails.
1030 2000-11-02 Dave Love <fx@gnu.org>
1032 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
1034 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
1036 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
1037 punctuation in the warning inserted into the *mail* buffer.
1039 2000-11-02 Gerd Moellmann <gerd@gnu.org>
1041 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
1042 (authors-public-domain-p): New function.
1043 (authors-print): Use it.
1045 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
1047 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
1049 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1051 * ps-print.el: Extension for even/odd printing. Doc fix.
1052 (ps-print-version): New version number (6.3.1).
1053 (ps-even-or-odd-pages): Customization fix.
1054 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
1055 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
1056 (ps-page-count): Var replaced by `ps-page-column'.
1057 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
1058 (ps-print-sheet-p): New fun.
1060 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1062 * tooltip.el (tooltip-gud-tips-setup): New function.
1063 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
1064 (tooltip-mode): Call tooltip-gud-tips-setup.
1065 (tooltip-gud-tips): Use `gud-basic-call' instead of
1066 process-send-string, so the prompt gets frobbed appropriately.
1067 Handle nil return value from `tooltip-gud-print-command'.
1069 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
1071 * comint.el (comint-add-to-input-history): New function.
1072 (comint-send-input): Use `comint-add-to-input-history'.
1074 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1076 * info.el (info-menu-header): New face.
1077 (Info-fontify-menu-headers): New function.
1078 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
1080 * info.el (Info-insert-dir): Don't include blank lines at
1081 beginning of additional dir files (one is added automatically).
1083 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
1085 * emacs-lisp/easy-mmode.el (define-minor-mode):
1086 Revert the latest changes.
1087 Allow the three positional arguments to be skipped and replaced
1088 by keyword arguments.
1089 Add a :toggle argument to determine whether a nil arg means toggle
1090 or means turn-on. The default is unchanged.
1091 Add a call to force-mode-line-update.
1093 2000-11-01 Dave Love <fx@gnu.org>
1095 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
1098 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
1100 * calendar/calendar.el (diary-face, holiday-face): Add
1101 dark-background variants.
1103 2000-10-31 Sam Steingold <sds@gnu.org>
1105 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
1106 `tex-main-file' does not have directory in it.
1108 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
1110 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
1112 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
1114 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
1117 2000-10-31 Gerd Moellmann <gerd@gnu.org>
1119 * files.el (find-file-noselect): When we expand a wildcard, return
1120 a list of buffers, as we should do according to the doc string.
1122 2000-10-31 Ken Raeburn <raeburn@gnu.org>
1124 * loadup.el (top level): Adjust load path if program name is
1125 "../src/bootstrap-emacs", in case it's not dumped and thus the
1126 load path adjustment hasn't already been done.
1128 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1130 * ps-print.el: Fix bug on selected pages for printing. Use
1131 `color-values' for Emacs 21. Ensure fontification when jit-lock
1132 is on. Try to avoid warning messages when compiling. Doc Fix.
1133 (ps-print-version): New version number (6.3).
1134 (ps-color-device): Use `color-values' to determine if device
1136 (ps-color-values): Try to use `x-color-values' when using XEmacs.
1137 (ps-print-page-p): Changed from defsubst to defun.
1138 (ps-page-number): Changed from defmacro to defun.
1139 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
1141 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
1142 (ps-end-file, ps-dummy-page): Funs eliminated.
1143 (ps-print-color-scale): Changed default value.
1144 (ps-page-n-up, ps-print-page-p): New internal vars.
1145 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
1146 (ps-plot-region, ps-generate, ps-end-job): Code fix.
1148 * delim-col.el: Little programming improvement.
1149 (delimit-columns-str): New macro.
1150 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1152 2000-10-31 Kenichi Handa <handa@etl.go.jp>
1154 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
1155 Moved to european.el.
1156 (ccl-encode-mac-roman-font, fontset-mac): Modified for
1157 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1158 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
1159 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
1161 2000-10-30 Dave Love <fx@gnu.org>
1163 * progmodes/cc-menus.el (imenu-generic-expression)
1164 (imenu-progress-message): Only defvar when compiling.
1166 * emacs-lisp/elp.el (elp-unload-hook): New function.
1168 * loadhist.el (unload-feature): Call elp-restore-function,
1169 checking for symbols; don't use elp-restore-all.
1170 (loadhist-hook-functions): Doc fix.
1172 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
1174 * log-edit.el (log-edit-confirm): Fix the default.
1176 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1178 * delim-col.el: Little fix: replace delimit-columns-align-columns by
1179 delimit-columns-format.
1180 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1182 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
1184 * comint.el (comint-replace-by-expanded-history): Don't use
1185 comint-get-old-input (we're not looking at *old* input).
1186 (comint-get-old-input-default): If using fields, signal an error
1187 when the point is not in an input field.
1189 2000-10-30 Kenichi Handa <handa@etl.go.jp>
1191 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
1192 and mule-unicode-e000-ffff.
1194 * international/mule.el (decode-char, encode-char): New functions.
1195 (make-coding-system): Accept a symbol of translation table as a
1196 value of property `safe-chars'.
1198 * international/mule-cmds.el (encode-coding-char): Check property
1199 safe-chars instead of safe-charsets.
1201 * international/fontset.el (fontset-default): Modified for
1202 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1203 (x-font-name-charset-alist): Likewise.
1204 (ccl-encode-unicode-font): New CCL program. Record it in
1205 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
1207 * language/european.el (mac-roman-decoder, mac-roman-encoder):
1208 New translation tables.
1209 (decode-mac-roman, encode-mac-roman): Definition of these CCL
1210 programs are modified and moved from mac-win.el.
1211 (mac-roman): Definition of this coding system is modified and
1212 moved from mac-win.el.
1214 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1216 * ediff-wind.el (ediff-setup-control-frame): Enclose
1217 face-attribute in condition-case to avoid errors in older emacsen.
1219 2000-10-29 Miles Bader <miles@gnu.org>
1221 * custom.el (custom-add-to-group): Allow multiple entries for a
1222 given value OPTION, as long as their widget types are different.
1223 * cus-edit.el (custom-face-value-create): If face name doesn't end
1224 with "face", add such here (similar to custom group widgets).
1226 * comint.el (comint-highlight-prompt): Add :type.
1228 2000-10-28 John Wiegley <johnw@gnu.org>
1230 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
1231 Changed this function to operate on a temporary buffer instead of
1232 the main buffer. This not only keeps flyspell from marking a
1233 buffer as changed that wasn't, but it solves the jumpy cursor
1234 problem when attempts are made to edit incorrect words.
1235 (flyspell-maybe-correct-doubling): Same change as for
1236 `flyspell-maybe-correct-transposition'.
1238 * calendar/timeclock.el (timeclock-log): Doc fix.
1239 (timeclock-last-event): Doc fix.
1240 (timeclock-log): Kill the timelog buffer after appending a new
1242 (timeclock-find-discrep): Use a temp buffer to read in the
1243 timelog, instead of visiting the file.
1244 (timeclock-log-data): A new function, along with a host of helper
1245 functions, for the purpose of making timelog data accessible to
1248 * eshell/esh-mode.el (window-height test): Make certain that
1249 `eshell-stringify-t' is non-nil.
1250 (eshell-password-prompt-regexp): Changed to a much simpler
1252 (eshell-send-input): If `eshell-invoke-directly' returns t,
1253 directly invoke the parsed command using `eval'. This improves
1254 turn-around time on simple commands by a factor of three or
1255 greater, such as cd, ls, pwd, etc. -- which get used very often.
1256 It also conserves thousands of cons cells per call (since
1257 `eshell-do-eval' consumes memory like a Cookie Monster set loose
1258 in the Pacific Cookie Company).
1260 * eshell/esh-test.el (eshell-test): Whitespace fix.
1262 * eshell/em-ls.el (eshell-ls-insert-directory): Make
1263 `eshell-ls-initial-args' nil when inserting directory contents.
1265 * eshell/em-script.el (eshell-script-initialize): Add names to
1266 `eshell-complex-commands, since `source' and `.' are complex.
1268 * eshell/esh-cmd.el (eshell-rewrite-for-command)
1269 (eshell-rewrite-while-command): Use `eshell-protect' instead of
1270 `eshell-copy-handles'.
1271 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
1273 (eshell-separate-commands): Whitespace fix.
1274 (eshell-complex-commands): Added a new list of names, for
1275 determining whether a given command is as simple as it looks.
1276 (eshell-invoke-directly): New function. Returns t if a command
1277 should be invoked directly (using `eval'), rather than indirectly
1278 using `eshell-do-eval'.
1279 (eshell-do-eval): Whitespace fix.
1281 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
1282 which provides an emulation of the DOS shell behavior of assuming
1283 that cp/mv/ln should copy/move/link to the current directory.
1284 (eshell-remove-entries): Added a doc string.
1285 (eshell-shuffle-files): Removed the check for `target' being null.
1286 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
1287 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
1288 it to do a smarter check of whether a destination was provided.
1289 (eshell/mv, eshell/cp): Enable `:preserve-args'.
1290 (eshell/ln): Enable `:preserve-args', and use
1291 `eshell-mvcpln-template' to implement the body of the function.
1292 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
1293 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
1294 list after flattening it. This makes it possible to cat files
1295 with numerical names.
1296 (eshell-unix-initialize): Added several names to
1297 `eshell-complex-commands.
1298 (eshell-unix-command-complex-p): Return t if a given command name
1299 may result in external processes being invoked.
1301 * eshell/em-glob.el (eshell-glob-show-progress): Make this
1302 variable nil by default, since it slows down glob processing by a
1303 factor of two or more, and increases memory consumption.
1305 * eshell/em-smart.el: Added a note about how memory consumptive
1306 smart display mode can be (at least this is true in Emacs 21).
1307 (eshell-smart-initialize): Whitespace fix.
1308 (eshell-refresh-windows): Use `if' instead of `when'.
1309 (eshell-smart-scroll-window): Calling `save-current-buffer' was
1311 (eshell-currently-handling-window): Added a missing global
1314 * eshell/em-ls.el (eshell-do-ls): Code simplification.
1315 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
1317 (eshell-ls-exclude-hidden): Added this variable in addition to
1318 `eshell-ls-exclude-regexp'. This one prevents files beginning
1319 with . from even being read, which can improve memory consumption
1321 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
1322 read file entries beginning with a dot. In home directories with
1323 lots of hidden files, fully two-thirds of the time spent in ls is
1324 used to read directory entries that are immediately thrown away.
1325 (eshell-ls-initial-args): Added back this configuration variable,
1326 for specifying default initial arguments to every call to ls.
1327 Much faster than using an alias to do the same thing.
1328 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
1329 (eshell-ls-dir): Whitespace change.
1331 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
1333 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
1335 (eshell-stringify-t): Added a customization variable, to indicate
1336 whether `t' should be rendered as a string at all. If not, one
1337 can still determine if the result of an expression is true using
1338 "file-exists-p FILE && echo true".
1339 (eshell-stringify): If `eshell-stringify-t' is nil, don't
1342 * eshell/esh-module.el: Whitespace fix.
1344 * eshell/em-alias.el (eshell-alias-initialize): Added
1345 `eshell-command-aliased-p' to `eshell-complex-commands'.
1346 (eshell-command-aliased-p): New function that returns t if a
1347 command name names an aliased.
1349 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1351 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
1352 redrawing the screen when changing cursor color.
1353 (viper-insert-state-pre-command-sentinel)
1354 (viper-replace-state-pre-command-sentinel)
1355 (viper-replace-state-post-command-sentinel):
1356 Use viper-preserve-cursor-color.
1357 Many functions changed to use viper= instead of = when comparing
1359 * viper-util.el (viper-memq-char,viper=): New functions for
1360 working with characters.
1361 (viper-change-cursor-color): Fixed buglet.
1362 Many functions changed to use viper= instead of = when comparing
1364 * viper.el (viper-insert-state-mode-list): Added eshell.
1366 * ediff-init.el (ediff-before-setup-hook): New hook.
1367 Several typos fixed in various docstrings.
1368 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
1369 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
1371 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
1372 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
1373 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
1374 (ediff-get-selected-buffers): New function.
1375 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
1376 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
1377 save-window-excursion.
1378 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
1379 termination check in while loop.
1380 * ediff.el (ediff-get-default-file-name): Better defaults when in
1382 (ediff-files,ediff-merge-files,ediff-files3)
1383 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
1385 2000-10-28 Dave Love <fx@gnu.org>
1387 * info.el (Info-fontify-node): Add help-echo for menu items.
1389 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
1391 * startup.el (normal-top-level): If the value of $TERM indicates
1392 we are running from xterm or one of its work-alikes, default to a
1393 light background mode.
1395 Support for -fg, -bg, and -rv command-line arguments for TTYs:
1396 * faces.el (tty-handle-reverse-video): New function.
1397 (tty-create-frame-with-faces): Call it.
1399 * frame.el (frame-notice-user-settings): Don't apply
1400 default-frame-alist and initial-frame-alist to MS-DOS frames.
1401 Call tty-handle-reverse-video, frame-set-background-mode, and
1402 face-set-after-frame-default for non-MS-DOS frames.
1404 * startup.el (tty-long-option-alist): New variable.
1405 (tty-handle-args): New function.
1406 (command-line): Call tty-handle-args.
1408 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
1409 startup.el now does that for all character-terminal frames.
1411 2000-10-28 Miles Bader <miles@gnu.org>
1413 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
1414 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
1415 global. If :global is followed by a non-nil but non-t value,
1416 make the mode buffer-local, but also generate a `global-MODE'
1417 version using `easy-mmode-define-global-mode'. Add
1418 :conditional-turn-on keyword argument.
1420 2000-10-28 Dave Love <fx@gnu.org>
1422 * international/latin1-disp.el (latin1-char-displayable-p): Don't
1425 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
1427 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1428 Don't call find-buffer-file-type-coding-system. Instead, just
1429 set eol-type to -unix if inhibit-eol-conversion is in effect, or
1430 if the file is on an untranslated filesystem.
1431 (add-untranslated-filesystem): Use "D" instead of "f" inside
1434 2000-10-27 Dave Love <fx@gnu.org>
1436 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
1437 (refill-mode): Use it.
1439 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
1441 * international/quail.el (quail-activate): Don't make-local-hook.
1443 2000-10-27 Andre Spiegel <spiegel@gnu.org>
1445 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
1446 manual backups and file.~<rev>.~ for automatic ones.
1447 (vc-make-version-backup): Don't do it on MS-DOS without long file
1450 * vc.el (vc-version-other-window): If an automatic backup of the
1451 desired version exists, rename it instead of copying it.
1453 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
1454 after command. If there's an unexpected error, signal it instead
1456 (vc-cvs-merge-news): Be prepared for no news at all.
1458 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
1460 * shell.el (shell): Add BUFFER argument.
1461 * comint.el (make-comint-in-buffer): New function.
1462 (make-comint): Use it.
1464 * faces.el (face-spec-choose): Change syntax so that the list of
1465 attribute-value pairs is now the cdr of each clause, not the cadr.
1466 Detect old-style entries, and handle them. Use pop.
1468 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
1470 * cus-edit.el (custom-mode-map): Use a sparse map.
1471 (custom-mode): Don't bother with make-local-hook.
1473 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
1475 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
1477 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1479 * ps-print.el: Avoid compilation gripes.
1480 (ps-print-version): New version number (6.2.1).
1482 2000-10-26 Dave Love <fx@gnu.org>
1484 * menu-bar.el: Modify some menu item help strings.
1485 (menu-bar-help-menu): Add link to MORE.STUFF.
1487 * cus-edit.el (custom-mode): Add `special' mode-class property.
1489 * wid-browse.el (widget-browse-mode): Likewise.
1491 * wid-edit.el (widget-specify-field): Revert to using local-map
1492 property, not keymap.
1494 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
1496 * wid-edit.el (widget-field-end): When checking for a `boundary'
1497 field, do so in the correct buffer.
1499 * simple.el (undo): Correctly distinguish between numeric and
1500 non-numeric prefix args in non-transient-mark-mode, as per the doc
1501 string. When in transient-mark-mode, treat all prefix-args as
1504 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1505 Position point on match. Handle N == 0 correctly.
1507 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1508 (comint-mode-map): Reverse order of `comint-write-output' and
1509 `comint-append-output-to-file'.
1510 (comint-append-output-to-file): Reinstate this function, for the
1511 benefit of the menu.
1513 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
1515 * vc.el (vc-version-other-window): Bind `file'.
1517 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1519 * Makefile.in (update-authors): New target for maintenance purposes.
1521 * emacs-lisp/authors.el (batch-update-authors): New function.
1522 (authors-fixed-entries): New defconst.
1523 (authors-add-fixed-entries): New function.
1524 (authors): Call it.: Don't process lispref/.
1526 2000-10-25 Jason Rumney <jasonr@gnu.org>
1528 * cus-edit.el (custom-button-face, custom-button-pressed-face):
1529 Merge x w32 and mac definitions.
1531 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1533 * menu-bar.el (menu-bar-options-menu): Add a help string for
1536 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
1538 * time-stamp.el (time-stamp-string-preprocess):
1539 Fix a wrong type argument error.
1541 2000-10-25 Miles Bader <miles@gnu.org>
1543 * recentf.el (recentf-mode): Variable removed.
1544 (recentf-mode): Use `define-minor-mode'.
1546 * mwheel.el (mouse-wheel-mode): New global minor mode.
1547 (mwheel-install): Use `mouse-wheel-mode'.
1549 2000-10-25 Dave Love <fx@gnu.org>
1551 * progmodes/cperl-mode.el (cperl-mode):
1552 Set normal-auto-fill-function correctly.
1554 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1555 inherit from global-map and don't nullify menu-bar and tool-bar
1558 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
1560 * wid-edit.el (widget-field-at): New function.
1561 (widget-at, widget-field-activate): Use it.
1562 (widget-tabable-at): Use `widget-at'.
1563 (widget-specify-field): If the terminating character of the widget
1564 field (which is read-only) is a newline, put it into a special
1565 `boundary' field so that C-n/C-p act more naturally.
1566 (widget-field-end): Also don't subtract one if a special
1567 `boundary' field has been added after the widget field.
1569 * comint.el (comint-output-filter, comint-send-input): Don't
1570 bother adding stickiness fields to overlays to fool the field
1571 code, since it should notice the overlay insertion-types now.
1573 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1574 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1575 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1577 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1579 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1580 (authors): Set file coding system to iso-2022-7bit. Add
1581 file-local variables to output buffer.
1583 * files.el (after-find-file): Don't print any warnings if
1586 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1588 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1590 * delim-col.el: Now there is a column formatting mechanism.
1591 Modified to customization mechanisms convention. Doc fix.
1592 (columns): New group for delim-col.
1593 (delimit-columns-before, delimit-columns-after)
1594 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1595 (delimit-columns-end): New vars.
1596 (delimit-columns-customize, delimit-columns-format): New funs.
1597 (delimit-columns-region, delimit-columns-rectangle)
1598 (delimit-columns-rectangle-line): Modified to support column
1601 2000-10-24 Dave Love <fx@gnu.org>
1603 * log-edit.el (log-edit): Add :version and a :group for vc.
1605 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1607 * files.el (after-find-file): Don't print a message ``New file''
1610 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1611 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1612 get duplicate tool-bar entries because we'll see the global ones
1613 on more than one path through keymaps.
1615 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1617 * progmodes/cmacexp.el: Change Francesco's email address.
1619 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1621 * window.el (fit-window-to-buffer): Adjust point of the window
1622 buffer, not that of the current buffer.
1624 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1626 * progmodes/cmacexp.el: Update the euthor's email address.
1628 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1630 * faces.el (face-spec-set-match-display): Add `graphic' display
1631 type (the inverse of `tty'). Use `display-graphic-p' instead of
1632 the window-system variable.
1634 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1636 * international/isearch-x.el (isearch-with-input-method): Call
1637 input-method-function with the first event in
1638 unread-command-events.
1640 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1642 * faces.el (face-default-spec, face-user-default-spec): Make
1645 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1647 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1650 * term/mac-win.el: Remove definitions of mac-roman-lower and
1651 mac-roman-upper, require dired, and define instead of set
1652 mac-ready-for-drag-n-drop to avoid compilation error.
1654 2000-10-23 Andrew Innes <andrewi@gnu.org>
1656 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1657 superfluous calls to subst-char-in-string; instead apply
1658 expand-file-name after convert-standard-filename to ensure
1659 expected directory separators are used.
1661 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1663 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1665 2000-10-23 Dave Love <fx@gnu.org>
1667 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1668 (tool-bar-add-item): Set foreground and background for XBM icons.
1670 * international/latin1-disp.el (latin1-char-displayable-p): New
1671 function (from Handa).
1672 (latin1-display-check-font): Use it.
1674 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1675 using :key-sequence, making it much more usable. Use nconc, not
1677 (imenu--create-keymap-1): Avoid append.
1679 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1681 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1683 [the following changes fix a bug where `define-minor-mode' didn't
1684 correctly generate :require clauses for defcustoms in compiled files]
1685 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1686 (byte-compile-log-file, byte-compile-log-1): Don't set
1687 `byte-compile-current-file' to nil. Instead set
1688 `byte-compile-last-logged-file' to it. Test whether
1689 byte-compile-current-file equals byte-compile-last-logged-file
1690 instead of whether its nil.
1691 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1693 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1695 * textmodes/refill.el: Fix var names in doc.
1696 (refill-mode): Don't bother with make-local-hook anymore.
1698 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1700 * faces.el (face-user-default-spec, face-default-spec): New functions.
1701 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1702 (frame-set-background-mode, face-set-after-frame-default):
1703 Use `face-user-default-spec'. Simplify code slightly.
1705 * woman.el (woman-italic-face, woman-bold-face)
1706 (woman-unknown-face): Add dark-background variants.
1707 (woman-default-faces): Renamed from `woman-colour-faces'.
1708 Set using the stored defaults, rather than using hard-wired colors.
1709 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1710 Just make the foreground `unspecified' rather than "black".
1711 (woman-menu): Rename menu entries accordingly.
1713 * faces.el (header-line): Make more reasonable on mono/grayscale
1716 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1718 * cus-edit.el (custom-button-face): Use 3D look for mac.
1719 (custom-button-pressed-face): Likewise.
1721 * faces.el (set-face-attributes-from-resources): Handle mac frames
1722 in the same way as x and w32 frames.
1723 (face-valid-attribute-values): Likewise.
1724 (read-face-attribute): Likewise.
1725 (defined-colors): Likewise.
1726 (color-defined-p): Likewise.
1727 (color-values): Likewise.
1728 (display-grayscale-p): Likewise.
1729 (face-set-after-frame-default): Likewise.
1730 (mode-line): Same default face as for x and w32.
1731 (tool-bar): Likewise.
1733 * frame.el: Remove call to frame-notice-user-settings at end of
1736 * info.el (Info-fontify-node): make underlines invisible for mac
1737 as for x, pc, and w32 frame types.
1739 * term/mac-win.el: New file.
1741 2000-10-22 Dave Love <fx@gnu.org>
1743 * textmodes/refill.el: New file.
1745 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1747 * vc-hooks.el (vc-version-backup-file-name): New optional args
1749 (vc-delete-automatic-version-backups, vc-make-version-backup):
1751 (vc-before-save): Use the latter.
1752 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1755 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1756 expected by vc[-hooks].el.
1758 * vc.el (vc-checkout): Added `-p' suffix in call to
1759 vc-make-version-backups-p; use vc-make-version-backup to actually
1761 (vc-version-other-window, vc-version-backup-file): Handle both
1762 automatic and manual backups.
1763 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1766 2000-10-22 Miles Bader <miles@gnu.org>
1768 * comint.el (comint-highlight-input, comint-highlight-prompt):
1769 Renamed, `-face' at end removed.
1770 (comint-send-input, comint-output-filter): Use renamed faces.
1772 * window.el (fit-window-to-buffer): Change defaulting of
1773 MAX-HEIGHT slightly.
1775 * faces.el (color-values, color-defined-p): Use `member', not
1776 `memq', because it works correctly for strings.
1777 (frame-set-background-mode): Actually, "unspecified-fg" and
1778 "unspecified-bg" *are* strings. Use `member', not `memq', and
1779 `equal', not `eq', when a string value is possible.
1781 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1783 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1785 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1787 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1788 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1789 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1790 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1791 (sh-font-lock-syntactic-keywords): Use them.
1792 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1793 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1794 (sh-mode): Don't override font-lock-unfontify-region-function.
1795 Use a copy of sh-font-lock-syntactic-keywords.
1796 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1797 Don't call sh-scan-buffer since font-lock does it on the fly.
1798 (sh-get-indent-info): Use `face' rather than `syntax-table'
1799 text-property to detect here-documents.
1800 Replace sh-special-syntax with sh-st-punc.
1801 (sh-prev-line): Use `face' rather than `syntax-table'
1802 text-property to skip over here-documents.
1803 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1804 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1805 (sh-electric-less, sh-set-here-doc-region)
1806 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1807 (sh-scan-buffer, sh-rescan-buffer): Remove.
1809 2000-10-21 Andrew Innes <andrewi@gnu.org>
1811 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1812 remote (ange-ftp) file names.
1814 2000-10-21 Miles Bader <miles@gnu.org>
1816 * window.el (fit-window-to-buffer): New function.
1817 (shrink-window-if-larger-than-buffer): Use it.
1818 (window-text-height): Don't expect minibuffers to have mode-lines.
1820 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1821 * international/quail.el (quail-update-guidance): Use
1822 `fit-window-to-buffer' instead of `set-window-text-height'.
1824 * international/quail.el (quail-show-guidance-buf): Make sure
1825 guidance window really has enough room.
1826 (quail-update-guidance): If quail-guidance-win is already shown,
1827 make sure its height is OK.
1829 * window.el (window-text-height, set-window-text-height):
1831 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1832 instead of `window-height' & `mode-line-window-height-fudge'.
1833 (mode-line-window-height-fudge): Add FACE parameter.
1834 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1835 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1837 2000-10-20 Miles Bader <miles@gnu.org>
1839 * window.el (height-affecting-face-attributes): Use `defconst'.
1841 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1842 New function, conditionally aliased to `mode-line-window-height-fudge'.
1843 (ispell-help): Use it.
1844 (ispell-choices-win-default-height): Don't include mode-line fudge.
1845 (ispell-choices-win-default-height): New function.
1846 (ispell-show-choices, ispell-command-loop): Use function
1847 `ispell-choices-win-default-height' instead of variable.
1849 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1851 * window.el (mode-line-window-height-fudge): New variable.
1852 (height-affecting-face-attributes): New variable.
1853 (mode-line-window-height-fudge): New function.
1854 (shrink-window-if-larger-than-buffer): Use it.
1855 * help.el (resize-temp-buffer-window): Likewise.
1857 * info.el (Info-fontify-node): Add support for @subsubsection
1858 titles, which use `Info-title-4-face'.
1859 (Info-title-4-face): New face.
1860 (Info-title-3-face): Inherit from Info-title-4-face instead of
1863 2000-10-19 Jason Rumney <jasonr@gnu.org>
1865 * dired.el (dired-insert-directory): Do not let errors signalled by
1866 attempt to run dired-free-space-program prevent dired from working.
1868 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1870 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1872 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1874 * dirtrack.el (dirtrack): Fix call to run-hooks.
1876 * cmuscheme.el (cmuscheme-program-name): Renamed from
1877 scheme-program-name because xscheme.el contains a defcustom with
1878 the same name. As a consequence, customizing group `cmuscheme'
1879 loaded `xscheme' which redefined run-scheme.
1880 (run-scheme): Use cmuscheme-program-name.
1882 * ps-print.el (ps-print-emacs-type): Move into the
1885 * play/doctor.el (doctor-death): Update the Samaritans'
1886 anonymous address, and add a website for Befrienders International.
1888 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1890 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1891 Avoid compilation gripes. Doc fix.
1892 (ps-print-version): New version number (6.2).
1893 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1894 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1895 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1896 (ps-x-extent-priority, ps-x-extent-start-position)
1897 (ps-x-face-font-instance, ps-x-find-coding-system)
1898 (ps-x-font-instance-properties, ps-x-make-color-instance)
1899 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1900 avoid compilation gripes without defining functions.
1901 (ps-e-find-composition): Alias for function find-composition, to have a
1902 suitable function depending on Emacs version.
1903 (ps-color-device, ps-color-values, ps-face-foreground-name)
1904 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1905 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1906 (ps-print-ensure-fontified): Function definitions surrounded by
1907 `eval-and-compile' to avoid compilation gripes.
1908 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1909 by symbol-value to avoid compilation gripes.
1910 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1911 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1913 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1915 * startup.el (normal-top-level): Call `frame-set-background-mode'
1916 after `frame-notice-user-settings' because the latter doesn't call
1917 the former on a tty.
1919 * faces.el (frame-set-background-mode): `unspecified' &c are
1920 symbols, not strings.
1922 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1924 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1925 why some "light*" colors are deliberately absent from the alist.
1927 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1928 Change colors for tty's, as suggested by Miles Bader.
1930 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1932 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1933 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1934 for ISO10646-1 fonts.
1935 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1937 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1939 * faces.el (frame-set-background-mode): If a tty frame defines a
1940 background color, use that to compute the background mode, instead
1941 of always defaulting to "dark".
1943 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1945 * comint.el (comint-write-output): New function.
1946 (comint-mode-map): Add it to the menu.
1947 Bind `C-c C-s' to comint-write-output.
1949 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1951 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1952 Use fancy-splash-delay.
1954 2000-10-18 Alex Schroeder <alex@gnu.org>
1956 * progmodes/sql.el (sql-sybase-options): New option.
1957 (sql-sybase): Use it. Add sql-database to the list of parameters
1958 provided for login. The options -w 2048 -n are not used any more.
1960 * comint.el (comint-read-input-ring): Bugfix such that the first
1961 and the last entry of the input ring file are not lost.
1963 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1965 * ps-print.el: Internal variable changes to defcustom,
1966 make-local-hook changes to defvar. Doc fix.
1967 (ps-print-version): New version number (6.1).
1968 (ps-setup, ps-do-despool): Code fix.
1969 (ps-printer-name): Customization fix.
1970 (ps-printer-name-option): Now is a defcustom instead of an
1972 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1973 (ps-print-begin-column-hook): Now are defvar instead of
1976 2000-10-18 Miles Bader <miles@gnu.org>
1978 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1979 (comint-kill-output): Changed into an alias for `comint-delete-output',
1981 (comint-mode-map): Rename references to comint-kill-output.
1983 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
1985 * diff-mode.el (diff-header-face, diff-file-header-face)
1986 (diff-changed-face): Add bold and italic attributes to tty faces.
1987 (diff-function-face): New face.
1988 (diff-font-lock-keywords): Use it.
1990 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
1992 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1993 Remove commented-out call to force-mode-line-update.
1994 (comint-kill-output): Use `forward-line 0' instead of
1995 beginning-of-line to make sure we get past the prompt.
1997 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
1999 * diff-mode.el (diff-header-face, diff-file-header-face):
2000 Add specific setting for dark background.
2001 (diff-context-face): Renamed from diff-comment-face.
2002 Set explicitly rather than inheriting from font-lock-comment-face.
2004 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2006 * startup.el (command-line): Move the code which sets the default
2007 TTY colors to before before-init-hook.
2009 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2011 * jit-lock.el (jit-lock-stealth-time): Doc fix.
2013 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2015 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
2016 extensions, for MS-DOS.
2018 * diff-mode.el (diff-header-face, diff-file-header-face)
2019 (diff-changed-face): Define tty-specific colors.
2021 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2023 * startup.el (fancy-splash-text): Realign the text.
2025 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2027 * font-lock.el (font-lock-comment-face): Define a separate default
2028 for dark-background tty's.
2030 2000-10-17 Miles Bader <miles@gnu.org>
2032 * help.el (resize-temp-buffer-window): Add hack to avoid last line
2033 being obscured by whizzy mode-lines on graphics displays.
2035 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2037 * info.el (Info-title-1-face, Info-title-2-face)
2038 (Info-title-3-face): Define colors for tty's.
2039 (info-header-node): Remove unneeded tty-specific definition.
2041 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
2043 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
2044 reverse from the frame parameters, and don't invert foreground and
2047 2000-10-16 Miles Bader <miles@gnu.org>
2049 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
2050 string "*Info*". Call propertized-buffer-identification to spruce
2053 2000-10-16 Gerd Moellmann <gerd@gnu.org>
2055 * help.el: Provide `help' for the sake of define-minor-mode
2056 which generates defcustoms with requires.
2058 * jit-lock.el (jit-lock-after-change): If we're in text that
2059 matches a multi-line font-lock pattern, make sure the whole text
2060 will be redisplayed.
2062 * emacs-lisp/authors.el (authors-add): Don't add an entry if
2063 author's name is unknown.
2065 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
2066 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
2067 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
2068 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
2069 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
2070 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
2071 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
2072 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
2073 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
2074 Add author information.
2076 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
2078 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
2079 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
2080 full-color version (using the Gimp) to eliminate dithering artifacts.
2082 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2084 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
2086 * simple.el (syntax-flag-table, string-to-syntax): Remove.
2088 2000-10-15 Dave Love <fx@gnu.org>
2090 * progmodes/sh-script.el: Require skeleton and comint when
2093 * pcomplete.el (pcomplete) <defgroup>: Add :version.
2095 * whitespace.el: Doc fixes.
2096 (top-level): Don't add hooks here.
2097 (whitespace-running-emacs): Deleted.
2098 (timer): Don't require.
2099 (whitespace): Add back :version conditional on xemacs test.
2100 (whitespace-spacetab-regexp, whitespace-indent-regexp)
2101 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
2102 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
2103 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
2104 Avoid specific xemacs test.
2105 (whitespace-global-mode): New option.
2106 (whitespace-global-mode): New command.
2107 (whitespace-unload-hook): New function.
2109 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
2110 (Info-fontify-node, Info-goto-node, Info-mode-menu)
2111 (Info-fontify-node): `Goto' goes to `Go to'.
2112 (Info-fontify-node): Add help-echo to xref links.
2114 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
2116 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
2118 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2120 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
2121 Use plist-get and allow :inherit.
2123 * emacs-lisp/cl-macs.el (cl-do-arglist):
2124 Use plist-get and plist-member instead of memq.
2126 * emacs-lisp/ewoc.el (ewoc-location): New function.
2127 (ewoc-enter-after, ewoc-enter-before): Document return value.
2128 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
2129 Don't need make-local-hook any more.
2130 (cvs-addto-collection): Return the new tin.
2131 (cvs-mode-insert): Jump to the new line.
2133 * jit-lock.el (jit-lock-fontify-buffer): Remove.
2135 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
2137 * font-lock.el (font-lock-syntactically-fontified): New var.
2138 (font-lock-fontify-syntactic-keywords-region): Use it.
2139 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
2141 * diff-mode.el (diff-find-file-name): Fix regexp.
2143 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
2144 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
2146 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
2147 (sh-mode-syntax-table): Add punctuation syntax for < and >.
2148 (sh-mode): Don't make all vars local here.
2150 (sh-set-shell): Use dolist. Don't set indent-region-function.
2151 (sh-mode-syntax-table): Use pop.
2152 (sh-remember-variable): Use push.
2153 (sh-help-string-for-variable): Use memq.
2154 (sh-safe-backward-sexp): Remove.
2155 (sh-safe-forward-sexp): Add ARG.
2156 (sh-get-indent-info, sh-prev-stmt): Use it.
2157 (sh-prev-line): Simplify by using forward-comment.
2158 (sh-this-is-a-continuation): Simplify.
2159 (sh-learn-buffer-indent): Use dolist.
2160 (sh-do-nothing): Remove.
2161 (sh-set-char-syntax, sh-set-here-doc-region):
2162 Use inhibit-modification-hooks.
2163 (sh-name-style): Use mapcar and push.
2164 (sh-load-style): Use dolist.
2165 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
2166 (sh-case, sh-while-getopts): Use propertize directly rather
2167 than sh-electric-rparen.
2169 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
2171 * textmodes/tex-mode.el: Require CL when compiling.
2172 (tex-mode-syntax-table): Init immediately.
2173 (tex-mode-map): Bind M-RET to latex-insert-item.
2174 (latex-mode): Set indent-line-function to latex-indent.
2175 (tex-common-initialization): Don't setup the syntax-table any more.
2176 (latex-insert-item): New skeleton.
2177 (tex-next-unmatched-end): Fix copy/paste braino.
2178 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
2179 (latex-indent, latex-find-indent): New functions.
2180 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
2181 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
2182 (tex-compilation-parse-errors): Use with-syntax-table.
2184 2000-10-15 Miles Bader <miles@gnu.org>
2186 * font-lock.el (font-lock-comment-face): Change dark-background,
2187 color, non-tty, default to `chocolate1'.
2189 2000-10-13 John Wiegley <johnw@gnu.org>
2191 * eshell/esh-util.el (require): Added a missing `require' form,
2192 needed when compiling (for an ange-ftp macro definition).
2194 2000-10-13 Dave Love <fx@gnu.org>
2196 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
2198 2000-10-13 Gerd Moellmann <gerd@gnu.org>
2200 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
2203 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
2204 transparent -colors 8).
2206 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
2208 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
2209 that breaks with old list format timestamps.
2210 (time-stamp-warn-inactive, time-stamp-old-format-warn)
2211 (time-stamp-count, time-stamp-conversion-warn): Improved doc
2214 2000-10-13 John Wiegley <johnw@gnu.org>
2216 * align.el, pcomplete.el, calendar/timeclock.el,
2217 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
2219 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
2220 faulty math, where holiday hours were being computing as seconds.
2222 2000-10-13 John Wiegley <johnw@gnu.org>
2224 * desktop.el (desktop-buffer-modes-to-save): Added a global for
2225 specifying what "other" kinds of buffers should be saved. This
2226 used to be hard-coded.
2227 (desktop-buffer-misc-functions): A global for specifying how
2228 auxiliary data should be determined for special buffer types.
2229 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
2230 instead of hard-coding the special buffer types.
2231 (desktop-save): Run `desktop-buffer-misc-functions' to gather
2232 auxiliary data, instead of hard-coding for Info buffers and dired.
2233 (desktop-buffer-info-misc-data): Aux function for determining Info
2234 buffer auxiliary info.
2235 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
2236 (desktop-buffer-info): Changed this function to use the info
2238 (desktop-create-buffer): Be a little more careful about what
2239 `minor-mode' means before calling it. This is important for some
2242 2000-10-13 John Wiegley <johnw@gnu.org>
2244 * eshell/esh-util.el: Added a global form which declares an
2245 autoload for `parse-time-string', if that function is not already
2246 defined, and if parse-time.el is available on the user's system.
2248 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
2249 to be aware of ange-ftp user info.
2250 (eshell-do-ls): Bind `ange-cache'. Also, use
2251 `eshell-file-attributes'.
2252 (eshell-ls-annotate): Use `eshell-file-attributes'.
2253 (eshell-ls-file): Made the user-id printing code a bit smarter.
2255 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
2256 allow identification of alias user ids in remote directories.
2257 It's manual, but there's no other way to know when the current
2258 user on the local machine, is also the owning user on the remote
2260 (fboundp): Bind `ange-cache'.
2261 (eshell-directory-files-and-attributes): Re-organized the logic a
2262 bit to use `eshell-file-attributes' instead of `file-attributes'.
2263 The former is more sensitive to directories that are read via FTP,
2264 and knows how to use ange-ftp to determine full attribute
2265 information, instead of just the name and last modtime.
2266 (eshell-current-ange-uids): Return the current user id when in a
2268 (eshell-parse-ange-ls): Parse a full directory listing that has
2269 been returned by ange-ftp.
2270 (eshell-file-attributes): This beefed up version of
2271 `file-attributes' is only special if the user is currently in a
2272 remote directory, in which case it does a lot of work to find out
2273 what the real attributes of a file are, as they appear on the
2274 remote machine. This makes usage of remote directories (i.e.,
2275 ange-ftp pathnames) much more useful. You can now use Eshell as a
2276 full-fledged FTP client, with much more manipulation ability than
2279 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
2280 variable, which means that Eshell's du should always be preferred
2281 in remote directories.
2282 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
2283 just `file-attributes'.
2284 (eshell-mvcp-template): Bind `ange-cache', to improve performance
2285 when reading remote directories. This is an Eshell-specific
2286 variable (not part of ange-ftp).
2287 (eshell/ln): Bind `ange-cache'.
2288 (eshell/du): Added some extra logic for determining when to use
2289 Eshell's du (which is slow), and when to use the external version
2290 (which may or may not exist).
2292 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
2293 `eshell-interactive-process', rather than using
2294 `get-buffer-process', since backgrounded processes don't count in
2295 the context of this function's logic.
2297 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
2298 `forward-char', so that null strings are parsed correctly.
2300 2000-09-13 John Wiegley <johnw@gnu.org>
2302 * eshell/em-pred.el (eshell-pred-file-type,
2303 eshell-pred-file-links, eshell-pred-file-size): Use
2304 `eshell-file-attributes'. This is more correct over ange-ftp.
2306 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
2307 that remote file globbing is more efficient.
2309 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
2310 gathering the files and attributes within a directory.
2312 * eshell/em-unix.el (eshell/cat): If any of the files passed on
2313 the command line is a special file (not a regular file, directory
2314 or symlink), always attempt to call the external version of cat.
2316 2000-09-13 John Wiegley <johnw@gnu.org>
2318 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
2319 Eshell-friendly version of find-tag.
2321 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
2323 * image-file.el (image-file-name-extensions)
2324 (image-file-name-regexps): Add autoload cookies.
2326 2000-10-13 Kenichi Handa <handa@etl.go.jp>
2328 * international/mule-cmds.el (select-safe-coding-system): If FROM
2329 is string, show it in *Warning* buffer.
2331 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
2333 * startup.el (normal-top-level): Use display-popup-menus-p instead
2335 (command-line): Use display-graphic-p instead of window-system.
2336 (command-line-1): Use display-popup-menus-p and display-mouse-p
2337 instead of window-system.
2339 2000-10-12 Sam Steingold <sds@gnu.org>
2341 * tooltip.el (tooltip-use-echo-area): New user variable.
2342 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
2344 2000-10-12 Dave Love <fx@gnu.org>
2346 * recentf.el: Maintainer's checkdoc fixes.
2348 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
2349 character class, not ASCII when matching file names.
2350 (fancy-splash-head): Add trailing slash to URL.
2351 (command-line): Don't require XPM support for toolbar.
2353 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
2354 (cperl-invalid-face): Revert last change.
2355 (cperl-init-faces): Quote cperl-invalid-face.
2357 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2359 * startup.el (fancy-splash-text): Remove superfluous quote.
2361 2000-10-12 Gerd Moellmann <gerd@gnu.org>
2363 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
2364 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
2365 (command-line-1): Don't use fancy-splash-pending-command.
2366 (fancy-splash-screens-1): Goto point-min after inserting text.
2368 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
2370 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
2371 instead of shared-lisp-mode-map.
2373 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
2375 * faces.el (header-line): Change tty-variant to use underlining.
2377 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
2378 (isearch-highlight): Restore lazy-isearch face properties at old
2379 position, and suppress them at new position.
2380 (isearch-dehighlight): Restore lazy-isearch face properties.
2381 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
2382 over the real isearch overlay, but in that case, don't give it a
2383 face property. Use `push'.
2385 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2387 * man.el (Man-getpage-in-background): Fix previous change.
2388 Decode the process output only when we are in multibyte mode.
2390 2000-10-11 Dave Love <fx@gnu.org>
2392 * info.el (Info-mode-menu): Fix some help.
2393 (info-tool-bar-map): Add entry for Info-last.
2395 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
2396 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
2397 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
2398 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
2399 * toolbar/search-replace.xpm, toolbar/exit.xpm:
2400 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
2401 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
2402 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
2403 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
2404 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
2405 Reduce colour requirements to 25 overall. (Probably wants
2406 revisiting from the originals to reduce further.)
2408 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
2410 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
2411 buffer-file-coding-system, instead of raw-text.
2412 (dehexlify-buffer): Bind coding-system-for-read to
2413 buffer-file-coding-system, instead of raw-text.
2415 2000-10-11 Sam Steingold <sds@gnu.org>
2417 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
2418 `underline' - fixes the bug introduced on 2000-09-21.
2420 2000-10-11 Dave Love <fx@gnu.org>
2422 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
2424 (scheme-mode): Doc fix.
2425 (scheme-font-lock-keywords-1): Match `define-syntax'.
2427 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
2429 * faces.el (frame-set-background-mode): Pay attention to saved
2430 face specs as well as default ones. Only do anything if the
2431 bg-mode or display-type has actually changed. Use `dolist'.
2432 (region): Make dark-background `region' face less in-your-face.
2434 2000-10-10 Sam Steingold <sds@gnu.org>
2436 * chistory.el, ielm.el, ledit.el:
2437 * progmodes/inf-lisp.el, progmodes/scheme.el:
2438 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
2440 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
2442 * textmodes/texinfo.el: Update copyright and fix typo.
2444 * desktop.el (desktop-modes-not-to-save): New var.
2445 (desktop-save-buffer-p): Use it.
2446 Also, obey desktop-buffers-not-to-save even for non-file buffers.
2447 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
2449 2000-10-10 Dave Love <fx@gnu.org>
2451 * toolbar/tool-bar.el (tool-bar-add-item)
2452 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
2455 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
2456 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
2457 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
2458 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
2459 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
2460 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
2461 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
2462 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
2463 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
2464 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
2465 the .xpms; probably need retouching.
2467 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
2469 * subr.el (add-to-list): Add optional argument APPEND.
2470 * battery.el (display-battery): Use `add-to-list'.
2472 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
2474 * play/zone.el (zone-timer, zone-wc-tbl): Rework
2475 these vars as symbol properties.
2476 (zone, zone-when-idle, zone-leave-me-alone)
2477 (zone-pgm-whack-chars): Use new symbol properties.
2479 * battery.el (display-battery): Doc spelling fix.
2481 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
2484 2000-10-09 Dave Love <fx@gnu.org>
2486 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
2487 has been initialized before calling tool-bar-setup.
2488 (tool-bar-add-item-from-menu): Add autoload cookie.
2490 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
2492 * menu-bar.el (send-mail-item-name): New function.
2493 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
2494 of mail-user-agent in the menu. Don't display the "Send Mail"
2495 item if mail-user-agent is nil or its value is ignore.
2496 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
2497 if read-mail-command is nil or its value is ignore.
2499 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2501 2000-10-09 Miles Bader <miles@gnu.org>
2503 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2505 * toolbar/left_arrow.xpm: Correct image size.
2507 * jka-compr.el: Don't call `jka-compr-install' when loading (it
2508 will be done by the definition of `auto-compression-mode' if
2509 necessary. Move code to uninstall existing file-name handler
2510 before definition of `auto-compression-mode'.
2512 * image-file.el (auto-image-file-mode): Move to the end of the
2513 file, because `define-minor-mode' actually calls the mode-function
2514 if the associated variable is non-nil, which requires that all
2515 needed functions be already defined.
2517 * mouse.el (popup-menu): Balance parens.
2519 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
2521 * mouse.el (popup-menu): Move the command call outside the loop
2522 so that popup-menu returns whatever the command returns.
2524 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
2525 (initialize-new-tags-table): Use run-hook-with-args-until-success.
2526 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2527 (tags-table-format-functions): Renamed from tags-table-format-hooks.
2529 * vc.el (vc-version-diff): diff-switches can be a list.
2530 Use relative filenames for prettier output.
2532 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2533 (vc-post-command-functions): Remove old-VC compatibility code.
2535 * newcomment.el (comment-indent-default): Autoload.
2537 * font-lock.el (font-lock-defaults): Make buffer-local.
2538 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2539 (font-lock-choose-keywords):
2540 Ignore LEVEL unless KEYWORDS is a list of syms.
2541 (c-keywords, c++-keywords, objc-keywords, java-keywords):
2542 Don't wrap regexp-opt things in \(...\) unnecessarily.
2544 * jit-lock.el: Don't require font-lock any more.
2545 (jit-lock-functions): Make buffer-local.
2546 (jit-lock-saved-fontify-buffer-function): Remove.
2547 (jit-lock-mode): Remove autoload cookie.
2548 Remove font-lock specific code.
2549 (jit-lock-unregister): Don't bother handling complex hooks any more.
2550 (jit-lock-refontify): New function.
2551 (jit-lock-fontify-buffer): Use it.
2552 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2553 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2554 Add optional args START and END.
2555 Never call font-lock-fontify-region directly.
2556 (jit-lock-function, jit-lock-stealth-fontify): Use it.
2558 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2560 2000-10-08 Dave Love <fx@gnu.org>
2562 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2564 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2566 * play/studly.el (studlify-region, studlify-word): Add autoload
2569 * play/morse.el (morse-region, unmorse-region): Add autoload
2572 * play/spook.el (spook-phrases-file): Use expand-file-name, not
2575 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2576 insist on symbols starting with word syntax.
2577 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2578 (eval-defun-1): Doc fix.
2579 (indent-sexp): Use nconc to build up indent-stack.
2581 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2582 Gnus with little use.
2583 (mail-setup-hook): Add mail-abbrevs-setup to options.
2585 * recentf.el: Doc fixes.
2587 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2590 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2591 without timezone and (8) with timezone to enforce some whitespace.
2592 Simplify code somewhat.
2594 * options.el (list-options): Doc that you should use customize.
2596 * iswitchb.el (iswitchb-mode): Add :require.
2598 * info.el (Info-goto-node, Info-menu): Doc fix.
2599 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2600 (info-tool-bar-map): New variable.
2601 (Info-mode): Use it.
2602 (Info-edit-map): Define all in defvar.
2603 (speedbar-attached-frame): Avoid compiler warning.
2605 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2606 (global-map): Bind [tool-bar] to a filtered map.
2607 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2608 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2610 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2612 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2613 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2614 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2615 icons, except up_arrow, which is left-arrow rotated.
2617 * imenu.el (imenu-add-to-menubar): Fix last change.
2619 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2621 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2622 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2624 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2626 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2627 typos in doc strings.
2629 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2630 the doc strings how to customize Font Lock faces.
2632 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2633 computing growth when dragging the header line.
2635 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2637 * simple.el (kill-line): Doc fix.
2639 2000-10-08 Miles Bader <miles@gnu.org>
2641 * faces.el (secondary-selection): Make foreground visible on tty.
2643 * jka-compr.el (auto-compression-mode): Move to the end of the
2644 file, because `define-minor-mode' actually calls the mode-function
2645 if the associated variable is non-nil, which requires that all
2646 needed functions be already defined.
2647 (with-auto-compression-mode): Add autoload cookie.
2649 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2651 * files.el (find-backup-file-name) [ms-dos]: If support for long
2652 file names is not available, behave as if version-control were set
2655 2000-10-07 Dave Love <fx@gnu.org>
2657 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2658 (browse-url-gnome-moz): New function.
2659 (browse-url-browser-function): Use it.
2660 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2662 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2664 * indent.el (tab-always-indent): New var.
2665 (indent-for-tab-command): Use it.
2667 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2668 raise an error. This way it can still default to a sane value.
2670 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2672 * startup.el (fancy-splash-screens): Use local rather than global map.
2673 Don't use `update-menu-bindings' any more.
2674 Get rid of assumptions about keymap representation.
2676 2000-10-06 Dave Love <fx@gnu.org>
2678 * textmodes/fill.el (sentence-end-double-space)
2679 (sentence-end-without-period): Doc fix.
2680 (adaptive-fill-regexp): Purecopy.
2681 (unjustify-current-line): Use line-end-position.
2682 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2684 * net/eudc-vars.el (eudc): Add :version, :link.
2686 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2688 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2689 Fix for define-minor-mode.
2690 (function-at-point): Alias to function-called-at-point.
2692 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2694 * simple.el (backward-word): Doc fix.
2696 * image-file.el (image-file-name-regexp): image-file-regexps ->
2697 image-file-name-regexps.
2698 (image-file-name-extensions): Add pbm.
2700 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2702 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2703 and add filename to the names so that diff-mode can jump to source.
2705 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2706 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2707 (tex-font-lock-keywords-1): Remove.
2708 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2709 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2710 (font-lock-default-fontify-region):
2711 Expand beg..end correctly when just following a multiline region.
2712 (font-lock-fontify-anchored-keywords):
2713 Include the anchor text as part of the multiline.
2715 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2717 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2718 latter needs the autoloaded define-minor-mode macro during the
2721 * startup.el (command-line): For now, activate tool-bar-mode only
2722 if XPM images are supported.
2724 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2725 window by dragging a header-line at the top of the frame; that's
2726 confusing because the header-line doesn't move.
2727 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2728 of treating the event as a list. Some cleanup.
2730 2000-10-06 Miles Bader <miles@gnu.org>
2732 * simple.el (display-message-or-buffer): New function.
2733 (shell-command-on-region): Use `display-message-or-buffer'.
2735 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2738 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2739 (smbclient-prompt-regexp): Add usage note to doc string.
2740 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2741 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2742 Use add-hook for adding the comint filter function, and only do so
2743 if it's not already in the global hook list.
2744 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2745 to `make-local-variable'.
2746 (nslookup-font-lock-keywords): Remove prompt entry.
2747 (nslookup): Don't set the process-filter.
2748 (finger): Exit the loop correctly when the regexps list runs out.
2749 (ftp, smbclient, smbclient-list-shares):
2750 Set the real major mode immediately, not after execing.
2751 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2753 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2755 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2757 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2759 * which-func.el (which-func-format): Remove spurious space.
2760 (which-func-mode): Don't make it permanent-local.
2761 (which-func-ff-hook): Allow which-func-maxout to be nil.
2762 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2763 (which-func-mode): Simplify.
2764 Use post-command-idle-hook rather than post-command-hook.
2765 Go through all buffers and update their state.
2766 (which-function): Also try add-log-current-defun-function.
2768 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2769 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2770 Update call to with-vc-properties accordingly.
2771 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2772 (vc-revert-buffer): More careful about window selection and deletion.
2773 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2775 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2776 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2777 (cvs-dired-action): Change the default to quickdir.
2779 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2780 if comment-indent-function returns nil.
2781 (comment-indent-default): New function.
2782 (comment-indent-function): Use it and document the new semantics.
2784 * image-file.el: Docstring fixes.
2786 * help.el (help-xref-on-pp): Use match-string.
2787 (describe-variable): New arg BUFFER.
2788 Store the current buffer in the help-xref-stack.
2789 (temp-buffer-resize-mode): Use define-minor-mode.
2791 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2792 consistently with its docstring.
2793 Set jit-lock-first-unfontify-pos in an idempotent way.
2794 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2796 2000-10-05 Alex Schroeder <alex@gnu.org>
2798 * sql.el (sql-mysql-options): New variable.
2799 (sql-mysql): Use it.
2801 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2803 * image.el (image): New group.
2805 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2806 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2808 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2810 * net/net-utils.el (nslookup-font-lock-keywords)
2811 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2812 Ignore the value of wqindow-system; always define keywords
2814 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2816 * startup.el (fancy-splash-screens): Remove the code for
2817 debugging; `(trace-to-stderr "EXITTT\n")'.
2819 2000-10-05 Miles Bader <miles@gnu.org>
2821 * diff-mode.el (diff-goto-source): Update call to
2822 `diff-hunk-status-msg' to reflect new REV variable.
2824 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2826 * progmodes/icon.el (icon-mode):
2827 Don't gratuitously override the default for comment-column.
2829 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2831 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2832 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2833 (jit-lock-functions): New var.
2834 (jit-lock-function-1): Use it if non-nil.
2835 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2836 Set the `fontified' property before doing the fontification to avoid
2837 repeatedly going through the same error.
2838 Don't turn errors into messages.
2839 (jit-lock-register, jit-lock-unregister): New functions.
2841 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2842 Use with-current-buffer.
2844 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2845 Turn comment into docstring.
2847 * apropos.el (apropos-mode): Use define-derived-mode.
2849 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2851 * startup.el (fancy-splash-pending-command): New variable.
2852 (fancy-splash-pre-command): New function.
2853 (fancy-splash-screens): Rewritten.
2854 (command-line-1): If fancy-splash-pending-command is set, call it
2857 2000-10-04 Dave Love <fx@gnu.org>
2859 * toolbar/tool-bar.el (tool-bar-setup): New function.
2860 (tool-bar-mode): Use it.
2862 * subr.el (substitute-key-definition): Doc fix.
2863 (play-sound-file): New command.
2865 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2867 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2868 vc-version-backup-file-name): New functions.
2870 * files.el (basic-save-buffer): Call vc-before-save before saving.
2872 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2873 vc-cvs-stay-local-p.
2875 * vc.el (vc-revert-buffer): Handle empty diff properly.
2876 (vc-version-backup-file): New function.
2877 (vc-checkout): Create a version backup if necessary.
2878 (vc-checkin): If a version backup file exists, delete it.
2879 (vc-version-diff): Diff locally using version backups, if available.
2880 (vc-revert-file): If there's a version backup, revert locally.
2881 (vc-transfer-file): Use version backup for base version, if
2882 available. If not, ask for confirmation whether to get it from the
2883 server. Update mode line before check-in.
2885 2000-10-04 Dave Love <fx@gnu.org>
2887 * toolbar/tool-bar.el (tool-bar-setup): New function.
2888 (tool-bar-mode): Use it.
2890 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2892 * net/net-utils.el (nslookup-font-lock-keywords)
2893 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2894 Only set if window-system is non-nil
2895 (net-utils-run-program): Returns buffer.
2896 (network-connection-reconnect): Added this function.
2899 Incorporates extensive cleanup and docfixes by
2900 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2901 Uses cl compile-time macros.
2902 (generic-mode-name, generic-comment-list)
2903 (generic-keywords-list, generic-font-lock-expressions)
2904 (generic-mode-function-list, generic-mode-syntax-table):
2906 (generic-mode-alist): Renamed to generic-mode-list.
2907 (generic-find-file-regexp): Default changed to "^#".
2908 (generic-read-type): Uses completing read on generic-mode-list.
2909 (generic-mode-sanity-check): removed this function.
2910 (generic-add-to-auto-mode): Removed this function
2911 (generic-mode-internal): Bind mode-specific definitions
2912 into function instead of putting them in alist.
2913 (generic-mode-set-comments): Reworked extensively.
2914 (generic-mode-find-file-hook): Simplified regexp searching
2915 (generic-make-keywords-list): Omit extra pair of parens
2917 * find-lisp.el (find-lisp-find-files-internal):
2918 Make sure directory name ends with "/".
2920 * generic-x.el (apache-conf-generic-mode):
2921 Regexp now allows leading whitespace.
2922 (rc-generic-mode): Added eval-when-compile
2923 around generic-make-keywords-list.
2924 Deleted duplicate regexp
2925 (rul-generic-mode): Added eval-when-compile
2926 around generic-make-keywords-list.
2927 (etc-fstab-generic-mode): New generic mode.
2928 (rul-generic-mode): Removed one eval-when-compile
2929 which caused a max-specpdl-size exceeded error.
2931 2000-10-04 Miles Bader <miles@gnu.org>
2933 * simple.el (minibuffer-temporary-goal-position): New variable.
2934 (next-history-element): Try to keep the position of point in the
2935 input string constant.
2937 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2938 (dired-do-create-files): If there's only one file, pass it in as
2939 the DEFAULT arg to dired-mark-read-file-name.
2941 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2943 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2944 (diff-goto-source): Be smarter when choosing REVERSE or not.
2946 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2947 (texinfo-mode-menu): Add an explicit shortcut for update all.
2949 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2951 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2952 factorize backend-specific code cleanly (this was essentially
2953 conceived by Stefan Monnier).
2954 (vc-unregister): Function removed.
2955 (vc-revert-file): New function.
2956 (vc-revert-buffer): Delegate some of the work to it.
2958 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2959 default branch unconditionally.
2960 (vc-rcs-set-default-branch): New function.
2961 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2962 (vc-rcs-checkin): If an appropriate default branch has been set,
2963 force creation of that branch.
2964 (vc-rcs-receive-file): Rewritten to contain only backend-specific
2965 code (as suggested by Stefan Monnier).
2967 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2969 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2970 highlighting overlay with a different face over the overlay
2971 isearch uses to highlight the current match because that can lead
2972 to bad face combinations.
2974 * loadup.el (toplevel): Load faces before isearch.
2976 * isearch.el (isearch-faces): New custom group.
2977 (isearch): New defface; was already tested for in the code.
2978 (isearch-lazy-highlight-face): Changed to defface from defcustom.
2979 (isearch-highlight): Always use face `isearch'.
2981 2000-10-02 Dave Love <fx@gnu.org>
2983 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2984 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
2985 comparison of opcode with operand.
2987 2000-10-03 Miles Bader <miles@gnu.org>
2989 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2990 buffer, since the echo area will now grow to accommodate them.
2992 2000-10-02 Andre Spiegel <spiegel@gnu.org>
2994 * vc-hooks.el (vc-registered): If FILE used to be registered under
2995 a certain backend, try that one first.
2997 * vc.el (vc-responsible-backend): Undo the previous change in the
2998 argument list. Handle multiple backends correctly.
2999 (vc-find-new-backend): Function removed.
3000 (vc-register): Use vc-responsible-backend, as before.
3001 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
3003 2000-10-02 Gerd Moellmann <gerd@gnu.org>
3005 * startup.el (fancy-splash-head): Change message below the
3008 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
3010 * diff-mode.el (diff-goto-source): Emit a status message.
3011 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
3012 (diff-test-hunk): Fix doc string.
3013 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
3014 (diff-advance-after-apply-hunk): New variable.
3015 (diff-apply-hunk): Don't return a value.
3017 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
3019 * vc.el (vc-editable-p): Minor optimization.
3020 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
3021 (vc-find-new-backend): New function split from vc-responsible-backend.
3022 (vc-register): Use it.
3023 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
3024 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
3025 (vc-default-unregister, vc-revert-buffer): Docstring fix.
3026 (vc-clear-headers): Don't use find-file.
3027 (vc-revert-buffer): Use `and' again (must have been a braino).
3028 (vc-switch-backend): Only prompt if requested.
3029 Short circuit if nothing is to be done.
3030 Don't use vc-resynch-buffer which could lose unsaved editing.
3031 (vc-default-receive-file): Update call to vc-unregister.
3032 (with-vc-file, vc-next-action-on-file):
3033 Use vc-backend rather than vc-registered.
3034 (vc-next-action-on-file): Use intern-soft.
3035 Deal with read-only *vc-diff* buffer.
3036 (vc-transfer-file): Docstring fix.
3038 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
3039 (vc-rcs-receive-file): Avoid with-vc-properties.
3040 Update call to vc-unregister.
3041 Use constant `RCS' rather than (dynamically bound) var `backend'.
3043 2000-10-01 Andre Spiegel <spiegel@gnu.org>
3045 * vc.el (vc-next-action-on-file): Update mode line only if file
3047 (vc-start-entry): New argument initial-contents. Don't visit the file
3048 if it isn't already visited. Brought documentation up-to-date.
3049 (vc-next-action, vc-register): Updated calls to vc-start-entry.
3050 (vc-checkin): New optional arg initial-contents, which is passed to
3052 (vc-finish-logentry): Make sure to bury log buffer only if there
3053 really is one. Call `vc-resynch-buffer' on log-file, not
3055 (vc-default-comment-history, vc-default-wash-log): New functions.
3056 (vc-index-of): Removed.
3057 (vc-transfer-file): Make do without the above.
3058 (vc-default-receive-file): Call comment-history unconditionally. Pass
3059 the resulting string to vc-checkin, instead of inserting it into the
3062 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
3063 unconditionally. Use the comments as initial contents of the log
3064 entry buffer. Document the trick to force branch creation with no
3067 2000-10-01 Miles Bader <miles@gnu.org>
3069 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
3070 `recenter' with an arg to prevent redrawing the display.
3072 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
3074 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
3076 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
3078 * progmodes/c-mode.el (c-mode):
3079 Don't gratuitously override the default for comment-column.
3081 * textmodes/tex-mode.el (latex-metasection-list): New var.
3082 (latex-imenu-create-index): Use it.
3083 Move the regexp construction outside loops (and use push).
3084 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
3085 (tex-font-lock-keywords): Moved from font-lock.el.
3086 (tex-comment-indent): Remove.
3087 (tex-common-initialization): Don't set comment-indent-function.
3088 (latex-block-default): New var.
3089 (tex-latex-block): Use it to provide a default choice.
3090 Add any unknown choice to latex-block-names.
3091 Insert [...] after {...}.
3092 (tex-last-unended-begin): Simplify regexp.
3093 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
3094 (latex-forward-sexp-1, latex-forward-sexp): New functions.
3095 (latex-mode): Set forward-sexp-function.
3097 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
3098 Add regexp for @ignore ... @end ignore.
3099 (texinfo-heading-face): New face.
3100 (texinfo-font-lock-keywords): Use it.
3101 (texinfo-mode-menu): New menu.
3102 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
3104 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
3105 (texinfo-section-types-regexp, texinfo-section-level-regexp)
3106 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
3108 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
3110 * delsel.el (delete-selection-mode): Use define-minor-mode.
3112 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
3114 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3116 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
3118 2000-09-30 Gerd Moellmann <gerd@gnu.org>
3120 * replace.el (keep-lines-read-args): New function.
3121 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
3122 read arguments interactively. Add parameters RSTART and REND.
3123 Operate on the active region in Transient Mark mode.
3125 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
3127 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
3128 (authors-obsolete-files-regexps): New variable.
3129 (authors-add): Don't record changes in obsolete files.
3131 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3133 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
3135 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
3136 (comment-indent): Make sure there's a space between code and comment.
3137 Shift comments left to avoid going past fill-column.
3139 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3141 * startup.el (startup-echo-area-message): New function.
3142 (display-startup-echo-area-message): Use it.
3143 (fancy-splash-screens): Rewritten to use keymaps and a timer.
3144 (fancy-splash-default-action): New function.
3145 (fancy-splash-screens-1): New function.
3146 (fancy-splash-head): Put a help-echo and a keymap under the image.
3148 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3150 * diff-mode.el (diff-add-log-file-name): Remove.
3151 (diff-mode): Use add-log-buffer-file-name-function.
3153 * add-log.el (find-change-log): New arg BUFFER-FILE.
3154 (add-log-file-name): Obey add-log-file-name-function.
3155 (add-log-buffer-file-name-function): New var.
3156 (add-change-log-entry): Use it.
3158 2000-09-29 Miles Bader <miles@gnu.org>
3160 * image-file.el (image-file-name-extensions): New variable.
3161 (image-file-name-regexps): Renamed from `image-file-regexps'.
3162 New default value is nil. Call `auto-image-file-mode'.
3163 (image-file-name-regexp): New function.
3164 (auto-image-file-mode): New minor mode.
3165 (insert-image-file): Don't make conditional on the image-file
3166 handler being enabled.
3167 (image-file-handler): Make the call here conditional instead.
3168 (set-image-file-handler-enabled, enable-image-file-handler)
3169 (disable-image-file-handler): Functions removed.
3171 * emacs-lisp/authors.el (authors-print): Rephrase many-files
3174 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3176 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
3177 it's a function from CL.
3178 (latex-imenu-create-index): Replace eval-when-compile with progn
3179 because latex-section-alist is not bound while compiling.
3181 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3183 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
3184 (outline-mode): Use define-derived-mode.
3186 * progmodes/perl-mode.el (perl-mode):
3187 * progmodes/awk-mode.el (awk-mode):
3188 * progmodes/asm-mode.el (asm-mode):
3189 Don't gratuitously override the default for comment-column.
3191 * emacs-lisp/lisp.el (lisp-complete-symbol):
3192 Distinguish the let-binding case from the funcall case.
3193 (forward-sexp-function): New variable.
3194 (forward-sexp): Use it.
3196 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
3197 (easy-mmode-defmap): Remove the now useless autoload.
3199 * time.el (display-time-mode): Use define-minor-mode.
3201 * subr.el (add-minor-mode): Don't eval NAME.
3202 Don't depend on the presence of TOGGLE-FUN for any special behavior.
3203 Use if rather than cond.
3205 * simple.el (read-expression-map): Define more properly.
3206 (comment-indent-hook): Remove.
3207 (string-to-syntax): Bug fix.
3209 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
3210 (cvs-ediff-diff): Fix typo.
3211 (cvs-revert-if-needed): Don't bother preserving read-only.
3213 * paren.el (show-paren-mode): Use define-minor-mode.
3215 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
3216 (toggle-auto-compression): Remove.
3217 (jka-compr-build-file-regexp): Remove useless grouping.
3219 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
3220 Avoid user-reserved bindings.
3221 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
3222 (diff-header-face): Revert to grey85.
3224 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
3226 * complete.el (partial-completion-mode) <defcustom>: Remove.
3227 (partial-completion-mode): Use define-minor-mode.
3228 (PC-do-completion): Understand `completion-auto-help = delay'
3229 to mean to popup the completion buffer only the second time.
3230 (PC-include-file-all-completions, PC-include-file-all-completions)
3231 (PC-include-file-all-completions): Don't quote lambda.
3233 * comint.el (comint-mode-hook): Docstring fix.
3234 (comint-mode): Use define-derived-mode.
3235 (comint-mode-map): Remove obsolete comment.
3236 (make-comint): Minor stylistic change.
3237 (comint-insert-clicked-input): Be more careful to find the overlay.
3238 Use this-command-keys rather than hardcoding mouse-2.
3240 * font-lock.el: Replace confusing (,@ with ,
3241 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
3242 Don't use regexp-opt-depth. Spice up the regexp for args.
3243 Don't distinguish between cmds that can take an opt arg or not.
3244 Use `append' and `prepend' rather than `keep'.
3246 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
3247 (latex-outline-regexp): New var.
3248 (latex-outline-level): New fun.
3249 (latex-section-alist): New var.
3250 (latex-imenu-create-index): Use it. Use `push' as well.
3251 (tex-shell-map): Initialize it properly.
3252 (tex-mode): Minor stylistic change.
3253 (plain-tex-mode): Use define-derived-mode.
3254 (latex-mode): Use define-derived-mode.
3255 Construct the paragraph regexps in a more readable way.
3256 Set the buffer-local outline-{level,regexp} vars.
3257 (slitex-mode): Derive from latex-mode.
3258 (tex-common-initialization): Don't kill-all-vars anymore.
3259 Add setting for comment-add and font-lock-defaults.
3260 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
3261 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
3262 (tex-start-tex): New arg DIR (and send a chdir command for it).
3263 Also display the shell buffer and save it in tex-last-buffer-texed.
3264 (tex-region): Use expand-file-name rather than concat.
3265 Remove code made useless by changes in tex-start-tex.
3266 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
3268 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
3270 2000-09-28 Dave Love <fx@gnu.org>
3272 * eshell/eshell.el (eshell) <defgroup>: Add :version.
3274 2000-09-28 Gerd Moellmann <gerd@gnu.org>
3276 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
3279 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3281 * info.el (Info-extract-pointer): Undo last change.
3282 Instead, fix the position of the `bound' arg to re-search-backward.
3284 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
3286 * info.el (Info-extract-pointer):
3287 Widen more carefully, to avoid finding pointers in other nodes.
3288 (Info-index): Use push.
3290 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3292 * frame.el (set-frame-font): Remove call to obsolete function
3294 (set-foreground-color, set-background-color): Likewise for
3295 frame-update-face-colors.
3297 2000-09-27 Miles Bader <miles@gnu.org>
3299 * image-file.el: New file.
3301 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3303 * frame.el (frame-notice-user-settings): Don't call
3304 frame-update-faces, which is a no-op now.
3306 * ediff-wind.el (ediff-control-frame-parameters): Add zero
3309 2000-09-27 Dave Love <fx@gnu.org>
3311 * mouse.el: Fix last change.
3313 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
3315 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
3317 2000-09-22 Kenichi Handa <handa@etl.go.jp>
3319 * international/quail.el (quail-help): The output message is
3322 2000-09-26 Dave Love <fx@gnu.org>
3324 * mouse.el (popup-menu): If POSITION is nil, set it using
3327 2000-09-25 Sam Steingold <sds@gnu.org>
3329 * net/browse-url.el (browse-url-file-url): Check for null maps.
3331 2000-09-26 Gerd Moellmann <gerd@gnu.org>
3333 * frame.el (frame-notice-user-settings): Don't add a
3334 tool-bar-lines frame parameter to default-frame-alist in batch mode.
3336 * frame.el (frame-notice-user-settings):
3337 Make tool-bar-mode and default-frame-alist consistent.
3339 * toolbar/tool-bar.el (tool-bar-help): New function.
3341 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3343 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
3344 current-load-list in top-level forms. Else this leaks a cons cell
3345 every time a defun is called.
3347 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
3349 2000-09-25 Dave Love <fx@gnu.org>
3351 * startup.el (fancy-splash-head): Check XPM is available.
3353 * autoinsert.el (auto-insert): Doc fix.
3354 (auto-insert-alist): Following GNU notices, don't say `copyright
3355 _by_'. Use line-beginning-position.
3356 (auto-insert): Check buffer-file-name is non-nil before use.
3358 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3360 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
3361 starting with `@def' or `@multitable', in addition to ones
3362 specified by the user in auto-fill-inhibit-regexp.
3364 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
3366 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
3367 rmail-dont-reply-to-names matches the empty string.
3369 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3371 * startup.el (command-line-1, fancy-splash-text): Change the
3372 text to sound more friendly.
3374 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
3376 * progmodes/hideshow.el: Update author email address.
3377 Generally, sync w/ maintainer version 5.22.
3378 (hs-hide-all-non-comment-function): New var.
3379 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
3380 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
3381 (hs-show-region): Delete this command.
3382 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
3384 2000-09-22 Dave Love <fx@gnu.org>
3386 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
3387 (hl-line-highlight): Specify buffer when moving overlay.
3389 * progmodes/fortran.el (fortran-mode): Locally set
3390 normal-auto-fill-function.
3391 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
3392 (fortran-mode-map): Adjust auto-fill menu entry.
3394 2000-09-22 Gerd Moellmann <gerd@gnu.org>
3396 * vc-rcs.el (toplevel): Require `vc' when compiling.
3398 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
3400 2000-09-22 Andre Spiegel <spiegel@gnu.org>
3402 * vc.el (vc-switch-backend): Signal an error if the file is not
3403 registered under the new backend.
3405 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
3406 without explicit revision number.
3408 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
3410 * diff-mode.el (diff-file-header-face): Reset to its previous value.
3411 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
3412 (diff-xor): New function.
3413 (diff-find-source-location): Use it. Fix a stupid name clash.
3414 (diff-hunk-status-msg): New function.
3415 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
3416 (diff-test-hunk): Use diff-find-source-location.
3417 (diff-goto-source): Favor the `reverse'.
3418 (diff-hunk-text): Properly handle one-sided context diffs.
3419 (diff-apply-hunk): When done, advance to the next hunk.
3421 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3423 * startup.el (command-line): If frame was created with a non-zero
3424 tool-bar-lines parameter, switch tool-bar-mode on.
3426 * add-log.el (change-log-date-face, change-log-name-face)
3427 (change-log-email-face, change-log-file-face)
3428 (change-log-list-face, change-log-conditionals-face)
3429 (change-log-function-face, change-log-acknowledgement-face):
3430 New faces, inheriting from font-lock faces.
3431 (change-log-font-lock-keywords): Use them.
3433 2000-09-21 Dave Love <fx@gnu.org>
3435 * progmodes/cperl-mode.el (top-level): Clean up
3436 `eval-when-compile's and assorted defvars.
3437 (cperl-invalid-face): Don't double-quote value. Change custom
3439 (cperl-mode): Set normal-auto-fill-function and don't zap
3441 (cperl-imenu--function-name-regexp-perl): Renamed from
3442 imenu-example--function-name-regexp-perl.
3443 (cperl-imenu--create-perl-index): Renamed from
3444 imenu-example--create-perl-index.
3445 (cperl-xsub-scan): Don't require cl.
3447 * msb.el (msb-mode-map): Use substitute-key-definition.
3448 (msb-mode): Use msb-mode-map.
3450 2000-09-21 Andre Spiegel <spiegel@gnu.org>
3452 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
3454 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
3455 (vc-switch-backend): New function.
3456 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
3457 (vc-register): Fix prompt.
3458 (vc-unregister, vc-default-unregister): New functions.
3459 (vc-version-diff): Handle empty buffer in sentinel.
3461 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
3462 (vc-rcs-state-heuristic): Use it to guess the state of files with
3464 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
3465 been set with -b, but not created yet.
3466 (vc-rcs-fetch-master-state): With non-strict locking, compare file
3467 contents in order to find the state.
3468 (vc-rcs-checkin): Allow creation of branches with no changes.
3469 (vc-rcs-unregister, vc-rcs-receive-file)
3470 (vc-rcs-set-non-strict-locking): New functions.
3472 * vc-hooks.el (vc-name): Force correct computation of the value
3473 in case it is missing.
3475 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3477 * startup.el (fancy-splash-tail): Use a different foreground
3478 color on a dark frame background.
3480 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
3482 * info.el: Use the correct capitalization when making Info-mode
3483 and Info-edit-mode `special' modes.
3485 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
3487 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
3488 (diff-mode): Add support for add-log.el.
3489 (diff-hunk-text): Use char offsets rather than line offsets.
3490 (diff-find-source-location): Replace LINE with line-offset (nil
3491 if not found) and always set POS to a meaningful position.
3492 Adapt to the new char-offsets.
3493 (diff-apply-hunk): Drop support for the unused `select' POPUP.
3494 Adapt to the new diff-find-source-location.
3495 (diff-goto-source): Adapt to the new diff-find-source-location.
3497 * add-log.el (add-log-file-name): New function (split out of
3498 add-change-log-entry).
3499 (add-change-log-entry): Use it.
3500 Call add-log-file-name-function with the changelog file name if
3501 the current buffer is not associated with any file.
3502 Avoid find-file if the selected window is dedicated.
3504 * diff-mode.el (diff-find-source-location):
3505 Move code from diff-apply-hunk. Return buffer rather than file.
3506 (diff-apply-hunk): Use the new result from diff-find-source-location.
3507 (diff-goto-source): Use the new diff-find-source-location.
3509 2000-09-20 Dave Love <fx@gnu.org>
3511 * iswitchb.el: Some doc fixes.
3512 (iswitchb-mode-map): Define completely initially. Inherit
3513 minibuffer-local-map.
3514 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3516 (iswitchb-global-map): New variable.
3517 (iswitchb-summaries-to-end): Amalgamate regexps.
3518 (iswitchb-mode): New.
3519 (iswitchb-mode-hook): New variable.
3520 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
3523 2000-09-20 Gerd Moellmann <gerd@gnu.org>
3525 * ehelp.el (electric-help): New defgroup.
3526 (electric-help-shrink-window): New user-option.
3527 (with-electric-help): Use it.
3529 * window.el (shrink-window-if-larger-than-buffer): If face
3530 `mode-line' has a :box, and we're on a graphical frame, add 1
3531 to the needed window height.
3533 * frame.el (frame-notice-user-settings): Add a last parameter nil
3534 to a call to `append', because the last list passed to `append' is
3535 not copied, and so subsequent calls to assq-delete-all will modify
3536 default-frame-alist.
3538 * startup.el (fancy-splash-image): Change :type.
3539 (fancy-splash-head): Use an XBM image if appropriate.
3540 (command-line-1): Show splash screens in more cases.
3542 * startup.el (fancy-splash-text): Don't quote faces.
3544 * dired.el (dired-font-lock-keywords): Undo last change.
3545 (dired-readin): Bind indent-tabs-mode to nil.
3547 * startup.el (fancy-splash-head): If frame's background mode
3548 is `dark', change the black background of the image to gray.
3549 (fancy-splash-screens): Display startup echo area message.
3550 (display-startup-echo-area-message): New function.
3552 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
3554 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3556 * info.el (info-header-node): Tweak for color ttys.
3558 * faces.el (face-valid-attribute-values): Make sure directories we
3559 search for stipples both exist and are readable before trying to
3562 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3563 in the dry-run case.
3565 * jka-compr.el (with-auto-compression-mode): New macro.
3567 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3568 (custom-group-tag-face, custom-variable-tag-face): Use relative
3569 :height and inherit from `variable-pitch' face instead of
3571 * hi-lock.el (hi-black-hb): Likewise.
3573 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3574 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3575 toolbar-add-item, if image doesn't have a mask add a `:mask
3578 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3580 * diff-mode.el: Docstring fixes.
3581 (diff-header-face, diff-comment-face): New faces.
3582 (diff-font-lock-keywords): Highlight a bit differently.
3583 (diff-find-source-location): Don't return SPAN any more.
3584 (diff-hunk-text): Don't bother erasing the temp buffer.
3585 (diff-find-text): Drop argument LINE.
3586 (diff-apply-hunk): Update calls to diff-find-text.
3587 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3589 * calendar/calendar.el: Docstring fixes.
3590 (calendar-make-alist): Don't quote lambda.
3591 (calendar-star-date): Use make-local-variable.
3593 2000-09-19 Dave Love <fx@gnu.org>
3595 * toolbar/tool-bar.el: Renamed from toolbar.el.
3596 Change `toolbar' to `tool-bar' generally in symbols.
3597 Make some items invisible in `special' major modes.
3598 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3601 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3603 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3605 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3607 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3609 * files.el (find-file-suppress-same-file-warnings): New user-option.
3610 (find-file-noselect): Use it.
3612 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3613 (fancy-splash-screen): Defgroup.
3615 * add-log.el (change-log-font-lock-keywords): Match names
3616 more exactly for the case that font-lock-constant-face is
3619 2000-09-19 Richard M. Stallman <rms@gnu.org>
3621 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3623 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3625 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3627 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3629 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3630 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3631 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3632 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3633 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3634 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3635 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3636 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3637 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3638 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3639 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3640 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3642 * startup.el (fancy-splash-text): New variable.
3643 (fancy-splash-delay, fancy-splash-image): New user-options.
3644 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3645 (fancy-splash-screens): New functions.
3646 (command-line-1): If display has a `display' frame parameter, has
3647 colors, and we have XPM support, show more fancy splash screens.
3649 2000-09-19 Dave Love <fx@gnu.org>
3651 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3652 with null `help'. Use modern backquote syntax.
3654 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3656 * font-lock.el (font-lock-mode): Change message telling the user
3657 that ``the buffer is too big''.
3659 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3660 for instance for the case that tab-width is 2.
3662 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3664 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3665 toolbar-add-item, if image doesn't have a mask add a `:mask
3668 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3670 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3671 and return a cons if it's non-nil.
3672 (diff-apply-hunk): Try to jump to the line in the source text
3673 corresponding to the position of point in the in the hunk.
3675 * info.el (Info-title-3-face, Info-title-2-face)
3676 (Info-title-1-face): Use face inheritance and relative sizes
3677 instead of hard-wiring things.
3679 * faces.el (secondary-selection): Make dark-background variant sane.
3681 2000-09-16 Andrew Innes <andrewi@gnu.org>
3683 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3684 read-only, since they aren't under VC now.
3686 2000-09-17 Dave Love <fx@gnu.org>
3688 * tmm.el: Replace mapcar with mapc in several places.
3690 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3693 * international/latin1-disp.el: New file.
3695 * calendar/cal-move.el (scroll-calendar-left)
3696 (scroll-calendar-right): Make arg optional (for active mode line).
3698 * calendar/calendar.el (calendar-mode-line-format): Make fields
3700 (calendar-read-date, calendar-read-date, calendar-window-list):
3702 (calendar-month-name): Use aref, not sref.
3704 * view.el (minor-mode-alist): Propertize the string.
3706 * international/characters.el (standard-case-table): Add entries
3709 2000-09-18 Miles Bader <miles@gnu.org>
3711 * info.el (info-node, info-xref): Add dark-background variants.
3713 * faces.el (header-line): Change defaults to be less confusing
3714 when mixed with mode-lines.
3716 * info.el (Info-fontify-node): Make a few cleanups.
3717 Add extra `help-echo' and `local-map' props to node xrefs.
3718 Use header-specific faces for node-names & xrefs.
3719 (Info-use-header-line): New variable.
3720 (info-header-xref, info-header-node): New faces.
3721 (Info-setup-header-line): New function.
3722 (Info-select-node): Call Info-setup-header-line when enabled.
3723 (Info-extract-pointer): Work even if the header line is hidden.
3724 (Info-header-line): New variable.
3726 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3728 * vms-patch.el (print-region-function): Don't quote lambda.
3730 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3732 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3733 (lm-get-header-re): Allow spaces between the header and the colon.
3734 (lm-header): Allow $ in non-RCS headers.
3735 (lm-header-multiline): Put the strings back into order.
3736 Stop at an empty line. Don't require two space chars if the
3737 line is clearly not another header line.
3739 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3740 (popup-menu-popup): Remove.
3742 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3744 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3745 specification if or if not tool-bar item contains an `:enabled'
3748 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3749 current buffer has no file name.
3751 2000-09-15 Dave Love <fx@gnu.org>
3753 * strokes.el: Sync with maintainer's current version with changes
3754 for Emacs, but avoid runtime cl and levents.
3755 (toplevel): Change autoloads and compilation requires.
3756 (strokes-version, strokes-bug-address, strokes-lift): Values
3758 (strokes-xpm-header, strokes-insinuated): New variable.
3759 (strokes): Add :link.
3760 (strokes-mode): Customized.
3761 (strokes-while-inhibiting-garbage-collector): New macro.
3762 (strokes-remassoc): Avoid remove-if.
3763 (strokes-fix-button2-command): Don't use ad-do-it.
3764 (strokes-insinuate): New function.
3765 (strokes-button-press-event-p, strokes-button-release-event-p):
3766 New functions, used instead of non-`strokes-' versions..
3767 (strokes-mouse-event-p): Rewritten.
3768 (strokes-event-closest-point): Avoid event-point.
3769 (strokes-get-grid-position): Avoid cdadr, caadr
3770 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3772 (strokes-help): Use with-output-to-temp-buffer.
3773 (strokes-window-configuration-changed-p): New function.
3774 (strokes-update-window-configuration): Use buffer-live-p,
3775 strokes-window-configuration-changed-p.
3776 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3777 (strokes-char-face): New face.
3778 (strokes-char-table, strokes-base64-chars): New variable.
3779 (strokes-xpm-for-stroke, strokes-list-strokes)
3780 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3781 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3782 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3783 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3784 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3787 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3789 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3791 * image.el (create-image): Doc fix.
3793 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3794 instead of `:heuristic-mask t'.
3796 2000-09-14 Andrew Innes <andrewi@gnu.org>
3798 * makefile.w32-in: Revert to Unix line endings.
3800 2000-09-14 Andrew Innes <andrewi@gnu.org>
3802 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3805 * makefile.nt (DONTCOMPILE): Fix typo.
3807 * shell.el (shell-write-history-on-exit): New function.
3808 (shell-dumb-shell-regexp): New custom variable.
3809 (shell-mode): Make shell-write-history-on-exit the process
3810 sentinel if shell name matches shell-dumb-shell-regexp.
3812 * w32-fns.el: Comment out before-init-hook function which resets
3813 source-directory based; this breaks bootstrap.
3815 2000-09-14 Dave Love <fx@gnu.org>
3817 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3818 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3819 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3820 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3821 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3822 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3823 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3824 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3825 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3827 * toolbar/toolbar.el: New.
3829 * subdirs.el: Add toolbar.
3831 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3833 * indent.el (indent-for-tab-command): Doc fix.
3835 2000-09-14 Alex Schroeder <alex@gnu.org>
3837 * ansi-color.el (ansi-colors): Doc change.
3838 (ansi-color-get-face): Simplified regexp.
3839 (ansi-color-faces-vector): Added more faces, doc change.
3840 (ansi-color-names-vector): Doc change.
3841 (ansi-color-regexp): Simplified regexp.
3842 (ansi-color-parameter-regexp): New regexp.
3843 (ansi-color-filter-apply): Doc change.
3844 (ansi-color-filter-region): Doc change.
3845 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3846 deal with zero length parameters.
3847 (ansi-color-apply-on-region): Doc change.
3848 (ansi-color-map): Doc change.
3849 (ansi-color-map-update): Removed debugging message.
3850 (ansi-color-get-face-1): Added condition-case to trap
3851 args-out-of-range errors.
3852 (ansi-color-get-face): Doc change.
3853 (ansi-color-make-face): Removed.
3854 (ansi-color-for-shell-mode): New option.
3856 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3858 * international/quail.el (quail-start-translation): Translate KEY
3859 if necessary even if it doesn't have any mapping in the current
3861 (quail-start-conversion): Likewise.
3862 (quail-help): The output message is improved.
3864 2000-09-13 Miles Bader <miles@gnu.org>
3866 * comint.el (comint-output-filter): Revert to using
3867 `insert-before-markers'. Add bletcherous hack to undo damage
3868 caused by `insert-before-markers'. Put `front-sticky' property on
3869 overlays created here so that the field code understands how the
3870 overlay works. Use a let when making comint-last-prompt-overlay,
3871 so that the code is easier to read.
3873 2000-09-13 Dave Love <fx@gnu.org>
3875 * wid-edit.el (widget-default-format-handler): DTRT when
3876 doc-property is a function.
3878 2000-09-12 Francesco Potorti` <pot@gnu.org>
3880 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3881 filed name if it's not there.
3883 2000-09-12 Dave Love <fx@gnu.org>
3885 * simple.el (read-mail-command): Doc fix.
3886 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3888 * vc.el (vc-dired-listing-switches): Fix :version.
3890 * vc-hooks.el: Doc fixes.
3892 * subr.el (add-minor-mode): Use toggle-fun arg.
3894 * speedbar.el: Add :version to several defcustoms.
3896 * imenu.el (imenu--truncate-items, imenu--cleanup)
3897 (imenu--generic-function): Avoid mapcar.
3898 (imenu--replace-spaces): Function removed.
3899 (imenu--completion-buffer): Use subst-char-in-string.
3900 (imenu-add-to-menubar): Use keymap inheritance.
3902 2000-09-12 Miles Bader <miles@gnu.org>
3904 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3905 (diff-mode-map): Bind `diff-test-hunk'.
3906 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3908 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3910 * bytecomp.el (byte-compile-defvar): Undo last change
3911 because it breaks '(make-variable-buffer-local (defvar ...)'
3912 which is used at least in dired.
3914 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3916 * international/quail.el (quail-define-package): Docstring
3919 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3921 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3922 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3923 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3924 docstring of "chinese-py".
3926 * international/quail.el (quail-translation-docstring): New
3928 (quail-show-keyboard-layout): Docstring modified.
3929 (quail-select-current): Likewise.
3930 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3931 infinite recursive call.
3932 (quail-help): Check quail-translation-docstring. Format of the
3934 (quail-help-insert-keymap-description): Adjusted for the above
3937 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3939 * bytecomp.el (byte-compile-defvar): Only cons onto
3940 current-load-list in top-level forms. Else this leaks a cons cell
3941 every time a defun is called.
3943 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3945 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3946 Now understands non-unified diffs. Some functionality moved into
3947 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3948 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3949 modify anything. Only reposition point in the patched file if the
3950 patch succeeds. Only pop up another window if POPUP is true.
3951 Emit a message describing what happened if successful, and at what
3952 line-offset. Automatically detect reversed hunks and do something
3954 (diff-hunk-text, diff-find-text): New functions.
3955 (diff-filter-lines): Function removed.
3956 (diff-test-hunk): New function.
3957 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3959 2000-09-10 Dave Love <fx@gnu.org>
3961 * textmodes/tildify.el: Minor doc/commentary fixes.
3962 (tildify) <defgroup>: Add :version.
3964 * faces.el (face-x-resources): Make custom type more specific.
3965 (frame-background-mode): Use mapc.
3966 (region) <defcustom>: Add :version.
3968 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
3970 * vc-sccs.el (vc-sccs-register):
3971 * vc-rcs.el (vc-rcs-register):
3972 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3973 * vc.el (vc-register): Clear file's properties.
3975 2000-09-08 Gerd Moellmann <gerd@gnu.org>
3977 * faces.el (face-spec-set): Only face-spec-reset-face when
3980 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3982 * help.el (help-insert-xref-button): Fix a typo in doc string.
3984 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
3986 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3987 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3990 * menu-bar.el (read-mail-item-name): New function.
3991 (menu-bar-tools-menu): Use it to compute and display the package
3993 (menu-bar-tools-menu): Fix typo in GUD's help string.
3995 2000-09-07 Dave Love <fx@gnu.org>
3997 * diff-mode.el (diff-mouse-goto-source): New function.
3999 * vc-sccs.el: Doc fixes.
4000 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
4002 * vc-rcs.el: Doc fixes.
4003 (vc-rcs-register-switches, vc-rcs-checkin-switches)
4004 (vc-rcs-checkout-switches, vc-rcs-header)
4005 (vc-rcs-master-templates): Add or change :version.
4007 * vc-cvs.el: Doc fixes.
4008 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
4009 (vc-cvs-stay-local): Add :version.
4011 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
4013 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4015 * international/quail.el (quail-help): Fix previous change.
4017 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4019 * faces.el (color-values): Doc fix.
4021 * faces.el (frame-set-background-mode): Use frame-parameter
4022 instead of frame-parameters.
4024 * frame.el (filtered-frame-list): Reduce consing.
4025 (frames-on-display-list): Call frame-parameter instead of
4028 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4030 * language/devan-util.el (devanagari-to-indian-region): In the
4031 loop, change the following char, not preceding char.
4033 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4035 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
4036 instead of frame-parameters.
4038 * faces.el (set-face-attribute): Simplify by calling
4039 internal-set-lisp-face-attribute with FRAME being 0.
4041 * vc.el: Remove `Id' version control keyword.
4043 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4045 * help.el (help-make-xrefs): Adjusted for the change of
4046 help-xref-mule-regexp.
4047 (help-insert-xref-button): New function.
4049 * international/mule-cmds.el (help-xref-mule-regexp-template):
4050 Include the pattern for character set.
4053 * international/quail.el: Don't require face.
4055 (quail-other-command): Dummy command to make quail-help work better.
4056 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
4057 (quail-keyboard-layout-substitution): New variable.
4058 (quail-update-keyboard-layout): New function.
4059 (quail-keyboard-layout-type): New customizable variable.
4060 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
4061 (quail-keyboard-translate): Pay attention to
4062 quail-keyboard-layout-substitution.
4063 (quail-insert-kbd-layout): New function.
4064 (quail-show-keyboard-layout): New function.
4065 (quail-get-translation): If the definition is a vector of length
4066 1, and the element is a string of length 1, return the character
4068 (quail-update-current-translations): Fix the case of
4069 relative-index out of range.
4070 (quail-build-decode-map, quail-insert-decode-map): New Functions.
4071 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
4072 Show key sequences for all available characters.
4073 (quail-help-insert-keymap-description): Don't show such verbose
4074 key bindings as quail-self-insert-command.
4076 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4077 Format changed, and each element now have extra documentations.
4078 (tit-process-header): Delete invalid characters from TIT-PROMPT.
4079 Adjusted for the change of quail-cxterm-package-ext-info.
4081 2000-09-06 Gerd Moellmann <gerd@gnu.org>
4083 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
4084 requiring it leads to a recursive loading of vc.el and vc-hooks.el
4087 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4089 * vc.el: (toplevel): Don't require `dired' at run-time.
4090 (vc-dired-resynch-file): Remove autoload cookie.
4092 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4094 * vc.el: Made several backend functions optional.
4095 (vc-default-responsible-p): New function.
4096 (vc-merge): Use RET for first version to trigger merge-news, not
4098 (vc-annotate): Handle backends that do not support annotation.
4099 (vc-default-merge-news): Removed. The existence of a merge-news
4100 implementation is now checked on caller sites.
4102 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
4105 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
4106 special case that has been removed from the default in vc-hooks.el.
4108 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4110 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
4112 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4114 * vc-hooks.el: Require vc during compilation.
4115 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
4116 macro `with-vc-properties' in vc.el.
4117 (vc-file-getprop): Doc fix.
4118 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
4120 * vc.el: Require dired-aux during compilation.
4121 (vc-name-assoc-file): Moved to vc-sccs.el.
4122 (with-vc-properties): New macro.
4123 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
4124 vc-finish-steal): Use it.
4125 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
4126 to the backend-specific function is now supposed to do the checkout,
4128 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
4130 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
4131 set file properties; that gets done in the generic code now.
4133 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
4134 Changed parameter list, added code from vc.el that does the
4135 checkout, possibly with a double-take.
4137 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
4138 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
4139 the above under the new name.
4140 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
4141 parameter list, added checkout command.
4142 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
4143 properties; that gets done in the generic code now.
4145 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4147 * vc.el: Docstring fixes (courtesy of checkdoc).
4149 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4151 * vc.el (vc-checkout-writable-buffer-hook)
4152 (vc-checkout-writable-buffer): Remove.
4153 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
4154 (vc-log-mode): Make it into a clean derived major mode.
4155 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
4156 vc-log-mode if log-edit is not available.
4157 (vc-dired-mode-map): Don't set-keymap-parent yet.
4158 (vc-dired-mode): Do set-keymap-parent here.
4159 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
4161 2000-09-05 Gerd Moellmann <gerd@gnu.org>
4163 * faces.el (set-face-attribute, face-spec-reset-face)
4164 (face-spec-set): Avoid consing by removing calls to `apply'.
4166 * frame.el (frame-parameter): Move to C code.
4168 2000-09-05 Dave Love <fx@gnu.org>
4170 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
4171 insert-before-markers-and-inherit. Now checked systematically!
4173 2000-09-05 Alex Schroeder <alex@gnu.org>
4175 * sql.el (sql-postgres): Use sql-postgres-options.
4176 (sql-postgres-options): New variable.
4178 2000-09-05 Alex Schroeder <alex@gnu.org>
4180 * sql.el (sql-mode-menu): Work around missing variable mark-active
4182 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
4183 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
4186 2000-09-04 Gerd Moellmann <gerd@gnu.org>
4188 * vc.el (vc-dired-resynch-file): Add autoload cookie.
4190 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
4192 * Makefile.in (DONTCOMPILE): Fix typo in file name.
4194 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4196 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
4197 don't support anything else under SCCS yet.
4199 * vc-hooks.el: Minor doc fixes.
4201 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4203 * vc.el (vc-next-action-on-file): Do not visit the file if it's
4204 not necessary. If verbose in state `needs-patch', do the same as
4205 under `up-to-date'. When NOT verbose and `needs-patch', check out
4206 latest version instead of `merge-news'.
4207 (vc-next-action-dired): Don't mess with default-directory here; it
4208 breaks other parts of dired. It is the job of the
4209 backend-specific functions to adjust it temporarily if they need it.
4210 (vc-next-action): Remove a special CVS case.
4211 (vc-clear-headers): New optional arg FILE.
4212 (vc-checkin, vc-checkout): Set properties vc-state and
4213 vc-checkout-time properly.
4214 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
4215 (vc-print-log): Use new backend function `show-log-entry'.
4216 (vc-cancel-version): Do the checks in a different order. Added a
4217 FIXME concerning RCS-only code.
4219 * vc-rcs.el (vc-rcs-show-log-entry): New function.
4220 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
4222 * vc-cvs.el (vc-cvs-show-log-entry): New function.
4224 * vc-hooks.el (vc-default-mode-line-string): Show state
4225 `needs-patch' as a `-' too.
4227 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4229 * vc.el (vc-responsible-backend): New optional arg REGISTER.
4230 (vc-default-could-register): New function.
4231 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
4232 (vc-resynch-buffer): Call vc-dired-resynch-file.
4233 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
4234 vc-resynch-buffer instead of vc-resynch-window.
4235 (vc-next-action-dired): Don't redisplay here, that gets done as a
4236 result of the individual file operations.
4237 (vc-retrieve-snapshot): Corrected prompt order.
4239 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
4241 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
4243 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
4244 hostname regexps. Updated all callers.
4245 (vc-cvs-responsible-p): Handle directories as well.
4246 (vc-cvs-could-register): New function.
4247 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
4248 properties up-to-date.
4250 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
4251 user whether to create one.
4253 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4255 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
4256 check out a non-existing file.
4258 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
4259 workfile does not exist.
4261 * vc.el (vc-version-diff): Use `require' to check for existence of
4264 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4266 * vc-cvs.el (vc-cvs-registered): Use new function
4267 vc-cvs-parse-entry to do the actual work.
4269 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4271 * vc-hooks.el (vc-find-backend-function): If function doesn't
4272 exist, return nil instead of error.
4273 (vc-call-backend): Doc fix.
4275 * vc.el (vc-do-command): Doc fix.
4276 (vc-finish-logentry): When checking in from vc-dired, choose the
4277 right backend for logentry check.
4278 (vc-dired-mode-map): Inherit from dired-mode-map.
4279 (vc-dired-mode): Local value of dired-move-to-filename-regexp
4281 (vc-dired-state-info): Removed, updated caller.
4282 (vc-default-dired-state-info): Use parentheses instead of hyphens.
4283 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
4284 (vc-dired-listing-switches): New variable.
4285 (vc-directory): Use it, instead of dired-listing-switches.
4287 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
4288 (vc-cvs-dir-state): New function.
4289 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
4290 (vc-cvs-parse-entry): New function, also to be used in
4293 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4295 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
4296 *or* single-window-frames.
4298 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4300 * vc.el (vc-update-changelog): Split into generic part and default
4301 implementation. Doc string adapted.
4302 (vc-default-update-changelog): New function. Call the `rcs2log'
4303 script in exec-directory, to fix a long-standing nuisance.
4305 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
4306 simply signals an error.
4308 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4310 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
4311 control-flow more clear and to avoid running `cvs' twice.
4313 * vc.el (vc-next-action-on-file): Doc fix.
4314 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
4315 (vc-print-log): Eval `file' before constructing the continuation.
4317 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4319 * vc.el (vc-next-action-on-file): Corrected several messages.
4320 (vc-merge): Add prefix arg `merge-news'; handle it.
4322 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
4323 is not reached. It is.
4324 (vc-cvs-merge): Set state to 'edited after merge.
4325 (vc-cvs-merge-news): Set workfile version to nil if not known.
4326 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
4328 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
4329 via stdout. (Merge from main line.)
4331 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4333 * vc.el (vc-finish-logentry): Thinko in the "same comment"
4336 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4338 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
4339 against kill-all-local-variables.
4340 (vc-log-edit): Don't save vc-parent-buffer any more.
4341 (vc-last-comment-match): Initialize to an empty string.
4342 (vc-post-command-functions): New hook.
4343 (vc-do-command): Run it.
4344 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
4345 (vc-finish-logentry): Only add the comment to the ring if it's
4346 different from the last comment entered.
4347 (vc-new-comment-index): New function.
4348 (vc-previous-comment): Use it. Make the minibuffer message
4349 slightly less terse.
4350 (vc-comment-search-reverse): Make it work forward as well. Don't
4351 set vc-comment-ring-index if no match is found. Use
4352 vc-new-comment-index.
4353 (vc-comment-search-forward): Use vc-comment-search-reverse.
4354 (vc-dired-mode-map): Don't inherit from dired-mode-map since
4355 define-derived-mode will do it for us. Bind `v' to a keymap that
4356 inherits from vc-prefix-map so that we can bind `vt' without
4358 (vc-retrieve-snapshot): Parenthesis typo.
4360 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
4361 to 1. Make sure to switch to *vc* before looking for an error
4362 message. Use vc-parse-buffer.
4364 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4366 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
4368 (vc-retrieve-snapshot): Split into two parts.
4369 (vc-default-retrieve-snapshot): New function.
4371 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
4372 (vc-cvs-retrieve-snapshot): New function (untested).
4373 (vc-cvs-stay-local): Default to t.
4374 (vc-cvs-remote-p): New function and property.
4375 (vc-cvs-state): Stay local only if the above is t.
4376 (vc-handle-cvs): Removed.
4377 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
4378 done via vc-handled-backends now.
4379 (vc-cvs-header): Escape Id.
4381 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4383 * vc.el (vc-do-command): Remove unused commands.
4384 (vc-version-diff): Make sure default-directory ends with a slash.
4385 Move the window commands into a vc-exec-after.
4386 (vc-print-log): Move more of the code into the `vc-exec-after'.
4388 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4390 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
4391 (vc-print-log): Search current revision from beginning of buffer.
4392 (vc-revert-buffer): Clear echo area after the diff is finished.
4393 (vc-prefix-map): Removed definition of "t" for terse display in vc
4395 (vc-dired-mode-map): Inherit from dired-mode-map. Added
4396 definition of "vt" for terse display.
4397 (vc-dired-mode): Fix dired-move-to-filename-regexp.
4399 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4401 * vc.el (vc-exec-after): Avoid caddr.
4403 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4405 * vc.el (vc-exec-after): New function.
4406 (vc-do-command): Use it to add a termination message for async
4408 (vc-checkout): Try to handle a missing-backend situation.
4409 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
4410 of a directory with a backend using async diffs.
4411 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
4414 * vc-sccs.el (vc-sccs-state-heuristic): Use
4415 file-ownership-preserved-p.
4417 * vc-rcs.el (vc-rcs-state-heuristic): Use
4418 file-ownership-preserved-p.
4419 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
4421 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4423 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
4426 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
4427 when there are no changes.
4429 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4431 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
4433 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
4435 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4437 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
4439 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
4440 the `fset' outside of the defvar so that it works even if
4441 vc-prefix-map was already defined.
4442 (vc-setup-buffer): New function, split out of vc-do-command.
4443 (vc-do-command): Allow BUFFER to be t to mean `just use the
4444 current buffer without any fuss'.
4445 (vc-version-diff): Change the `diff' backend operation to just put
4446 the diff in the current buffer without erasing it. Always use
4447 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
4448 shrink-window-if-larger-than-buffer.
4449 (vc-print-log): Change the `print-log' backend operation to just
4450 put the log in the current buffer without erasing it. Protect
4451 shrink-window-if-larger-than-buffer.
4452 (vc-update-change-log): Fix setd typo.
4454 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
4455 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
4457 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
4458 (vc-rcs-diff): Insert in the current buffer and remove unused arg
4461 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
4462 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
4463 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
4465 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4467 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
4468 not possible, use vc-BACKEND-workfile-unchanged-p.
4469 (vc-default-workfile-unchanged-p): New function. Delegates to a
4470 full vc-BACKEND-diff.
4472 * vc-hooks.el (vc-simple-command): Removed.
4474 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
4475 instead of vc-simple-command.
4476 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
4477 avoid doing a diff when opening a file.
4478 (vc-rcs-state): Added check for unlocked-changes.
4479 (vc-rcs-header): Escape Id.
4480 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
4481 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
4484 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
4485 (vc-sccs-diff): Remove optional arg CMP.
4486 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
4487 SCCS-specific function.
4489 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
4492 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4494 * vc.el (vc-editable-p): Renamed from vc-writable-p.
4495 (with-vc-file, vc-merge): Use vc-editable-p.
4496 (vc-do-command): Remove unused var vc-file and fix the
4497 doubly-defined `status' var. Add a user message when starting an
4499 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4500 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4501 Use with-current-buffer.
4502 (vc-buffer-sync): Use unless.
4503 (vc-next-action-on-file): If the file is 'edited by read-only,
4504 make it read-write instead of trying to commit.
4505 (vc-version-diff, vc-update-change-log): Use `setq
4506 default-directory' rather than `cd'.
4507 (vc-log-edit): Don't forget to set default-directory in the
4510 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4511 (vc-sccs-state-heuristic): Use file-writable-p instead of
4513 (vc-sccs-checkout): Use `unless'.
4515 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4516 of comparing userids.
4517 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4518 Simplify the logic by eliminating unreachable code.
4519 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4520 just do a recursive call if we need to retry.
4521 (vc-rcs-checkout): Handle the case where rcs is missing by making
4522 the buffer read-write if requested and re-signalling the error.
4524 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4526 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4528 * vc-hooks.el (vc-handled-backends): Docstring change.
4529 (vc-ignore-vc-files): Mark obsolete.
4530 (vc-registered): Check vc-ignore-vc-files.
4531 (vc-find-file-hook, vc-file-not-found-hook): Don't check
4534 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4536 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4538 * vc.el (vc-checkout): Don't do anything special for ange-ftp
4539 files since ange-ftp already has vc-registered return nil.
4541 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4542 (vc-sccs-workfile-version): Use with-temp-buffer and new
4543 vc-parse-buffer and don't bother setting the property.
4544 (vc-sccs-add-triple): Use with-current-buffer and
4546 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4548 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
4549 derives from the old vc-parse-buffer but uses the revision number
4550 rather than the date (much easier to compare robustly).
4551 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
4552 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
4553 locking-user more directly. Check strict locking and set
4554 checkout-model appropriately.
4555 (vc-rcs-parse-locks): Remove.
4556 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4557 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4558 (vc-rcs-system-release): Use with-current-buffer and
4560 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4562 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4563 (vc-simple-command): Docstring fix.
4564 (vc-registered): Align the way the file-handler is called with the
4565 way the function itself works.
4566 (vc-file-owner): Remove.
4568 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
4569 extraction of fields and call to file-attributes because of a
4570 temporary bug in rcp.el.
4571 (vc-cvs-fetch-status): Use with-current-buffer.
4573 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4575 * vc.el (vc-do-command): Use file-relative-name.
4576 (vc-responsible-backend): Use vc-backend if possible.
4577 (vc-create-snapshot): Improve the `interactive' spec. Add support
4578 for branches and dispatch to backend-specific `create-snapshot'.
4579 (vc-default-create-snapshot): New function, containing the bulk of
4580 the old vc-create-snapshot.
4581 (vc-retrieve-snapshot): Improve the interactive spec.
4583 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4584 (vc-backend-hook-functions): Remove.
4585 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4586 (vc-backend): Reintroduce the test for `file = nil' now that I
4587 know why it was there (and added a comment to better remember).
4589 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4590 code from vc-sccs-hooks.el.
4591 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4593 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4594 and file-directory-p instead of file-exists-p.
4595 (vc-sccs-check-headers): Simplify the regexp.
4597 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4598 from vc-rcs-hooks.el. Don't require 'vc anymore.
4599 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4600 file-directory-p instead of file-exists-p.
4602 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4603 from vc-cvs-hooks.el.
4604 (proto vc-cvs-registered): Require 'vc-cvs instead of
4605 'vc-cvs-hooks. Don't require 'vc anymore.
4606 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4607 file-directory-p instead of file-exists-p.
4608 (vc-cvs-create-snapshot): New function, replacing
4610 (vc-cvs-assign-name): Remove.
4612 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4614 * vc-cvs.el (vc-cvs-header): New var.
4616 * vc-rcs.el (vc-rcs-exists): Remove.
4617 (vc-rcs-header): New var.
4619 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4620 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4621 (vc-sccs-header): New var.
4623 * vc.el (vc-do-command): Get rid of the `last' argument.
4624 (vc-header-alist): Remove, replaced by vc-X-header.
4625 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4626 (vc-dired-hook): Use expand-file-name instead of concat.
4627 (vc-directory): Use file-name-as-directory.
4628 (vc-snapshot-precondition, vc-create-snapshot)
4629 (vc-retrieve-snapshot): Allow the command to operate on any
4632 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4633 just removing the 'WORKFILE argument or by removing the 'MASTER
4634 argument and replacing `file' with (vc-name file).
4636 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4638 * vc.el: Update Copyright and add a crude list of backend funs.
4639 (vc-writable-p): New function.
4640 (with-vc-file): Use vc-writable-p.
4641 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4642 (vc-register): Avoid vc-name.
4643 (vc-locking-user): Remove.
4644 (vc-steal-lock): Make the `owner' arg non-optional.
4645 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4647 (vc-default-dired-state-info): Use vc-state instead of
4648 vc-locking-user and return special strings for special states.
4649 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4650 and get rid of one of the special CVS cases.
4651 (vc-cancel-version): prettify error message with \\[...].
4652 (vc-rename-master): New function.
4653 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4654 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4655 the CVS special case generic.
4656 (vc-default-record-rename): Remove.
4657 (vc-file-tree-walk-internal): Only call FUNC for files that are
4658 under control of some VC backend and replace `concat' with
4660 (vc-file-tree-walk): Update docstring.
4661 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4662 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4664 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4665 vc-sccs-record-rename. Use `find-file-noselect' rather than
4666 `find-file' and call `vc-rename-master' to do the actual move.
4667 (vc-sccs-diff): Remove unused `backend' variable.
4669 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4670 to delay loading of vc-sccs until it is really used.
4671 (vc-sccs-master-templates): Preload.
4672 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4673 (vc-sccs-project-dir): Remove (merged into
4674 vc-sccs-search-project-dir).
4675 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4676 rather than `concat', make sure it is preloaded and don't bother
4677 to check that the file actually exists.
4678 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4679 `locks' argument (use buffer's content instead) and eliminate n^2
4682 * vc-rcs.el: Update Copyright.
4683 (vc-rcs-rename-file): New function.
4684 (vc-rcs-diff): Remove unused `backend' variable.
4686 * vc-hooks.el: Update Copyright.
4687 (vc-backend): Don't accept a nil argument any more.
4688 (vc-up-to-date-p): Turn into a defsubst.
4689 (vc-possible-master): New function.
4690 (vc-check-master-templates): Use `vc-possible-master' and allow
4691 funs in vc-X-master-templates to return a non-existent file.
4693 * vc-cvs.el: Update Copyright.
4694 (vc-cvs-diff): Remove unused `backend' variable.
4695 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4697 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4699 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4701 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4702 since it can be called from vc-rcs.el.
4703 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4705 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4707 * vc.el (vc-version-diff): Expand file name read from the
4708 minibuffer. Handle the case when a previous version number can't
4709 be guessed. Give suitable messages when there were no differences
4711 (vc-clear-headers): Call backend-specific implementation, if one
4713 (vc-cancel-version): Made error checks generic. When done, clear
4714 headers generically, too.
4716 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4717 from vc-clear-headers in vc.el.
4719 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4721 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4722 optional. Handle the case when it's not there.
4724 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4726 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4728 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4730 * vc-hooks.el (vc-loadup): Remove.
4731 (vc-find-backend-function): Use `require'. Also, handle the case
4732 where vc-BACKEND-hooks.el doesn't exist.
4733 (vc-call-backend): Cleanup.
4735 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4737 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4738 vc-rcs-grab-templates)
4739 (vc-rcs-registered): Remove. The default function works as well.
4740 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4741 vc-sccs-grab-templates)
4742 (vc-sccs-registered): Remove. The default function works as well.
4744 * vc.el (vc-version-diff): Left out a vc- in call to
4746 (vc-default-dired-state-info, vc-default-record-rename)
4747 (vc-default-merge-news): Update for the new backend argument.
4749 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4750 using the default function.
4751 (vc-call-backend): If calling the default function, pass it the
4752 backend as first argument. Update the docstring accordingly.
4753 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4754 for the new backend argument.
4755 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4756 (vc-find-backend-function): Use the new name.
4757 (vc-default-registered): New function.
4759 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4761 * vc.el (vc-merge): Use vc-find-backend-function.
4763 * vc-hooks.el (vc-backend-functions): Remove.
4764 (vc-loadup): Don't setup 'vc-functions.
4765 (vc-find-backend-function): New function.
4766 (vc-call-backend): Use above fun and populate 'vc-functions
4768 (vc-backend-defines): Remove.
4770 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4772 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4773 Call vc-call-backend without the leading vc-.
4774 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4775 (vc-check-headers): Call vc-call-backend without the leading vc-.
4776 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4777 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4778 Call vc-call-backend without the leading vc-.
4780 * vc-cvs.el (tail): Provide vc-cvs.
4781 * vc-sccs.el (tail): Provide vc-sccs.
4782 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4784 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4785 (vc-make-backend-function, vc-call): Pass names without leading
4786 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4787 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4788 (vc-call-backend): Always try to load vc-X-hooks.
4789 (vc-registered): Remove vc- in call to vc-call-backend.
4791 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4793 * vc.el (vc-process-filter): New function.
4794 (vc-do-command): Setup `vc-process-filter' for the async process.
4795 (vc-maybe-resolve-conflicts): New function to reduce
4796 code-duplication. Additionally, it puts the buffer in
4797 `smerge-mode' if applicable.
4798 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4799 calling `merge-news'.
4800 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4801 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4802 interfacing to log-edit.el.
4803 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4804 log-edit is available.
4805 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4807 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4809 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4810 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4811 defvar and the initialization.
4812 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4814 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4815 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4817 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4819 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4821 * vc.el (vc-file-clear-masterprops): Removed.
4822 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4823 (vc-version-diff): Use buffer-size without argument.
4824 (vc-register): Heed vc-initial-comment.
4826 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4829 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4830 file name and workfile version.
4831 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4833 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4834 vc-file-clear-masterprops.
4836 * vc-sccs.el (vc-sccs-checkout): Removed call to
4837 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4838 rather than user login name.
4841 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4843 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4844 `want-differences-if-changed' and simplify.
4845 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4846 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4847 output (which is invalid for async vc-diff) to decide whether to
4848 do the revert silently or not.
4850 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4852 * vc-hooks.el (vc-loadup): Load files quietly.
4853 (vc-call-backend): Oops, brain fart.
4855 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4857 * vc-cvs.el (vc-cvs-state): Typo.
4858 (vc-cvs-merge-news): Return the status code rather than the error msg.
4860 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4862 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4863 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4864 vc-state or vc-up-to-date-p.
4865 (vc-merge): Use vc-backend-defines to check whether merging is
4866 possible. Set state to 'edited after successful merge.
4868 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4869 return that name. Redocumented.
4871 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4873 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4874 new `vc-state' semantics.
4875 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4876 'vc-locking-user to the current user.
4877 (vc-merge): Inline vc-backend-merge. Comment out code that I
4878 don't understand and hence can't adapt to the new `vc-state' and
4879 `vc-locking-user' semantics.
4880 (vc-backend-merge): Remove.
4882 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4883 rather than 'vc-locking-user.
4885 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4887 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4888 (vc-state): Don't use 'reserved any more. Just use the same
4889 convention as the one used for vc-<backend>-state where the
4890 locking user (as a string) is returned.
4891 (vc-locking-user): Update, based on the above convention. The
4892 'vc-locking-user property has disappeared.
4893 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4895 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4896 with a heuristic one.
4897 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4898 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4899 error. That allows us to get to 'needs-merge even in the
4900 stay-local case. There's still no way to detect 'needs-patch in
4901 such a setup (or to force an update for that matter).
4902 (vc-cvs-logentry-check): Remove, the default works as well.
4904 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4906 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4908 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4909 major-mode in which the buffer might have been put earlier. Use
4910 `remove' and `when'. Allow `okstatus' to be `async' and use
4911 `start-process' in this case.
4912 (vc-version-diff): Handle the case where the diff looks empty
4913 because of the use of an async process.
4915 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4917 * vc.el (vc-next-action-on-file): Removed optional parameter
4918 `simple'. Recompute state unconditionally.
4919 (vc-default-toggle-read-only): Removed.
4921 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4922 (vc-toggle-read-only): Undid prev change.
4924 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4925 vc-cvs-simple-toggle. Redocumented.
4926 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4927 (vc-cvs-toggle-read-only): Removed.
4929 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4931 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4932 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4933 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4934 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4935 still is. So maybe it should be removed.
4936 (vc-head-version, vc-find-binary): Remove.
4937 (vc-recompute-state): Move from vc-hooks.el.
4938 (vc-next-action-on-file): Add a `simple' argument to allow
4939 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4940 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4941 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4942 (vc-dired-mode-map): Properly defvar it.
4943 (vc-print-log): Call log-view-mode if available.
4944 (small-temporary-file-directory): defvar instead of use boundp.
4945 (vc-merge-news): Moved to vc-cvs.el.
4946 (vc-default-merge-news): New function.
4948 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4949 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4950 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4951 unknown `vc-latest-version' function. It should probably refer to
4952 vc-workfile-version or somesuch, but it's very unclear to me and I
4953 don't have SCCS to test things.
4955 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4956 (vc-sccs-state-heuristic): Fix typo.
4957 (vc-sccs-workfile-unchanged-p): Add missing argument.
4959 * vc-rcs.el: Require vc and vc-rcs-hooks.
4960 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4961 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4962 (vc-release-greater-or-equal-p): Move from vc.
4963 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4964 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4965 (vc-rcs-checkout): Add a missing `new-version' argument in the
4966 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
4968 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4969 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4970 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4971 than the apparently unbound `workfile-version'.
4973 * vc-hooks.el (vc-master-templates): Def the obsolete var.
4974 (vc-file-prop-obarray): Use `make-vector'.
4975 (vc-backend-functions): Add new hookable functions
4976 vc-toggle-read-only, vc-record-rename and vc-merge-news.
4977 (vc-loadup): If neither backend nor default functions exist, use
4978 the backend function rather than nil.
4979 (vc-call-backend): If the function if not bound yet, try to load
4980 the non-hook file to see if it provides it.
4981 (vc-call): New macro plus use it wherever possible.
4982 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4983 nor `vc-find-binary' since it's only called from
4984 vc-mistrust-permission which is only used once the backend is known.
4985 (vc-checkout-model): Fix parenthesis.
4986 (vc-recompute-state, vc-prefix-map): Move to vc.el.
4988 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4989 (vc-cvs-release, vc-cvs-system-release): Remove.
4990 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4991 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4993 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4994 (vc-cvs-toggle-read-only): First cut at a function to allow a
4995 cvs-status-free vc-toggle-read-only.
4996 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4997 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4998 vc-cvs-status. Also set vc-state rather than vc-locking-user.
4999 (vc-cvs-checkout): Modify access rights directly if the user
5000 requested not to use `cvs edit'. And refresh the mode line.
5002 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
5003 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
5005 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5007 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
5008 workfile' that got lost when the code was extracted from vc.el.
5009 And merged the tail with the rest of the code (not possible in the
5010 old vc.el where the tail was shared among all backends). And
5011 explicitly set the state to 'edited if `writable' is set.
5013 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
5014 (vc-cvs-state): Be careful to return the value from
5016 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
5017 property but return it instead. Also be careful to handle a nil
5018 or "" `rev' when workfile is non-nil (it was handled properly when
5021 * vc.el: Removed those pesky unnecessary `(function' quotes.
5022 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
5023 directly in the defvar.
5024 (vc-do-command): Bind inhibit-read-only so as to properly handle
5025 the case where the destination buffer has been made read-only.
5026 (vc-diff): Delegate to vc-version-diff in all cases.
5027 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
5028 (vc-annotate-mode-variables): Removed (code moved partly to
5029 defvars and partly to vc-annotate-add-menu).
5030 (vc-annotate-mode): Turned into a derived-mode.
5031 (vc-annotate-add-menu): Moved in code in
5032 vc-annotate-mode-variables.
5033 (vc-update-change-log): Use make-temp-file if available.
5035 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
5037 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
5038 `vc-checkout-model' updated to `vc-cvs-update-model'.
5040 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5042 * vc.el (vc-next-action-on-file): Added handling of state
5044 (vc-checkout-carefully): Is now practically obsolete, unless the
5045 above is too slow to be enabled unconditionally.
5046 (vc-update-change-log): Fixed typo.
5048 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
5050 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
5051 Now handles state `unlocked-changes'.
5052 (vc-sccs-workfile-unchanged-p): New function, to support the above.
5054 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
5056 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
5057 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
5059 (vc-rcs-workfile-unchanged-p): Renamed from
5060 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
5061 function yet, but supposed to become one soon.
5063 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
5065 (vc-call-backend): Changed error message.
5066 (vc-state): Added description of state `unlocked-changes'.
5068 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5070 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
5071 always return t in CVS-controlled directories.
5073 * vc.el (vc-responsible-backend): New function.
5074 (vc-register): Largely rewritten.
5075 (vc-admin): Removed (implementation moved into vc-register).
5076 (vc-checkin): Redocumented.
5077 (vc-finish-logentry): If no backend defined yet (because we are in
5078 the process of registering), use the responsible backend.
5080 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5081 Updated function lists.
5082 (vc-call-backend): Fixed typo.
5084 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
5086 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
5087 Removed query option. Redocumented.
5089 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5091 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
5093 * vc.el: Updated callers of `vc-checkout-required' to use
5094 `vc-checkout-model'.
5096 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5098 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
5099 stuff updated to reference this function instead of the old
5100 `vc-backend-release-p'.
5102 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5104 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
5105 vc-checkout-model. Return appropriate values. Updated callers.
5107 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5109 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
5110 (vc-backend-revert): Function moved into `vc-revert';
5111 `vc-next-action' must be updated to accomodate this change.
5112 (vc-backend-steal): Function moved into `vc-finish-steal'.
5113 (vc-backend-logentry-check): Function moved into
5114 `vc-finish-logentry'.
5115 (vc-backend-printlog): Function moved into `vc-print-log'.
5116 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
5117 (vc-backend-assign-name): Function moved into
5118 `vc-create-snapshot'.
5120 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5122 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
5123 Rename to vc-checkout-model. Return appropriate values.
5126 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
5127 to vc-checkout-model.
5128 (vc-checkout-required): Rename to vc-checkout-model.
5129 Re-implement and re-comment.
5130 (vc-after-save): Use vc-checkout-model.
5132 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5134 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
5135 Update to use the vc-BACKEND-diff functions instead.
5136 `vc-diff' is now working.
5138 * vc-rcs.el (vc-rcs-logentry-check): New function.
5140 * vc-cvs.el (vc-cvs-logentry-check): New function.
5142 * vc-sccs.el (vc-sccs-diff): Function changed name from
5143 `vc-backend-diff'. This makes `vc-diff' work.
5145 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
5146 of functions possibly implemented in a vc-BACKEND library.
5147 (vc-checkout-required): Fix bug that caused an error to be
5148 signaled during `vc-after-save'.
5151 This checkin is made with our new VC code base for the very first time.
5152 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
5154 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
5155 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
5157 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
5158 updated to `vc-uses-locking'.
5159 (vc-checkout-required): Call to backend function.
5160 `vc-checkout-required' updated to `vc-uses-locking' instead.
5162 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
5163 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
5165 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
5166 to match the split into various backends.
5167 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
5168 (vc-retrieve-snapshot): Bug fix.
5170 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5172 * vc-sccs.el (vc-sccs-release): Doc fix.
5174 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5176 * vc.el (vc-next-action-on-file): Bug found and fixed.
5177 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
5178 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
5180 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
5181 (vc-rcs-checkout): Name space cleaned up. No more revision number
5182 crunching function names that are not prefixed with vc-rcs.
5183 (vc-rcs-checkout-model): Function added. References to
5184 `vc-checkout-model' replaced.
5186 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5188 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
5189 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
5190 still need to be split, and implemented for RCS).
5192 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5194 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
5196 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
5197 required by the vc.el file.
5199 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
5200 required by the vc.el file.
5201 (vc-rcs-exists): Function added.
5203 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
5204 required by the vc.el file.
5206 * vc.el (vc-admin): Updated to handle selection of appropriate
5207 backend. Current implementation is crufty and need re-thinking.
5209 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
5211 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5213 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
5214 beginning of annotate buffers correctly.
5216 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
5217 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
5218 functionality updated quite a lot to support multiple backends.
5219 Variables `vc-annotate-mode', `vc-annotate-buffers',
5220 `vc-annotate-backend' added.
5222 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
5223 `vc-annotate-difference' added to supported backend functions.
5225 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5227 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
5228 Use with-temp-file instead of /bin/sh. Merged from mainline
5230 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5232 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
5234 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
5236 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
5238 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5240 * vc-hooks.el: vc-state-heuristic added to
5241 vc-backend-hook-functions.
5243 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
5245 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
5247 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
5248 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
5249 state to `reserved'.
5251 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
5252 `vc-checkout-required'. Rename the `locked' state to `reserved'.
5254 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5256 * vc-rcs-hooks.el: Implement new state model. Hardly anything
5259 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
5261 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
5262 if defined. (Merged from main line, slightly adapted.)
5264 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
5265 millenium problem (merged from mainline).
5267 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5269 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
5270 part and moved the non-BACKEND stuff to vc.el.
5272 * vc.el: Split the annotate feature into a BACKEND specific part
5273 and moved it from the vc-cvs.el file to this one.
5275 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5277 * vc-hooks.el: Implement new state model.
5278 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
5279 (vc-locking-user): Simplify. Now only needed if the file is
5280 locked by somebody else.
5281 (vc-lock-from-permissions): Remove. Functionality is in
5282 vc-sccs-hooks.el and vc-rcs-hooks.el now.
5283 (vc-mode-line-string): New name for former vc-status. Adapted.
5284 (vc-mode-line): Adapt to use the above. Remove optional parameter.
5286 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
5287 Various simplifications and adaptations all over the place.
5289 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
5290 Simplify and adapt the rest.
5292 * vc.el (vc-resynch-window): Add TODO comment: check for
5293 interaction with view mode according to recent RCS change.
5294 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
5296 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5298 * vc.el: Convert the remaining function comments to docstrings.
5300 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5302 * vc.el (vc-backend-release, vc-release-greater-or-equal)
5303 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
5304 (vc-minor-part, vc-previous-version): Functions that operate and
5305 compare revision numbers got proper documentation. Comments added
5306 about their possible removal.
5308 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5310 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
5311 the vc-backend.el files.
5313 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
5315 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
5316 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
5317 (vc-rcs-previous-version): Functions added.
5319 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
5321 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
5323 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5325 * vc-hooks.el (vc-master-templates): Is really obsolete.
5326 Comment out the definition for now. What is the right procedure
5328 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
5330 (vc-default-registered): Remove.
5331 (vc-check-master-templates): New function; does mostly what the
5333 (vc-locking-user): Don't rely on the backend to set the property.
5335 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
5336 Rewrite documentation.
5337 (vc-rcs-templates-grabbed): New variable.
5338 (vc-rcs-grab-templates): New function.
5339 (vc-rcs-registered): Rewrite to use above mechanism.
5341 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
5342 Rewrite documentation.
5343 (vc-sccs-templates-grabbed): New variable.
5344 (vc-sccs-grab-templates): New function.
5345 (vc-sccs-registered): Rewrite to use above mechanism.
5346 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
5347 Don't throw the result, simply return it.
5349 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
5350 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
5351 (vc-cvs-registered): Does the check itself now. Simplify.
5353 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
5356 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5358 * vc-cvs.el (vc-cvs-diff): New function.
5360 * vc-sccs.el (vc-sccs-diff): New function.
5362 * vc-rcs.el (vc-rcs-diff): New function.
5363 (vc-rcs-checkout): Bug (typo) found and fixed.
5364 (vc-rcs-register-switches): New variable.
5366 * vc.el (vc-backend-diff): Function removed and placed in the
5369 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5371 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
5373 * vc.el (vc-backend-checkout): Function removed and replaced in
5374 the vc-backend.el files.
5376 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
5378 * vc.el (vc-backend-admin): Removed and replaced in the
5379 vc-backend.el files.
5381 * vc.el (Martin): Removed all the annotate functionality since it
5382 is CVS backend specific.
5384 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5386 * spec.txt: Added specification of vc-state.
5388 * vc-sccs-hooks.el (vc-sccs-master-properties):
5389 Remove handling of vc-latest-version and
5390 vc-your-latest-version. What used to be vc-latest-version, is now
5391 returned as vc-workfile-version.
5392 (vc-sccs-workfile-version): Adapt.
5394 2000-09-04 Dave Love <fx@gnu.org>
5396 * vc.el: [Merged from mainline.]
5397 (vc-dired-mode): Make the dired-move-to-filename-regexp
5398 regexp match the date, to avoid treating date as file size.
5399 Add YYYY S option to WESTERN/
5401 2000-09-04 Dave Love <fx@gnu.org>
5403 * vc.el: Require `compile' when compiling.
5404 (vc-logentry-check-hook): New option.
5405 (vc-steal-lock): Use compose-mail.
5406 (vc-dired-mode-map): Defvar when compiling.
5407 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
5408 vc-sccs.el and renamed. Callers changed.
5409 (vc-backend-checkout, vc-backend-logentry-check)
5410 (vc-backend-merge-news): Doc fix.
5411 (vc-default-logentry-check): New function.
5412 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
5413 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
5414 (vc-backend-merge): Doc fix. Use backend functions.
5415 (vc-check-headers): Use backend functions.
5417 * vc-cvs.el: Require vc when compiling.
5418 (vc-cvs-register-switches): Doc fix.
5419 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
5420 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
5421 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
5422 New functions (code from vc.el).
5423 (vc-annotate-display-default): Fix interactive spec.
5424 (vc-annotate-time-span): Doc fix.
5426 * vc-rcs.el: Require vc when compiling.
5427 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
5428 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
5429 (vc-rcs-checkin): New functions (code from vc.el).
5430 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
5432 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
5434 * vc-sccs.el: Require vc when compiling.
5435 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
5436 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
5438 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
5440 (vc-sccs-add-triple, vc-sccs-record-rename)
5441 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
5442 (vc-sccs-admin): Doc fix.
5444 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5446 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
5447 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
5448 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
5451 * vc-sccs.el (vc-admin-sccs): Added from vc.el
5453 * vc-cvs.el: Moved the annotate functionality from vc.el.
5454 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
5456 2000-09-04 Dave Love <fx@gnu.org>
5458 * vc.el (vc-backend-release): Call vc-system-release.
5460 * vc-sccs.el (vc-sccs-system-release):
5461 Renamed from vc-sccs-backend-release.
5463 * vc-rcs.el (vc-rcs-system-release):
5464 Renamed from vc-rcs-backend-release.
5466 * vc-cvs.el (vc-cvs-system-release):
5467 Renamed from vc-cvs-backend-release.
5469 2000-09-04 Dave Love <fx@gnu.org>
5471 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
5473 (vc-backend-release): Dispatch to backend functions.
5474 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
5475 probably needs attention.]
5477 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
5478 (vc-sccs-backend-release): New function.
5480 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
5481 (vc-cvs-backend-release): New function.
5483 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
5485 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
5486 (vc-default-dired-state-info): New function.
5487 (vc-dired-state-info): Dispatch to backends.
5488 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
5490 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
5491 from vc.el and renamed.
5493 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5495 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
5496 (vc-version-other-window, vc-backend-assign-name): Removed
5497 references to vc-latest-version; sometimes changed into
5498 vc-workfile-version.
5500 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5501 vc-rcs-master-workfile-version.
5502 (vc-rcs-workfile-version): Use the above. Don't call
5503 vc-latest-version (that was unreachable code, anyway).
5504 (vc-rcs-fetch-master-properties): Doc fix.
5506 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5507 (vc-backend-hook-functions): Removed them from this list, too.
5508 (vc-fetch-properties): Removed.
5509 (vc-workfile-version): Doc fix.
5511 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5512 (vc-rcs-workfile-version, vc-rcs-locking-user)
5513 (vc-rcs-uses-locking): Use it.
5515 * vc-hooks.el (vc-consult-rcs-headers):
5516 Moved into vc-rcs-hooks.el, under the name
5517 vc-rcs-consult-headers.
5519 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5521 (vc-cvs-find-master): Use this name only; correct different
5522 versions of the name.
5524 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5526 (vc-sccs-locking-user): Use the latter.
5528 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5531 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5533 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
5534 functions are implementation details of those two backends.
5536 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5538 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5539 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5541 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5542 (vc-sccs-parse-locks): SCCS-specific code moved here from
5545 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5546 code moved here from vc-hooks.
5548 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5549 into back-end specific parts and removed. Callers not updated
5550 yet; because I guess these callers will disappear into back-end
5551 specific files anyway.
5553 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5555 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5556 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5559 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5560 Store yes/no in the property, and return t/nil. Updated all
5563 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5564 vc-sccs-uses-locking. Don't set property.
5565 (vc-sccs-locking-user): Don't set property.
5567 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5568 vc-cvs-uses-locking. Don't set property here; leave that to
5570 (vc-cvs-locking-user): Reflect above change. Streamlined.
5572 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5573 vc-rcs-uses-locking.
5574 (vc-rcs-locking-user): Reflect above change.
5576 2000-09-04 Dave Love <fx@gnu.org>
5578 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5580 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5582 * vc-hooks.el (vc-checkout-model): Punt to backends.
5584 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5586 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5588 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5591 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5594 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5595 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5597 * vc-hooks.el (vc-default-locking-user): New function.
5598 (vc-locking-user, vc-workfile-version): Punt to backends.
5600 2000-09-04 Dave Love <fx@gnu.org>
5602 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5603 (vc-master-workfile-version): Moved from vc-hooks.
5605 * vc-rcs-hooks.el: Fix duplicate code in last change.
5607 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5608 (vc-rcs-master-templates): Improve :type.
5609 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5610 vc-master-workfile-version): Moved from vc-hooks.
5612 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5613 (vc-sccs-master-templates): Improve :type.
5614 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5616 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5618 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5619 (vc-cvs-master-templates): Improve :type. Use
5620 vc-cvs-find-cvs-master.
5621 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5623 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5625 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5626 Moved to vc-cvs-hooks.
5628 * vc-hooks.el: Add doc strings in various places. Simplify the
5630 (vc-handled-backends): New user variable.
5631 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5634 2000-09-04 Dave Love <fx@gnu.org>
5636 * vc.el: Some doc fixes for autoloaded and interactive functions.
5637 Fix compilation warnings from ediff stuff.
5638 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5640 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5642 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5644 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5646 2000-09-04 Dave Love <fx@gnu.org>
5648 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5650 (vc-make-backend-function, vc-loadup, vc-call-backend)
5651 (vc-backend-defines): New functions.
5653 * vc-hooks.el: Various doc fixes.
5654 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5655 (vc-match-substring): Function removed. Callers changed to use
5657 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5660 2000-09-04 Dave Love <fx@gnu.org>
5662 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5664 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5665 (vc-sccs-registered): Doc fix.
5667 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5668 (vc-cvs-registered): Doc fix.
5670 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5671 (vc-rcs-registered): Doc fix.
5673 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5675 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5677 * vc-hooks.el: vc-registered has been renamed
5678 vc-default-registered. Some functions have been moved to the
5679 backend specific files. they all support the
5680 vc-BACKEND-registered functions.
5682 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5684 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5686 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5688 2000-09-04 Dave Love <fx@gnu.org>
5690 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5691 menu-bar-update-hook.
5693 * help.el (help-manyarg-func-alist): Add
5694 find-operation-coding-system.
5696 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5698 * custom.el (custom-set-variables): Print message about errors in
5701 2000-09-03 Andrew Innes <andrewi@gnu.org>
5703 * makefile.w32-in: Change to DOS line endings.
5705 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5707 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5708 minor-mode keymaps, if they don't have one.
5710 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5712 * eshell/esh-module.el (eval-when-compile): Don't lose if
5713 esh-module.el's file name is truncated to DOS 8+3 limits.
5715 2000-09-01 John Wiegley <johnw@gnu.org>
5717 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5718 predicate, which caused entries in the completion list to be
5721 2000-08-30 John Wiegley <johnw@gnu.org>
5723 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5724 sending to subprocesses. Also, hook pre-command-hook if
5725 `eshell-send-direct-to-subprocesses' is non-nil.
5726 (eshell-send-direct-to-subprocesses): New config variable. If t,
5727 subprocess input is send immediately.
5728 (eshell-toggle-direct-send): New function.
5729 (eshell-self-insert-command): New function.
5730 (eshell-intercept-commands): New function.
5731 (eshell-send-input): If direct subprocess sending is enabled,
5732 don't echo any input to the Eshell buffer. Let the subprocess
5733 handle that. This requires "stty echo" in bash, for example.
5735 2000-08-28 John Wiegley <johnw@gnu.org>
5737 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5738 completion function for Eshell's implementation of `unset'.
5740 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5742 * info.el (Info-directory-list): Doc fix.
5744 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5746 * filecache.el (file-cache-add-directory-using-find): Don't quote
5747 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5749 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5751 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5754 2000-08-30 Andrew Innes <andrewi@gnu.org>
5756 * timer.el (run-with-idle-timer): Undo last change, so that timer
5757 is not activated immediately if Emacs is already idle. Some
5758 existing code relies on this behaviour.
5760 2000-08-30 Miles Bader <miles@gnu.org>
5762 * frame.el (set-frame-font): Do completion of font-name for
5765 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5767 * international/quail.el (quail-start-translation): Bind locally
5768 last-command-event, last-command, and this-command.
5769 (quail-start-conversion): Likewise.
5770 (quail-self-insert-command): Fix docstring.
5772 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5774 * progmodes/executable.el
5775 (executable-make-buffer-file-executable-if-script-p): Check that
5776 buffer contains at least 2 characters.
5778 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5780 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5782 2000-08-29 Dave Love <fx@gnu.org>
5784 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5785 (diff-mode-shared-map): Bind mouse-2.
5786 (diff-imenu-generic-expression): New variable.
5787 (diff-mode): Use it.
5789 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5790 (mouse-popup-menubar): Add minor mode menus.
5791 (popup-menu): Check for lookup-key returning number.
5793 2000-08-29 Miles Bader <miles@gnu.org>
5795 * comint.el (comint-send-input): Create overlays using the proper
5796 front/read-advance arguments.
5798 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5800 * ps-print.el: Even/odd pages printing. Doc fix.
5801 (ps-print-version): New version number (6.0).
5802 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5803 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5804 (ps-print-duplex-feature): Variable eliminated.
5805 (ps-even-or-odd-pages): New variable.
5807 * progmodes/ebnf2ps.el: Doc fix.
5808 (ebnf-version): New version (3.3).
5809 (ebnf-user-arrow): Change variable customization to sexp.
5810 (ebnf-user-arrow): Function eliminated.
5811 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5813 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5815 * help.el (help-xref-mule-regexp): New variable.
5816 (help-make-xrefs): Handle help-xref-mule-regexp.
5818 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5820 (describe-input-method): Temporarily activate the specfied input
5821 method to display the information.
5822 (describe-language-environment): Hyperlinks to mule related items.
5824 * international/mule-diag.el (charset-multibyte-form-string): New
5826 (list-character-sets-1): Use charset-multibyte-form-string.
5827 (describe-character-set): New function.
5828 (describe-coding-system): Hyperlinks to safe character sets.
5830 * international/quail.el (quail-help): New arg PACKAGE.
5831 Hyperlinks to mule related items.
5832 (quail-help-insert-keymap-description): Use
5833 substitute-command-keys instead of describe-bindings.
5834 (quail-translation-help): Hyperlinks to mule related items.
5836 2000-08-28 John Wiegley <johnw@gnu.org>
5838 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5839 have a defsubst call itself. Made `eshell-flatten-list' back into
5842 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5843 catch, in case re-centering point at bottom messes up the display.
5844 This happens frequently in Emacs 21, due I believe to variable
5847 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5848 to call `find-tag-interactive'.
5850 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5851 the list of remember directories.
5853 2000-08-28 John Wiegley <johnw@gnu.org>
5855 * align.el: Test align-region-separate to see if it's a symbol.
5857 2000-08-28 John Wiegley <johnw@gnu.org>
5859 * eshell/esh-util.el (eshell-flatten-list): Made this function
5860 into a defsubst form. It gets used very frequently, although
5861 calls don't occur all that often.
5863 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5866 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5867 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5869 (eshell-copy-handles): Created a new macro for duplicating the
5870 current set of open handles. This is needed by the looping
5872 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5873 is not incorrectly stomped on.
5875 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5876 declaration for pcomplete-use-paring.
5877 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5878 value of eshell-cmpl-use-paring.
5879 * pcomplete.el (pcomplete-use-paring): New config variable, to
5880 indicate whether paring should be used.
5881 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5882 completion alternatives that have already been used.
5884 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5885 bound to C-c C-y, which will repeat the previous N arguments
5886 (based on prefix argument).
5887 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5889 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5890 if there is no *Help* buffer. This is for XEmacs, which renames
5891 its help buffers uniquely. TODO: Find out what the current buffer
5894 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5895 first entry that correlates to a passwd/group number. Later
5896 entries (used for group/user name aliasing to multiple IDs) are
5899 * eshell/em-xtra.el (eshell/expr):
5900 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5901 (eshell-grep, eshell/diff, eshell/locate):
5902 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5903 argument list, before passing it to the system command.
5905 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5906 `find-tag' for use at final position in Eshell buffers (which
5907 otherwise triggers an error on Emacs 21).
5908 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5909 buffer, if it is currently bound to `find-tag'.
5911 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5912 in the list of matched Makefile names.
5913 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5914 directory, prefer its contents to Makefile.
5916 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5917 directory parts (like "cd old new", or "cd =regexp"), are now case
5918 sensitive on non-Windows/DOS platforms.
5920 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5921 types RET after an open delimiter (like "), display a message
5922 indicating that Eshell is waiting for the closing delimiter.
5924 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5925 environment variables.
5927 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5928 gracefully if the user enters incorrect arguments.
5930 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5933 * eshell/esh-var.el (eshell-interpolate-variable):
5934 * eshell/esh-mode.el (eshell-move-argument):
5935 * eshell/em-unix.el (eshell-du-sum-directory):
5936 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5937 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5940 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5941 to ensure the `preserve' flag gets propagated when doing recursive
5944 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5946 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5947 Don't convert \n into \0177 in memory.
5948 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5949 and back again, when reading and writing.
5951 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5953 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5954 testing of `fboundp' on `processp'.
5956 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5957 (eshell/jobs): Don't call process-list if it is not bound.
5958 (eshell-gather-process-output): Support systems where async
5959 subprocesses aren't supported.
5960 (eshell-scratch-buffer, eshell-last-sync-output-start): New
5963 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5964 eshell-do-eval returns t.
5965 (eshell-do-pipelines-synchronously): New defmacro.
5966 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5967 when async subprocesses aren't supported.
5968 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
5969 if async subprocesses aren't supported.
5970 (eshell-resume-command): Don't assume STATUS is a string.
5972 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5974 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5975 (eshell-close-target, eshell-get-target): Use eshell-processp.
5976 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5978 (eshell-get-target, eshell-create-handles): Doc fix.
5980 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
5982 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5983 criterion to include commands that output something, as long as it
5984 leaves both the command and the end-of-buffer visible when the
5986 (eshell-review-quick-commands): Adjust the help doc string
5989 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
5991 * locate.el (locate): Cleaned up locate command's interactive prompting
5992 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5994 * filecache.el (file-cache-case-fold-search): New variable
5995 (file-cache-assoc-function): New variable
5996 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5997 Use file-cache-case-fold-search variable
5998 (file-cache-add-file): Use file-cache-assoc-function
5999 (file-cache-delete-file): likewise
6000 (file-cache-directory-name): likewise
6001 (file-cache-debug-read-from-minibuffer): likewise
6003 2000-08-28 Gerd Moellmann <gerd@gnu.org>
6005 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
6006 (abbrev-table-name): New function.
6007 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
6008 If non-nil list local abbrev, only.
6010 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
6012 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
6013 from Gnus support code, and use special article copy buffer
6014 `(gnus-original-article-buffer)' instead. This allows to get rid
6015 of article-hide-headers usage (which breaks in the latest Gnus
6016 version). Thanks to Detlev Zundel.
6018 2000-08-28 Kenichi Handa <handa@etl.go.jp>
6020 * international/quail.el (quail-use-package): Hide "... loaded"
6022 (quail-start-translation, quail-start-conversion): Likewise.
6024 * international/kkc.el (kkc-region): Hide "... loaded" message.
6026 2000-08-27 Dave Love <fx@gnu.org>
6028 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
6030 2000-08-27 Miles Bader <miles@gnu.org>
6032 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
6034 2000-08-27 Kenichi Handa <handa@etl.go.jp>
6036 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
6037 'ja-dic-cnv), not (require 'skkdic-cnv).
6039 2000-08-26 Miles Bader <miles@gnu.org>
6041 * faces.el (face-x-resources): Add entry for :inherit.
6042 * cus-face.el (custom-face-attributes): Add support for :inherit
6043 attribute. Add support for relative face heights.
6044 (custom-face-attributes-get): Treat `nil' as being a default value
6045 for :inherit (as well as `unspecified').
6047 * faces.el (set-face-attribute): Update doc string.
6048 (face-attribute-name-alist): Add :inherit.
6049 (face-valid-attribute-values): Handle :inherit.
6050 (face-read-string): Rephrase prompt to be less confusing.
6051 Assume that DEFAULT is a string, since we must return a string.
6052 (face-read-integer): Use `format' to turn DEFAULT into an
6053 acceptable default for face-read-string. Match NEW-VALUE against
6054 the string "unspecified", not the symbol `unspecified', since
6055 that's what face-read-string returns.
6056 (read-face-attribute): Lookup a name for old-value in valid, and
6057 use it as a default if we find one. Treat all values from
6058 face-read-string as strings. If the default is used, don't do any
6059 more processing on the value, just use the old value directly.
6060 (read-face-and-attribute, modify-face): Tweak prompt.
6061 (read-face-name): Don't assume prompt ends with a space.
6063 * faces.el (describe-face): Add support for :inherit attribute.
6065 2000-08-25 Kenichi Handa <handa@etl.go.jp>
6067 * terminal.el (terminal-emulator): Fix args to `concat'. Now
6068 concat doesn't accept interger.
6070 * international/kkc.el: Remove SKK from Keywords. Require
6071 ja-dic-utl instead of skkdic-utl.
6073 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
6074 Provide ja-dic-cnv instead of skkdic-cnv.
6075 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
6076 (iso-2022-7bit-short): Add safe-charsets property.
6077 (skkdic-convert-postfix): Search Japanese chou-on character in
6078 addition to Hiragana character.
6079 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
6080 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
6081 (batch-skkdic-convert): Likewise.
6083 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
6084 Provide ja-dic-utl instead of skkdic-utl.
6085 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
6087 2000-08-24 Dave Love <fx@gnu.org>
6089 * disp-table.el (standard-display-default): Make the test of `l'
6092 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
6095 * international/iso-ascii.el: Make pilcrow convenient string
6096 consistent with section.
6097 (iso-ascii-display): Set up multibyte characters as well as
6100 2000-08-24 Kenichi Handa <handa@etl.go.jp>
6102 * international/mule-cmds.el (reset-language-environment): Set
6103 default-process-coding-system to '(undecided . iso-latin-1), which
6104 makes process I/O almost consistent with file I/O. Call this
6105 function when mule-cmds.el[c] is loaded.
6107 2000-08-22 Andrew Innes <andrewi@gnu.org>
6109 * makefile.w32-in: New file.
6111 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
6113 * comint.el (comint-output-filter): Compare end of
6114 comint-last-output-overlay with the start of the newly inserted
6115 text, not the end, when deciding whether to extend it.
6116 Set saved-point's insertion type to advance after insertion.
6118 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
6119 since this is now done independently of font-lock mode.
6121 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6123 * server.el (server-kill-new-buffers): New user option.
6124 (server-existing-buffer): New buffer-local variable.
6125 (server-visit-files): When using an existing buffer, set
6126 server-existing-buffer to t.
6127 (server-buffer-done): If server-kill-new-buffers is t, kill the
6128 buffer, unless it was already present before visiting it with
6131 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
6133 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
6134 even if the display doesn't support colors: some displays will
6135 support bold/underline faces.
6137 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6139 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
6141 * startup.el (command-line): If user's init file had an error,
6142 add explanatory text to *Messages*.
6144 2000-08-21 Kenichi Handa <handa@etl.go.jp>
6146 * man.el (Man-getpage-in-background): Decode the process output by
6147 the system locale coding system.
6149 2000-08-20 Dave Love <fx@gnu.org>
6151 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
6152 Don't test x-popup-menu.
6153 (function) <complete-function>: Complete only fbound symbols.
6154 <validate, value>: New.
6155 (variable) <complete-function>: Complete only bound symbols.
6156 (coding-system): Add :base-only, :complete-function, :validate,
6157 :value, :prompt-match.
6158 (widget-coding-system-prompt-value): Use read-coding-system and
6160 (editable-field): Add :help-echo.
6161 (widget-push-button-gui, widget-push-button-cache)
6162 (widget-gui-action, widget-editable-list-gui): COmment out, along
6164 (widget-at): Make arg optional.
6165 (widget-echo-help): Adjust for current help-echo calling sequence.
6166 (widget-specify-field, widget-specify-button)
6167 (widget-specify-insert, widget-get-sibling, widget-image-find)
6168 (widget-convert, widget-insert, widget-leave-text)
6169 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
6170 (widget-setup, widget-field-find, widget-before-change)
6171 (widget-after-change, widget-default-complete)
6172 (widget-default-create, widget-default-delete)
6173 (widget-push-button-value-create, editable-field)
6174 (widget-field-prompt-value, widget-field-validate)
6175 (widget-choice-value-create, widget-choice-action)
6176 (widget-choice-validate, widget-checklist-add-item)
6177 (widget-radio-add-item, widget-radio-chosen)
6178 (widget-radio-value-inline, widget-editable-list-value-create)
6179 (widget-editable-list-entry-create)
6180 (widget-documentation-link-add)
6181 (widget-documentation-string-value-create)
6182 (widget-regexp-validate, widget-file-complete)
6183 (widget-sexp-validate, widget-plist-convert-widget)
6184 (widget-plist-convert-widget, widget-alist-convert-widget)
6185 (widget-alist-convert-widget, widget-color-complete): Simplify,
6186 particularly to avoid bindings which aren't optimized out.
6188 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
6190 (down-list, backward-up-list, up-list, kill-sexp)
6191 (backward-kill-sexp, mark-sexp): Make arg optional.
6192 (lisp-complete-symbol): Add optional arg PREDICATE.
6194 * cus-start.el: Add display-buffer-reuse-frames,
6195 file-coding-system-alist.
6197 2000-08-20 Gerd Moellmann <gerd@gnu.org>
6199 * startup.el (command-line): Clear realized faces after
6200 modifying TTY color mappings.
6202 2000-08-20 Miles Bader <miles@gnu.org>
6204 * faces.el (face-attr-match-p): Don't return true if ATTRS are
6205 merely a subset of FACE's attributes.
6207 2000-08-19 Miles Bader <miles@gnu.org>
6209 * comint.el (comint-output-filter): Save the point with a marker,
6210 not just a buffer position.
6212 * international/mule.el (set-buffer-process-coding-system): Make
6213 interactive prompt less confusing.
6215 2000-08-19 Gerd Moellmann <gerd@gnu.org>
6217 * hilit-chg.el: General cleanup of doc strings, comments and
6220 2000-08-19 Miles Bader <miles@gnu.org>
6222 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
6223 Compiler macro removed; beginning-of-line is no longer always
6224 equivalent to forward-line, in the presence of fields.
6226 * comint.el (comint-output-filter): Remove ad-hoc saving of
6227 restriction, and just use save-restriction, now that it works
6228 correctly. Don't adjust comint-last-input-start to account for
6229 our insertion; it shouldn't have moved because we don't use
6230 insert-before-markers anymore. Comment out call to
6231 `force-mode-line-update'; why is it here?
6233 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
6234 while checking for prompt to delete. Use `forward-line 0'
6235 instead of beginning-of-line.
6236 (gud-filter): Temporarily widen gud comint buffer while
6239 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
6241 * progmodes/sh-script.el: Big bag of typos.
6243 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
6244 check since ispell-process is not bound when ispell is not yet loaded.
6246 2000-08-18 Dave Love <fx@gnu.org>
6248 * image.el (find-image): Copy `spec' before using plist-put.
6250 2000-08-18 Gerd Moellmann <gerd@gnu.org>
6252 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
6255 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
6256 backward-kill-sexp, analogous to kill-sexp.
6258 * progmodes/icon.el (icon-indent-line)
6259 (icon-is-continuation-line): Handle comments specially.
6261 2000-08-17 Ken Stevens <k.stevens@ieee.org>
6263 * ispell.el: Set to standard author/maintainer/keyword fields.
6264 Fine tuning to menu map appearance and operation, and added help.
6265 Remove `start' and `end' error messages when compiling.
6266 (ispell-choices-win-default-height): Fixed comment string.
6267 (ispell-dictionary-alist-1): Fixed regexp in castellano and
6268 castellano8 dictionaries.
6269 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
6270 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
6271 dictionary, added italiano dictionary.
6272 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
6274 (ispell-tex-skip-alists): Added psfig support.
6275 (ispell-skip-html): Renamed from ispell-skip-sgml.
6276 (ispell-begin-skip-region-regexp, ispell-skip-region)
6277 (ispell-minor-check): Improved html skipping support to skip across
6278 code, and recognize `&' commands without propper `;' syntax;
6279 (ispell-process-line): Fix alignment error when manually
6280 correcting spelling.
6281 (ispell): Fix comment string.
6282 (ispell-add-per-file-word-list): Always put word list on new line.
6284 2000-08-17 Gerd Moellmann <gerd@gnu.org>
6286 * format.el (format-encode-run-method): Fix error message to say
6287 `encode' instead of `decode'. Use save-window-excursion around
6288 shell-command-on-region as in format-decode-run-method because
6289 shell-command-on-region can display a buffer with error output.
6290 (format-decode): Don't record undo information for the decoding.
6291 (format-annotate-function): Add parameter FORMAT-COUNT. Make
6292 that number part of the temporary buffer name so that more than
6293 one decoding using a temporary buffer can happen safely.
6295 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
6296 of `A-z' in the regexp.
6298 * hilit-chg.el: Fix typos in commentary.
6300 * help.el (view-emacs-news): Rewritten for new naming scheme
6303 * startup.el (command-line): Pop to *Messages* in case an error
6304 is signaled while loading user-init-file.
6306 2000-08-17 Andreas Schwab <schwab@suse.de>
6308 * files.el (insert-directory): Don't lose original file name,
6309 undoing an undocumented change.
6311 2000-08-17 Alex Schroeder <alex@gnu.org>
6313 * sql.el (sql-magic-go): Use comint-bol.
6314 (sql-copy-column): Use comint-line-beginning-position.
6315 (comint-line-beginning-position): Define a replacement for
6316 comint-line-beginning-position if it is not fboundp.
6318 2000-08-17 Alex Schroeder <alex@gnu.org>
6320 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
6321 it didn't have any effect anyway.
6323 2000-08-17 Alex Schroeder <alex@gnu.org>
6325 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
6326 --pset and pager=off instead of sending \\o|cat at the beginning
6329 2000-08-17 Miles Bader <miles@gnu.org>
6331 * progmodes/octave-inf.el: Add compatibility definition of
6332 comint-line-beginning-position.
6334 2000-08-17 Kenichi Handa <handa@etl.go.jp>
6336 * startup.el (normal-top-level): Look in each dir in load-path for
6337 a leim-list.el file too. This assures of loading leim-list.el
6338 that is created at Emacs installation time even if a user have his
6341 2000-08-17 Miles Bader <miles@gnu.org>
6343 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
6344 foreground color to black if the background is dark.
6346 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
6348 * loadhist.el (unload-feature): Typo.
6350 * finder.el (finder-compile-keywords):
6351 * cus-dep.el (custom-make-dependencies): Add local-variable settings
6352 to the generated file.
6354 * mail/mh-e.el (mh-make-local-vars):
6355 Replace make-variable-buffer-local with make-local-variable.
6358 * options.el (Edit-options-{set,toggle,t,nil}):
6359 * mail/mailabbrev.el (mail-abbrevs-mode):
6360 * textmodes/tex-mode.el (tex-expand-files):
6361 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
6363 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
6365 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
6366 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
6367 Allow going past the last element.
6368 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
6369 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
6370 (cvs-mouse-toggle-mark): Don't move point.
6371 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
6373 * progmodes/compile.el (grep): Provide a default set of files.
6374 (next-error): Docstring fix.
6375 (compilation-find-file): Avoid find-file (fails in a dedicated window).
6377 * emacs-lisp/easy-mmode.el (define-minor-mode):
6378 Use `symbol-value' to keep the byte-compiler quiet.
6380 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
6381 (diff-find-source-location): New fun, extracted from diff-goto-source.
6382 (diff-goto-source): Use it.
6383 (diff-next-complex-hunk, diff-filter-lines): New function.
6384 (diff-apply-hunk): New command.
6386 * smerge-mode.el (smerge-mode-menu): Doc fix.
6388 * msb.el (msb-mode): Define it in terms of define-minor-mode.
6390 2000-08-16 Dave Love <fx@gnu.org>
6392 * windmove.el (windmove) <defgroup>: Add :version.
6394 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
6395 (goto-address-fontify-p, goto-address-highlight-p)
6396 (goto-address-url-face, goto-address-url-mouse-face)
6397 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
6398 (goto-address-url-regexp): Use thing-at-point-url-regexp.
6399 (goto-address-fontify, goto-address-at-mouse): Simplify,
6400 (goto-address-at-point): browse-url-url-at-point,
6401 goto-address-find-address-at-point can return nil.
6402 (goto-address-find-address-at-point): Return nil on failure.
6404 * align.el (align) <defgroup>: Add :version.
6406 * calculator.el (calculator): Add :version.
6407 (calculator): Use two lines for calculator window if `modeline'
6410 * play/5x5.el: Doc fixes.
6411 (5x5) <defgroup>: Add :version.
6413 * play/fortune.el (fortune) <defgroup>: Add :version.
6414 (fortune-append): Fix error message.
6415 (fortune-from-region): Doc fix.
6417 * play/pong.el (pong): Doc fix.
6419 * play/morse.el: Keywords, commentary, autoloads.
6421 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
6423 * desktop.el (desktop-save): Don't look at symbol-value of a
6424 member of minor-mode-alist, unless it is boundp.
6426 2000-08-16 Sam Steingold <sds@gnu.org>
6428 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
6429 `while'; use `with-current-buffer' instead of `save-excursion'.
6430 Removed unnecessary kludges now that "*Buffer List*" is excluded.
6432 2000-08-16 Kenichi Handa <handa@etl.go.jp>
6434 * international/ccl.el (declare-ccl-program): Docstring modified.
6435 (ccl-execute-with-args): Likewise.
6437 2000-08-16 Miles Bader <miles@gnu.org>
6439 * progmodes/sql.el: Add compatibility definition of
6440 comint-line-beginning-position.
6442 2000-08-15 Gerd Moellmann <gerd@gnu.org>
6444 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
6445 'buffer-menu' property.
6446 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
6448 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
6449 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
6452 * buff-menu.el (list-buffers-noselect): Don't display the
6453 *Buffer List* buffer.
6455 * font-lock.el: Require jit-lock to prevent a very late
6456 `Loading jit-lock' message.
6458 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
6459 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
6462 2000-08-15 Miles Bader <miles@gnu.org>
6464 * textmodes/ispell.el (ispell-graphic-p): New constant.
6465 (ispell-choices-win-default-height, ispell-help): Use
6466 `ispell-graphic-p' instead of `xemacsp'.
6468 2000-08-15 Dave Love <fx@gnu.org>
6470 * simple.el: Autoload widget-convert when compiling.
6471 (mail-user-agent): Doc fix.
6473 * help.el (function-called-at-point, variable-at-point): Use
6475 (help-manyarg-func-alist): Add insert-and-inherit.
6477 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
6479 * delsel.el (delsel-unload-hook): New function.
6481 * find-file.el: Doc fixes. Move provide to end.
6482 (ff) <defgroup>: Add :link.
6483 (ff-goto-click): Deleted.
6484 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
6485 Use mouse-set-point.
6487 * textmodes/tildify.el: Doc fixes.
6488 (tildify) <defgroup>: Add:version.
6490 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
6491 (glasses-custom-set): Use set-default, not set.
6492 (minor-mode-alist): Propertize the lighter.
6493 (glasses-mode): Provide optional arg.
6495 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
6496 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
6497 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6498 option. Provide :type.
6499 (cwarn-configuration): Provide :type.
6500 (cwarn-mode): Doc fix.
6502 * add-log.el (change-log-merge): Doc fix.
6503 (change-log-redate): New command.
6505 * net/browse-url.el (browse-url-filename-alist): Add a clause for
6507 (browse-url): Use dolist, not mapcar.
6508 (browse-url-at-point): Check for null url.
6509 (browse-url-event-buffer, browse-url-event-point): Functions
6511 (browse-url-at-mouse, browse-url-netscape): Simplify.
6513 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6515 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6516 Fix previous change to mapcan.
6517 (msb--init-file-alist, msb--add-separators)
6518 (msb--make-keymap-menu): Simplify.
6519 (msb--choose-file-menu): Use copy-sequence.
6520 (msb-mode-map): Add title to keymap.
6521 (msb-unload-hook): New function.
6523 * bs.el: Fix indentation.
6524 (bs) <defgroup>: Add :links.
6526 (bs-apply-sort-faces): Don't use window-system.
6527 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6529 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
6531 * calendar/timeclock.el (timeclock-file): Run .timelog through
6532 convert-standard-filename.
6534 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6536 * emacs-lisp/authors.el: New file.
6538 * paren.el (show-paren-priority): New user option.
6539 (show-paren-function): Set overlay priorities to
6540 show-paren-priority.
6542 2000-08-14 Miles Bader <miles@gnu.org>
6544 * comint.el (comint-bol): Use `forward-line 0' instead of calling
6545 beginning-of-line with inhibit-field-text-motion bound.
6547 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6549 * calendar/timeclock.el: New file.
6551 2000-08-14 David Ponce <david@dponce.com>
6553 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6554 `widget-button-click'. so that one can use left mouse button to
6555 click on dialog buttons.
6557 2000-08-14 Emmanuel Briot <briot@gnat.com>
6559 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6560 identifiers, since XML is case sensitive
6562 2000-08-12 Miles Bader <miles@gnu.org>
6564 * comint.el (comint-output-filter): Don't bother frobbing
6565 window-start, it doesn't seem to be necessary.
6567 * comint.el (comint-send-string, comint-send-region): Make into
6568 real functions. Snapshot the prompt before sending.
6570 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6572 * info.el (Info-find-emacs-command-nodes): Rewrite to use
6573 technique similar to Info-index, instead of relying on specific
6574 names of relevant Index nodes.
6575 (Info-goto-emacs-command-node): Bind Info-history to nil when
6576 going to the first node found by Info-find-emacs-command-nodes.
6578 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6580 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6582 2000-08-10 Miles Bader <miles@gnu.org>
6584 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6586 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6588 * info.el (Info-file-list-for-emacs): More elements for the
6589 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6592 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6594 * comint.el (comint-send-input): Make the newline boundary overlay
6595 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6596 (comint-output-filter): Use `insert' instead of
6597 `insert-before-markers'. Extend comint-last-output-overlay when
6598 necessary since we can't rely on insert-before-markers to do it.
6599 * gud.el (gud-filter): Use `with-current-buffer' instead of
6600 save-excursion when inserting the output, so that point gets
6601 updated correctly; the old method relied on a rather dodgy
6602 side-effect of comint-output-filter to avoid the effect of
6605 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6607 * files.el (recover-file): Call insert-directory instead of
6608 invoking `ls' directly.
6610 2000-08-10 Miles Bader <miles@gnu.org>
6612 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6613 (comint-last-prompt-overlay): New variables.
6614 (comint-output-filter): Implement prompt highlighting.
6615 (comint-snapshot-last-prompt): New function.
6616 (comint-send-input): Snapshot the last prompt.
6617 Use comint-highlight-input-face.
6618 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6619 Use defface instead of defcustom.
6620 (send-invisible, comint-send-eof): Snapshot the last prompt.
6621 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6622 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6624 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6626 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6627 (regexp-opt-group): Use a list of chars for `letters'.
6628 (regexp-opt-charset): `chars' is now a list of chars.
6629 Use a char-table rather than a vector so it works for multibyte chars.
6631 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6632 Set cvs-minor-current-files to the selected fileinfo.
6633 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6634 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6636 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6638 * files.el (insert-directory): Don't call access-file on
6639 directories on DOS and Windows.
6641 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6643 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6644 longer if necessary.
6645 (ccl-embed-code): Call ccl-embed-data to store CODE in
6648 2000-08-09 Miles Bader <miles@gnu.org>
6650 * comint.el (comint-output-filter): Properly handle the case where
6651 the text surrounded by comint-last-output-overlay was deleted.
6653 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6655 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6657 (Info-file-list-for-emacs): Remove "info" from the list because
6658 that leads to trying to use the documentation from file `info'
6659 in various situations where it isn't appropriate, for instance
6662 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6663 DIR and/or STRING are nil.
6665 * progmodes/compile.el (compilation-setup): Make variable
6666 compilation-error-screen-columns buffer-local, as some comment
6667 in the code suggests it should be.
6669 * files.el (auto-mode-interpreter-regexp): New variable.
6670 (set-auto-mode): Use it.
6672 * indent.el (indent-for-tab-command): Doc fix.
6674 * mouse-sel.el (mouse-sel-mode): Doc fix.
6676 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6679 * help.el (print-help-return-message): When
6680 display-buffer-reuse-frames is set, let the help window been quit,
6681 instead of deleting it, which might delete a reused frame.
6683 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6685 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6686 rename a directory to a name that differs only by its letter case.
6688 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6690 * international/quail.el (quail-define-rules): Handle Quail decode
6691 map correctly. Add code for supporting annotations.
6692 (quail-install-decode-map): New function.
6693 (quail-defrule-internal): New optional arguments decode-map and
6695 (quail-advice): New function.
6697 2000-08-07 Sam Steingold <sds@gnu.org>
6699 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6700 `defconst', `define-condition', `with-slots'.
6701 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6703 2000-08-03 Miles Bader <miles@gnu.org>
6705 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6707 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6708 comint-use-prompt-regexp-instead-of-fields.
6709 (comint-send-input): Add `input' field property to stuff we send to
6710 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6711 (comint-output-filter): Add `output' field property to process
6712 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6713 (comint-replace-by-expanded-history)
6714 (comint-get-old-input-default, comint-show-output)
6715 (comint-backward-matching-input, comint-forward-matching-input)
6716 (comint-next-prompt, comint-previous-prompt): Use field
6717 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6718 (comint-line-beginning-position): New function.
6719 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6720 (comint-replace-by-expanded-history-before-point): Use
6721 comint-line-beginning-position and line-end-position.
6722 (comint-last-output-overlay): New variable.
6723 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6725 * shell.el (shell-prompt-pattern): Doc change.
6726 (shell-backward-command): Use line-beginning-position.
6728 * gud.el (gud-gdb-complete-command): Use
6729 comint-line-beginning-position.
6731 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6732 comint-bol doesn't actually go to the beginning of the line.
6734 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6735 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6736 (try-expand-line-all-buffers): Likewise.
6738 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6739 explicitly matching comint-prompt-regexp.
6740 (sql-copy-column): Use comint-line-beginning-position instead of
6741 explicitly matching comint-prompt-regexp.
6743 * progmodes/octave-inf.el (inferior-octave-complete): Use
6744 comint-line-beginning-position.
6746 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6748 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6749 looking for a prompt, use `forward-line 0' instead of
6750 `beginning-of-line', to avoid getting caught by an input field.
6752 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6754 * files.el (shell-quote-wildcard-pattern): Make sure to return
6755 PATTERN, in the Unix case.
6757 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6759 * play/zone.el (zone): Discard any pending input before running
6760 the randomly-chosen pgm.
6762 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6764 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6765 checking the existence of any multibyte characters.
6767 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6769 * help.el (describe-mode): Test minor-mode symbol for being
6770 bound before testing its value for being nil.
6772 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6773 `first', `second', and `third'.
6775 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6776 (second): Make it an alias for `cadr'.
6778 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6780 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6781 types of display support faces now.
6783 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6785 * pcvs.el (require): Require `cl' during compilation, only.
6787 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6788 (toplevel): Remove `remq' and `remove' from autoloads.
6789 (cl-fake-autoloads): New variable. If set, arrange for an error
6790 when CL functions etc. are autoloaded.
6792 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6794 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6796 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6797 popped up, but the user clicks outside the menu, return an empty
6798 regexp (that causes unhighlight-regexp to have no effect).
6800 * menu-bar.el (menu-bar-games-menu): Add Zone.
6802 * hi-lock.el (toplevel): Require font-lock.
6804 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6806 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6807 (ebnf-8-bit-chars): New var for bug fix.
6808 (ebnf-string): Bug fix.
6810 2000-08-03 Sam Steingold <sds@gnu.org>
6812 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6813 instead of `buffer-string'.
6814 (require 'cl): Always, not just when compiling.
6815 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6818 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6820 * international/mule-cmds.el (select-safe-coding-system): Make
6821 the message text about selecting a safe coding system more clear.
6823 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6825 * hi-lock.el: New file.
6827 * play/zone.el: New file.
6829 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6830 value of tab-width in the original buffer. Choose a line number
6831 format that's a multiple of the original buffer's tab width, so
6832 that lines appear right.
6834 * textmodes/ispell.el (ispell): New function, replacing an alias.
6835 Spell-check active region if in transient-mark-mode and mark
6836 is active; otherwise spell-check buffer.
6838 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6840 * ps-mule.el: Fix a customization problem on
6841 ps-mule-font-info-database-default.
6843 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6845 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6846 display-mouse-p instead of window-system.
6847 (ebrowse-member-mode-map): Ditto.
6849 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6851 * progmodes/ebnf2ps.el: Update ps-print functions call.
6852 Indentation fix. Doc fix.
6853 (ebnf-version): New version number (3.2).
6854 (ebnf-format-color, ebnf-begin-job): Code fix.
6856 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6858 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6859 font lock support on window-system.
6860 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6862 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6863 display-color-p, if fboundp, instead of window-system.
6865 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6867 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6868 instead of window-system.
6870 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6872 (widget-choice-mouse-down-action): Use display-popup-menus-p
6873 instead of window-system.
6875 * strokes.el (strokes-file): Run the file name through
6876 convert-standard-filename.
6877 (strokes-mode): Call display-mouse-p instead of looking at
6878 window-system. Change the error message accordingly.
6880 * progmodes/cpp.el (toplevel): Support faces on tty's.
6882 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6883 (lm-plot-square, lm-init-display): Don't use window-system.
6885 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6886 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6888 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6889 instead of looking at window-system.
6891 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6893 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6894 of testing if iswitchb-prepost-hooks is bound, because the
6895 latter will always be true when invoking a recursive minibuffer
6896 from an active Iswitchb buffer.
6898 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6900 * files.el (shell-quote-wildcard-pattern): New function.
6901 (insert-directory): Call it. Only prepend "\" to command on Unix
6902 and GNU/Linux systems.
6904 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6906 * eshell/esh-groups.el: Change custom :link file names
6907 from `eshell.info' to `eshell'.
6909 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6911 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6912 correctly in recursive ange-ftp listings.
6914 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6916 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6917 ps-header-font-size-internal and
6918 ps-header-title-font-size-internal variables are not set,
6919 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6920 face text property is (foreground-color . COLOR) or
6921 `(background-color . COLOR)', ps-print crashes. Doc fix.
6922 (ps-print-version): New version number (5.2.4).
6923 (ps-plot-region): Code fix.
6924 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6925 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6928 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6930 * glasses.el (glasses-make-readable): Fix uncapitalization of
6931 identifiers like `myXMLDocument'.
6933 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6935 * mail/mail-hist.el (mail-hist-previous-input)
6936 (mail-hist-next-input): Do the obvious code factorization.
6937 (mail-hist-retrieve-and-insert): New func, contains common
6939 If inserting a message body, leave point at top.
6941 2000-07-28 Sam Steingold <sds@gnu.org>
6943 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6944 Use `<=', not `<' to compare times!
6945 (ange-ftp-ls): Remove.
6947 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6949 * play/cookie1.el: Add explanation of how to make cookie.el
6950 compatible with strfile(1) to comment.
6952 * subr.el (remove, remq): New functions.
6954 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6955 escape `*' in regexps.
6956 (midnight-find): Reverse order of arguments in the funcall of
6959 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6962 * play/meese.el: Add Commentary section.
6964 2000-07-27 Alex Schroeder <alex@gnu.org>
6966 * sql.el (sql-ms): Added autoload cookie.
6967 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6968 (sql-oracle): Ditto.
6969 (sql-help): Doc change.
6971 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6972 types and exceptions.
6974 2000-07-27 Alex Schroeder <alex@gnu.org>
6976 * sql.el (sql-placeholder-history): New variable.
6977 (sql-query-placeholders-and-send): New function that will query
6978 the user and replace placeholders with user input.
6979 (sql-oracle): If running on NT, set comint-input-sender to
6980 sql-query-placeholders-and-send.
6982 (sql-stop): If in the SQLi buffer, insert stop notification, else
6983 present it as a message.
6985 2000-07-27 Alex Schroeder <alex@gnu.org>
6987 * sql.el (sql-input-ring-separator): Doc change.
6988 (sql-input-ring-file-name): Doc change.
6989 (sql-interactive-mode): Use `sql-input-ring-separator' and
6990 `sql-input-ring-file-name' to set the comint-mode equivalents
6991 without making them local variables.
6992 (sql-stop): Don't bind `sql-input-ring-separator' and
6993 `sql-input-ring-file-name' dynamically to their comint-mode
6996 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6998 * international/mule.el (register-char-codings): New function.
6999 (make-coding-system): Handle `safe-chars' specification in the arg
7002 * international/mule-cmds.el
7003 (find-coding-systems-region-subset-p): This function deleted.
7004 (sort-coding-systems-predicate): New variable.
7005 (sort-coding-systems): New function.
7006 (find-coding-systems-region): Use
7007 find-coding-systems-region-internal.
7008 (find-coding-systems-string): Use find-coding-systems-region.
7009 (find-coding-systems-for-charsets): Check
7010 char-coding-system-table.
7011 (select-safe-coding-system-accept-default-p): New variable.
7012 (select-safe-coding-system): Mostly rewritten. New argument
7014 (select-message-coding-system): Call select-safe-coding-system
7015 with ACCEPT-DEFAULT-P arg.
7016 (reset-language-environment): Reset default-sendmail-coding-system
7017 to the default value iso-latin-1.
7018 (set-language-environment): Don't set the obsolete variable
7019 charset-origin-alist.
7021 * international/codepage.el (cp-coding-system-for-codepage-1):
7022 Give `safe-chars' property to make-coding-system.
7024 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
7025 calling select-message-coding-system twice.
7027 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
7028 instead of `safe-charsets'.
7029 (cyrillic-alternativnyj): Likewise.
7030 (ccl-encode-alternativnyj): Don't check the charset
7033 2000-07-27 Kenichi Handa <handa@etl.go.jp>
7035 * composite.el (compose-chars-after): Preserve match data.
7037 2000-07-26 Sam Steingold <sds@gnu.org>
7039 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
7040 (ange-ftp-real-file-newer-than-file-p): New function.
7041 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
7042 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
7044 * tooltip.el (tooltip-float-time): Removed (use `float-time').
7045 * midnight.el (midnight-float-time): Ditto.
7047 2000-07-26 Andreas Schwab <schwab@suse.de>
7049 * files.el (normal-backup-enable-predicate): Correct
7050 interpretation of the return value of compare-strings.
7052 2000-07-26 Gerd Moellmann <gerd@gnu.org>
7054 * isearch.el (isearch-resume): New function.
7055 (isearch-done): Add something to command-history to resume
7057 (isearch-yank-line, isearch-yank-word): Use
7058 buffer-substring-no-properties instead of buffer-substring.
7060 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
7061 of flyspell-mouse-map.
7063 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
7064 duplicate definition.
7065 (makefile-mode): Remove duplicate setting of local-abbrev-table.
7067 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
7068 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
7070 2000-07-25 Sam Steingold <sds@gnu.org>
7072 * net/ange-ftp.el: Get modtime over the net.
7073 (ange-ftp-file-modtime): New function.
7074 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7075 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
7077 (ange-ftp-dot-to-slash): New function.
7078 (ange-ftp-fix-name-for-vms): Use it.
7080 * midnight.el (midnight-buffer-display-time): Use
7081 `with-current-buffer'.
7083 2000-07-25 Gerd Moellmann <gerd@gnu.org>
7085 * find-dired.el: Update copyright notice.
7086 (find-dired): Offer to kill a running `find'.
7088 * enriched.el (enriched-face-ans): For a `foreground-color'
7089 property, return '(("x-color" COLOR))' so that COLOR will be
7090 output as a parameter of the x-color annotation. Likewise for the
7091 `background-color' property. In the case of normal face
7092 properties, don't return annotations for unspecified foreground
7093 and background face attributes.
7095 2000-07-25 Kenichi Handa <handa@etl.go.jp>
7097 * language/japan-util.el (japanese-katakana-region): Fix handling
7100 2000-07-25 Miles Bader <miles@gnu.org>
7102 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
7103 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
7106 2000-07-24 Andrew Innes <andrewi@gnu.org>
7108 * timer.el (timer-activate-when-idle): Add optional parameter
7109 DONT-WAIT. Update docstring.
7110 (run-with-idle-timer): Specify extra parameter to
7111 timer-activate-when-idle, so that timer will be activated
7112 immediately if Emacs is already idle.
7114 * w32-fns.el (w32-using-nt): Fix docstring.
7116 2000-07-24 Dave Love <fx@gnu.org>
7118 * mouse.el (popup-menu): Set last-command-event.
7119 (mouse-major-mode-menu-prefix): Declare.
7121 2000-07-24 Gerd Moellmann <gerd@gnu.org>
7123 * textmodes/flyspell.el: Update to author's version 1.5d.
7125 * progmodes/hideshow.el: Update copyright notice.
7127 * vcursor.el: Set maintainer to FSF, since author cannot
7130 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
7132 * info.el (Info-goto-emacs-key-command-node): Leave a space after
7135 * mouse.el (popup-menu): Run the keymap through indirect-function,
7136 in case it was defined with define-prefix-key. If the menu is a
7137 list of keymaps, look up the binding of user's choice in each one
7139 (mouse-popup-menubar): If the global and local menu-bar keymaps
7140 don't have a prompt string, create one and insert it into the
7141 keymap. Don't barf if current-local-map returns nil.
7143 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
7145 * dired.el (dired-sort-R-check): Added to allow recursive listing
7147 (dired-sort-other): Use it.
7149 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7151 * Release of cc-mode 5.27
7153 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7155 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
7156 c-beginning-of-statement-1 that caused a bad case of recursion
7157 which could consume a lot of CPU in large classes in languages
7158 that have in-expression classes (i.e. Java and Pike).
7160 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
7161 statements before top level constructs (i.e. case 6 is moved
7162 before case 5 and is now case 4) to catch in-expression
7163 classes in top level expressions correctly.
7165 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7167 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
7168 objc-method-intro. Case 4 removed and case 5I added.
7170 * cc-langs.el (c-append-paragraph-start): New variable used by
7171 c-common-init to get paragraph-start correct.
7172 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
7173 initialize paragraph-start to make it correct both with and
7174 without the javadoc special case.
7176 * cc-mode.el (java-mode): Use c-append-paragraph-start to
7177 initialize paragraph-start for javadoc markup.
7179 * cc-vars.el (c-style-variables-are-local-p): Incompatible
7180 change by defaulting this to t. It's motivated by the
7181 confusing behavior that otherwise arise from the style system
7182 when editing both java and non-java files at the same time
7183 (see the comments about style setting in c-common-init).
7185 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7187 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
7188 similar to the one in c-fill-paragraph to check the fill
7189 prefix from the adaptive fill function for sanity.
7191 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7193 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
7196 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7198 * cc-mode.texi Documented the change of cpp-macro.
7200 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7202 * cc-align.el (c-lineup-multi-inher): Handle lines with
7203 leading comma nicely. Extended to handle member initializers
7206 * cc-engine.el: (c-beginning-of-inheritance-list,
7207 c-guess-basic-syntax): Fixed recognition of inheritance lists
7208 when the lines begins with a comma.
7210 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
7212 * cc-vars.el (c-offsets-alist): Changed default for
7213 member-init-cont to c-lineup-multi-inher since it now handles
7214 member initializers and indents better for leading commas.
7216 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7218 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
7219 handling that caused class open lines to be recognized as
7220 statement-conts in some cases.
7222 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
7223 guessed by the adaptive fill function unless point is on the
7224 first line of a block comment.
7226 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
7227 when the buffer ends with a macro continuation char.
7229 * cc-engine.el (c-guess-basic-syntax): Added support for
7230 function definitions as statements in Pike. The first
7231 statement in a lambda block is now labeled defun-block-intro
7232 instead of statement-block-intro.
7234 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
7235 so that the class surrounding point is selected, not the one
7236 innermost in the state.
7238 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
7239 recognition of switch labels having hanging multiline
7242 * cc-engine.el (c-beginning-of-member-init-list): Broke out
7243 some code in c-guess-basic-syntax to a separate function.
7244 * cc-engine.el (c-just-after-func-arglist-p): Fixed
7245 recognition of member inits with multiple line arglists.
7246 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
7247 member-init-cont when the commas are in funny places.
7249 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7251 * cc-defs.el (c-auto-newline): Removed this macro since it's
7254 * cc-engine.el (c-looking-at-bos): New helper function.
7255 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
7256 inexpr and toplevel classes apart in Pike.
7258 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
7261 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
7262 constant, since "class" can introduce an in-expression class
7265 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7267 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
7268 indentation on cpp-macro lines.
7270 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
7271 a syntax modifier like comment-intro, to make it possible to
7272 get syntactic indentation for preprocessor directives. It's
7273 incompatible wrt to lineup functions on cpp-macro, but it has
7274 no observable effect in the 99.9% common case where cpp-macro
7277 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7279 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
7280 member-init-cont when the preceding arglist is several lines.
7282 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7284 * cc-styles.el (c-style-alist): The basic offset for the BSD
7285 style corrected to 8.
7287 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7289 * cc-styles.el (c-style-alist): Adjusted the indentation of
7290 brace list openers in the gnu style.
7292 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7294 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
7296 * cc-cmds.el (c-electric-brace, c-electric-slash,
7297 c-electric-star, c-electric-semi&comma, c-electric-colon,
7298 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
7299 when c-syntactic-indentation is nil.
7301 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
7302 we were left at comments preceding the first statement when
7303 reaching the beginning of the buffer.
7305 * cc-vars.el (c-syntactic-indentation): New variable to turn
7306 off all syntactic indentation.
7308 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7310 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
7311 between the text and the block comment ender when it hangs,
7312 depending on how many there are before the fill.
7314 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7316 * cc-engine.el (c-beginning-of-closest-statement): New helper
7317 function to go back to the closest preceding statement start,
7318 which could be inside a conditional statement.
7319 * cc-engine.el (c-guess-basic-syntax): Use
7320 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
7322 * cc-engine.el (c-guess-basic-syntax): Better handling of
7323 arglist-intro, arglist-cont-nonempty and arglist-close when
7324 the arglist is nested inside parens. Cases 7A, 7C and 7F
7327 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
7328 up-to-date with javadoc 1.2.
7330 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7332 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
7333 multiline Pike type decls.
7335 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7337 * cc-cmds.el (c-indent-new-comment-line): Always break
7338 multiline comments in multiline mode, regardless of
7341 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7343 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
7344 fully::qualified::names in C++ member init lists. Preamble in
7347 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7349 * cc-langs.el (c-common-init): Handling of obsolete variables
7350 moved to c-initialize-cc-mode. More compatible style override
7351 when using global style variables.
7352 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
7353 variables moved here.
7355 * cc-mode.texi: Documented the special behavior of
7356 c-special-indent-hook as a style variable. Don't talk about
7357 doing (c-make-styles-buffer-local t) in a mode hook, since
7358 that's already too late to work right.
7360 * cc-styles.el (c-make-styles-buffer-local): Flag style
7361 variable localness in c-style-variables-are-local-p to make
7362 the compatibility measure in c-common-init work well.
7364 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
7365 longer contain set-from-style.
7366 * cc-styles.el (c-initialize-builtin-style): Don't check for
7367 set-from-style on c-special-indent-hook.
7368 * cc-styles.el (c-copy-tree): Obsolete. The standard function
7369 copy-alist is sufficient now.
7371 * cc-styles.el (c-set-style, c-set-style-1,
7372 c-get-style-variables): Fixes to variable initialization so
7373 that duplicate entries in styles have the same effect
7374 regardless of DONT-OVERRIDE.
7376 * cc-styles.el (c-set-style-2): Fixed bug where the
7377 initialization of inheriting styles failed when the
7378 dont-override flag is set.
7380 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
7383 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7385 * cc-defs.el (c-forward-comment): Removed the workaround
7386 introduced in 5.38 since it had worse side-effects. If a line
7387 contains the string "//\"", it regarded the // as a comment
7388 start since the \ temporarily doesn't have escape syntax.
7390 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
7392 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
7393 ada-xref.el before ada-prj.el, so that the Project menu is created
7394 when ada-prj tries to add to it.
7395 (ada-activate-keys-for-case): Suppress the characters that are not
7396 part of the Ada syntax. Better compatibility with else-mode
7397 (ada-adjust-case-interactive): When auto-casing is not active,
7398 correctly insert newlines (used to insert only ^M). Prevent the
7399 syntax table from being changed in case of an error
7400 (or '_' becomes part of a word and some commands are confused).
7401 Do nothing if ada-auto-case is nil.
7402 (ada-after-keyword-p): Ignore keywords that are also attributes
7403 (ada-batch-reformat): Update usage comment
7404 (ada-call-from-contextual-menu): New function
7405 (ada-case-read-exceptions): Reinitialize the casing exception list
7406 first to nil first, so that the casing exception file can be
7408 (ada-check-defun-name): Handles "configure" keyword for gnatdist
7410 (ada-compile-goto-error): Fix regexp used to detect a file:line
7411 anywhere in the error message
7412 (ada-contextual-menu-last-point): New variable
7413 (ada-create-keymap): If the variable delete-key-deletes-forward is
7414 t on XEmacs, it means that DEL should delete one character
7416 (ada-create-menu): Use :included instead of :visible for XEmacs.
7417 New submenu "Options".
7418 (ada-end-stmt-re): Correctly indent "select ... then abort"
7420 (ada-fill-comment-paragraph): Correctly delete all leading '--'
7421 even if they don't match ada-fill-comment-prefix Fix handling of
7422 paragraphs on the first or last line of a file.
7423 (ada-format-paramlist): Fix handling of default parameter values.
7424 (ada-get-body-name): New function.
7425 (ada-get-current-indent): Optimized by searchling directly for an
7426 existing generic part or a statement outside of it. Handle
7427 ada-indent-align-comments when indenting comments Replaced some
7428 regexps by testing directly the next character. This results in a
7429 huge speedup on some files. New indentation scheme for renames
7430 statements. Stop looking for the 'while' or 'for' associated with
7431 a 'loop' at the first semicolon encountered. A "return" can also
7432 match an anonymous access subprogram declaration.
7433 (ada-get-indent-noindent): Ignore strings and comments when
7434 looking for the keywords "record" and "private".
7435 (ada-goto-matching-decl-start): When matching "if", make sure we
7436 are not in fact seeing "end if". Ignore "when" statements except
7437 when initial keyword was "begin". Fix handling of nested
7438 procedures. Add a recursive call to this function to skip over
7439 other 'end' statmts. Fix indentation for "when .. => begin"
7440 (ada-in-open-paren-p): Fix indentation for complex boolean
7441 expressions, where 'and then', 'or else' and parenthesis
7442 statements are mixed up.
7443 (ada-in-paramlist-p): Skip comments while searching for the
7444 beginning Fix handling of operator declarations.
7445 (ada-indent-align-comments): New variable
7446 (ada-indent-current): Change the syntax table only in the
7447 protected section, so that we are sure it is restored correctly.
7448 (ada-indent-on-previous-lines): Use ada-use-indent and
7449 ada-with-indent Correctly indent "select ... then"
7450 (ada-indent-region): Slight speedup.
7451 (ada-indent-renames): New variable.
7452 (ada-last-which-function-subprog, ada-last-which-function-line):
7454 (ada-looking-at-semi-private): Correctly indent the 'private'
7455 keyword when it is the first word in a package declaration.
7456 (ada-loose-case-word): Stop searching if at the end of the buffer.
7457 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
7458 even if point is not initially at the end of the word.
7459 (ada-matching-decl-start-re): Add "when".
7460 (ada-mode): Add support for abbrev-mode, outline-mode and
7461 which-func-mode Override the old find-file.el entry in
7462 ff-special-constructs since it is using the obsolete
7463 ada-spec-suffix variable
7464 (ada-no-auto-case): New function
7465 (ada-scan-paramlist): When parsing the argument type, accept
7466 spaces (as in "X 'Class", generated by Rational Rose).
7467 (ada-other-file-name): No longer loads the other file.
7468 (ada-popup-menu): Save and restore the current buffer and cursor
7469 position before and after displaying the menu.
7470 (ada-search-ignore-complex-boolean): New function.
7471 (ada-uncomment-region): Emacs21 already knows how to delete
7472 comments not starting in the first column.
7473 (ada-use-indent): New variable
7474 (ada-which-function): New function.
7475 (ada-with-indent): New variable
7476 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
7477 can be batch-compiled from the command line.
7479 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
7480 Add to the menu when the file is loaded, not in ada-mode-hook.
7481 Add -toolbar to the default ddd command Switches moved from
7482 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
7483 ada-prj-default-comp-opt
7484 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
7485 Reference Manual to the menu
7486 (ada-check-current): rewritten as a call to ada-compile-current
7487 (ada-compile): Removed.
7488 (ada-compile-application, ada-compile-current, ada-check-current):
7489 Set the compilation-search-path so that compile.el automatically
7490 finds the sources in src_dir. Automatic scrollong of the
7491 compilation buffer. C-uC-cC-c asks for confirmation before
7493 (ada-compile-current): New parameter, prj-field
7494 (ada-complete-identifier): Load the .ali file before doing
7496 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
7497 conform to gnatmake's behavior.
7498 (ada-find-file-in-dir): New function
7499 (ada-find-references): Set the environment variables for gnatfind
7500 (ada-find-src-file-in-dir): New function.
7501 (ada-first-non-nil): Removed
7502 (ada-gdb-application): Add support for jdb, the java debugger.
7503 (ada-get-ada-file-name): Load the original-file first if not done
7505 (ada-get-all-references): Handles the new ali syntax (parent types
7506 are found between <>).
7507 (ada-initialize-runtime-library): New function
7508 (ada-mode-hook): Always load a project file when a file is opened,
7509 so that the casing exceptions are correctly read.
7510 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7511 (ada-parse-prj-file): Use find-file-noselect instead of find-file
7512 to open the project file, since the latter does not work with
7513 speedbar Get default values before loading the prj file, or the
7514 default executable file name is wrong. Use the absolute value of
7515 src_dir to initialize ada-search-directories and
7516 compilation-search-path,... Add the standard runtime library to
7517 the search path for find-file.
7518 (ada-prj-default-debugger): Was missing an opening '{'
7519 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7521 (ada-prj-default-gnatmake-opt): New variable
7522 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7523 buffers, the project file is the default one Save the windows
7524 configuration before displaying the menu.
7525 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7526 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7527 ...) regexp-quote identifiers names to support operators +,
7529 (ada-remote): New function.
7530 (ada-run-application): Erase the output buffer before starting the
7531 run Support remote execution of the application. Use
7532 call-process, or the arguments are incorrectly parsed
7533 (ada-set-default-project-file): Reread the content of the active
7534 project file, not the one from the current buffer When a project
7535 file is set as the default project, all directories are
7536 automatically associated with it.
7537 (ada-set-environment): New function
7538 (ada-treat-cmd-string): New special variable ${current}
7539 (ada-treat-cmd-string): Revised. The substitution is now done for
7540 any ${...} substring
7541 (ada-xref-current): If no body was found, compiles the spec
7542 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7543 compiler to get rid of command line length limitations.
7544 (ada-xref-get-project-field): New function
7545 (ada-xref-project-files): New variable
7546 (ada-xref-runtime-library-specs-path)
7547 (ada-xref-runtime-library-ali-path): New variables
7548 (ada-xref-set-default-prj-values): Default run command now does a
7549 cd to the build directory. New field: main_unit Provide a default
7550 file name even if the current buffer has no prj file.
7553 Rewritten to show a tabbed-dialog.
7554 (ada-prj-add-ada-menu): Remove the map and name parameters.
7555 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7557 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7558 (ada-prj-load-from-file): New function
7559 (ada-prj-save): Always save fields that depend on the current buffer
7560 (ada-prj-show-value): New function
7562 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7563 Ada mode. This will allow us to display the Ada menu in any buffer
7564 we want (for project items).
7565 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7566 number of spaces in the header.
7568 2000-07-24 Dave Love <fx@gnu.org>
7570 * ediff-init.el (ediff-region-help-echo): Bind face-help.
7572 2000-07-23 Noah Friedman <friedman@splode.com>
7574 * type-break.el (type-break): perform autosave.
7575 Suggested by Stephen Gildea <gildea@intouchsys.com>.
7576 (type-break-do-query): Cancel query schedule while performing
7577 actual query, to avoid possibility of a second query being made
7578 while first one is already in progress.
7579 (type-break-time-stamp-format): New variable.
7580 (type-break-time-stamp): New function.
7581 (type-break-time-warning): Use it.
7582 (type-break-keystroke-warning): Use it.
7583 (type-break-noninteractive-query): Use it.
7585 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7587 Use add-minor-mode to set minor-mode-alist, if available.
7588 (eldoc-echo-area-use-multiline-p): New user option.
7589 (eldoc-echo-area-multiline-supported-p): New variable.
7590 (eldoc-docstring-format-sym-doc): Use them.
7591 (eldoc-mode): If not using idle timers, append to local post and
7592 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7593 (eldoc-display-message-no-interference-p): Don't interfere with
7595 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7596 (eldoc-function-arglist): New function.
7597 (eldoc-function-argstring): Use it.
7599 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7600 auto save directory exists before calling directory-files.
7602 2000-07-23 Dave Love <fx@gnu.org>
7604 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7607 2000-07-21 Dave Love <fx@gnu.org>
7609 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7610 now passed to the function. It now works properly.
7612 * smerge-mode.el (smerge-mode-menu): Fill it out.
7614 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7616 * info-look.el (info-lookup): If *info* is shown in another frame
7617 on the same display, select that frame, instead of switching to
7618 the Info buffer in another window of the selected frame.
7620 * simple.el (universal-argument-map): Bind numeric keypad keys
7621 kp-0 to kp-9 and kp-subtract.
7622 (digit-argument): Handle these keys.
7624 2000-07-20 Dave Love <fx@gnu.org>
7626 * net/goto-addr.el (goto-address-fontify): Don't bother with
7627 buffer-modified and read-only stuff -- irrelevant with overlays.
7628 Put an extra property on the overlays and use it to clean up in
7629 case goto-address is re-run.
7631 2000-07-19 Richard M. Stallman <rms@gnu.org>
7633 * timer.el (run-with-idle-timer): Doc fix.
7635 * mail/mail-utils.el (mail-strip-quoted-names):
7636 Handle case where <...> appears inside "...".
7637 Use replace-match to edit the string more simply.
7638 (rmail-dont-reply-to): Cope with an unmatched ".
7640 2000-07-19 Dave Love <fx@gnu.org>
7642 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7645 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7646 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7647 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7649 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7651 * textmodes/refer.el: Correct maintainer's email address.
7653 * progmodes/hideif.el: Correct author's email address.
7654 Fix typo in comment.
7658 * mail/mailheader.el: Correct author's mail address.
7660 * gnus/parse-time.el: Correct author's mail address.
7662 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7664 * comint.el (comint-highlight-input, comint-highlight-face):
7666 (comint-input-ring-file-name): Change custom type.
7667 (comint-mode-map): Bind mouse-2.
7668 (comint-insert-clicked-input): New function.
7669 (comint-send-input): Handle input highlighting.
7671 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7673 * mouse.el (popup-menu): New function.
7674 (mouse-major-mode-menu): Use it.
7676 2000-07-18 Dave Love <fx@gnu.org>
7678 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7681 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7683 * faces.el (face-font-selection-order)
7684 (face-font-family-alternatives): Add custom type.
7686 2000-07-18 Dave Love <fx@gnu.org>
7688 * cus-edit.el (custom-variable-reset-saved)
7689 (custom-variable-reset-standard): Remove unused bindings.
7691 * rect.el (open-rectangle-line): Remove unused let.
7693 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7695 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7697 * cdl.el: Fix `Maintainer' keyword.
7699 * play/pong.el: Add author's email address.
7701 2000-07-17 Sam Steingold <sds@gnu.org>
7703 * files.el (insert-directory): Call `split-string' instead of
7706 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7708 * mail/vms-pmail.el: Change maintainer to FSF.
7710 * net/goto-addr.el: Change maintainer to FSF.
7712 * recentf.el: Update from author.
7714 * info.el (Info-title-face-alist): Removed.
7716 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7718 * eshell/eshell.el (eshell): Replace links to eshell.info with
7719 links to eshell, to avoid problems on systems where the manual is
7720 installed as `eshell'.
7721 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7722 * eshell/em-smart.el (eshell-smart): Ditto.
7723 * eshell/em-banner.el (eshell-banner): Ditto.
7724 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7726 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7727 same-file check in the MS-DOS version (it does support inodes).
7729 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7731 * eshell/eshell.el (eshell-directory-name):
7732 Run default directory name through convert-standard-filename.
7734 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7736 * international/mule-cmds.el (select-safe-coding-system):
7737 Fix typo in the comment.
7739 * language/european.el (compound-text):
7740 Force katakana-jisx0201 to be designated to G1.
7742 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7743 Don't translate some national variant characters of latin-jisx0201.
7744 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7746 * international/kkc.el (kkc-after-update-conversion-functions):
7748 (kkc-update-conversion): Run functions in it at the tail.
7750 2000-07-16 John Wiegley <johnw@gnu.org>
7752 * lisp/align.el (align-newline-and-indent):
7753 Adding new function. for auto-aligning blocks of code on RET.
7754 (align-region): Fixed badly formatted minibuffer message.
7756 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7758 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7759 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7760 the conversion list at first if appropriate.
7761 (kkc-next): Don't update kkc-next-count here.
7762 (kkc-prev): Don't update kkc-prev-count here.
7763 (kkc-show-conversion-list-update): Fix setting up of conversion
7766 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7768 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7770 2000-07-16 Dave Love <fx@gnu.org>
7772 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7773 function to be more specific.
7775 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7776 non-string help-echo.
7777 (widget-types-convert-widget): Defsubst it.
7778 (widget-echo-help): Try to cope with a help-echo function of two
7781 2000-07-15 Jason Rumney <jasonr@gnu.org>
7783 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7784 Declare as obsolete.
7786 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7788 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7790 * hilit-chg.el: Fix typo.
7792 2000-07-14 Dave Love <fx@gnu.org>
7794 * info.el (Info-mode-menu): Fix use of :help, :enable.
7796 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7798 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7800 2000-07-13 Dave Love <fx@gnu.org>
7802 * emacs-lisp/easymenu.el: Doc fixes.
7803 (easy-menu-remove): Defalias to ignore.
7805 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7806 Call throw correctly.
7808 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7810 * faces.el (frame-background-mode): Doc fix.
7812 * simple.el (eval-expression-print-length): Change custom type to
7813 allow entering nil as value.
7815 2000-07-13 Dave Love <fx@gnu.org>
7817 * progmodes/fortran.el (fortran-imenu-generic-expression):
7818 Change definition layout.
7819 (fortran-mode-menu): Reinstate customize entries.
7821 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7822 Use :filter, per old XEmacs code.
7824 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7826 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7827 event when deciding what to send to the terminal.
7829 2000-07-12 Dave Love <fx@gnu.org>
7831 * cus-start.el: Add optional version as 4th element of specs and
7832 use it for several things new in v21. Remove load-path. Fix type
7833 of line-number-display-limit.
7835 2000-07-11 Dave Love <fx@gnu.org>
7837 * progmodes/fortran.el: Don't require easymenu.
7838 Use repeat counts in various regexps.
7839 (fortran-mode-syntax-table): Defvar directly.
7840 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7841 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7842 Use defvar, not defconst.
7843 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7844 (fortran-mode): Set fortran-comment-line-start-skip,
7845 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7846 (fortran-comment-indent): Use defsubst.
7847 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7848 Use fortran-comment-indent, not fortran-comment-indent-function.
7849 (fortran-comment-region, fortran-electric-line-number): Simplify.
7850 (fortran-auto-fill): New function.
7851 (fortran-do-auto-fill): Deleted.
7852 (fortran-find-comment-start-skip):
7853 Check for non-null comment-start-skip.
7854 (fortran-auto-fill-mode, fortran-fill-statement):
7855 Use fortran-auto-fill.
7856 (fortran-fill): Use fortran-auto-fill. Check for null
7857 comment-start-skip. Simplify final clause and use end-of-line finally.
7859 * widget.el (widget-plist-member): New alias.
7861 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7863 * eshell/esh-module.el (toplevel): Reference
7864 byte-compile-current-file only if it is bound.
7866 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7868 * dired.el: Don't require `dired-aux'.
7870 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7872 * dired-aux.el (dired-show-file-type): New function.
7873 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7874 (dired-show-file-type): Add autoload.
7876 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7878 * international/mule-diag.el (describe-font): Adjusted for the
7879 change of fontset-info.
7880 (print-fontset): Likewise.
7882 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7884 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7886 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7888 * bindings.el: Bind `[delete]' to delete-char.
7890 * dired.el (dired-find-alternate-file): New function.
7891 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7892 (toplevel): Require dired-aux when compiling.
7893 (dired-buffers): Move defvar within file to avoid compiler warning.
7895 * info.el (Info-last-search): Variable removed.
7896 (Info-search-history): New variable.
7897 (Info-search): New Info-search-history.
7899 * battery.el, info-look.el: Change author's mail address.
7901 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7903 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7904 if rmail-ignored-headers is nil.
7905 (rmail-retry-failure): Bind rmail-ignored-headers and
7906 rmail-displayed-headers to nil.
7908 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7910 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7911 (print-region-1): Don't hard code `-h' here.
7913 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7915 2000-07-01 Francesco Potorti` <pot@gnu.org>
7917 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7918 exim can use "your message" instead of "the message".
7920 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7922 * facemenu.el: Docstrings fixes.
7923 (facemenu-get-face): Don't use internal-find-face.
7924 (facemenu-iterate): Rename arg to match the docstring.
7926 * newcomment.el (uncomment-region): Be more careful when skipping
7927 backwards over `=' not to bump into BOBP.
7929 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7931 * ediff-diff.el (ediff-wordify): Use syntax table.
7932 * ediff-init.el (ediff-has-face-support-p): Use
7933 ediff-color-display-p.
7934 (ediff-color-display-p): Use display-color-p, changed to defun
7936 Got rid of special cases for NeXT and OS/2.
7937 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7940 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7942 * emacs-lisp/lucid.el: Require CL.
7943 (copy-tree, remprop): Remove, it's provided by CL.
7944 (map-keymap): Define in terms of cl-map-keymap.
7945 (extent-property, set-extent-end-glyph): New functions.
7947 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7949 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7951 * Makefile.in (DONTCOMPILE): Add comment that the name may
7952 not be changed without changing the make-dist script.
7954 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7955 (cl-mapc): Use mapc instead of cl-old-mapc.
7957 2000-07-05 Andrew Innes <andrewi@gnu.org>
7959 * makefile.nt: Add support for `bootstrap' and related targets.
7961 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7963 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7964 (easy-menu-do-define): Use `menu-item' format.
7965 Handle case where easy-menu-create-menu returns a symbol.
7966 Manually call the potential top-level filter in the function binding.
7967 (easy-menu-filter-return): New arg NAME.
7968 Convert to a keymap if MENU is an XEmacs menu.
7969 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
7970 (easy-menu-converted-items-table, easy-menu-convert-item):
7971 New var and fun to memoize easy-menu-convert-item-1.
7972 (easy-menu-do-add-item): Use it.
7973 (easy-menu-create-menu): Use easy-menu-convert-item.
7974 Wrap easy-menu-filter-return around any :filter specification.
7975 Don't convert the menu if a filter was specified.
7976 Tell easy-menu-make-symbol not to check for MENU being an expression.
7977 (easy-menu-make-symbol): New arg NOEXP.
7979 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7981 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7982 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7983 (eval-defun): If called with prefix arg, instrument code for
7986 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7987 similar to that of eval-defun.
7989 2000-07-04 Dave Love <fx@gnu.org>
7991 * hl-line.el (hl-line-overlay): Make it permanent-local.
7993 * calendar/todo-mode.el: Replaced with a working version, based on
7994 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7996 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
7998 * paths.el (prune-directory-list): New function.
7999 (Info-default-directory-list): Rewritten to more methodically
8000 enumerate a big list of possible info directories (based on the
8001 list used by the standalone info reader).
8003 * info.el (info-initialize): Use prune-directory-list to remove
8004 non-existent directories from Info-directory-list.
8006 * paths.el (Info-default-directory-list): Try a list of possible
8007 info-directories instead of a single one. Add the possible
8008 info directory "/usr/share/info".
8010 * woman.el (woman-man.conf-path): Explicitly include the debian
8011 man-db config file "/etc/manpath.config".
8012 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
8013 are present in `manpath.config'.
8014 (woman-manpath): Include "/usr/share/man".
8016 2000-07-03 Gerd Moellmann <gerd@gnu.org>
8018 * frame.el (blink-cursor-mode): Don't hide cursor initially.
8020 * startup.el (command-line): Initialize blink-cursor based
8023 * frame.el (blink-cursor): Default to nil if not running under
8026 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
8027 (face-x-resources): Remove duplicate entry for :font.
8029 * textmodes/refer.el (refer-find-entry-internal): Use some-window
8030 instead of cycling through windows with next-window.
8032 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
8033 of cycling through windows with next-window.
8035 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
8036 of cycling through windows with next-window.
8038 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
8039 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
8040 instead of cycling through windows with next-window.
8042 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
8043 instead of cycling through windows with next-window.
8045 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
8046 of cycling through windows with next-window.
8048 * terminal.el (te-process-output): Use walk-windows instead of
8049 cycling through windows with next-window.
8051 * server.el (server-switch-buffer): Use some-window instead of
8052 cycling through windows with next-window.
8054 * window.el (some-window): New function.
8055 (walk-windows): Remove reference to walk-windows-start.
8057 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
8059 2000-07-03 Richard Stallman <rms@gnu.org>
8061 * window.el (walk-windows): Guarantee termination by keeping a list
8062 of all the windows already handled.
8064 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8066 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
8069 * man.el (Man-notify-when-ready): Don't use window-system. If
8070 Man-notify-method is newframe, and the display is not
8071 multi-frame, select the frame created for the man page.
8072 (Man-init-defvars): Doc fix.
8074 2000-06-28 Gerd Moellmann <gerd@gnu.org>
8076 * faces.el (region): Change background color for light background.
8078 * ediff-wind.el (ediff-setup-control-frame): Remove :box
8079 attribute from mode-line face of Ediff control frame.
8081 * replace.el (query-replace-map): Bind `e' like `E'.
8083 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8085 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
8086 Change name to "Select All".
8088 * dos-fns.el (convert-standard-filename): Fix last change.
8090 2000-06-27 Gerd Moellmann <gerd@gnu.org>
8092 * help.el (describe-variable): Don't insert a second `'s' in front
8093 of the string `value is shown below'. Since the syntax-table is
8094 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
8095 an existing `'s', so that this won't be deleted.
8097 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
8098 * pcmpl-unix.el: New files.
8100 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
8102 * wid-edit.el (widget-member): Use the new plist-member.
8104 2000-06-26 Gerd Moellmann <gerd@gnu.org>
8106 * replace.el (perform-replace): Undo change of 2000-04-04.
8107 Instead, move backward 1 character at the end of the loop when
8110 * faces.el (fringe): Change face for different backgrounds.
8112 * eshell/esh-module.el (toplevel): Load defgroup's differently;
8115 * eshell/*.el: Change spelling of the Free Software Foundation.
8117 * eshell/esh-toggle.el: Removed.
8119 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
8121 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
8124 2000-06-26 Alex Schroeder <alex@gnu.org>
8126 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
8127 `define-key'; instead of checking `(emacs-version)' check for
8128 `set-keymap-parent' and `set-keymap-name' directly. Add entries
8129 for `;' and `o' which might be electric.
8131 (sql-electric-stuff): New user option.
8132 (sql-magic-go): New function which uses `sql-electric-stuff'.
8133 (sql-magic-semicolon): New function which uses
8134 `sql-electric-stuff'.
8136 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
8139 (sql-oracle-options): New variable.
8140 (sql-oracle): Use it.
8142 (sql-imenu-generic-expression): Doc change.
8143 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
8146 (sql-informix): Added command line parameter "-" to force
8147 sql-informix-program to use stdout.
8149 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
8151 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
8152 (cp864-decode-table): Doc fix.
8153 (cp720-decode-table): New variable, supports the Arabic OEM
8154 codepage used by Windows.
8155 (cp737-decode-table): New, Greek OEM codepage used by Windows.
8157 2000-06-23 Dave Love <fx@gnu.org>
8159 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
8160 (font-lock-fontify-anchored-keywords): Use
8161 line-beginning-position.
8162 (global-font-lock-mode): Use mapc.
8164 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
8166 * eshell/esh-module.el: Require CL when compiling.
8168 2000-06-23 Gerd Moellmann <gerd@gnu.org>
8170 * comint.el (comint-substitute-in-file-name): Call replace-match
8171 with second and third arg t.
8173 * cus-edit.el (custom-button-face, custom-button-pressed-face):
8174 Specify foreground color.
8176 * faces.el (tool-bar, mode-line, header-line): Specify foreground
8179 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
8181 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
8182 cddr instead of cdddr.
8184 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
8185 instead of copy-list.
8187 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
8190 * subdirs.el: Add eshell subdirectory.
8192 * eshell: New subdirectory containing the Eshell package.
8194 * pcomplete.el: New file.
8196 2000-06-23 Paul Eggert <eggert@twinsun.com>
8198 * mail/mailpost.el (post-mail-send-it): Make sure file has
8199 proper permissions from birth.
8201 * files.el (basic-save-buffer-2): When temporarily setting
8202 file modes, set them to current modes plus 0200, not to 0777.
8204 * emerge.el (emerge-make-temp-file): Make sure file has proper
8205 permissions from birth.
8207 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
8209 * files.el (make-backup-file-name-1): On DOS/Windows, run the
8210 backup file name through convert-standard-filename.
8212 * dos-fns.el (convert-standard-filename): Convert leading
8213 directories as well. When long file names are supported, convert
8214 characters that are invalid in Windows file names.
8216 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8218 * ps-print.el: Fix bug: if ^L is the very first buffer character,
8219 ps-print crashes. New feature: page selection for printing. Create
8220 raw-text-unix coding system for XEmacs. Doc fix.
8221 (ps-print-version): New version number (5.2.3).
8222 (ps-plot-region): Bug fix.
8223 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
8224 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
8225 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
8227 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
8228 (ps-last-page): New vars.
8230 2000-06-21 Gerd Moellmann <gerd@gnu.org>
8232 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
8233 empty option string.
8235 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
8237 * man.el (man): Doc fix.
8239 2000-06-21 Kenichi Handa <handa@etl.go.jp>
8241 * international/mule-cmds.el (set-language-info-alist): Docstring
8244 2000-06-20 Gerd Moellmann <gerd@gnu.org>
8246 * version.el (emacs-version): Use ISO date format.
8248 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
8249 instead of `M-backspace'.
8251 * simple.el (turn-off-auto-fill): New function.
8253 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
8255 * jit-lock.el (with-buffer-prepared-for-jit-lock):
8256 Renamed from with-buffer-prepared-for-font-lock and use
8257 inhibit-modification-hooks rather than setting *-change-functions.
8258 Update all functions to use the new name.
8259 (jit-lock-first-unfontify-pos): New semantics (and doc).
8260 (jit-lock-mode): Make non-interactive.
8261 Don't automatically turn on font-lock.
8262 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
8263 Always use jit-lock-after-change.
8264 Remove and restore font-lock-after-change-function.
8265 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
8266 (jit-lock-after-unfontify-buffer): Remove.
8267 (jit-lock-stealth-fontify):
8268 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
8269 (jit-lock-after-change): Set the `fontified' text-prop to nil.
8271 2000-06-20 Sam Steingold <sds@gnu.org>
8273 * emacs-lisp/cl-indent.el (toplevel): Indent
8274 `print-unreadable-object' properly. Untabify.
8276 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8278 * textmodes/reftex.el (reftex-find-citation-regexp-format):
8279 Support for bibentry.
8280 (reftex-compile-variables): Fixed problem with end of section-re.
8282 * texmodes/reftex-dcr.el (reftex-view-crossref,
8283 reftex-view-crossref-from-bibtex):
8284 Deal with changed `reftex-find-citation-regexp-format'.
8285 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
8286 Replaced `remprop' with `put'.
8287 (reftex-view-crossref, reftex-view-crossref-when-idle):
8288 Support for bibentry.
8290 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
8291 New entry for bibentry package.
8293 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
8294 Regexp also matches "\nobibliography".
8296 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
8297 Call `reftex-ensure-write-access' before doing anything.
8298 (reftex-ensure-write-access): New function.
8300 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8302 * progmodes/idlwave.el: File re-installed (update to version 4.2)
8304 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
8306 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
8308 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
8311 2000-06-20 Dave Love <fx@gnu.org>
8313 * faces.el (frame-background-mode): Use set-default, not set, in
8315 (frame-update-faces, frame-update-face-colors): Define with
8318 * enriched.el (enriched-decode-foreground)
8319 (enriched-decode-background): Don't use internal-find-face.
8321 * apropos.el: Doc fixes.
8323 * cus-edit.el (customize-changed-options): Check arg.
8324 (customize-version-lessp): Don't require decimal point.
8326 * custom.el (defcustom, defgroup): Doc fix.
8328 * newcomment.el (comment) <defgroup>: Add :version.
8329 (comment-multi-line): Doc fix.
8331 * emulation/mlsupport.el (define-hooked-local-abbrev,
8332 define-hooked-global-abbrev): Fix, using define-abbrev.
8334 2000-06-19 Gerd Moellmann <gerd@gnu.org>
8336 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
8339 2000-06-19 Dave Love <fx@gnu.org>
8341 * menu-bar.el (menu-bar-options-save): New function.
8342 (menu-bar-options-menu): Use it.
8343 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
8346 2000-06-19 Andreas Schwab <schwab@suse.de>
8348 * progmodes/etags.el (tags-query-replace): Put new parameters
8349 START and END at the end, for backward compatibility.
8351 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8353 * international/codepage.el:
8354 (cp-coding-system-for-codepage-1): Delete special codes for
8355 generating xxx-dos coding system because now a CCL based coding
8356 system can handle EOL conversion by default.
8358 * international/mule.el (make-coding-system): Generate subsidiary
8359 coding systems for EOL handling variants even for a CCL based
8362 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8364 * international/isearch-x.el (isearch-minibuffer-input-method)
8365 (isearch-minibuffer-input-method-function): These variables
8367 (isearch-with-input-method): Don't use the above variables.
8368 (isearch-process-search-multibyte-characters): Likewise. Call
8369 read-string with the arg INHERIT-INPUT-METHOD t.
8371 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
8373 * font-lock.el (font-lock-after-fontify-buffer)
8374 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
8376 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
8377 Use consistent make-local-variable style for font-lock-fontified.
8378 (jit-lock-fontify-buffer):
8379 Don't bother checking for font-lock-mode and jit-lock-mode.
8381 * time.el: Remove trailing ^M that prevent CVS-merging.
8383 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8385 * Makefile.in (distclean): New target.
8387 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
8389 * Makefile.in (srcdir): Define for update-subdirs.
8391 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8393 * find-lisp.el: New file.
8395 2000-06-16 Andrew Innes <andrewi@gnu.org>
8397 * time.el (display-time-mail-function): New variable, to allow
8398 external packages to indicate when new mail is available.
8399 (display-time-update): Use it.
8401 2000-06-16 Kenichi Handa <handa@etl.go.jp>
8403 * international/mule.el (mule-version): Change version name to
8404 SAKAKI. AOI has already been used by Meadow.
8406 * international/quail.el (quail-show-guidance-buf): To find the
8407 bottom window (but minibuffer), pay attention to the height of
8410 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
8412 * arc-mode.el (archive-mode-map): Use the new menu-item format for
8413 menu-bar menus. Add help strings. Don't remove the Edit menu
8414 from the menu bar, as the menu bar has enough space now.
8416 * Makefile.in (SHELL): Make sure /bin/sh is used.
8418 * woman.el (woman-man-buffer): Fix bold and underlined CJK
8419 characters, which use series of two ^H characters instead of one.
8421 2000-06-15 Gerd Moellmann <gerd@gnu.org>
8423 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
8424 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
8426 (Info-find-node-2): Try a case-sensitive search first, then
8427 do a case-insensitive search.
8429 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
8432 * complete.el (PC-env-vars-alist): New variable.
8433 (PC-complete-as-file-name): New function.
8434 (partial-completion-mode): Initialize PC-env-vars-alist from
8435 process-environment.
8436 (PC-do-completion): Handle completion of env vars.
8438 * info.el (Info-set-mode-line): Show file name in mode line,
8439 use `*Info*' instead of `Info:'.
8441 * startup.el (command-line-1): Change copyright messages to year
8444 2000-06-15 Dave Love <fx@gnu.org>
8446 * net/goto-addr.el (goto-address-fontify): Use keymap property,
8449 2000-06-15 Kenichi Handa <handa@etl.go.jp>
8451 * international/mule.el (set-buffer-file-coding-system): Almost
8452 rewritten to handle `undecided' as no-op.
8454 2000-06-14 Gerd Moellmann <gerd@gnu.org>
8456 * Makefile.in: New file.
8458 * Makefile: Removed.
8460 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
8461 (goto-address-highlight-keymap): Bind C-c RET.
8463 2000-06-14 Kenichi Handa <handa@etl.go.jp>
8465 * mail/sendmail.el (sendmail-send-it): The temporary buffer
8466 inherits buffer-file-coding-system of the current buffer.
8468 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
8469 0. Give correct argument to set-auto-coding-function.
8470 (tar-expunge): For goto-char, use (point-min), not 0.
8471 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
8472 (tar-subfile-save-buffer): Likewize.
8474 * international/mule.el
8475 (after-insert-file-set-buffer-file-coding-system): Call
8476 set-buffer-file-coding-system with the arg FORCE t.
8478 2000-06-13 Gerd Moellmann <gerd@gnu.org>
8480 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
8481 nil. Contemporary sendmails issue an X-Authentication-Warning if
8482 the sender is set with `-f'.
8484 2000-06-13 Dave Love <fx@gnu.org>
8486 * help.el (describe-function-1): Kluge around cases of functions
8487 fset to subrs whose doc doesn't match their symbol-name.
8489 * image.el (insert-image): Default STRING to a space.
8491 * info.el Doc fixes.
8492 (Info-build-node-completions): Match Ref tags.
8494 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
8496 * frame.el (display-multi-frame-p, display-multi-font-p): New
8497 defaliases for display-graphic-p.
8499 * hl-line.el: Fixed a typo in commentary.
8501 2000-06-13 Kenichi Handa <handa@etl.go.jp>
8503 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8506 2000-06-12 Dave Love <fx@gnu.org>
8508 * image.el (insert-image): Save a little consing.
8510 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8512 * language/tibet-util.el: Convert all tibetan-1-column characters
8513 to the corresponding tibetan characters.
8514 (tibetan-add-components): Delete code for the special treatment of
8517 * language/tibetan.el (tibetan-composable-pattern): Fix previous
8519 (tibetan-vowel-transcription-alist): More rules added.
8520 (tibetan-composite-vowel-alist): New variable.
8521 (tibetan-precomposition-rule-alist): More rules added.
8523 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
8525 * startup.el (command-line): Only call menu-bar-mode if interactive.
8527 * thingatpt.el (toplevel symbol-properties):
8528 * textmodes/makeinfo.el (makeinfo-compile):
8529 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8530 * progmodes/hideif.el (hif-compress-define-list)
8531 (hide-ifdef-use-define-alist):
8532 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8533 (ange-ftp-vms-add-file-entry):
8534 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8535 * man.el (Man-build-man-command):
8536 * mail/rnewspost.el (news-reply-header-hook):
8537 * info.el (Info-insert-dir):
8538 * emulation/mlconvert.el (backward-word, forward-word, setq):
8539 * emacs-lisp/gulp.el (gulp-send-requests):
8540 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8541 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8542 (byte-optimize-apply, end of file):
8543 * emacs-lisp/advice.el (ad-advice-class-completion-table)
8544 (ad-make-freeze-definition):
8545 * startup.el (command-line, command-line-1): Don't quote lambdas.
8547 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8548 (cvs-cleanup-removed): New function.
8549 (cvs-cleanup-functions): New var.
8550 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8551 some flexibility in specifying additional entries to auto-cleanup.
8552 (cvs-quickdir): New function.
8553 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8554 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8555 (cvs-mode-find-file): Check that we are on a filename or dirname
8556 when invoked through a mouse-click.
8557 (cvs-full-path): Remove.
8558 (cvs-dired-action): Re-introduced.
8559 (cvs-dired-noselect): Use it.
8560 (vc-post-command-functions): use this new hook if available.
8562 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8563 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8564 (cvs-filename-map, cvs-dirname-map): Remove.
8565 (cvs-default-action): Remove.
8566 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8567 if the arg is really a keymap.
8568 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8569 Don't hardcode the mapping from state (aka type) to face, but check
8570 the var cvs-fi-<type>-face instead.
8571 (cvs-fileinfo-from-entries): New function.
8573 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8575 (cvs-find-file-and-jump): Change default to be safer.
8576 (cvs-mode-diff-map): Define it as a function as well.
8577 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8578 Bind mouse-2 in this global map rather than with text-properties.
8580 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8581 file to resolve the ambiguity between C(conflict) and C(need-merge).
8583 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8585 * international/mule.el (set-buffer-file-coding-system): If
8586 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8589 2000-06-12 Dave Love <fx@gnu.org>
8591 * wid-edit.el (widget-specify-button): Really suppress the face if
8594 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8596 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8598 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8600 * imenu.el (imenu-generic-expression): Docstring fix.
8602 * composite.el (composition-function-table): Move the `put'
8603 below the autoload cookie so we can load the file before loaddefs.
8605 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8607 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8608 Handle easy-mmode-define-global-mode.
8609 For complex macros like define-minor-mode that can generate
8610 several autoload entries, try to autoload entries in the
8613 * emacs-lisp/easy-mmode.el (define-minor-mode):
8614 If KEYMAP is a symbol, just use it.
8615 Use byte-compile-current-file and load-file-name to infer the
8616 proper :require to pass to defcustom.
8617 Wrap the hook var into `progn' so as not to autoload it.
8618 Add a :autoload-end cookie.
8619 Be more careful about the evaluation of KEYMAP.
8620 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8621 (define-derived-mode): Move define-abbrev-table outside of defvar.
8623 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8625 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8626 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8627 (backup-compiled-files): Ignore errors during `tar'.
8628 (bootstrap): Make autoloads before elc files.
8630 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8632 * international/mule.el (set-buffer-file-coding-system): If one of
8633 undecided-XXX is specified, change only EOL conversion.
8635 * international/mule-conf.el (unix): New alias for the coding
8636 system undecided-unix.
8638 2000-06-09 Dave Love <fx@gnu.org>
8640 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8642 * progmodes/executable.el: Byte compile dynamic.
8643 (executable-insert): Change custom type.
8644 (executable-find): Add autoload cookie.
8645 (executable-make-buffer-file-executable-if-script-p): New
8646 function. After Noah Friedman.
8648 * files.el (after-save-hook): Customize, with
8649 executable-make-buffer-file-executable-if-script-p as an option.
8651 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8653 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8654 "tib24p-mule.bdf" for Tibetan.
8656 * composite.el (decompose-composite-char): Declare it as obsolete.
8658 * man.el (Man-fontify-manpage): Pay attention to underline and
8659 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8661 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8663 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8664 Set maintainer to FSF since author isn't reachable.
8666 2000-06-08 Dave Love <fx@gnu.org>
8668 * international/mule-cmds.el (select-safe-coding-system): If
8669 DEFAULT-CODING-SYSTEM is not specified, also check the most
8670 preferred coding-system if buffer-file-coding-system is
8671 `undecided'. From Handa.
8673 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8675 * international/mule.el
8676 (after-insert-file-set-buffer-file-coding-system): If the buffer
8677 size is greater than INSERTED, judget that we are not visiting.
8679 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8681 * whitespace.el (defgroup whitespace): Comment out `:version'.
8682 XEmacs 20.4 has problems defining the group with this present.
8683 We'll have this commented out till get resolve the problem.
8685 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8687 * align.el: Update from author.
8689 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8691 * apropos.el (apropos-mode-hook): New user variable.
8692 (apropos-mode): Run apropos-mode-hook.
8694 2000-06-07 David Ponce <david@dponce.com>
8696 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8697 commands. Require `wid-edit' at run-time.
8699 2000-06-07 David Ponce <david@dponce.com>
8701 * recentf.el: Added some "Commentary".
8702 (recentf-open-more-files, recentf-edit-list): Minor changes to
8703 move the point at the top of the file list. This behaviour is
8704 consistent with the menu one when the list contains a lot of
8706 (recentf-cleanup): Now displays the number of items removed from
8708 (recentf-relative-filter) New menu filter to show filenames
8709 relative to `default-directory'.
8711 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8713 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8714 with/without giving an error if PostScript printer doesn't have this
8715 kind of page size. Zebra Stripe continues or restarts on next page.
8716 Manual/automatic paper feeding. Switch or not the header.
8717 (ps-print-version): New version number (5.2.2).
8718 (ps-windows-system): Include emx as a Windows system.
8719 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8720 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8721 (ps-background-text): Code fix.
8722 (ps-error-handler-message, ps-user-defined-prologue)
8723 (ps-print-prologue-header, ps-printer-name)
8724 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8725 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8726 (ps-use-face-background): Customization fix.
8727 (ps-n-up-database): Data fix.
8728 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8729 (ps-switch-header): New vars.
8730 (ps-xemacs-color-name, ps-face-foreground-name)
8731 (ps-face-background-name, ps-boolean-constant): New funs.
8733 2000-06-07 Dave Love <fx@gnu.org>
8735 * allout.el: New version from Manheimer.
8737 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8739 * textmodes/fill.el (fill-find-break-point): Check the validity of
8742 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8744 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8745 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8746 Call display-color-p and display-mouse-p instead of looking at
8749 2000-06-06 Dave Love <fx@gnu.org>
8751 * image.el (find-image): Doc fix. Return nil if image not found.
8752 (put-image, insert-image): Make STRING arg optional.
8754 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8756 * language/vietnamese.el: Remove eval-when-compile.
8757 (viet-viscii-nonascii-translation-table): Define it as a
8758 translation table made from viet-viscii-decode-table.
8759 (viet-viscii-encode-table): Define it as a translation table made
8760 from the reverse map of above.
8761 (viet-vscii-nonascii-translation-table): Define it as a
8762 translation table made from viet-vscii-decode-table.
8763 (viet-vscii-encode-table): Define it as a translation table made
8764 from the reverse map of above.
8765 (ccl-decode-viscii): Use translate-character.
8766 (ccl-encode-viscii, ccl-encode-viscii-font)
8767 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8770 * language/cyrillic.el: Remove eval-when-compile.
8771 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8772 translation table made from cyrillic-koi8-r-decode-table.
8773 (cyrillic-koi8-r-encode-table): Define it as a translation table
8774 made from the reverse map of above.
8775 (ccl-decode-koi8): Use translate-character.
8776 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8777 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8778 a translation table made from cyrillic-alternativnyj-decode-table.
8779 (cyrillic-alternativnyj-encode-table): Define it as a translation
8780 table made from the reverse map of above.
8781 (ccl-decode-alternativnyj): Use translate-character.
8782 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8785 * international/mule-diag.el (non-iso-charset-alist): Specify
8786 translation table symbol instead of translation table itself.
8787 (list-block-of-chars): CHARSET may be a translation table symbol.
8789 * international/mule.el (make-coding-system): If CODING-SYSTEM
8790 already exists, override it.
8792 * international/fontset.el: Use family `proportional' for Tibetan
8795 * international/ccl.el (ccl-compile-translate-character): Don't
8796 check if Rrr has property translation-table.
8797 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8799 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8801 * info.el: Bind case-fold-search to t when searching in case
8802 a user sets it to nil in a hook.
8804 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8806 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8807 * hl-line.el (hl-line-mode): Use the new :global key argument.
8809 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8810 (tar-clip-time-string): Prepend a space.
8811 (tar-grind-file-mode): Construct a string rather than modifying one.
8812 (tar-header-block-summarize): Fix docstring.
8813 Use `format' rather than an error-prone set of copy-loops.
8815 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8816 (diff-goto-source, diff-unified->context, diff-context->unified)
8817 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8818 understand the format output by the `-p' argument to diff.
8820 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8821 (sh-re-done): Use defconst.
8822 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8823 (sh-help-string-for-variable, sh-guess-basic-offset):
8824 Don't quote lambdas.
8825 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8826 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8828 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8829 (mh-letter-mode): Derive from text-mode.
8830 This implicitly means that it now calls kill-all-local-variables.
8831 Also remove the Emacs-18 compatibility code.
8833 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8834 Make use of symbol-property doc-string-elt.
8835 Use memq rather than a sequence of eq.
8836 (doc-string-elt): Fix the wrong or missing previously unused values.
8837 (autoload-print-form): New function extracted from
8838 generate-file-autoloads to allow recursion when handling progn
8839 so that defvar's and defun's docstrings are properly printed.
8840 (generate-file-autoloads): Use it.
8842 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8843 Use find-file-hooks in the minor-mode function.
8844 Be careful not to loop indefinitely in the post-command-hook function.
8846 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8848 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8850 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8851 differences whenever appropriate.
8852 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8853 * viper.el (find-file, find-file-other-window): Get viper to do
8856 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8858 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8859 (jit-lock-fontify-buffer): New function for JIT refontification.
8860 (jit-lock-mode): Fix docstring.
8861 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8862 Remove jit-lock-after-change from the _local_ hook.
8863 (jit-lock-function-1): Fix docstring.
8865 * info.el (Info-on-current-buffer): Initialize info.
8867 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8869 * progmodes/tcl.el (tcl-indent-for-comment):
8870 Ignore comment-indent-hook.
8872 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8873 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8874 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8875 and improve to use the lighter to guess the capitalization.
8876 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8877 Add keyword arguments to specify global-ness or the custom group.
8878 Add local-map and help-echo properties to the lighter.
8879 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8880 (easy-mmode-define-global-mode): New macro.
8882 2000-06-02 Dave Love <fx@gnu.org>
8884 * wid-edit.el: byte-compile-dynamic since we typically don't use
8885 all the widgets. Don't require cl or widget. Remove
8886 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8887 (widget-read-event): Removed. Callers changed to use read-event.
8888 (widget-button-release-event-p): Renamed from
8889 button-release-event-p.
8890 (widget-field-add-space, widget-field-use-before-change):
8892 (widget-specify-field): Use keymap property, not local-map.
8893 (widget-specify-button): Obey :suppress-face.
8894 (widget-specify-insert): Use modern backquote syntax.
8895 (widget-image-directory): Renamed from widget-glyph-directory.
8896 (widget-image-enable): Renamed from widget-glyph-enable.
8897 (widget-image-find): Replaces widget-glyph-find.
8898 (widget-button-pressed-face): Move defvar.
8899 (widget-image-insert): Replaces widget-glyph-insert.
8900 (widget-convert): Use keywordp.
8901 (widget-leave-text, widget-children-value-delete): Use mapc.
8902 (widget-keymap): Remove XEmacs stuff.
8903 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8904 (widget-button-click): Don't set point at the click, but re-centre
8905 if we scroll out of window. Rewritten for images v. glyphs &c.
8906 (widget-tabable-at): Use POS arg, not point.
8907 (widget-beginning-of-line, widget-end-of-line)
8908 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8909 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8910 (widget-default-create): Use widget-image-insert; some rewriting.
8911 (widget-visibility-value-create)
8912 (widget-push-button-value-create, widget-toggle-value-create): Use
8913 widget-image-insert.
8914 (checkbox): Create on and off images dynamically.
8915 (documentation-link): Change :help-echo.
8916 (widget-documentation-link-echo-help): Remove.
8918 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8920 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8922 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8923 (easy-mmode-define-toggle, define-minor-mode): Use it.
8924 (easy-mmode-define-keymap): Docstring fix.
8925 (define-derived-mode): Default PARENT to fundamental-mode.
8926 Add the derived-mode-parent symbol-property.
8927 (easy-mmode-derived-mode-p): New function.
8929 2000-06-02 Dave Love <fx@gnu.org>
8931 * files.el (convert-standard-filename): Doc fix.
8932 (normal-backup-enable-predicate): New function.
8933 (backup-enable-predicate): Use it to replace the lambda form.
8935 * calendar/todo-mode.el: [This needs more work on the outline
8937 (todo) <defgroup>: Add :version.
8938 (todo-add-category): Don't use pushnew.
8939 (todo-cmd-raise): Fix typo.
8940 (todo-top-priorities): Change temp buffer name.
8941 (todo-category-alist): Avoid redundant lambda.
8942 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8943 Use outline-next-heading.
8945 * autoarg.el: Rewritten to use define-minor-mode.
8946 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8947 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8949 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8951 * isearch.el (isearch-other-meta-char): Fix previous change.
8953 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8955 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8956 (log-edit-done): Only add the comment to the ring if it's different
8957 from the last comment entered.
8959 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8961 2000-06-01 Dave Love <fx@gnu.org>
8963 * hl-line.el: Rewritten using define-minor-mode.
8965 * help.el (describe-function-1): Distinguish special form from
8966 builtin function. Sanity-check presence of arglist for builtins.
8968 2000-06-01 Kenichi Handa <handa@etl.go.jp>
8970 * international/characters.el: Fix syntax/category setting of
8973 * language/tibet-util.el (tibetan-add-components): Fixes for new
8974 encoding of Tibetan characters.
8975 (tibetan-decompose-precomposition-alist): New variable.
8976 (tibetan-decompose-region): Convert precomposed characters to
8977 non-precomposed characters.
8978 (tibetan-decompose-string): Likewise.
8979 (tibetan-composition-function): Fix args to
8980 thibetan-compose-string.
8982 * language/tibetan.el (tibetan-composable-pattern): More
8983 characters included.
8984 (tibetan-consonant-transcription-alist): Rule for "R" added.
8985 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8987 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8989 * language/lao-util.el (lao-composition-function): Fix args to
8992 * language/thai-util.el (thai-composition-function): Fix args to
8995 * isearch.el (isearch-update): Set disable-point-adjustment to t
8996 to prevent the point moving to the end of a composition when a
8997 part of a composition is searched.
8998 (isearch-other-meta-char): If the key invoking this command can be
8999 mapped by function-key-map to a printing char, call
9000 isearch-process-search-char directly.
9002 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
9004 * emacs-lisp/bytecomp.el:
9006 * international/mule-cmds.el:
9007 * international/mule-util.el:
9008 * international/mule.el:
9011 * faces.el: Update calls to make-obsolete with a WHEN argument.
9013 * byte-run.el (make-obsolete, make-obsolete-variable):
9014 Add an optional WHEN argument and change the format of the
9015 symbol-property information.
9016 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
9017 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
9018 new obsolete-symbol-property format and print WHEN if it is provided.
9020 2000-05-31 Dave Love <fx@gnu.org>
9022 * loadhist.el (loadhist-hook-functions): Remove
9023 before-change-function, after-change-function.
9024 (unload-feature): Deal with symbols which are both bound and
9027 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
9028 before-change-function, after-change-function.
9030 * simple.el (newline): Don't bind before-change-function,
9031 after-change-function.
9033 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
9035 * whitespace.el (whitespace-rescan-timer-time): Update interval
9036 set to 600 seconds (10 minutes) instead of 60 seconds since
9037 a large number of whitespace buffers causes emacs to `freeze'
9038 for a considerable amount of time.
9040 * whitespace.el: Updated email address
9042 2000-05-31 Dave Love <fx@gnu.org>
9044 * add-log.el (change-log-font-lock-keywords) <function>: Add
9045 pattern for function of change.
9046 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
9047 acknowledgements patterns.
9049 2000-05-31 Kenichi Handa <handa@etl.go.jp>
9051 * isearch.el (isearch-printing-char): If keyboard coding system is
9052 being used, call isearch-process-search-multibyte-characters.
9054 * international/isearch-x.el: Mostly rewritten.
9056 * international/quail.el (quail-start-conversion): Don't include
9057 unhandled events in the returned events, but set them in
9058 unread-command-events. Exit if all inputs are deleted.
9060 2000-05-30 Jason Rumney <jasonr@gnu.org>
9062 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
9064 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
9065 Reenable code to create initial fontsets.
9066 Use set-fontset-font in place of put-charset-property.
9068 2000-05-30 Gerd Moellmann <gerd@gnu.org>
9070 * progmodes/perl-mode.el (perl-indent-line): When looking for a
9071 label, ensure that the first colon isn't followed by another.
9073 * paths.el (Info-default-directory-list): Doc fix.
9075 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
9076 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
9077 send a query containing USER only, not USER@HOST.
9079 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
9080 and rmail-msgend to compute the restriction at the end, instead of
9083 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9085 * dabbrev.el (dabbrev-expand): Don't display messages in the
9086 echo area if the minibuffer window is active.
9088 * jit-lock.el (jit-lock-mode): Add after change function to
9091 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
9093 * antlr-mode.el: New commands: hide/unhide actions,
9094 upcase/downcase literals.
9095 (antlr-tiny-action-length): New user option.
9096 (antlr-hide-actions): New command. Suggested by
9097 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
9098 (antlr-mode-map): New binding [C-c C-v].
9099 (antlr-mode-menu): New entries.
9100 (antlr-downcase-literals): New command.
9101 (antlr-upcase-literals): Ditto.
9103 * antlr-mode.el: Minor changes: indendation, mode-name.
9104 (antlr-indent-line): Indent cpp directive at column 0.
9105 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
9107 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
9108 (antlr-font-lock-additional-keywords): Workaround for intentional
9109 bug in XEmacs version of font-lock.
9110 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
9111 be used by a smarter version of `buffers-menu-grouping-function'.
9113 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9115 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
9116 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
9118 2000-05-29 Kenichi Handa <handa@etl.go.jp>
9120 * international/encoded-kb.el
9121 (encoded-kbd-iso2022-designation-map): Pay attention to that
9122 charset-iso-final-char return -1 for eight-bit-control and
9125 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9127 * speedbar.el (speedbar-use-images, speedbar-update-flag)
9128 (speedbar-easymenu-definition-base): Use display-graphic-p where
9129 available, instead of window-system.
9131 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9133 * international/codepage.el (cp-coding-system-for-codepage-1): Add
9134 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
9137 2000-05-26 Dave Love <fx@gnu.org>
9139 * disp-table.el (standard-display-underline): Don't use
9142 * mail/reporter.el: Maintainer change. Doc fixes.
9143 (reporter-version): Deleted.
9145 * emacs-lisp/elp.el: Maintainer change.
9146 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
9148 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
9150 * add-log.el (add-change-log-entry): Merge the current entry with the
9151 previous one if the previous one is empty.
9153 2000-05-26 Dave Love <fx@gnu.org>
9155 * loadhist.el (unload-feature): Fix interactive spec [from
9156 lijnzaad@ebi.ac.uk].
9158 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
9159 subr-arity to check primitives.
9160 (byte-compile-flush-pending, byte-compile-file-form-progn)
9161 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
9162 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
9165 2000-05-26 Kenichi Handa <handa@etl.go.jp>
9167 * international/fontset.el: Set family names of non-latin charsets
9168 in default fontset to "*".
9170 * international/mule-diag.el (print-fontset): Combine family part
9171 and registry part of the fontname by "-*-" instead of "-".
9173 * international/mule-cmds.el (encode-coding-char): Make strings
9174 multibyte before calling encode-coding-string.
9176 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
9178 * derived.el: Fix keywords.
9179 (define-derived-mode): Only define if needed.
9181 * simple.el (fill-comment, comment-column, comment-start)
9182 (comment-start-skip, comment-end, comment-indent-function)
9183 (block-comment-start, block-comment-end, indent-for-comment)
9184 (set-comment-column, kill-comment, comment-padding, comment-region)
9185 (comment-multi-line, indent-new-comment-line): Remove.
9187 * bindings.el (esc-map): Change ; to comment-dwim and use the new
9188 function names for comment operations.
9190 * newcomment.el: Add abundant autoload cookies.
9191 (comment-style): Don't depend on runtime data at compile-time.
9192 (comment-indent-hook): Remove.
9193 (comment-indent): Check if comment-indent-hook is bound.
9194 (comment-region): Docstring fix.
9196 2000-05-25 Dave Love <fx@gnu.org>
9198 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
9199 byte-code-function-p.
9201 * mail/rmailsum.el: Add provide.
9203 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
9205 * smerge-mode.el (smerge-diff-switches): Don't use list* in
9208 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
9210 * ediff-diff.el (ediff-exec-process): delete --binary option from
9211 non-buffer ediff jobs.
9213 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9215 * hilit-chg.el (highlight-changes-mode): Ask about color or
9216 grayscale support, not about window-system.
9218 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
9220 (ffap-highlight): Always default to t.
9222 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
9223 display-popup-menus-p instead of looking at window-system.
9225 * disp-table.el (standard-display-g1, standard-display-graphic):
9226 Only refuse to use string glyphs on X and MS-Windows.
9228 * avoid.el: Remove window-system from commentary, suggest to use
9229 display-*-p instead.
9231 * apropos.el (apropos-print): Use display-mouse-p instead of
9234 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9236 * international/codepage.el (cp-decoding-vector-for-codepage):
9237 Fill up unsupported characters with their own codes. From Kenichi
9240 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9242 * international/mule-diag.el (describe-char-after): Use
9243 display-graphic-p instead of window-system, so that this function
9246 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9248 * international/codepage.el (cp-make-coding-systems-for-codepage):
9249 Remove the eight-bit-graphic and eight-bit-control charsets from
9250 the list of charsets which we convert into `?'.
9252 2000-05-25 Kenichi Handa <handa@etl.go.jp>
9254 * international/mule-conf.el: Specify CHARSET-ID explicitely for
9256 (mule-unicode-0100-24ff, japanese-jisx0213-1,
9257 japanese-jisx0213-2): New charsets.
9259 * international/fontset.el: Setup default fontset for new charsets.
9261 2000-05-24 Dave Love <fx@gnu.org>
9263 * info.el (Info-find-node-2): Restructure [following "Vadim
9264 S. Solomin" <sovs@uic.nnov.ru>].
9266 * icomplete.el: Fix header for Finder.
9268 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
9270 * rmailout.el (rmail-output-to-rmail-file): Added optional param
9273 * rmail.el (rmail-automatic-folder-directives): New user variable.
9274 (rmail-show-message): Add call to `rmail-auto-file' during
9276 (rmail-auto-file): New function.
9278 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9280 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
9282 (ediff-test-utility,ediff-diff-mandatory-option)
9283 (ediff-reset-diff-options): Utilities for proper initialization of
9284 ediff-diff-options and ediff-diff3-options on Windows.
9286 * ediff-init.el (ediff-merge-filename-prefix): New customizable
9289 * ediff-mult.el (ediff-filegroup-action): Use
9290 ediff-merge-filename-prefix.
9292 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9294 * viper-ex.el (ex-write): Set selective display to nil.
9296 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9298 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
9299 aliases for hebrew-iso-8bit.
9301 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9303 * woman.el: New version from Francis J. Wright
9304 <F.J.Wright@Maths.QMW.ac.uk>.
9305 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
9306 names in environment variables regardless of the path separator.
9307 (woman-topic-all-completions-1): Don't call file-name-directory-p
9308 on all files, since woman-file-regexp already filters out any
9311 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9313 * international/quail.el (quail-start-translation): Don't change
9314 modified-p of the current buffer.
9315 (quail-start-conversion): Likewise.
9317 * international/kkc.el (kkc-region): Don't change modified-p of
9320 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
9322 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
9324 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
9326 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
9327 (speedbar-insert-button): Invisible text property fix.
9328 (speedbar-directory-plus): Renamed from speedbar-directory-+
9329 (speedbar-directory-minus): Renamed from speedbar-directory--
9330 (speedbar-page-plus): Renamed from speedbar-file-+
9331 (speedbar-page-minus): Renamed from speedbar-file--
9332 (speedbar-page): Renamed from speedbar-file-
9333 (speedbar-tag): Renamed from speedbar-tag-
9334 (speedbar-tag-plus): Renamed from speedbar-tag-+
9335 (speedbar-tag-minus): Renamed from speedbar-tag--
9336 (speedbar-expand-image-button-alist): Use above renames.
9338 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
9339 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
9340 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
9341 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
9342 * sb-pg.xpm: Renamed from sb-file.xpm
9343 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
9344 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
9346 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9348 * international/quail.el (quail-show-guidance-buf): Set
9349 current-input-method of the guidance buffer to the name of the
9350 curren input method.
9352 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
9354 * progmodes/compile.el (compile-internal): Style typo.
9356 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
9357 quote vars and functions in the docstring.
9359 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
9361 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
9362 Don't quote lambdas.
9364 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
9366 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9368 * startup.el (command-line): Determine source file of compiled
9369 user init file differently. Warn if compiled user init file
9370 is older than its source file.
9372 * ffap.el (ffap-url-regexp): Add `https'.
9374 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
9376 * files.el (make-backup-file-name-1): Replace slashes with `!'
9377 rather than `|' (which is not allowed on Windows). Replace the
9378 drive letters with a string "drive_X".
9380 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9382 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
9384 * files.el (interpreter-mode-alist): Add `bash2'.
9386 2000-05-22 Dave Love <fx@gnu.org>
9388 * loadhist.el (feature-symbols, file-provides, file-requires): Use
9390 (feature-file): Avoid calling symbol-name. Doc fix.
9391 (file-set-intersect, file-dependents): Use dolist, not mapcar.
9392 (loadhist-hook-functions): Add mouse-position-function.
9393 (unload-feature): Change uses of mapcar.
9395 * files.el (parse-colon-path): Doc fix.
9396 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
9397 (set-auto-mode): Use mapc.
9399 * complete.el (PC-look-for-include-file): Use :alnum: character
9401 (partial-completion-mode): Add autoload cookie.
9403 2000-05-22 Sam Steingold <sds@gnu.org>
9405 * info.el (Info-fontify-node): Fixed the call to
9406 `add-text-properties' (bug introduced on 2000-05-18).
9408 2000-05-22 Dave Love <fx@gnu.org>
9410 * bindings.el: Remove debug-ignored-errors set in other files.
9412 * progmodes/etags.el: Add to debug-ignored-errors.
9413 (visit-tags-table-buffer): Clear out buffers holding old tables
9414 when making a new list.
9415 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
9418 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
9420 (cmpl-string-case-type): Use character classes.
9423 * textmodes/ispell.el:
9426 * progmodes/compile.el: Add to debug-ignored-errors.
9428 * dabbrev.el: Add to debug-ignored-errors.
9429 (dabbrev-completion): Use mapc.
9431 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
9433 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
9434 (woman-mapcan, woman-parse-man.conf)
9435 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
9436 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
9437 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
9439 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
9440 (woman-manpath): Call woman-parse-man.conf.
9441 (woman-emulation): New defcustom, defaults to nroff.
9442 (woman-font-support): New defconst.
9443 (woman-use-symbol-font): New defcustom.
9444 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
9446 Many functions: Doc fix.
9448 2000-05-22 Kenichi Handa <handa@etl.go.jp>
9450 * international/quail.el (quail-simple-translation-keymap): Map
9451 128..255 to quail-self-insert-command.
9452 (quail-keyboard-layout-alist): Add definition for "pc102-de".
9454 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
9456 * help.el (help-manyarg-func-alist): Typo.
9458 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
9459 intervals which makes it heaps simpler.
9461 * newcomment.el (comment-region-internal): Go back to BEG after quoting
9462 the nested comment markers.
9464 * subr.el (remove-hook): Don't turn the hook's value into a list.
9466 2000-05-21 Dave Love <fx@gnu.org>
9468 * edmacro.el (edmacro-parse-keys): Return vector if any elements
9469 are invalid characters.
9471 * international/mule-util.el (detect-coding-with-priority): Use
9472 mapc. Remove redundant lambda.
9474 * international/mule-diag.el (list-non-iso-charset-chars)
9475 (describe-fontset): Remove redundant lambda.
9477 * emulation/crisp.el (brief-mode): New alias.
9479 * emacs-lisp/ring.el (ring-elements): New function.
9481 * emacs-lisp/easymenu.el (easy-menu-create-menu)
9482 (easy-menu-do-add-item): Use keywordp.
9484 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
9486 * replace.el: Doc and error message fixes.
9487 (replace-highlight): Use facep, not internal-find-face.
9489 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
9491 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
9493 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
9494 (log-edit-insert-changelog): Drop `:' as well.
9496 * log-view.el: Fix file description.
9497 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9499 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9500 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9502 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9503 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9504 Print a status message if the toggle is called interactively.
9505 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9506 for global minor modes and use `defcustom' for them.
9508 (easy-mmode-define-derived-mode): Remove.
9509 (define-derived-mode): Fancier default docstring.
9510 (easy-mmode-define-navigation): Signal an error rather than (ding).
9512 * newcomment.el (comment-styles): New `box-multi'.
9513 (comment-normalize-vars): Better default for comment-continue to
9514 avoid whitespace-only continuations.
9515 (comment-search-forward): Always move even in the no-syntax case.
9516 (comment-padright): Only obey N if it's only obeyed for padleft.
9517 (comment-make-extra-lines): Better handling of empty continuations.
9518 Use `=' for the filler if comment-start has only one character.
9519 (uncomment-region): Try handling the special `=' filler.
9520 (comment-region): Allow LINES even if MULTI is nil.
9521 (comment-box): Choose box style based on comment-style.
9523 2000-05-20 Kenichi Handa <handa@etl.go.jp>
9525 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9526 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9528 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
9530 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9531 and insert, not subst-char-in-region.
9533 * international/mule-diag.el (list-character-sets-1): Handle
9534 charsets eight-bit-control and eight-bit-graphic.
9535 (list-iso-charset-chars): Likewise.
9536 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9537 charactes as is. Use indent-to to align characters.
9539 * international/mule-cmds.el (find-multibyte-characters): Never
9540 exclude charsets eight-bit-control and eight-bit-graphic.
9542 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9544 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9545 Don't quote lambdas.
9547 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9549 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9551 * gud.el (gud-jdb-directories): Doc fix.
9553 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9555 * newcomment.el: New file.
9557 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9559 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9561 2000-05-18 Andreas Schwab <schwab@suse.de>
9563 * dired.el (dired-between-files): Also skip lines beginning with
9566 2000-05-18 Gerd Moellmann <gerd@gnu.org>
9568 * msb.el (msb-menu-cond): Add choice `user'.
9570 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9572 * ps-print.el: Compatibility, customization and doc fix.
9573 (ps-printer-name-option): Replace defconst by defvar.
9574 (ps-postscript-code-directory): XEmacs compatibility.
9575 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9577 (ps-user-defined-prologue, ps-print-prologue-header)
9578 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9579 compatibility and code fix.
9580 (ps-print-background-image, ps-print-background-text):
9582 (ps-line-number-start, ps-n-up-on): New vars.
9584 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9586 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9587 the indent-comment function to just return the appropriate indent.
9589 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9591 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9592 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9593 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9595 2000-05-18 Dave Love <fx@gnu.org>
9597 * info.el (Info-fontify-node): Add intangible property as well as
9600 * calendar/appt.el (appt-make-list): Match all lines of entry.
9601 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9603 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9605 * international/mule-diag.el (describe-char-after): Call
9606 internal-char-font, not char-font. If internal-char-font returns
9607 nil, display "-- none --".
9609 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9611 * image.el (image-type-available-p): Don't reference image-types
9614 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9616 * autoarg.el (autoarg-mode): Typo in the :set argument.
9618 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9620 * startup.el (command-line-1): Don't signal an error if the
9621 directory for auto-save-list files does not yet exist.
9623 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9625 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9627 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9629 * subr.el (remove-hook): `setq' hook-value, not `set'.
9631 2000-05-16 Sam Steingold <sds@gnu.org>
9633 * info.el (debug-ignored-errors): More errors to ignore.
9635 2000-05-16 Dave Love <fx@gnu.org>
9637 * cus-edit.el: Don't require cl or easymenu.
9638 (custom-variable-prompt): Test standard-value property, not
9641 2000-05-16 Sam Steingold <sds@gnu.org>
9643 * subr.el (add-hook): `setq' hook-value, not `set'.
9645 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9647 * startup.el (command-line-1): Mention the FAQ in the startup
9650 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9652 * progmodes/compile.el (compilation-parse-errors): Collect
9653 `nomessage' regexps last.
9655 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9657 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9658 to the function name.
9660 2000-05-15 Dave Love <fx@gnu.org>
9662 * speedbar.el (speedbar-recenter): Typo.
9663 (speedbar-expand-line): Make arg optional.
9664 (speedbar-mode): Avoid a compiler warning.
9666 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9668 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9669 user-specified option string is empty.
9671 * mouse.el (mouse-yank-at-click): Doc fix.
9673 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9675 * term/internal.el (IT-character-translations): More updates of
9676 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9679 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9681 * env.el (getenv): New function, interactively callable.
9682 (setenv, getenv): Remove autoload cookies.
9684 * loadup.el: Load `env'.
9686 * progmodes/f90.el: Change author's mail address.
9688 2000-05-14 Dave Love <fx@gnu.org>
9690 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9691 goto-addr as an option.
9693 * help.el (help-xref-stack): Doc fix.
9694 (help-xref-following): New variable.
9695 (help-make-xrefs): Use it.
9696 (help-xref-go-back): Use position information from stack element.
9697 (help-follow): Make position in stack element a pair. Use
9698 help-xref-following.
9700 * autoarg.el: New file.
9702 * faces.el: Declare more functions obsolete.
9704 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9705 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9706 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9707 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9708 Remove all the setup-...-environment functions.
9710 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9712 * speedbar.el: Updated the commentary section. xemacs20p now uses
9713 >= when detecting. Require `defimage' safely.
9714 (speedbar-easymenu-definition-base): Add toggle for images.
9715 (speedbar-easymenu-definition-special): Add flush cache & expand.
9716 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9717 (speedbar-reconfigure-keymaps-hook): New variable.
9718 (speedbar-frame-parameters): Updated documentation.
9719 (speedbar-use-imenu-flag): Updated custom tag
9720 (speedbar-dynamic-tags-function-list): New variable.
9721 (speedbar-tag-hierarchy-method): Updated doc & custom.
9722 (speedbar-indentation-width, speedbar-indentation-width) New
9724 (speedbar-hide-button-brackets-flag): Customizable.
9725 (speedbar-vc-indicator): Doc update.
9726 (speedbar-ignored-path-expressions): Updated default value.
9727 (speedbar-supported-extension-expressions): Updated default value.
9728 (speedbar-syntax-table): Remove {} paren status.
9729 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9730 as "+". Added overlay aliases.
9731 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9732 `force-mode-line-update'.
9733 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9734 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9736 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9737 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9738 of arbitrary text, and new helper functions.
9739 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9741 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9742 (speedbar-directory-buttons): Update path search/expansion.
9743 (speedbar-make-tag-line): Pay attention to
9744 `speedbar-indentation-width'. Use more care w/ invisible
9746 (speedbar-change-expand-button-char): Call
9747 `speedbar-insert-image-button-maybe'.
9748 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9749 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9750 (speedbar-trim-words-tag-hierarchy)
9751 (speedbar-simple-group-tag-hierarchy): New functions
9752 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9753 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9755 (speedbar-mouse-set-point): New function
9756 (speedbar-power-click): Updated documentation.
9757 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9759 (speedbar-expand-line, speedbar-contract-line): Make more robust
9761 (speedbar-expand-line): Takes universal argument to flush the
9763 (speedbar-flush-expand-line): New function.
9764 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9765 Use new generator insertion method.
9766 (speedbar-fetch-dynamic-tags): New function.
9767 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9768 `speedbar-fetch-dynamic-imenu'.
9769 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9770 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9771 "Revert Buffer" menu items.
9772 (speedbar-buffer-buttons-engine): Be smarter when creating a
9773 filename tag (for expansion purposes.).
9774 (speedbar-highlight-one-tag-line,
9775 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9776 (speedbar-recenter): New functions.
9777 (defimage-speedbar): Image loading abstraction.
9778 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9779 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9780 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9781 (speedbar-tag-type, speedbar-tag-mail): New images.
9782 (speedbar-expand-image-button-alist): New variable.
9783 (speedbar-insert-image-button-maybe): Insert an image over some
9786 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9788 * international/mule-cmds.el (encode-coding-char): An ASCII
9789 character is always encodable.
9791 * international/mule-conf.el: Add more information in descriptions
9794 * international/mule-diag.el (describe-char-after): New function.
9795 (describe-font-internal): Adjusted for the change of font-info.
9796 (describe-font): Likewise.
9797 (print-fontset): Rewritten for the new fontset implementation.
9798 (describe-fontset): Include fontset alias names in completion.
9799 (list-fontsets): Adjusted for the change of print-fontset.
9801 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9802 describe-char-after instead of displaying the detail in the echo
9804 (syntax-code-table): Format changed.
9805 (string-to-syntax): Adjusted for the above change.
9807 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9809 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9811 2000-05-12 Dave Love <fx@gnu.org>
9813 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9814 dependence. Use line-{beginning,end}-position, not
9815 point-at{b,e}ol. Some doc fixes.
9816 (todo-position): New function. Fix callers of position to use it.
9817 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9819 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9821 * time.el (display-time-mail-icon): Use `:ascent center'.
9823 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9824 handling FTP security extensions.
9826 2000-05-11 Dave Love <fx@gnu.org>
9828 * calendar/todo-mode.el: New file.
9830 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9832 * comint.el (comint-read-input-ring): Move reference to
9833 comint-input-ring-size outside of the save-excursion. It was
9834 causing the default value to be the only one ever seen.
9836 * font-lock.el: Update copyright. Remove Simon Marshall's email
9837 address on request from him.
9839 * subr.el (substitute-key-definition): Add comment describing
9840 the meaning of PREFIX.
9842 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9844 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9846 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9847 (add-minor-mode): Don't make the variable buffer-local and add a
9848 reference to define-minor-mode in the docstring.
9850 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9851 HEADER/FOOTER and fix bug with trailing empty directory.
9852 (cvs-append-to-ignore): Use vc-editable-p if available.
9853 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9854 (vc-do-command): Tweak advice to handle the new VC.
9856 * log-view.el (log-view-goto-rev): New function for the new VC.
9857 (log-view-minor-wrap): Use mark-active.
9859 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9860 (log-edit-changelog-full-paragraphs): New var.
9861 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9862 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9863 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9864 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9865 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9866 Replace the `cvs' prefix with `log-edit'.
9868 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9870 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9871 (diff-font-lock-defaults): Explicitly turn off multiline.
9872 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9873 (diff-ediff-patch): Fix call to ediff-patch-file.
9874 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9877 * frame.el (automatic-hscrolling): Typo.
9879 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9881 2000-05-09 Sam Steingold <sds@goems.com>
9883 * apropos.el (apropos-print): use `describe-face' instead of
9884 `customize-face-other-window'.
9886 2000-05-09 Dave Love <fx@gnu.org>
9888 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9890 * help.el (describe-variable): Have customize button pop the
9891 help-xref stack when invoked.
9892 (help-xref-symbol-regexp): Add `face'.
9893 (help-make-xrefs): Check for quoted face names and adapt regexp
9894 submatch numbers to cope.
9895 (help-xref-interned): Maybe insert face doc too. Separate
9896 sections with a line of hyphens.
9898 * faces.el: Some doc fixes. Declare some functions obsolete.
9899 (describe-face): Add customize button. Return the help
9902 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9904 * term/internal.el (IT-character-translations): Fix last change.
9906 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9908 * woman.el: New file
9909 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9911 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9913 * term/internal.el (IT-character-translations): Update ASCII
9914 simulations for greek-iso8859-7, add latin-iso8859-14 and
9917 * international/mule-cmds.el (set-language-info-alist): Call
9918 define-prefix-command with 3 arguments, to make the map suitable
9921 2000-05-07 Dave Love <fx@gnu.org>
9923 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9925 2000-05-05 Dave Love <fx@gnu.org>
9927 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9928 list in doc string. Don't quote keyword symbols.
9929 * emacs-lisp/cl.el: Likewise
9930 * emacs-lisp/cl-seq.el: Likewise
9932 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9934 * abbrev.el (abbrev-mode): Make ARG optional.
9936 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9938 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9940 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9942 * subr.el (substitute-key-definition): Clarify documentation.
9944 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9946 * glasses.el (glasses-convert-to-unreadable): Use
9947 `glasses-separator' instead of the hard-wired "_".
9948 (glasses-mode): Call `glasses-make-unreadable' only in a single
9951 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9953 * term/internal.el (cjk-codepages-alist): Add associations for
9954 Chinese and Korean codepages. Remove FIXME comment.
9956 2000-05-03 Dave Love <fx@gnu.org>
9958 * time.el (display-time-mail-face, display-time-use-mail-icon):
9960 (display-time-mail-icon): New variable.
9961 (display-time-string-forms): Use the above. Fix the local-map.
9963 2000-05-03 Gerd Moellmann <gerd@gnu.org>
9965 * replace.el (query-replace-map): Add binding for `E'.
9966 (query-replace-help): Extend help text.
9967 (perform-replace): Allow editing the replacement string.
9969 * make-mode.el (makefile-mode-abbrev-table): New variable.
9970 (makefile-mode): Set local abbrev table to
9971 makefile-mode-abbrev-table.
9972 (makefile-font-lock-keywords): Fontify includes and conditionals.
9974 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9977 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9978 mail-interactive-insert-alias.
9979 (mail-abbrev-complete-alias): New command.
9980 (mail-mode-map): Bind it to `M-TAB'.
9982 2000-05-03 Kenichi Handa <handa@etl.go.jp>
9984 * language/lao-util.el (lao-compose-region): New function.
9986 2000-05-02 Gerd Moellmann <gerd@gnu.org>
9988 * files.el (recover-session): Make directories as necessary
9989 if they don't exist yet.
9991 * calendar/cal-french.el
9992 (french-calendar-multibyte-special-days-array)
9993 (french-calendar-special-days-array): Change French text.
9994 (calendar-french-date-string): Change output.
9995 (calendar-goto-french-date): Likewise.
9997 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
9999 * wid-edit.el (widget-default-active): Obey `:always-active'.
10000 (widget-documentation-string-value-create): Set `:always-active'.
10002 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10004 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
10005 default prefix to `~/_emacs.d/auto-save.list/_s'.
10006 (normal-top-level): Create the directory for auto-save files, if
10007 it doesn't already exist (in the ms-dos case only).
10009 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10011 * international/mule-cmds.el (set-language-environment): Don't
10012 concat an integer (dos-codepage), use format instead.
10014 2000-05-02 Dave Love <fx@gnu.org>
10016 * help.el (help-xref-on-pp): Check for constant symbols.
10018 2000-04-29 Gerd Moellmann <gerd@gnu.org>
10020 * startup.el (normal-top-level): Put a condition-case around
10021 the code loading subdirs.el.
10023 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10025 * ps-print.el: Upside-down and face background color printing,
10026 line number step, doc fix.
10027 (ps-print-version): New version number (5.2).
10028 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
10029 (ps-face-attribute-list, ps-plot-with-face): Code fix.
10030 (ps-spool-config): Var fix.
10031 (ps-printer-name-option): Const fix.
10032 (ps-print-upside-down, ps-use-face-background)
10033 (ps-line-number-step): New vars.
10034 (ps-window-system, ps-lp-system): New consts.
10035 (ps-face-background): New fun.
10037 2000-04-28 Richard Stallman <rms@gnu.org>
10039 * files.el (make-auto-save-file-name):
10040 Apply auto-save-file-name-transforms to visited file name
10041 before generating auto save file name.
10042 (auto-save-file-name-transforms): New variable.
10044 * files.el (backup-enable-predicate):
10045 Correctly test for a file under a temporary directory.
10047 2000-04-28 Gerd Moellmann <gerd@gnu.org>
10049 * subr.el (add-minor-mode): Rewritten.
10051 2000-04-28 Kenichi Handa <handa@etl.go.jp>
10053 * mail/sendmail.el (sendmail-send-it): Set
10054 buffer-file-coding-system to the selected coding system for MIME
10057 2000-04-27 Gerd Moellmann <gerd@gnu.org>
10059 * dired.el (dired-move-to-filename-regexp): Allow format where
10060 YYYY is followed by two spaces.
10062 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
10063 in the second character class of the regexp.
10065 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
10068 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
10071 * subr.el (add-minor-mode): Use `set' instead of `setq'.
10073 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
10076 2000-04-27 Sen Nagata <sen@eccosys.com>
10078 * emacs-lisp/crm.el (crm-completion-table): New variable.
10079 (crm-collection-fn, crm-test-completion)
10080 (completing-read-multiple): Use it.
10082 2000-04-27 Dave Love <fx@gnu.org>
10084 * help.el (locate-library): Use mapc.
10085 (help-manyarg-func-alist): Add call-process-region.
10087 2000-04-26 Gerd Moellmann <gerd@gnu.org>
10089 * subr.el (add-minor-mode): Make argument MAP optional.
10091 * desktop.el (desktop-save): Save list of minor modes.
10092 (desktop-create-buffer): Restore minor modes.
10093 (desktop-minor-mode-table): New user-option.
10095 * subr.el (add-minor-mode): New function.
10097 * image.el (find-image): New function.
10098 (defimage): Rewritten to find image at load time.
10100 * startup.el (normal-top-level-add-to-load-path): Handle
10101 case that the default directory is not in load-path.
10103 * help.el: Old patch from Stefan Monnier.
10104 (help-xref-on-pp): New function.
10105 (describe-variable): Use it to display xrefs in a symbol's value.
10107 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
10109 * cus-edit.el (custom-face): Fix parenthesis.
10111 2000-04-26 Kenichi Handa <handa@etl.go.jp>
10113 * mail/rmail.el (rmail-expunge): When there are no deleted
10114 messages, do nothing.
10116 2000-04-26 Dave Love <fx@gnu.org>
10118 * international/mule-cmds.el (locale-translation-file-name):
10120 (set-locale-environment): Set it here (at runtime).
10122 2000-04-25 Gerd Moellmann <gerd@gnu.org>
10124 * replace.el (perform-replace): Add parameters START and END. Use
10125 them instead of the check for a region in Transient Mark mode.
10126 (query-replace-read-args): Return two more list elements for the
10127 start and end of the region in Transient Mark mode.
10128 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10129 (map-query-replace-regexp, replace-string, replace-regexp): Add
10130 optional last arguments START and END and pass them to
10133 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
10134 form with additional arguments for perform-replace.
10136 * progmodes/etags.el (tags-query-replace): Add parameters START
10137 and END. Construct a form with additional arguments for
10140 * simple.el (shell-command): Set default directory for "*Shell
10141 Command Output" buffer.
10143 * language/european.el (iso-latin-4): Fix typo.
10145 * emacs-lisp/crm.el: New file.
10147 2000-04-24 Dave Love <fx@gnu.org>
10149 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
10150 (Custom-reset-saved, Custom-reset-standard)
10151 (custom-group-value-create, custom-group-set, custom-group-save)
10152 (custom-group-reset-current, custom-group-reset-saved)
10153 (custom-group-reset-standard): Use mapc.
10154 (custom-buffer-create-internal): Disable undo when creating items.
10156 (custom-face): Avoid redundant lambda.
10158 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10160 * startup.el (auto-save-list-file-prefix): Set default to
10161 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
10163 2000-04-24 Sam Steingold <sds@gnu.org>
10165 * time-stamp.el (time-stamp-string-preprocess): Always convert
10166 `field-result' to a string.
10168 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10170 * frame.el (scrolling): New group.
10171 (automatic-hscrolling): New user-option.
10173 * startup.el (command-line-x-option-alist): Add `-lsp' and
10176 2000-04-19 Dave Love <fx@gnu.org>
10178 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
10179 (cl-mapc): Rename from mapc. Fix the funcall.
10181 2000-04-19 Gerd Moellmann <gerd@gnu.org>
10183 * simple.el (clone-indirect-buffer-other-window): New command.
10184 (clone-indirect-buffer): Add optional arg NORECROD.
10185 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
10187 * help.el (resize-temp-buffer-window): Use count-screen-lines.
10189 * window.el (count-screen-lines): New function.
10190 (shrink-window-if-larger-than-buffer): Use count-screen-lines
10191 instead of window-buffer-height.
10193 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
10194 non-existing variable comint-input-sentinel.
10195 (inferior-lisp-args-to-list): Removed.
10196 (inferior-lisp): Use split-string instead of
10197 inferior-lisp-args-to-list.
10199 * hexl.el (hexl-insert-hex-string): New command.
10201 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
10204 2000-04-18 Gerd Moellmann <gerd@gnu.org>
10206 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
10207 at the start of an existing but empty folder.
10209 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10211 * ps-mule.el: Customization fix, doc fix.
10212 (ps-multibyte-buffer): Customization fix.
10214 2000-04-17 Richard M. Stallman <rms@gnu.org>
10216 * subr.el (read-passwd): Use read-char-exclusive.
10218 2000-04-17 Gerd Moellmann <gerd@gnu.org>
10220 * textmodes/texinfo.el (texinfo-insert-@email)
10221 (texinfo-insert-@emph, texinfo-insert-@quotation)
10222 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
10223 (texinfo-mode-map): Add key bindings for them.
10225 * files.el (basic-save-buffer-2): Use a template with `$'
10226 instead of `#' for VMS.
10228 * simple.el (clone-indirect-buffer): New function.
10230 2000-04-16 Stephen Eglen <stephen@gnu.org>
10232 * iswitchb.el (iswitchb-case): New function. If the user input
10233 contains any upper-case characters, the search is made
10236 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
10238 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
10240 (texinfo-font-lock-syntactic-keywords): New var.
10241 (texinfo-font-lock-keywords): Remove comment regexp.
10242 (texinfo-insert-block): New function.
10243 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
10244 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
10245 and font-lock-defaults. Use regexp-opt for outline-regexp.
10246 (texinfo-environments): New var.
10247 (texinfo-environment-regexp): Use regexp-opt and
10248 texinfo-environments.
10250 * textmodes/ispell.el (ispell-menu-map-needed): Check that
10251 ispell-process is bound since this might be eval'd before ispell
10253 (ispell-message): Use a tiny bit less magic and a bit more hard
10254 data to figure out what kind of sc-cite-regexp to use.
10256 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
10258 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
10259 (insert-cyclic-diary-entry): Unquote the lambda.
10261 * gud.el (gud-jdb-build-source-files-list): Fix typo.
10263 * files.el (backup-enable-predicate): Unquote the lambda.
10265 * cus-edit.el (custom-face, face): Unquote the lambda.
10267 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10269 * ps-print.el: Check for line-beginning-position definition.
10271 * ps-print.el: Fix counting lines in a region.
10272 (ps-print-version): New version number (5.1.5).
10273 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
10274 (ps-printing-region): Fun code fix.
10276 2000-04-15 Gerd Moellmann <gerd@gnu.org>
10278 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
10279 to file-directory-p.
10281 2000-04-14 Gerd Moellmann <gerd@gnu.org>
10283 * gud.el (gud-jdb-build-source-files-list): Check that directory
10284 exists before calling directory-files.
10286 2000-04-13 Dave Love <fx@gnu.org>
10288 * emacs-lisp/trace.el: Change maintainer. Use new backquote
10291 * emacs-lisp/cl-specs.el: Remove when, unless.
10293 * emacs-lisp/cl-extra.el: Don't quote keywords.
10294 (cl-old-mapc): New variable.
10296 (cl-map-intervals): Use with-current-buffer. Don't check for
10297 next-property-change.
10298 (cl-map-overlays): Use with-current-buffer.
10300 (copy-tree, remprop): Define unconditionally.
10302 * emacs-lisp/cl-compat.el (keywordp): Remove.
10304 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
10306 (edebug-spec): Enable keywordp.
10308 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
10311 * cus-start.el: Use keywordp.
10313 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10315 * diary-lib.el (include-other-diary-files): Fix the fix of
10316 2000-02-18 by doing a save-excursion.
10318 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10320 * ps-print.el: Customization fix, doc fix.
10321 (ps-print-version): New version number (5.1.4).
10322 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
10323 (ps-print-preprint): Adjust code.
10324 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
10325 (ps-print-prologue-header, ps-print-control-characters)
10326 (ps-spool-config): Customization fix.
10328 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
10330 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
10331 converted to the new menu-item format, names silightly changed,
10332 help strings added.
10334 Support for spelling without async subprocesses:
10336 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
10337 (ispell-session-buffer): New variables.
10338 (ispell-start-process, ispell-process-status,
10339 ispell-accept-output, ispell-send-string): New functions, for
10340 Ispell invocation when async subprocesses aren't supported.
10341 (ispell-word, ispell-pdict-save, ispell-command-loop,
10342 ispell-process-line, ispell-buffer-local-parsing): Replace calls
10343 to process-send-string with calls to ispell-send-string, and
10344 accept-process-output with ispell-accept-output.
10345 (ispell-init-process): Call ispell-process-status instead of
10346 process-status with.
10347 (ispell-init-process): Call ispell-start-process. Call
10348 ispell-accept-output and ispell-send-string. Don't call
10349 process-kill-without-query and kill-process if they are unbound.
10350 (ispell-async-processp): New function.
10352 2000-04-12 Dave Love <fx@gnu.org>
10354 * info.el: Add debug-ignored-errors.
10355 (Info-mode-menu): Add some items.
10356 (Info-directory): Add autoload cookie.
10358 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
10359 Modify `truncate-lines'. Make `describe-language-environment'
10360 always visible and add help. Modify `describe-key' help. Invoke
10361 Info-directory from `info'. New entry `emacs-manual'.
10363 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10365 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
10366 propertized-buffer-identification.
10367 (ebrowse-update-member-buffer-mode-line): Likewise.
10368 (ebrowse--mode-strings): Removed.
10369 (ebrowse--mode-line-props): Removed.
10371 * files.el (auto-mode-alist): Add `EBROWSE'.
10373 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
10374 space before testing for end of buffer.
10375 (ebrowse-load): Removed.
10376 (ebrowse-revert-tree-buffer-from-file): Rewritten.
10377 (ebrowse-create-tree-buffer): Rewritten.
10378 (ebrowse-tree-mode): Read tree from buffer.
10380 * progmodes/ebrowse-ffh.el: Removed.
10382 2000-04-10 Kenichi Handa <handa@etl.go.jp>
10384 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
10386 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10388 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
10389 at the wrong place.
10391 2000-04-09 Dave Love <fx@gnu.org>
10393 * files.el (backup-enable-predicate): Use
10394 temporary-file-directory, small-temporary-file-directory.
10395 (make-backup-file-name-function, backup-directory-alist): New
10397 (make-backup-file-name-1): New function.
10398 (make-backup-file-name): Use it.
10399 (find-backup-file-name): Likewise. Use format for clarity, not
10401 (file-newest-backup): Use make-backup-file-name.
10403 2000-04-09 Gerd Moellmann <gerd@gnu.org>
10405 * progmodes/ebrowse-ffh.el: New file.
10407 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
10409 (ebrowse-load): Add autoload.
10411 * finder.el (finder-commentary): Add autoload cookie.
10413 * mail/rfc2368.el: Correct author's email address.
10415 * progmodes/ebrowse.el: New file.
10417 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
10419 (easy-menu-do-add-item): Ditto.
10420 (easy-menu-define): Extend doc string.
10422 * jit-lock.el (with-buffer-unmodified): Use
10423 restore-buffer-modified-p.
10424 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
10425 (jit-lock-function, jit-lock-stealth-fontify): Don't use
10426 with-buffer-unmodified.
10428 2000-04-08 Dave Love <fx@gnu.org>
10430 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
10433 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
10435 * viper-util.el (viper-put-on-search-overlay): New subroutine.
10436 (viper-flash-search-pattern): No operation when using Emacs
10437 doesn't support face.
10438 Use `viper-put-on-search-overlay'.
10440 2000-04-04 Gerd Moellmann <gerd@gnu.org>
10442 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
10445 * progmodes/make-mode.el: Some doc fixes.
10446 (makefile-mode-abbrev-table): New variable.
10447 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
10448 (makefile-font-lock-keywords): Fontify includes and conditionals.
10449 (toplevel): Require `dabbrev' and `add-log' when compiling.
10451 * replace.el (perform-replace): Don't move forward one char
10452 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
10453 to do that because it leaves point 1 position after the last
10454 replacement, after everything has been replaced.
10456 * jit-lock.el (with-buffer-unmodified): New macro.
10457 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
10459 (jit-lock-function-1): Extracted from jit-lock-function; not
10460 preserving buffer's modified state.
10461 (jit-lock-function, jit-lock-stealth-fontify): Call
10462 jit-lock-function-1.
10464 * mail/rfc2368.el: Remove supernumerary copyright line.
10466 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
10468 * glasses.el: Provide facilities for inserting space before left
10469 parentheses and uncapitalization of identifiers.
10470 (glasses-mode): Try to remove old overlays in all cases.
10472 2000-04-03 Gerd Moellmann <gerd@gnu.org>
10474 * progmodes/compile.el (compile-internal): Display the compilation
10475 buffer in a different frame, if it's already displayed there.
10477 * mail/rfc2368.el: New file.
10479 * simple.el (sendmail-user-agent-compose): Recognize a `body'
10480 header and insert its value as mail body.
10482 * subr.el (member-ignore-case): New function.
10484 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
10485 (dabbrev--find-expansion): Ignore buffers matching a regexp
10486 from dabbrev-ignored-regexps.
10488 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
10489 to extensions handled by gzip.
10491 2000-04-03 Richard M. Stallman <rms@gnu.org>
10493 * files.el (insert-directory): List the total free space
10494 along with the used space.
10496 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
10497 line is followed by one that matches CITATION-REGEXP, end the
10500 2000-04-03 Markus Rost <rost@delysid.gnu.org>
10502 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10503 (rmail-make-basic-summary-line): Use that option.
10505 2000-04-03 Kenichi Handa <handa@etl.go.jp>
10507 * international/mule-cmds.el (encoded-string-description):
10508 Rewritten. Try pretty description for ISO 2022 escape sequences
10509 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
10510 for hexadecimal format.
10512 2000-04-01 Dave Love <fx@gnu.org>
10514 * cpp.el: Change customization group to `c' from `C'.
10516 * vcursor.el (vcursor-move): Use display-color-p.
10518 * international/mule-util.el: Provide mule-utils.
10519 (string-to-sequence): Simplify and speed up.
10521 * international/mule.el (make-coding-system): Purecopy doc-string.
10523 * international/mule-cmds.el: Various menu changes.
10524 (describe-specified-language-support): Handle `Default'.
10525 (set-language-info): Purecopy `info'.
10527 2000-03-31 Andrew Innes <andrewi@gnu.org>
10529 * vc.el (vc-backend-diff): Return the correct status if we had to
10530 retry the rcsdiff command without the --brief option.
10532 2000-03-31 Dave Love <fx@gnu.org>
10534 * help.el (help-manyarg-func-alist): Correct several omissions.
10536 * add-log.el: Don't require cl, fortran.
10537 (add-log-current-defun-function): Doc fix.
10538 (change-log-version-number-regexp-list): Remove SCCS part. Doc
10540 (change-log-version-rcs): Function deleted.
10541 (change-log-version-number-search): Doc fix. Use
10542 vc-workfile-version. Avoid CL dolist.
10543 (add-change-log-entry): Just call add-log-current-defun to get
10544 defun. Simplify somewhat.
10545 (change-log-get-method-definition-1): Likewise.
10546 (add-log-current-defun): Return nil if calling
10547 add-log-current-defun-function does so. Move Fortran stuff to
10548 fortran.el. Return string without properties.
10550 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10551 and :alpha: char classes.
10553 * mail/supercite.el: Defvar curline when compiling.
10554 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10555 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10556 rather than a-zA-Z0-9 to allow non-ASCII characters.
10558 2000-03-31 Gerd Moellmann <gerd@gnu.org>
10560 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10562 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10563 Re-enable new code.
10565 * lpr.el (print-region-1): Use -d to specify printer name for
10566 systems `usg-unix-v*, `dgux', `hpux', `irix'.
10568 2000-03-31 Dave Love <fx@gnu.org>
10570 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10571 for function definition in symbol's function value slot first
10572 instead of first consulting byte-compile-function-environment.
10574 2000-03-31 Kenichi Handa <handa@etl.go.jp>
10576 * language/european.el ("Polish"): New language environment.
10577 (setup-polish-environment): New function.
10579 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10581 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10584 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10585 trying to `load' the symbol of an autoload instead of the file
10586 recorded in the autoload. Fix error messages.
10588 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10590 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10591 (ps-print-version): New version number (5.1.3).
10592 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10593 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10594 (ps-generate-postscript-with-faces): Code fix.
10595 (ps-color-values): XEmacs compatibility.
10596 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10597 (ps-default-fg, ps-default-bg): Adjust customization.
10598 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10599 (ps-color-scale): Renaming old ps-color-value fun.
10600 (ps-print-headers): Replace ps-print-header group to avoid conflict
10601 with ps-print-header variable.
10602 (ps-print-miscellany): New group.
10603 (ps-format-color, ps-rgb-color): New funs.
10604 (ps-default-foreground): New var.
10605 (ps-printer-name-option): New const.
10607 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10609 * net/net-utils.el:
10610 (network-connection-host, network-connection-service): New variables
10611 (network-connection-mode): New mode, derived from comint-mode
10612 (network-connection-mode-setup): New function, saves host and
10613 service information in local variables.
10616 (locate-word-at-point): Added this function
10617 (locate): Default to using locate-word-at-point as input
10618 Run dired-mode-hook
10620 2000-03-29 Dave Love <fx@gnu.org>
10622 * calendar/appt.el: Doc fixes.
10623 (appt-check): Convert min-to-app to a string before passing to
10624 appt-disp-window-function or concat.
10625 (appt-delete-window): Remove test for frame-root-window.
10626 (appt-select-lowest-window, appt-convert-time): Simplify.
10628 * emacs-lisp/bytecomp.el: Doc fixes.
10629 (byte-compile-file-form-autoload): Update
10630 byte-compile-function-environment.
10632 2000-03-29 Andreas Schwab <schwab@suse.de>
10634 * emacs-lisp/autoload.el: Also print defsubst doc string
10637 * dired.el (dired-insert-directory): If dired-free-space-program
10638 failed just delete its output.
10640 2000-03-29 Dave Love <fx@gnu.org>
10642 * international/iso-cvt.el: Move provide to end. Doc fixes.
10643 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10644 (iso-iso2sgml, iso-sgml2iso): New functions.
10645 (iso-cvt-define-menu): Fix some entries and use backquote for
10648 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10650 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10652 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10653 ISO-DATE. If non-nil, return date in ISO 8601 format.
10655 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10657 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10658 if it ever becomes used.
10659 (log-edit-mode-hook): Default to vc-log-mode-hook.
10660 (log-edit-mode): Fix the docstring.
10662 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10665 2000-03-26 Dave Love <fx@gnu.org>
10667 * net/browse-url.el (browse-url): Re-fix case of
10668 browse-url-browser-function being an alist.
10669 (browse-url): Add :link to defgroup.
10671 * files.el: Doc fixes.
10672 (file-truename): Include `[' in wildcard characters.
10673 (automount-dir-prefix): Customize.
10674 (find-file-wildcards): Add :version.
10675 (find-file-noselect): Simplify a mapcar call.
10677 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10678 compatible with inf-lisp version.
10679 (eval-defun-1): Fix custom-declare-variable case.
10681 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10683 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10685 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10687 * Makefile (COMPILE_FIRST): New macro.
10688 (compile-files): Compile files from COMPILE_FIRST first.
10690 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10693 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10694 matching open parenthesis in column 0 to defun-prompt-regexp
10695 only if open-paren-in-column-0-is-defun-start is set.
10697 * sun-curs.el: Require CL at compile-time only.
10699 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10700 instead of copy-list which is a function from CL.
10701 (msb--choose-menu, msb--mode-menu-cond)
10702 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10703 (msb--init-file-alist): Use mapcar instead of mapcan.
10704 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10705 `(' in column 0 in doc string.
10706 (msb--add-separators): Use mapcar instead of mapcan.
10708 * cus-dep.el: Require CL at compile-time only.
10710 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10712 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10713 (byte-compile-warnings): New warning `noruntime'.
10714 (byte-compile-constants, byte-compile-variables): Fix docstring.
10715 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10716 execute `eval-whenc-compile's body.
10717 (byte-compile-unresolved-functions): Fix docstring.
10718 (byte-compile-eval): New function.
10719 (byte-compile-callargs-warn): Check if the function will be available
10720 at runtime (via property `byte-compile-noruntime').
10721 (byte-compile-print-syms): New function.
10722 (byte-compile-warn-about-unresolved-functions): Also warn about
10723 `noruntime' functions (and use `byte-compile-print-syms').
10724 (byte-compile-file): Capitalize the message.
10726 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10728 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10729 (rmail-expunge): Ask for confirmation depending on the setting
10730 of rmail-confirm-expunge.
10732 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10734 * Makefile (bootstrap-clean): If $(emacs) exists, build
10735 loaddefs.el first. A loaddefs.el that's not up-to-date might
10736 cause a bootstrap failure because things don't autoload as
10739 2000-03-23 Dave Love <fx@gnu.org>
10741 * net/browse-url.el: Restore previous use of
10742 browse-url-maybe-new-window.
10744 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10746 * ps-print.el: Skip banner page fix.
10747 (ps-print-version): New version number (5.1.2).
10748 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10750 2000-03-23 Dave Pearson <davep@davep.org>
10752 * net/quickurl.el Changed the type of parameter passed to the
10753 function defined by `quickurl-format-function'. Before only the
10754 text of the URL was passed. Now the whole URL structure is passed
10755 and the function is responsible for extracting the parts it
10756 requires. Changed the default of `quickurl-format-function'
10758 (quickurl-insert): Changed the `funcall' of
10759 `quickurl-format-function' to match the above change.
10760 (quickurl-list-insert): Changed the `url' case so that it makes
10761 use of `quickurl-format-function', previous to this the format was
10764 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10766 * startup.el: Change some spellings for the X Window System.
10768 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10770 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10771 up the code and the regexp and make sure the cursor is temporarily
10772 moved to the suspicious line while querying the user.
10774 2000-03-22 Jason Rumney <jasonr@gnu.org>
10776 * w32-fns.el (w32-charset-info-alist): Initialize.
10778 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10780 * ps-print.el: N-up last page fix.
10781 (ps-print-version): New version number (5.1.1).
10782 (ps-end-file, ps-end-job, ps-generate): Code fix.
10784 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10786 * files.el (find-file-run-dired): Update docstring.
10787 (find-directory-functions): New hook.
10788 (find-file-noselect): Run find-directory-functions rather than
10789 calling dired directly.
10791 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10793 * pcvs.el: Add a minimal leading commentary.
10794 (cvs-make-cvs-buffer): Change the header part by removing the startup
10795 message and adding a `Module' entry. Also replace the FOOTER and
10796 HEADER special fileinfos with the new support in ewoc for updating
10797 its own footer and header.
10798 (cvs-update-header): Update to use the header/footer of the ewoc.
10799 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10800 (cvs-is-within-p): New function.
10801 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10802 to only examine some subset of the buffers.
10804 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10805 `format' instead of our own ad-hoc functions.
10806 Remove HEADER and FOOTER cases, now handled in the EWOC.
10807 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10809 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10810 output to avoid scaring the user.
10811 (cvs-parse-table): Catch message for non-up-to-date commits.
10813 * pcvs-defs.el (cvs-startup-message): Remove.
10814 (cvs-global-menu): New autoloaded menu.
10816 * pcvs-util.el (cvs-string-fill): Remove.
10818 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10819 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10820 PP part of it and also make it work for footers and headers.
10821 (ewoc-create): Drop POS and BUFFER arguments.
10822 Use the DLL's dummy node to store the end-of-footer position.
10823 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10824 (ewoc-refresh): Remove unused `header' variable.
10825 (ewoc-(get|set)-hf): New functions.
10827 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10828 log-view-*-(message|file) and use easy-mmode-define-navigation.
10829 (log-view-message-re): Match SCCS format as well.
10830 And match the revision line rather than the dashed separator line.
10831 (log-view-mode): Use the new define-derived-mode.
10832 (log-view-current-tag): Fill in with an actual implementation.
10834 * cvs-status.el (cvs-status-(prev|next)): Rename from
10835 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10836 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10837 to let the output "breathe" a little more (more readable).
10838 (cvs-status-mode): Use the new define-derived-mode.
10840 * smerge-mode.el (smerge-auto-leave): New function and variable.
10841 (smerge-basic-map): Rename from smerge-basic-keymap.
10842 Change the bindings for smerge-diff-*.
10843 (smerge-*-map): Use easy-mmode-defmap.
10844 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10845 (smerge-keep-*): Use smerge-auto-leave.
10847 2000-03-21 Jason Rumney <jasonr@gnu.org>
10849 * cus-edit.el (custom-button-face): Use 3D look for w32.
10850 (custom-button-pressed-face): Likewise.
10852 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10854 * progmodes/etags.el (tags-case-fold-search): New user-option.
10855 (tags-loop-eval): New function. Bind case-fold-search around eval
10856 depending on the value of tags-case-fold-search.
10857 (tags-loop-continue): Use tags-loop-eval.
10858 (find-tag-in-order): Bind case-fold-search depending on the value
10859 of tags-case-fold-search.
10861 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10863 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10864 (diff-end-of-hunk): Return the end position for use in
10865 `easy-mmode-define-navigation'.
10866 (diff-recenter): Remove.
10867 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10868 of `easy-mmode-define-navigation'.
10869 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10870 previous renaming) and fix to use new names.
10871 (diff-merge-strings): Use \n as separator: simpler, faster.
10872 (diff-mode): Use `define-derived-mode'.
10874 * derived.el (define-derived-mode): Don't autoload anymore.
10875 Prefer the macro-only version provided by easy-mmode.el.
10877 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10878 `easy-mmode-define-derived-mode'.
10879 Use `combine-run-hooks'.
10880 (easy-mmode-define-navigation): New macro.
10882 * subr.el (combine-run-hooks): New function.
10884 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10886 * term/x-win.el: Fontsets related initialization is simplified.
10888 * international/mule-diag.el (describe-font): Don't refer to
10889 global-fontset-alist, instead call font-list.
10890 (describe-fontset, list-fontsets, mule-diag): Likewise.
10891 (print-fontset): Adjusted for the change of fontset
10894 * international/fontset.el (x-charset-registries): Variable
10895 removed, instead the corresponding data is stored in the default
10897 (register-alternate-fontnames): Function removed.
10898 (resolved-ascii-font): Variable removed.
10899 (x-compose-font-name): Ignore the second argument REDOCE.
10900 (x-complement-fontset-spec): Complement only an ASCII font and
10901 element for those charsets than can use that ASCII font.
10902 (generate-fontset-menu): Don't refer to global-fontset-alist,
10903 instead call fontset-list.
10904 (uninstantiated-fontset-alist): Variable removed.
10905 (x-style-funcs-alist): Likewise.
10906 (fontset-default-styles): Likewise.
10907 (x-modify-font-name): Function removed.
10908 (create-fontset-from-fontset-spec): Ignore the argument
10910 (create-fontset-from-ascii-font): Docsting adjusted for the above
10912 (instantiate-fontset, resolve-fontset-name): Functions removed.
10913 (fontset-list): Now implemented by C code.
10915 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10916 (describe-face): Include `font' attribute in the description.
10918 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10920 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10922 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10924 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10925 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10926 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10928 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10929 about behavior of set-buffer-modified-p wrt redisplay.
10931 2000-03-19 Richard M. Stallman <rms@gnu.org>
10933 * view.el (view-mode-disable): Kill local binding of view-read-only.
10935 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10937 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10938 is a string, convert it to a syntax cell using string-to-syntax.
10940 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10941 (string-to-syntax): New function.
10943 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10944 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10945 try to use passive ftp mode.
10947 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10949 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10951 * simple.el (append-to-buffer): Update point of windows after
10954 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10955 forward then moving backward. Reindent.
10957 * frame.el (other-frame): Call x-focus-frame only if
10958 focus-follows-mouse is off.
10960 2000-03-17 Dave Love <fx@gnu.org>
10962 * pcvs-util.el (cvs-strings->string): Rename
10963 replace-regexps-in-string.
10965 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
10967 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10968 regexp for labels cannot span several lines.
10970 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10971 `(setq :<key> ':<key>)' to the macro expansion.
10973 2000-03-16 Dave Love <fx@gnu.org>
10975 * progmodes/f90.el (f90): Put custom group under `languages', not
10977 (f90-mode-hook): Customize.
10978 (f90-mode): Set add-log-current-defun-function.
10979 (f90-current-defun): New function.
10981 2000-03-16 Gerd Moellmann <gerd@gnu.org>
10983 * cus-edit.el (custom-variable-tag-face): Handle case that
10984 default face's height is not a number.
10985 (custom-face-tag-face, custom-group-tag-face-1)
10986 (custom-group-tag-face): Ditto.
10987 (custom-group-tag-face-1): Add :group.
10989 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10991 2000-03-15 Gerd Moellmann <gerd@gnu.org>
10993 * pcvs-defs.el (toplevel): Remove autoload cookie for form
10994 requiring easymenu.
10996 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10998 * ps-print.el: PostScript user-defined prologue, PostScript error
11000 (ps-print-version): New version number (5.1).
11001 (ps-user-defined-prologue, ps-error-handler-message)
11002 (ps-print-prologue-0, ps-error-handler-alist): New vars.
11003 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
11004 (ps-insert-string): New function.
11006 2000-03-15 Kenichi Handa <handa@etl.go.jp>
11008 * international/ccl.el (ccl-compile-expression): Don't generate
11009 invalid self-assignment code.
11011 2000-03-14 Dave Love <fx@gnu.org>
11013 * subr.el (replace-regexp-in-string): Renamed from
11014 replace-regexps-in-string. Doc fix.
11016 2000-03-12 Dave Love <fx@gnu.org>
11018 * cus-edit.el: Doc fixes.
11019 (customize-set-variable, customize-save-variable): Rename args for
11021 (custom-variable-tag-face, custom-face-tag-face)
11022 (custom-group-tag-face-1, custom-group-tag-face): Modify from
11023 style which user identify as hyperlink.
11024 (hook): Don't add undefined functions to the hook.
11025 (debug-ignored-errors): Transfer message from bindings.el.
11027 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11029 * recentf.el (recentf-keep-non-readable-files-p): Remove
11030 double/nested definition.
11032 2000-03-12 Dave Love <fx@gnu.org>
11034 * facemenu.el (facemenu-get-face): Use display-color-p.
11035 * enriched.el (enriched-decode-foreground): Likewise.
11036 (enriched-decode-background): Likewise.
11037 * isearch.el (isearch-highlight): Likewise.
11038 * info-look.el (info-lookup): Likewise.
11039 * simple.el (completion-setup-function): Likewise.
11041 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
11044 * bindings.el (mode-line-format): Fix line-number and
11045 column-number items. Add help-echo for the background.
11046 (mode-line-mule-info): Modify help-echo.
11048 * avoid.el (mouse-avoidance-mode): Add autoload cookie to defcustom.
11050 * files.el (load-file): Allow completion to .elc.
11052 * man.el: Doc fixes.
11053 (Man-init-defvars): Use display-color-p to set fontification.
11055 * play/hanoi.el (hanoi-internal): Don't use oddp.
11057 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11059 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
11061 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
11063 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
11065 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
11068 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
11070 * font-lock.el (font-lock-keywords): Fix the doc now that
11071 regexp-opt-depth is unnecessary.
11072 (save-buffer-state): Set an edebug spec.
11073 (font-lock-fontify-anchored-keywords): Properly handle the case when
11074 the matcher goes past the limit.
11076 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
11077 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
11079 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
11080 dll.el and cookie.el (from Elib) with heavy renaming and other
11083 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
11084 Autoload the functions used.
11085 (easy-mmode-define-syntax): Fix CL typo.
11086 (easy-mmode-define-derived-mode): Improve the docstring generation.
11088 2000-03-10 Gerd Moellmann <gerd@gnu.org>
11090 * textmodes/texinfo.el (texinfo-version): Variable and function
11093 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
11095 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
11096 allow more flexibility.
11097 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
11099 (easy-mmode-defmap, easy-mmode-defsyntax)
11100 (easy-mmode-define-derived-mode): New macros.
11102 2000-03-09 Didier Verna <didier@xemacs.org>
11104 * rect.el (replace-rectangle): New function.
11106 2000-03-09 Dave Love <fx@gnu.org>
11108 * progmodes/fortran.el (fortran-comment-line-start): Define as
11110 (fortran-comment-line-start-skip): Don't match cpp stuff.
11111 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
11112 (fortran-mode-map): Remove over-eager custom-menu-create for now.
11113 (fortran-mode): Don't set fortran-comment-line-start-skip,
11114 fortran-comment-line-start here. Set comment-start,
11115 add-log-current-defun.
11116 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
11117 (fortran-current-defun): New function.
11119 2000-03-09 Gerd Moellmann <gerd@gnu.org>
11121 * emacs-lisp/re-builder.el: New file.
11123 * mouse.el (mouse-drag-region): Don't run up-event handler
11124 if hscroll has changed.
11126 * octave-mod.el (octave-font-lock-keywords): To font-lock the
11127 builtin operators, use `font-lock-builtin-face' for Emacs and
11128 `font-lock-preprocessor-face' otherwise.
11130 * font-lock.el (lisp-font-lock-keywords-1): Highlight
11131 `(defun (setf foo)' differently.
11133 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
11135 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
11136 (regexp-opt): Update comment and adapt the code the new meaning of
11137 the `paren' argument of regex-opt-group for shy-groups.
11138 (regexp-opt-depth): Handle shy groups as well as backslashed
11140 (regexp-opt-group): Turn the leading comment into a docstring.
11141 Allow `paren' to be a string (the string to use to open a group).
11142 Remove open-presuf and close-presuf. Instead of checking for `all
11143 one-char' and then later on check for `several one-char', handle
11144 both cases close together. Also apply a more generic algorithm
11145 for suffixes (the mirror image of the algorithm used for
11146 prefixes). Use shy-groups. Use nreverse rather than reverse.
11147 (regexp-opt-try-suffix): Removed.
11149 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
11150 from comint-mode-map, so we can just inherit from it. Also, move
11151 the initialization into the `defvar' since there's no docstring
11152 anyway and it's fairly short.
11153 (inferior-scheme-mode): Define it as derived-mode: the code is
11154 shorter and this way we inherit from comint-mode-map rather than
11157 * subr.el (replace-regexps-in-string): Properly handle the case
11158 where we match an empty string.
11160 * comint.el (comint-exec-1): Add the current-dir to the exec-path
11161 when the command has a directory component (such as "./testml").
11162 Also fix a typo in the comment.
11164 2000-03-08 Gerd Moellmann <gerd@gnu.org>
11166 * Makefile (compile-files): Compile files one by one because
11167 that's the only way to ensure a clean compilation environment for
11168 each individual file.
11170 * frame.el (other-frame): Call x-focus-frame.
11172 2000-03-07 Dave Love <fx@gnu.org>
11174 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
11175 :require to defcustom.
11177 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
11180 * files.el (auto-mode-alist): Add configure.in.
11182 * progmodes/autoconf.el: New file.
11184 2000-03-07 Gerd Moellmann <gerd@gnu.org>
11186 * mail/mh-e.el: Change maintainer to `none'.
11188 * recentf.el (recentf-keep-non-readable-files-p): Quote args
11189 to remove-hook and add-hook.
11191 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11193 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
11195 (mail-send): Test mail-send-nonascii also for the new `mime' value.
11196 (sendmail-send-it): Conditionally add MIME headers specifying the
11197 used character set.
11199 2000-03-07 Dave Love <fx@gnu.org>
11201 * winner.el: Fix keywords, autoload cookies. Split
11202 eval-when-compile form to avoid compilation failure.
11204 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
11206 * international/mule.el: Modify comment about coding system
11207 property `coding-category'.
11208 (make-coding-system): New argument EOL-TYPE. Pay attention to
11209 coding-category property of PROPERTIES.
11211 * international/mule-conf.el (coding-category-utf-8,
11212 coding-category-utf-16-be, coding-category-utf-16-le): New coding
11213 categories. Include them in the argument for set-coding-priority.
11215 * international/mule-cmds.el (reset-language-environment): Include
11216 coding-category-utf-8, coding-category-utf-16-be, and
11217 coding-category-utf-16-le in the argument for set-coding-priority.
11218 (reset-language-environment): Initialize coding-category-utf-8,
11219 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
11221 2000-03-06 Karl Fogel <kfogel@red-bean.com>
11223 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
11224 code abstracted out of `bookmark-jump-noselect'. Now tries info
11225 extensions as well as compression extensions.
11226 (bookmark-jump-noselect): Use above new func.
11228 2000-03-03 Gerd Moellmann <gerd@gnu.org>
11230 * strokes.el: Change maintainer's mail address.
11232 2000-03-03 Kenichi Handa <handa@etl.go.jp>
11234 * international/mule-diag.el (list-character-sets): Make help-echo
11235 string by substitute-command-keys.
11236 (list-character-sets): Likewise.
11237 (sort-listed-character-sets): Call help-setup-xref.
11239 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11241 * time.el (display-time-mail-file): Add `none' to the list of
11244 2000-03-01 Dave Love <fx@gnu.org>
11246 * help.el (help-xref-go-back): Don't try to set position.
11248 * international/mule-diag.el (list-character-sets): Call
11249 help-setup-xref. Add help-echo to xrefs.
11250 (list-character-sets-1): Add help-echo to xrefs.
11252 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11254 * frame.el (blink-cursor-mode): Switch cursor on when turning
11257 * add-log.el (add-log-current-defun): Add support for
11260 * mail/rmail.el (rmail-quit-hook): New variable.
11262 2000-03-01 Dave Love <fx@gnu.org>
11264 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
11266 * help.el (help-xref-button): Add help-echo arg.
11267 (describe-function-1, describe-variable, help-make-xrefs): Use it.
11269 * faces.el (list-faces-display): Supply help-echo with
11272 * facemenu.el (list-text-properties-at): Set help-xref-stack to
11275 2000-03-01 Gerd Moellmann <gerd@gnu.org>
11277 * image.el (defimage): Look for image files in load-path.
11279 * frame.el (busy-cursor-delay-seconds): Change type to
11282 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11284 * recentf.el (recentf): Added version tag to the defgroup of
11287 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11289 * recentf.el (recentf-cleanup): Changed to remove excluded file
11291 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
11292 action to select/unselect a file.
11293 (recentf-edit-list): Code cleanup and improvement.
11294 (recentf-open-more-files-action): `recentf-open-more-files' button
11295 widget action to open a file.
11296 (recentf-open-more-files): No more use standard completion but
11298 (recentf-more-collection): Deleted.
11299 (recentf-more-history): Deleted.
11300 (recentf-setup-more-completion): Deleted.
11302 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11304 * recentf.el (recentf-mode): No more needs that Emacs is running
11305 under a window-system.
11307 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11309 * recentf.el (recentf-edit-list): New command to edit the recent
11310 list which allow the user to remove files.
11311 (recentf-edit-selected-items): New global variable, used by
11312 `recentf-edit-list' to hold the list of files to be removed from
11314 (recentf-make-menu-items): Updated to display a "Edit list..."
11315 menu item. Minor code cleanup.
11317 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11319 * recentf.el (recentf-open-more-files): New command to open files
11320 that are not displayed in the menu.
11321 (recentf-more-collection): New global variable holding the set of
11322 permissible completions used by `recentf-open-more-files'.
11323 (recentf-more-history): New global variable holding the history list
11324 used by `recentf-open-more-files' completion.
11325 (recentf-setup-more-completion): New function to setup completion for
11326 `recentf-open-more-files'.
11327 (recentf-make-menu-items): Updated to display a "More..." menu item.
11329 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11331 * recentf.el (recentf-menu-action): Doc fixed.
11333 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11335 * recentf.el (recentf-menu-filter): Doc updated.
11336 (recentf-update-menu-hook): Allow menu filters to force menu update.
11337 (recentf-make-menu-items): New menu filter handling.
11338 (recentf-make-menu-item): New helper function.
11339 (recentf-menu-elements): New menu handling function.
11340 (recentf-sort-ascending): Updated to new menu filter handling.
11341 (recentf-sort-descending): Updated to new menu filter handling.
11342 (recentf-sort-basenames-ascending): New menu filter function.
11343 (recentf-sort-basenames-descending): New menu filter function.
11344 (recentf-show-basenames): New menu filter function.
11345 (recentf-show-basenames-ascending): New menu filter function.
11346 (recentf-show-basenames-descending): New menu filter function.
11348 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11350 * diary-lib.el (list-diary-entries): Don't try to go forward at
11351 the end of the buffer.
11353 2000-02-29 Kenichi Handa <handa@etl.go.jp>
11355 * international/mule-diag.el (list-character-sets): Completely
11357 (sort-listed-character-sets): New function.
11358 (list-character-sets-1): Completely rewritten.
11359 (list-character-sets-2): New function.
11360 (non-iso-charset-alist): New variable.
11361 (decode-codepage-char): New function.
11362 (charset-history): New variable.
11363 (read-charset) (list-block-of-chars)
11364 (list-iso-charset-chars)
11365 (list-non-iso-charset-chars)
11366 (list-charset-chars): New functions.
11367 (mule-diag): Call list-character-sets-2, not
11368 list-character-sets-2.
11369 (dump-charsets): Likewise.
11371 2000-02-29 Gerd Moellmann <gerd@gnu.org>
11373 * dired-x.el (dired-filename-at-point): Add `@' to valid
11374 file name characters.
11375 (dired-filename-at-point): Handle ange-ftp file names.
11377 * frame.el (frame-notice-user-settings): Use assq-delete-all
11378 instead of assoc-delete-all.
11379 (frame-notice-user-settings): Ditto.
11381 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
11384 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
11386 * calculator.el (calculator-use-menu): New option.
11387 (calculator-initial-bindings): Changed some bindings to work as
11389 (calculator-forced-input): Removed.
11390 (calculator-restart-other-mode): New variable.
11391 (calculator-mode-map): Set up menu.
11393 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
11395 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
11398 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
11400 * viper-cmd.el (viper-envelop-ESC-key): added the option to
11401 translate all ESC key sequences.
11402 (viper-goto-mark-subr): restore markers for files for which
11404 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
11405 * viper-util.el (viper-set-replace-overlay-glyphs,
11406 viper-set-replace-overlay): always check if the replacement
11408 * viper.el (viper-vi-state-mode-list): added major modes.
11409 * ediff-wind.el: minor comment changes.
11410 * ediff.el: copyright notice date fix.
11412 2000-02-27 Jason Rumney <jasonr@gnu.org>
11414 * faces.el (face-font-family-alternatives): Add arial to helv.
11415 (mode-line, header-line, tool-bar): Same default as x for w32.
11416 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
11417 face-font-family-alternatives from working.
11418 * term/w32-win.el (mouse-set-font): Do not build fontset from
11421 2000-02-25 Sam Steingold <sds@goems.com>
11423 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
11426 2000-02-25 Richard M. Stallman <rms@gnu.org>
11428 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
11430 2000-02-25 Gerd Moellmann <gerd@gnu.org>
11432 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
11435 * frame.el (busy-cursor-delay-seconds): New option.
11437 2000-02-24 Gerd Moellmann <gerd@gnu.org>
11439 * frame.el (show-cursor-in-non-selected-windows): New option.
11441 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11443 * diary-lib.el (include-other-diary-files): Undo the selective
11444 display in any included file and don't kill it.
11446 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
11448 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
11449 bar. Menu items converted to (menu-item format, help strings
11451 [downcase, upcase]: Don't enable on MS-DOS.
11452 [symlink, symlinks]: Don't show if make-symbolic-link is not
11454 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
11456 2000-02-23 Dave Love <fx@gnu.org>
11458 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
11459 (backward-kill-word): Revert addition of * to interactive spec --
11462 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
11463 (backward-kill-sentence, kill-sentence): Likewise.
11465 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
11466 scratch buffer name.
11467 (gud-format-command): Use int-to-string in ?l case. Simplify
11470 * term/w32-win.el (internal-face-interactive): Update prompt for
11471 new read-face-name.
11473 * mail/footnote.el (footnote): Add :version to defgroup.
11474 (footnote-section-tag-regexp): Customize.
11475 (footnote-start-tag, footnote-end-tag): New option.
11476 (footnote-latin-regexp): New variable.
11477 (Footnote-latin): New function.
11478 (footnote-style-alist): Add element for latin style.
11479 (footnote-style): Moved.
11480 (Footnote-goto-footnote): Use eq to test arg.
11482 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
11484 * emacs-lisp/byte-opt.el: Change old backquote syntax.
11485 (byte-compile-trueconstp): Include keywords.
11486 (byte-optimize-quote, byte-optimize-lapcode): Use
11487 byte-compile-const-symbol-p.
11488 (byte-optimize-char-before): New optimization.
11490 * emacs-lisp/bytecomp.el: Change old backquote syntax.
11491 (byte-compile-const-symbol-p): New function.
11492 (byte-compile-constp, byte-compile-out-toplevel)
11493 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
11496 * subr.el (define-key-after): Default AFTER to t. Doc fix.
11498 2000-02-23 Kenichi Handa <handa@etl.go.jp>
11500 * international/encoded-kb.el: Be sure to update minor-mode-alist
11501 and minor-mode-map-alist.
11502 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11503 codes SS2 and SS3 correctly.
11504 (encoded-kbd-self-insert-ccl): New function.
11505 (encoded-kbd-setup-keymap): New function.
11506 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
11507 by calling encoded-kbd-setup-keymap.
11509 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11511 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11514 2000-02-22 Dave Love <fx@gnu.org>
11516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11517 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11519 (lisp-mode-syntax-table): Set up for #|...|# comments.
11520 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
11521 classes. Match `defface'.
11522 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11523 (eval-defun-1): Fix for defcustom.
11524 (lisp-indent-region): Doc fix.
11526 * subr.el (when, unless, split-string): Doc fix.
11527 (read-passwd): Move call of clear-this-command-keys to the right
11529 (replace-regexps-in-string): New function.
11531 2000-02-22 Gerd Moellmann <gerd@gnu.org>
11533 * help.el (describe-variable): Set syntax table to
11534 emacs-lisp-mode-syntax-table when moving forward over the
11537 2000-02-22 Dave Love <fx@gnu.org>
11539 * xt-mouse.el: Doc fixes.
11540 (xterm-mouse-position-function): New function, replacing advice of
11542 (xterm-mouse-mode): Use it. Don't turn on under a window system.
11544 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11546 2000-02-21 Gerd Moellmann <gerd@gnu.org>
11548 * format.el (format-annotate-single-property-change): Handle
11549 properties.with dotted-list values.
11550 (format-proper-list-p): New function.
11552 * enriched.el (enriched-face-ans): Handle '(foreground-color
11553 . COLOR) and (background-color . COLOR).
11555 2000-02-20 Dave Love <fx@gnu.org>
11557 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11558 and assignments to it.
11559 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11561 (make-flyspell-overlay): Use it.
11562 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11564 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11565 (lm-get-header-re): Defun, not defsubst.
11566 (lm-get-package-name): Defun, not defsubst. Simplify.
11567 (lm-version): Doc fix. Simplify.
11568 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11569 (lm-crack-address, lm-last-modified-date, lm-commentary)
11570 (lm-verify, lm-synopsis): Simplify.
11571 (lm-report-bug): Require emacsbug. Use compose-mail.
11573 2000-02-20 Gerd Moellmann <gerd@gnu.org>
11575 * dired.el (dired-mode): Call propertized-buffer-identification
11576 to set mode-line-buffer-identification to something having
11577 the right text properties.
11579 * bindings.el (propertized-buffer-identification): New function.
11581 2000-02-20 Dave Love <fx@gnu.org>
11583 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11584 check for t-mouse too.
11586 * cus-start.el: Make echo-keystrokes `number'.
11588 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11590 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11591 Don't call ring-empty-p unless tags-location-ring is bound.
11592 From Noah Friedman <friedman@splode.com>.
11594 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11596 * progmodes/hideshow.el (hs-flag-region): No longer use
11597 `intangible' overlay property.
11599 (hs-toggle-hiding): New command.
11600 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11602 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11603 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11606 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11608 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11610 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11612 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11614 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11615 of `*' to handle `(* ... *)' comments.
11617 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11619 * faces.el (list-faces-display): Use display-mouse-p instead of
11622 * menu-bar.el (global-map): Menu-bar items converted to the new
11623 format (menu-item..., rearranged for better CUA compliance, and
11624 their names changed for better clarity. Help strings added.
11626 * international/mule-cmds.el (mule-menu-keymap)
11627 (describe-language-environment-map, set-coding-system-map)
11628 (setup-language-environment-map): Convert to new (menu-item...
11629 form, add help strings. Change names of menu items for better
11630 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11633 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11635 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11638 2000-02-16 Dave Love <fx@gnu.org>
11640 * faces.el: Don't require custom. Add more specific :groups to
11642 (set-face-attribute): Purecopy args.
11643 (read-face-name): Default to name at point and use it in prompt.
11644 Remove colon from arg in all callers.
11645 (list-faces-display): Hyperlink to face descriptions and customize
11648 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11650 * wid-edit.el (widget-match-inline): An atom never matches a
11653 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11655 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11656 at ':' characters by call to split-string.
11658 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11660 * textmodes/bibtex.el: Added RCS version identification.
11662 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11664 * textmodes/bibtex.el: Some temporary comments removed.
11665 (bibtex-field-name, bibtex-entry-type): Made the relationship
11667 (bibtex-field-const): Allow capital letters.
11668 (bibtex-start-of-string): Deleted because unused.
11670 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11671 use the term 'reference' to describe a bibtex entry as a whole.
11672 Further, reference keys are no longer called 'labels'.
11673 (bibtex-keys): Renamed to bibtex-reference-keys.
11674 (bibtex-reformat-previous-labels): Renamed to
11675 bibtex-reformat-previous-reference-keys.
11676 (bibtex-reference-type): Renamed to bibtex-entry-type.
11677 (bibtex-reference-head): Renamed to bibtex-entry-head.
11678 (bibtex-reference-maybe-empty-head): Renamed to
11679 bibtex-entry-maybe-empty-head.
11680 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11681 (bibtex-search-reference): Renamed to bibtex-search-entry.
11682 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11683 bibtex-enclosing-entry-maybe-empty-head.
11684 (bibtex-entry-field-alist, bibtex-entry-head,
11685 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11686 bibtex-map-entries, bibtex-search-entry,
11687 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11688 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11689 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11690 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11691 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11692 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11693 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11695 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11697 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11699 (bibtex-format-field-delimiters): New function, functionality
11700 extracted from bibtex-format-entry.
11701 (bibtex-autokey-get-yearfield-digits): New function, functionality
11702 extracted from bibtex-autokey-get-yearfield.
11704 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11705 entries in order to avoid stack overflow in the regexp matcher if
11706 field contents become large.
11707 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11708 bibtex-field-string-part-not-braced,
11709 bibtex-field-string-part-no-inner-braces,
11710 bibtex-field-string-part-1-inner-brace,
11711 bibtex-field-string-part-2-inner-braces,
11712 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11713 bibtex-field-string-quoted, bibtex-field-string,
11714 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11715 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11716 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11717 as parsing is now performed by the following functions.
11718 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11719 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11720 bibtex-parse-field-string, bibtex-search-forward-field-string,
11721 bibtex-parse-association, bibtex-field-name-for-parsing,
11722 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11723 bibtex-search-forward-field, bibtex-search-backward-field,
11724 bibtex-start-of-field, bibtex-end-of-field,
11725 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11726 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11727 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11728 bibtex-parse-string, bibtex-search-forward-string,
11729 bibtex-search-backward-string, bibtex-start-of-string,
11730 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11731 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11732 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11733 entries. Instead of reporting the results of the parsing by
11734 match-beginning or match-end, these functions return data structures
11735 that hold the corresponding positions.
11736 (bibtex-enclosing-field): Changed to also report field boundaries by
11737 return values rather than by match-beginning or match-end. The
11738 following functions have been adapted to use the new parsing
11740 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11741 bibtex-enclosing-field, bibtex-format-entry,
11742 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11743 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11744 bibtex-print-help-message, bibtex-end-of-entry,
11745 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11746 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11747 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11748 method for parsing.
11749 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11750 bibtex-map-entries, bibtex-flash-head,
11751 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11752 bibtex-autokey-change, bibtex-autokey-get-namefield,
11753 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11754 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11755 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11756 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11757 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11758 order to make the new binding of case-fold-search immediately
11761 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11763 * textmodes/bibtex.el: Copyright notice is up to date.
11764 Added constant 'bibtex-maintainer-salutation.
11766 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11767 than make-temp-name, use match-string-no-properties and eliminate
11768 a quadratic behavior when building bibtex-strings.
11770 * bibtex.el (bibtex-reference-key): Accept string entries whose
11771 reference key contains upper case letters.
11773 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11775 * bibtex.el (bibtex-reference-head): Allow entries to start with
11778 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11780 * bibtex.el: Hiding of entry bodies is not longer provided by
11781 bibtex.el directly. Instead the hideshow package can be used.
11782 Added a special bibtex entry to hs-special-modes-alist.
11783 (bibtex-hs-forward-sexp): Added for hideshow.el.
11785 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11787 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11788 at ':' characters by call to split-string.
11790 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11792 * textmodes/bibtex.el: Added RCS version identification.
11794 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11796 * textmodes/bibtex.el: Some temporary comments removed.
11797 (bibtex-field-name, bibtex-entry-type): Made the relationship
11799 (bibtex-field-const): Allow capital letters.
11800 (bibtex-start-of-string): Deleted because unused.
11802 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11803 use the term 'reference' to describe a bibtex entry as a whole.
11804 Further, reference keys are no longer called 'labels'.
11805 (bibtex-keys): Renamed to bibtex-reference-keys.
11806 (bibtex-reformat-previous-labels): Renamed to
11807 bibtex-reformat-previous-reference-keys.
11808 (bibtex-reference-type): Renamed to bibtex-entry-type.
11809 (bibtex-reference-head): Renamed to bibtex-entry-head.
11810 (bibtex-reference-maybe-empty-head): Renamed to
11811 bibtex-entry-maybe-empty-head.
11812 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11813 (bibtex-search-reference): Renamed to bibtex-search-entry.
11814 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11815 bibtex-enclosing-entry-maybe-empty-head.
11816 (bibtex-entry-field-alist, bibtex-entry-head,
11817 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11818 bibtex-map-entries, bibtex-search-entry,
11819 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11820 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11821 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11822 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11823 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11824 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11825 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11827 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11829 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11831 (bibtex-format-field-delimiters): New function, functionality
11832 extracted from bibtex-format-entry.
11833 (bibtex-autokey-get-yearfield-digits): New function, functionality
11834 extracted from bibtex-autokey-get-yearfield.
11836 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11837 entries in order to avoid stack overflow in the regexp matcher if
11838 field contents become large.
11839 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11840 bibtex-field-string-part-not-braced,
11841 bibtex-field-string-part-no-inner-braces,
11842 bibtex-field-string-part-1-inner-brace,
11843 bibtex-field-string-part-2-inner-braces,
11844 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11845 bibtex-field-string-quoted, bibtex-field-string,
11846 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11847 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11848 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11849 as parsing is now performed by the following functions.
11850 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11851 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11852 bibtex-parse-field-string, bibtex-search-forward-field-string,
11853 bibtex-parse-association, bibtex-field-name-for-parsing,
11854 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11855 bibtex-search-forward-field, bibtex-search-backward-field,
11856 bibtex-start-of-field, bibtex-end-of-field,
11857 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11858 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11859 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11860 bibtex-parse-string, bibtex-search-forward-string,
11861 bibtex-search-backward-string, bibtex-start-of-string,
11862 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11863 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11864 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11865 entries. Instead of reporting the results of the parsing by
11866 match-beginning or match-end, these functions return data structures
11867 that hold the corresponding positions.
11868 (bibtex-enclosing-field): Changed to also report field boundaries by
11869 return values rather than by match-beginning or match-end. The
11870 following functions have been adapted to use the new parsing
11872 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11873 bibtex-enclosing-field, bibtex-format-entry,
11874 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11875 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11876 bibtex-print-help-message, bibtex-end-of-entry,
11877 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11878 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11879 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11880 method for parsing.
11881 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11882 bibtex-map-entries, bibtex-flash-head,
11883 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11884 bibtex-autokey-change, bibtex-autokey-get-namefield,
11885 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11886 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11887 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11888 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11889 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11890 order to make the new binding of case-fold-search immediately
11893 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11895 * textmodes/bibtex.el: Copyright notice is up to date.
11896 Added constant 'bibtex-maintainer-salutation.
11898 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11899 than make-temp-name, use match-string-no-properties and eliminate
11900 a quadratic behavior when building bibtex-strings.
11902 * bibtex.el (bibtex-reference-key): Accept string entries whose
11903 reference key contains upper case letters.
11905 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11907 * bibtex.el (bibtex-reference-head): Allow entries to start with
11910 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11912 * bibtex.el: Hiding of entry bodies is not longer provided by
11913 bibtex.el directly. Instead the hideshow package can be used.
11914 Added a special bibtex entry to hs-special-modes-alist.
11915 (bibtex-hs-forward-sexp): Added for hideshow.el.
11917 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11919 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11920 proceedings entry type (for cross referencing). Thanks to Wagner
11921 Toledo Correa for the suggestion.
11923 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11925 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11927 * international/characters.el: Setup case table for Vietnamese.
11929 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11931 * uniquify.el (toplevel): Require CL at compile time.
11932 (uniquify-push): Removed.
11934 * shadowfile.el (shadow-when): Removed.
11936 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11937 (tempo-process-and-insert-string): Use dolist instead of
11940 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11941 regexp for paragraph-start.
11943 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11946 2000-02-10 Dave Love <fx@gnu.org>
11948 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11949 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11951 (widget-specify-field, widget-specify-button): Don't use
11952 widget-mouse-help as help-echo property.
11953 (default): Use #'ignore for :validate and :mouse-down-action.
11954 (checkbox): Add help-echo.
11955 (widget-sexp-validate): Rewritten to clarify error messages.
11956 (character): Use char-valid-p in :match function.
11957 (widget-color-complete): Use facemenu-color-alist.
11958 (widget-color-action): Use facemenu-read-color.
11960 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
11961 set up `caar' &c that we now have.
11963 2000-02-09 Ray Blaak <blaak@gnu.org>
11965 * delphi.el: Make resourcestring a declaration region, like const
11968 2000-02-09 Dave Love <fx@gnu.org>
11970 * bindings.el (mode-line-input-method-map): New variable.
11971 (mode-line-mule-info): Use it; fix last change.
11972 (mode-line-mode-menu): Move definition.
11973 (mode-line-mouse-sensitive-p): Deleted.
11974 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11975 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
11978 * startup.el (command-line-1): Don't call
11979 make-mode-line-mouse-sensitive.
11981 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11983 * mail/rmail.el (rmail-retry-failure): Use
11984 rmail-beginning-of-message before rmail-toggle-header, because the
11985 former toggles headers.
11987 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
11989 * diff-mode.el (diff-kill-junk): New interactive function.
11990 (diff-reverse-direction): Use delete-and-extract-region.
11991 (diff-post-command-hook): Restrict the area so that the hook also works
11992 outside of any diff hunk. This is necessary for the minor-mode.
11993 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11994 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11996 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11997 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11998 so that it can be used more easily in <foo>-mode-hook. Also make sure
11999 to avoid duplicate entries.
12000 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
12001 (font-lock-remove-keywords): Just as was done for `add', allow it to
12002 work even if font-lock-mode is nil. Also make sure we don't modify
12003 any pre-existing list by forcing a copy-sequence. Finally rename
12004 `major-mode' to `mode'.
12005 (font-lock-fontify-syntactic-anchored-keywords)
12006 (font-lock-fontify-anchored-keywords)
12007 (font-lock-fontify-keywords-region): Use line-end-position.
12008 Don't make `font-lock-multiline' local (it's now done in
12009 font-lock-set-defaults).
12010 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
12011 move the `font-lock-fontified' creation to inside the `unless'.
12013 2000-02-06 Andrew Innes <andrewi@gnu.org>
12015 * term/w32-win.el (x-handle-args): Comment out call to message,
12016 which occurs before window system is initialized.
12018 * makefile.nt: Add support for recompiling lisp code.
12020 2000-02-04 Dave Love <fx@gnu.org>
12022 * bindings.el (mode-line-mule-info): Fix/extend last change.
12024 * completion.el: Replace completion-dolist with dolist.
12026 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
12029 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
12031 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
12032 environment names before they go into the section regexp.
12034 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
12035 char class in regexp.
12037 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
12038 `case-fold-search' to nil.
12040 * progmodes/idlwave.el (idlwave-template): Respect
12041 `idlwave-abbrev-change-case'.
12042 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
12043 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
12044 idlwave-while): respect `idlwave-reserved-word-upcase'.
12045 (idlwave-rw-case): New function.
12046 (idlwave-statement-match): Fixed problem with assignment regexp.
12047 (idlwave-font-lock-keywords): Improved regexp for keyword
12049 (idlwave-surround): New argument LENGTH to support padding of
12050 operators longer than 1 char.
12052 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
12053 idlwave-shell-expression-overlay. Implemented printing of
12054 expressions on higher levels of the calling stack.
12055 (idlwave-shell-display-level-in-calling-stack): Restore stack
12057 (idlwave-retrieve-expression-from-level): New function.
12058 (idlwave-shell-last-calling-stack): Variable removed.
12059 (idlwave-shell-reset): Argument action reversed (`visible' to
12060 `hidden'). Also remove stop-line overlay.
12061 (idlwave-shell-calling-stack-routine): New variable.
12062 (idlwave-shell-parse-stack-and-display): Messages now display
12063 negative level numbers.
12064 (idlwave-shell-mode): Set `modeline-format'.
12065 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
12066 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
12068 (idlwave-shell-print-expression-function): New option.
12070 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
12071 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
12072 `tool-bar' instead of `toolbar'.
12074 2000-02-02 Dave Love <fx@gnu.org>
12076 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
12077 emacs-lisp-mode-hook. Don't check for defalias being defined.
12079 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
12080 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
12081 the new builtins directly.
12083 * whitespace.el (whitespace): Add :version to defgroup.
12085 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
12088 * thingatpt.el (sexp-at-point, symbol-at-point)
12089 (number-at-point, list-at-point): Add autoload cookie.
12091 * recentf.el (recentf): Add :version to defgroup.
12093 * quickurl.el (quickurl): Add :version to defgroup.
12095 * elide-head.el (elide-head): Use point-marker more.
12097 * bs.el (bs): Add :version to defgroup.
12099 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
12101 * progmodes/delphi.el (delphi): Add :version to defgroup.
12103 2000-02-02 Gerd Moellmann <gerd@gnu.org>
12105 * ange-ftp.el (ange-ftp-write-region): Handle case that
12106 succeeding process operation sets a different coding system.
12108 * calculator.el: New file.
12110 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
12112 * frame.el (frames-on-display-list, framep-on-display): New
12114 (display-mouse-p, display-popup-menus-p, display-graphic-p)
12115 (display-selections-p, display-screens, display-pixel-width)
12116 (display-pixel-height, display-mm-width, display-mm-height)
12117 (display-backing-store, display-save-under, display-planes)
12118 (display-color-cells, display-visual-class): New functions.
12120 * term/tty-colors.el (tty-color-gray-shades): New function.
12122 * faces.el (display-color-p): Use framep-on-display.
12123 (display-grayscale-p): New function.
12125 2000-01-31 Dave Love <fx@gnu.org>
12127 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
12128 (create-fontset-from-x-resource): Don't concat integers.
12130 2000-01-31 Inge Frick <inge@nada.kth.se>
12132 * view.el: Some changes in documentation. Removed some trailing
12133 whitespace. Changed some parameter names to agree with
12135 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
12136 window is not deleted. Modifies change 1998-04-26.
12138 2000-01-31 Gerd Moellmann <gerd@gnu.org>
12140 * windmove.el: New file.
12142 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12143 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12144 progmodes/ebnf-yac.el: Update copyright and license info.
12146 * jit-lock.el (jit-lock-function): Widen before calculating end
12148 (jit-lock-stealth-chunk-start): Rewritten.
12150 * info.el (Info-title-face-alist): Removed.
12151 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
12153 (Info-fontify-node): Use these faces.
12155 2000-01-30 Gerd Moellmann <gerd@gnu.org>
12157 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
12158 (cl-macro-list1): Recognize `&allow-other-keys' instead of
12159 `&allow-other-keywords'.
12161 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
12162 the list of directories scanned heuristically.
12164 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
12167 2000-01-30 Jason Rumney <jasonr@gnu.org>
12169 * w32-fns.el: Define w32-tty-standard-colors.
12171 * startup.el (command-line): Use w32-tty-standard-colors when in
12174 2000-01-30 Dave Love <fx@gnu.org>
12176 * jka-compr.el (jka-compr-load): Fix up load-history.
12178 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
12180 * emacs-lisp/cl-macs.el: Revert previous change.
12182 2000-01-29 Dave Love <fx@gnu.org>
12184 * facemenu.el: Purecopy various strings.
12186 * timezone.el (timezone-fix-time): Window against 69 for two-digit
12187 years. Deal with three-digit years.
12189 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
12190 defconst, purecopy.
12191 (help-back-label): Purecopy it.
12193 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12195 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
12196 variable. If non-nil, order the buffer list according to the
12197 currently selected frame.
12198 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
12199 non-nil, pass the selected frame to function buffer-list.
12201 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12203 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
12205 2000-01-28 Dave Love <fx@gnu.org>
12207 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
12209 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
12210 Don't use lisp-indent-hook property.
12213 * subr.el: Move out indent and edebug specs for when and unless.
12215 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
12218 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
12221 2000-01-28 Gerd Moellmann <gerd@gnu.org>
12223 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
12224 `collecting' as synonym for `collect'.
12226 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
12227 for the case it contains spaces.
12229 * simple.el (what-cursor-position): Change formatting of
12232 * frame.el (delete-other-frames): New function.
12233 (toplevel): Bind it to C-x 5 1.
12235 * sort.el (sort-numeric-base): New option.
12236 (sort-numeric-fields): If number starts with `0' or `0[xX[',
12237 interpret it as octal or hexadecimal. Use sort-numeric-base
12240 * progmodes/glasses.el: New file.
12242 2000-01-27 Gerd Moellmann <gerd@gnu.org>
12244 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
12245 userids differently.
12247 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12248 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12249 progmodes/ebnf-yac.el: New files.
12251 2000-01-26 Dave Love <fx@gnu.org>
12253 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
12254 on a function with an empty body. [From Eric Ludlam.]
12256 2000-01-25 Andre Spiegel <spiegel@gnu.org>
12258 * vc.el (vc-version-diff): Make sure file name is expanded.
12260 2000-01-25 Gerd Moellmann <gerd@gnu.org>
12262 * scroll-bar.el (scroll-bar-timer): Variable removed.
12263 (scroll-bar-toolkit-scroll): Don't use a timer.
12265 2000-01-25 Kenichi Handa <handa@etl.go.jp>
12267 * language/thai-util.el (thai-composition-function): Delete
12270 2000-01-24 Dave Love <fx@gnu.org>
12272 * fortran.el (fortran-mode): Use beginning-of-defun-function,
12273 end-of-defun-function.
12275 * font-lock.el (turn-on-font-lock): Don't depend on window-system
12278 2000-01-22 Jason Rumney <jasonr@gnu.org>
12280 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
12281 conflicts with new face support.
12283 2000-01-22 Richard M. Stallman <rms@gnu.org>
12285 * replace.el (query-replace): Rename last arg to DELIMITED.
12286 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
12287 (query-replace-regexp): Likewise.
12289 2000-01-20 Richard M. Stallman <rms@gnu.org>
12291 * subr.el (with-syntax-table): Use make-symbol, not gensym.
12293 * emacs-lisp/lisp.el (beginning-of-defun-function):
12294 Variable renamed from beginning-of-defun.
12295 Do not call make-variable-buffer-local.
12296 (beginning-of-defun-raw): Use new variable name; doc fix.
12297 (beginning-of-defun): Doc fix.
12298 (end-of-defun-function): Variable renamed from end-of-defun.
12299 Do not call make-variable-buffer-local.
12300 (end-of-defun): Use new variable name; doc fix.
12302 * subr.el (dolist, dotimes): Copied from cl-macs.el
12305 * mail/undigest.el (rmail-digest-end-regexps):
12306 Variable replaces rmail-digest-end-regexp.
12307 Allows multiple regexps for detecting the end line.
12308 (undigestify-rmail-message): Corresponding changes.
12310 2000-01-19 Dave Love <fx@gnu.org>
12312 * files.el (user-init-file): Don't declare here -- is primitive.
12314 * startup.el (command-line): Check for compiled user-init-file and
12315 set to uncompiled version if necessary.
12317 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12319 * mail/undigest.el (rmail-digest-end-regexp): New user option.
12320 (undigestify-rmail-message): Use it.
12322 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
12324 2000-01-17 Gerd Moellmann <gerd@gnu.org>
12326 * tmm.el (tmm-goto-completions): Adapt to prompt being part
12329 2000-01-14 Gerd Moellmann <gerd@gnu.org>
12331 * emacs-lisp/copyright.el (copyright-update): Removed the
12332 requirement for a trailing space from `copyright-regexp', to
12333 support copyrights with owner specified on a separate line..
12335 * align.el: New file.
12337 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
12339 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
12341 2000-01-13 Dave Love <fx@gnu.org>
12343 * ph.el: Removed. (Obsoleted by EUDC.)
12345 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12347 * net/eudc.el (toplevel): Remove autoloaded code installing
12348 menu with easymenu, because that causes build problems.
12350 * frame.el (frame-notice-user-settings): New variable.
12351 (frame-notice-user-settings): Don't modify frame parameters
12352 if called a second time.
12354 2000-01-13 Richard M. Stallman <rms@gnu.org>
12356 * frame.el (frame-notice-user-settings):
12357 Notice default-frame-parameters even for non-window frames.
12359 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12361 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
12363 (eudc-bob-can-display-inline-images): Extend for Emacs.
12364 (eudc-bob-toggle-inline-display): Ditto.
12365 (eudc-bob-display-jpeg): Ditto.
12367 2000-01-12 Gerd Moellmann <gerd@gnu.org>
12369 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
12370 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
12371 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
12373 * add-log.el (add-change-log-entry): Fix error trying an `(insert
12376 * subdirs.el: Add `net' directory.
12378 * net: New directory.
12380 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
12381 eval-last-sexp. Don't bind debug-on-error here.
12382 (eval-last-sexp): New function. Bind debug-on-error if
12383 eval-expression-debug-on-error is non-nil.
12384 (eval-defun-2, eval-defun): Likewise.
12386 * simple.el (eval-expression): Don't bind debug-on-error if
12387 eval-expression-debug-on-error is nil. Detect changed
12388 debug-on-error, and propagate new value to global binding, if
12389 eval-expression-debug-on-error is non-nil,
12390 (eval-expression-debug-on-error): Change doc string.
12392 2000-01-11 Richard M. Stallman <rms@gnu.org>
12394 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
12396 * emacs-lisp/lisp-mode.el (with-syntax-table):
12397 Set up lisp-indent-function property.
12399 * subr.el (with-syntax-table): Moved from simple.el.
12401 * simple.el (with-syntax-table): Moved to subr.el.
12403 2000-01-11 Gerd Moellmann <gerd@gnu.org>
12405 * tmm.el (tmm-shortcut): Delete region after prompt instead
12408 * textmodes/fill.el (fill-common-string-prefix): New function.
12409 (fill-context-prefix): Use the longest common prefix of first
12410 and second line fill prefix, if there is one.
12412 2000-01-11 Richard M. Stallman <rms@gnu.org>
12414 * array.el (array-mode): Don't use make-variable-buffer-local.
12415 Use make-local-variable for `truncate-lines'.
12417 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
12419 * add-log.el (add-log-current-defun): Handle user-defined
12420 add-log-current-function returning nil,
12422 * add-log.el (add-change-log-entry): Insert version number
12423 if having found a current function
12425 * add-log.el (add-log-current-defun): Call
12426 `add-log-current-defun-function'. Try matches at level 0 and
12427 level 1. Strip whitespace from defun found.
12429 2000-01-10 John Wiegley <johnw@gnu.org>
12431 * allout.el (isearch-done/outline-provisions): Added `edit'
12432 argument to correspond with the current definition of
12435 2000-01-10 Dave Love <fx@gnu.org>
12437 * elide-head.el (elide-head): Use point-marker, not point.
12439 2000-01-10 Gerd Moellmann <gerd@gnu.org>
12441 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
12442 before and after the year 2000.
12444 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
12445 Add ispell- prefix.
12447 2000-01-10 Ken Stevens <k.stevens@ieee.org>
12449 * ispell.el: Only define dictionaries in menus when they exist.
12450 (version18p): New variable.
12451 (version20p): New variable.
12452 (xemacsp): New variable.
12453 (ispell-choices-win-default-height): Fix for XEmacs visibility.
12454 (ispell-dictionary-alist1): Added Brasileiro dictionary.
12455 (ispell-dictionary-alist6): Russian command lines no longer accept
12456 run-together words.
12457 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
12458 (ispell-dictionary-alist): Add koi8-r to customize definition.
12459 (check-ispell-version): Added documentation string. Returns
12460 library path when called non-interactively.
12461 (ispell-menu-map-needed): Uses new variables.
12462 (ispell-library-path): New variable.
12463 (ispell-decode-string): XEmacs fix for bogus variable bindings.
12464 (ispell-word): Improved documentation string. Test for valid
12465 character mappings. Correctly check typed in word changes that can
12466 result in single words split into multiple words. Returns
12468 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
12469 replace in recursive query replace mode. Help message for
12470 recursive edit mode.
12471 (ispell-show-choices): Protect against bad framepop bindings.
12472 (ispell-help): Fix to work with XEmacs.
12473 (ispell-highlight-spelling-error): Use new variables.
12474 (ispell-overlay-window): Fix to work with XEmacs.
12475 (ispell-parse-output): Passed and returns location information
12476 tracking spelling corrections. Doesn't recheck same word on
12478 (ispell-init-process): Protect against bogus XEmacs variable binding.
12479 Fix call to single argument in sleep-for. Use new variables.
12480 (ispell-region): Passed and returns location information tracking
12481 spelling corrections. Doesn't check same word on current line.
12482 Improved documentation string. Doesn't resend a line already
12483 checked to the ispell process - fixes bug in LaTeX parsing.
12484 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
12485 (ispell-skip-region): No longer skips <TT> in SGML.
12486 (ispell-process-line): Tracks location information with spelling
12487 corrections. Added documentation string. Accounts for words
12488 already accepted on this line. Don't allow query-replace on line
12489 starting with math characters. Doesn't resend a line already sent
12490 to ispell process. Fixes alignment error bug.
12492 2000-01-10 Richard M. Stallman <rms@gnu.org>
12494 * dired-x.el (dired-guess-shell-alist-default):
12495 Suggest xloadimage, which is free, not xv, which isn't.
12497 * ange-ftp.el (ange-ftp-file-name-nondirectory):
12498 Don't ever include the host name or user name in the value.
12500 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12502 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12505 2000-01-09 Stephen Eglen <stephen@gnu.org>
12507 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12510 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
12512 * cus-edit.el (custom-hook-convert-widget): Fix comment.
12514 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12516 * progmodes/cperl-mode.el: Replace ^F with ^L.
12518 * sendmail.el (toplevel): Provide `sendmail' when compiling
12519 before `require'ing rmail and mailalias to prevent infinite
12522 2000-01-08 Dave Love <fx@gnu.org>
12524 * emacs-lisp/backquote.el: Remove inappropriate customization
12525 (allowing custom.el to use backquote).
12527 2000-01-07 Dave Love <fx@gnu.org>
12529 * add-log.el (add-log-debugging): Deleted.
12530 (add-change-log-entry): Treat a backup FILE-NAME as its parent
12531 file. Remove debugging code.
12532 (change-log-get-method-definition, change-log-name): Add doc.
12533 (change-log-sortable-date-at): New function.
12534 (change-log-merge): New command.
12536 * time.el (display-time-string-forms): Make the Mail string active.
12537 (display-time-update): Provide help-echo for load average.
12539 * bindings.el (make-mode-line-mouse2-map): New function.
12540 (mode-line-modified): Use it and simplify.
12541 (mode-line-mule-info): Provide help-echo info.
12542 (minor-mode-alist): Activate the strings.
12543 (make-mode-line-mouse-sensitive): Simplify for
12544 mode-line-buffer-identification.
12546 2000-01-07 Gerd Moellmann <gerd@gnu.org>
12548 * play/pong.el: New file.
12550 2000-01-06 Dave Love <fx@gnu.org>
12552 * array.el: Assorted cleanups for compiler warnings, doc strings,
12553 `array-' prefix for symbols.
12555 2000-01-05 Dave Love <fx@gnu.org>
12557 * textmodes/outline.el (outline-mode-menu-bar-map): Add
12558 outline-headers-as-kill.
12559 (outline-mode): Define imenu-generic-expression.
12560 (outline-headers-as-kill): New command.
12562 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12563 from paragraph-start.
12564 (paragraph-indent-minor-mode): New command.
12566 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12567 M-C-e, M-C-h, C-j, C-xnd, TAB.
12568 (fortran-mode): Set beginning-of-defun, end-of-defun.
12569 (fortran-column-ruler): Simplify.
12570 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12571 (fortran-with-subprogram-narrowing): Likewise.
12572 (fortran-indent-subprogram): Call mark-defun.
12573 (fortran-check-for-matching-do): Change narrowing.
12575 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12576 (cl-lucid-hash-tag): Delete.
12577 (cl-hash-table-p): Correct test for native table.
12578 (cl-hash-table-count): Use hash-table-count.
12580 * browse-url.el (browse-url): Fix case of
12581 browse-url-browser-function being an alist.
12583 2000-01-05 Carsten Dominik <cd@gnu.org>
12585 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12586 (reftex-index-phrase-file-extension): New options.
12588 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12589 Use new option `reftex-index-phrase-file-extension'.
12591 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12592 `reftex-parse-file-extension'.
12594 2000-01-05 Dave Love <fx@gnu.org>
12596 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12597 (beginning-of-defun-raw): Use it.
12598 (end-of-defun): New variable.
12599 (end-of-defun): Use it.
12600 (check-parens): New command.
12602 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12604 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12605 (hs-show-block): Don't use `mapcar' when not accumulating.
12607 Fix buglet in local variables initialization.
12609 2000-01-05 Andreas Schwab <schwab@suse.de>
12611 * hscroll.el (hscroll): Doc fix.
12613 2000-01-05 Carsten Dominik <cd@gnu.org>
12615 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12618 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12619 file idlw-rinfo.el.
12620 (idlwave-customize): load must read file idlw-shell.el.
12621 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12623 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12625 * progmodes/idlw-shell.el: Also provide idlwave-shell
12626 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12627 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12629 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12630 both reftex-dcr and reftex-vcr.
12632 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12634 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12636 * ps-print.el: PostScript code now is in separate files, doc fix.
12637 (ps-print-version): New version number (5.0.3).
12638 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12640 (ps-spool-config): Initialization fix.
12641 (ps-print-prologue-1, ps-print-prologue-2)
12642 (ps-print-duplex-feature): PostScript code moved to separated file.
12643 (ps-background-image): Little code reformating.
12644 (ps-begin-file, ps-begin-job): Fix code.
12645 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12646 (ps-prologue-file): New fun.
12648 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12650 * ps-vars.el: Eliminated.
12652 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12655 * ps-print.el: ps-vars eliminated, doc fix.
12656 (ps-print-version): New version number (5.0.2).
12657 (ps-spool-config): Initialization fix.
12658 (ps-print-customize): New fun.
12660 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12662 * autorevert.el (auto-revert-mode): Return value of
12665 2000-01-04 Dave Love <fx@gnu.org>
12667 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12670 2000-01-03 Dave Love <fx@gnu.org>
12672 * elide-head.el (elide-head) [defgroup]: Add :version.
12674 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12675 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12676 `cl-hash-table-p', not `hash-table-p'.
12677 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12679 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12681 * faces.el (face-read-integer, read-face-attribute)
12682 (color-defined-p, color-values): unspecified-{f,b}g are now
12685 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12687 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12688 at comment end, and re-insert them after filling.
12690 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12692 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12693 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12694 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12696 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12698 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12699 the new name of face-color-supported-p.
12701 * term/w32-win.el (xw-defined-colors): Likewise.
12703 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12705 * simple.el (completion-setup-function): Count completion-size
12706 from minibuffer-prompt-end, not from point-min.
12708 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12710 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12711 Pass the frame to tty-color-* functions.
12712 (display-color-p, frame-set-background-mode): Pass the frame to
12713 tty-display-color-p.
12715 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12717 (tty-color-alist, tty-modify-color-alist): New functions.
12718 (tty-color-define, tty-color-clear, tty-color-approximate)
12719 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12720 an optional parameter FRAME.
12722 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12724 * image.el (create-image, defimage): Don't assume image data is a
12727 * image.el (defimage): Handle specifications containing :data
12729 (image-type-from-data): New function.
12730 (image-type-from-file-header): Use it.
12731 (create-image): Add parameter DATA-P.
12733 See ChangeLog.8 for earlier changes.
12735 ;; Local Variables:
12736 ;; coding: iso-2022-7bit