1 2000-11-27 Miles Bader <miles@gnu.org>
3 * wid-edit.el (widget-field-buffer, widget-field-start)
4 (widget-field-end): Handle widget field `pseudo-overlays'.
5 (widget-field-value-delete): Delete WIDGET from `widget-field-new'
6 if it's there instead of in `widget-field-list'.
8 * help.el (help-manyarg-func-alist): Correct entry for `vconcat'.
9 (help-make-xrefs): Delete extraneous newlines at the end of the
12 2000-11-25 Jason Rumney <jasonr@gnu.org>
14 * startup.el (command-line): Call set-locale-environment after
15 Window System init file is read, as it can result in a call to
18 2000-11-25 Eli Zaretskii <eliz@is.elta.co.il>
20 * simple.el (shell-command): Mention the effect of the prefix
21 argument in the doc string.
23 2000-11-25 Miles Bader <miles@gnu.org>
25 * cus-face.el (custom-face-attributes): Add "None" choice to :stipple.
27 * wid-edit.el (widget-field-value-delete): Don't try to delete
28 overlay when it's the `pseudo-overlay' that exists at some points.
30 2000-11-24 Jason Rumney <jasonr@gnu.org>
32 * international/mule-cmds.el (locale-language-names): Add "jp" as
33 a non-standard alternative for Japanese.
35 2000-11-24 Andre Spiegel <spiegel@gnu.org>
37 * vc-hooks.el: Require 'cl during compilation.
39 2000-11-24 Gerd Moellmann <gerd@gnu.org>
41 * faces.el (face-set-after-frame-default): Let face attributes
42 specified for new frames override frame parameters.
44 * startup.el (command-line): Fix computation of the source file
45 for user-init-file when user-init-file is a compiled file.
47 2000-11-24 Miles Bader <miles@gnu.org>
49 * cus-edit.el (custom-filter-face-spec, custom-pre-filter-face-spec)
50 (custom-post-filter-face-spec): New functions.
51 (custom-face-set, custom-face-value-create): Filter the face spec
52 before and after customization.
53 (custom-face-set): If VALUE specifies a null face, pass a
54 non-null-but-otherwise-ignored face-spec instead to `face-spec-set'.
55 * cus-face.el (custom-face-attributes): Remove SET and GET
56 functions. Add some IN-FILTER and OUT-FILTER functions in the few
59 * wid-edit.el (checkbox): Add a small `X' to the the :on-glyph, so
60 that it's distinguishable from the :off-glyph on dark-background
61 displays. Set its background color too.
63 * cus-start.el (all): Restore entry for `mode-line-inverse-video',
64 so that people can easily turn it off.
66 2000-11-24 Michael Kifer <kifer@cs.sunysb.edu>
68 * ediff-diff.el: Moved variables around to have it compile under NT.
70 * ediff-help.el (ediff-use-long-help-message): Made it customizable.
72 * ediff-init.el (ediff-abbrev-jobname): Use capitalize.
74 * ediff-wind.el (ediff-skip-unsuitable-frames): Deleted the
75 redundant skip-small-frames test.
77 * viper-cmd.el (viper-change-state-to-vi): Disable overwrite mode.
78 (viper-downgrade-to-insert): protect against errors in hooks.
80 * viper-init.el (viper-vi-state-hook,viper-insert-state-hook)
81 (viper-replace-state-hook,viper-emacs-state-hook): Do cursor handling.
82 (viper-restore-cursor-type,viper-set-insert-cursor-type): New
85 * viper-util.el (viper-memq-char): Bug fixes.
87 * viper.el (viper-mode): Fix cursor handling.
89 2000-11-24 Kenichi Handa <handa@etl.go.jp>
91 * international/mule-diag.el (list-iso-charset-chars): For
92 two-byte charset, fix the `while' condition.
93 (list-non-iso-charset-chars): Fix the `while' condition.
95 2000-11-23 Stefan Monnier <monnier@cs.yale.edu>
97 * subr.el (add-hook, remove-hook): Don't call make-local-hook
98 if the variable is make-variable-buffer-local.
100 * progmodes/ada-stmt.el (ada-template-map): Initialize
101 and bind it to C-c t in ada-mode-map.
102 (ada-stmt-mode-hook): New function extracted from old code.
103 Only change the buffer-local side of skeleton-*.
104 (ada-mode-hook): Use it.
106 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
108 * iswitchb.el (iswitchb-minibuf-depth): New variable.
109 (iswitchb-read-buffer): Record in iswitchb-minibuf-depth the value
110 we expect to be returned by minibuffer-depth once we prompt the
111 user in the minibuffer.
112 (iswitchb-entryfn-p): If minibuffer-depth returns the same value
113 as recorded in iswitchb-minibuf-depth, return non-nil.
115 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
117 * hscroll.el (turn-on-hscroll, hscroll-mode, hscroll-global-mode)
118 (hscroll-window-maybe): Docstring fix.
120 2000-11-23 Dave Love <fx@gnu.org>
122 * rect.el (string-rectangle): Don't test delete-selection-mode.
124 2000-11-23 Gerd Moellmann <gerd@gnu.org>
126 * avoid.el (mouse-avoidance-too-close-p): Return nil if mouse
129 * dired-aux.el (dired-add-entry): Don't call dired-get-filename
130 with `no-dir'; we want the directory part to be able to remove
133 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
135 * textmodes/outline.el (outline-flag-region):
136 Don't bind inhibit-read-only since we don't modify the buffer.
137 (outline-isearch-open-invisible): Don't jump to overlay-start
138 since we're trying to unhide text around point.
139 (outline-discard-overlays): Use dolist.
141 * autoinsert.el (auto-insert-alist): Add `provide' to elisp skeleton.
143 2000-11-22 Gerd Moellmann <gerd@gnu.org>
145 * mail/rmail.el (rmail-confirm-expunge): Default to
148 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
150 * textmodes/tex-mode.el (tex-font-lock-keywords-1):
151 Fix ARG regexp to skip quoted braces.
152 (tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
153 Remove `bf' and `it' from `bold' and `italic' (they were wrong and
154 are (correctly) handled separately).
155 Remove `caption' and `footnote' from `citations': they contain text.
156 Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
157 (latex-skeleton-end-hook): New function.
158 (latex-mode): Use it.
159 (tex-start-tex-marker): Remove.
160 (tex-send-tex-command): Don't set tex-start-tex-marker.
161 (tex-error-parse-syntax-table): New var.
162 (tex-compilation-parse-errors): Use it.
163 Ignore tex-start-tex-marker. Don't bother with marker-position.
164 (tex-validate-buffer): Don't bother with marker-position.
166 * textmodes/flyspell.el (flyspell-prog-text-faces): New var.
167 (flyspell-generic-progmode-verify): Use it.
169 2000-11-22 Sam Steingold <sds@gnu.org>
171 * simple.el (delete-trailing-whitespace): New interactive
174 * progmodes/ada-mode.el (ada-mode): Use it instead of
175 `ada-remove-trailing-spaces'.
176 (ada-remove-trailing-spaces): Removed.
178 * textmodes/two-column.el (2C-merge): Recommend it in the doc.
180 * textmodes/picture.el (picture-clean): Removed.
181 (picture-mode-exit): Call it instead of `picture-clean'.
183 2000-11-22 Gerd Moellmann <gerd@gnu.org>
185 * frame.el (show-cursor-in-non-selected-windows): Doc fix.
187 * hi-lock.el (hi-lock-refontify): Don't call non-existent
188 jit-lock-fontify-buffer; it should anyway be unneccessary to
189 do anything special when jit-lock is active.
190 (hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
192 2000-11-22 Dave Love <fx@gnu.org>
194 * calendar/todo-mode.el (todo-top-priorities): Use
195 todo-tmp-buffer-name. From Milan Zamazal <Milan.Zamazal@qbizm.com>.
197 * language/chinese.el, language/cyrillic.el:
198 * language/devanagari.el, language/ethiopic.el, language/greek.el:
199 * language/hebrew.el, language/indian.el, language/japanese.el:
200 * language/korean.el, language/lao.el, language/misc-lang.el:
201 * language/thai.el, language/tibetan.el, language/vietnamese.el:
204 * cus-edit.el (custom-buffer-create-internal): Save some consing.
205 (custom-variable-set): Improve validation error mesage.
207 * rect.el (string-rectangle): Revert last change.
208 (string-rectangle-line): New arg DELETE.
209 (string-rectangle): Check delete-selection-mode.
211 * emacs-lisp/edebug.el (edebug-version)
212 (edebug-maintainer-address): Deleted.
213 (edebug-submit-bug-report): Just alias to report-emacs-bug.
214 (edebug-read-function): Account for other `'#' read forms.
215 (edebug-mode-menus): Make some items toggles.
216 (edebug-outside-unread-command-event, unread-command-event):
217 Remove these to avoid warnings.
219 2000-11-22 David Ponce <david@dponce.com>
221 * recentf.el (recentf-menu-items-for-commands)
222 (recentf-make-menu-items, recentf-make-menu-item)
223 (recentf-filter-changer): Added :help and :active menu-item properties.
225 (recentf-build-dir-rules, recentf-dump-variable)
226 (recentf-edit-list, recentf-open-files-item)
227 (recentf-open-files): Replaced unnecessary `mapcar' with new
230 2000-11-23 Miles Bader <miles@gnu.org>
232 * faces.el (menu): Make inverse-video on ttys too.
234 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
236 * simple.el (comment-line-break-function): Use the new name
237 indent-new-comment-line -> comment-indent-new-line.
238 (clone-indirect-buffer): Don't ignore NORECORD.
239 (next-completion): Properly handle the case where items are adjacent.
241 * mouse.el (popup-menu): Stupid typo.
243 2000-11-22 Gerd Moellmann <gerd@gnu.org>
245 * emacs-lisp/authors.el: Remove autoload cookies, add author,
246 maintainer, keywords tags.
248 * rect.el (replace-rectangle): Don't call string-rectangle-line
249 with too many arguments.
251 2000-11-22 Andre Spiegel <spiegel@gnu.org>
253 * ediff-util.el (ediff-file-checked-out-p)
254 (ediff-file-checked-in-p): Call vc-state instead of
255 vc-locking-user, which no longer exists.
257 * emulation/viper-util.el (viper-file-checked-in-p): Same as above.
259 2000-11-22 Dave Love <fx@gnu.org>
261 * md5.el (md5): Provide.
262 (md5): Fix error call.
264 2000-11-22 Miles Bader <miles@gnu.org>
266 * textmodes/refill.el (refill-adjust-ignorable-overlay)
267 (refill-fill-paragraph-at): Remove debugging code.
269 * calendar/calendar.el (generate-calendar-window): When we don't
270 call `fit-window-to-buffer', make sure the top line is fully visible.
272 * image-file.el (insert-image-file): Don't make `read-only'
273 property rear-nonsticky.
275 * isearch.el (isearch-original-minibuffer-message-timeout): New var.
276 (isearch-mode): Set `minibuffer-message-timeout' to nil, after
277 stashing away its original value.
278 (isearch-edit-string): Temporarily restore `minibuffer-message-timeout'
279 in the recursive edit.
280 Bind `isearch-original-minibuffer-message-timeout' to protect it.
281 (isearch-done): Restore `minibuffer-message-timeout'.
283 * cus-start.el: Remove entry for `mode-line-inverse-video'.
285 2000-11-21 Stefan Monnier <monnier@cs.yale.edu>
287 * progmodes/ada-mode.el (ada-mode): `set '' -> `setq'.
289 * find-lisp.el (find-lisp-find-files-internal):
290 Use dolist, when and file-name-as-directory.
292 * emacs-lisp/edebug.el (edebug-form-spec prop): Use dolist.
293 (define-derived-mode, define-minor-mode): Add specs.
295 * window.el: General comment and spacing fixes.
296 (save-selected-window): Use backquotes.
297 (window-safely-shrinkable-p): New function.
298 (shrink-window-if-larger-than-buffer): Use it.
300 * subr.el (make-local-hook): Docstring fix.
302 * shell.el (shell-mode): Use define-derived-mode.
304 * newcomment.el (comment-indent): Insert comment before calling
305 comment-indent-function. Don't insert in column 0.
306 (comment-dwim): Indent before inserting comment.
308 * isearch.el (isearch-mode-map): Fix docstring. Init in defvar.
309 (minibuffer-local-isearch-map): Init in defvar. Use inheritance.
310 (isearch-clean-overlays, isearch-range-invisible, isearch-unread):
311 Use mapc rather than map.
313 * files.el (find-buffer-visiting): Compare all attributes before
314 declaring two files identical (rather than just their inode-no).
315 (auto-mode-alist): Use \' rather than $.
317 * which-func.el: Update maintainer line.
319 * pcvs.el (uniquify-buffer-file-name): Remove advice.
320 * uniquify.el (uniquify-list-buffers-directory-modes): New var.
321 (uniquify-buffer-file-name): Use it.
323 2000-11-22 Miles Bader <miles@gnu.org>
325 * cus-start.el: Add entry for `minibuffer-prompt-properties'.
326 * simple.el (minibuffer-avoid-prompt): New function.
328 2000-11-21 Gerd Moellmann <gerd@gnu.org>
330 * Makefile.in (.SUFFIXES): Add .SUFFIXES.
332 2000-11-21 Miles Bader <miles@gnu.org>
334 * emacs-lisp/advice.el (ad-special-forms): Correct the conditional
335 inclusion of `track-mouse'.
337 * textmodes/refill.el (refill-ignorable-overlay): New variable.
338 (refill-adjust-ignorable-overlay): New function.
339 (refill-fill-paragraph-at): Use `refill-ignorable-overlay' to fill
340 only the paragraph's tail if possible.
341 Update `refill-ignorable-overlay'.
342 (refill-mode): Initialize/cleanup `refill-ignorable-overlay'.
344 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
345 point inside the fill-prefix.
347 * textmodes/refill.el (refill-post-command-function): Don't reset
348 refill-doit in the case where a self-insertion command doesn't
349 case a refill. Use `refill-fill-paragraph-at', getting position
351 (refill-after-change-function): Set `refill-doit' to END.
352 (refill-fill-paragraph-at): New function, mostly from old
353 refill-fill-paragraph.
354 (refill-fill-paragraph): Use `refill-fill-paragraph-at'.
355 (refill-pre-command-function): New function.
356 (refill-mode): Add it to `pre-command-hook'.
358 2000-11-20 Gerd Moellmann <gerd@gnu.org>
360 * textmodes/artist.el (artist-mode): Fix autoload cookie.
362 * font-lock.el (java-keywords): Add MATCH-HIGHLIGHT part for
365 2000-11-20 Andre Spiegel <spiegel@gnu.org>
367 * vc.el, vc-hooks.el: Undo prev change (moved functions back to
370 * vc-rcs.el (vc-rcs-state): Before calling vc-workfile-unchanged-p,
373 * vc-cvs.el (vc-cvs-checkout): Fix bug that broke C-x v ~-style
376 2000-11-20 Dave Love <fx@gnu.org>
378 * Makefile.in (DONTCOMPILE): Omit bindings.el.
380 2000-11-20 Gerd Moellmann <gerd@gnu.org>
382 * calculator.el: New version from author.
384 2000-11-19 Gerd Moellmann <gerd@gnu.org>
386 * info.el (info-menu-5): Doc fix.
388 * textmodes/artist.el: New file.
390 2000-11-19 Andre Spiegel <spiegel@gnu.org>
392 * vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
393 and differentiate according to checkout model.
394 (vc-rcs-fetch-master-state): Don't call vc-workfile-unchanged-p,
395 since this function is only concerned with master state.
397 * vc-hooks.el (vc-workfile-unchanged-p,
398 vc-default-workfile-unchanged-p): Moved here from vc.el.
400 * vc.el (vc-workfile-unchanged-p,
401 vc-default-workfile-unchanged-p): See above.
403 2000-11-19 Miles Bader <miles@gnu.org>
405 * image-file.el (insert-image-file): Make `intangible' and
406 `read-only' properties rear-nonsticky too.
408 2000-11-18 Gerd Moellmann <gerd@gnu.org>
410 * ps-print.el: Update copyright notice.
412 * tooltip.el (tooltip-x-offset, tooltip-y-offset): New user-options.
413 (tooltip-show): Use the offsets.
415 * bindings.el (mode-line-modified): Fix a typo.
416 (mode-line-toggle-modified, mode-line-widen)
417 (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
419 2000-11-17 Gerd Moellmann <gerd@gnu.org>
421 * ps-print.el: Minor fixes from author.
423 2000-11-16 Stefan Monnier <monnier@cs.yale.edu>
425 * vc.el (vc-version-diff): Bind inhibit-read-only when inserting text.
426 (vc-version-backup-file): Docstring fix.
428 2000-11-16 Gerd Moellmann <gerd@gnu.org>
430 * files.el (basic-save-buffer): Don't add a newline if
431 find-file-literally is non-nil.
432 (find-file-literally): Extend doc string.
434 * sort.el (sort-columns): If sort-fold-case it non-nil, invoke
435 sort(1) with the `-f' argument.
437 2000-11-16 Andre Spiegel <spiegel@gnu.org>
439 * vc.el: Updated backend documentation.
440 (vc-default-check-headers): New function.
442 * vc-{cvs,rcs,sccs}.el: Functions reordered.
444 * vc.el (vc-revert-buffer): Ask for confirmation if file seems
446 (vc-do-command): In the asynchronous case, output messages only if
447 the minibuffer is not active.
449 * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
450 `vc-cvs-use-edit' is on.
451 (vc-cvs-checkout): When this is used for reverting the workfile,
452 make a backup of the original contents and revert to that in case
454 (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
457 * vc.el (vc-annotate): Changed handling of prefix arg; now asks
458 for both version and ratio in the minibuffer.
460 * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
461 Use vc-do-command to perform the annotation, not call-process.
463 2000-11-16 Kenichi Handa <handa@etl.go.jp>
465 * international/quail.el (quail-start-translation): Don't call
466 `message' before reading key sequence.
468 2000-11-16 Miles Bader <miles@lsi.nec.co.jp>
470 * net/ange-ftp.el (ange-ftp-file-modtime): Don't use `caddr'.
472 2000-11-16 Kenichi Handa <handa@etl.go.jp>
474 * window.el (fit-window-to-buffer): Be sure to acquire at least
475 one text line even if the buffer is empty.
477 2000-11-16 Gerd Moellmann <gerd@gnu.org>
479 * net/ange-ftp.el (ange-ftp-file-writable-p)
480 (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
481 ange-ftp-process-verbose to nil.
483 2000-11-15 Dave Love <fx@gnu.org>
485 * wid-edit.el (widget-specify-field, widget-specify-button): If
486 :help-echo is a function, set help-echo of overlay to
488 (widget-mouse-help): New function.
489 (widget-echo-help): Rewritten for :help-echo functions only taking
492 * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
494 (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
495 and that JPEG is available.
496 (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
498 * international/mule-cmds.el (locale-charset-language-names):
501 2000-11-15 Gerd Moellmann <gerd@gnu.org>
503 * faces.el (face-set-after-frame-default): If
504 `inhibit-default-face-x-resources' is bound, don't intialize the
505 default face from X resources.
507 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
509 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
510 Don't set EMACSLOADPATH.
512 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
514 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
516 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
517 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
519 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
521 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
522 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
523 (checkdoc-minor-keymap): Backward compatibility.
524 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
525 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
526 (checkdoc-this-string-valid-engine): Be a bit more strict
527 to avoid matching substrings of `...' quoted vars/funs.
528 (checkdoc-defun-info): Only look for `interactive' if alone.
529 (debug-ignored-errors): Add "arg doesn't appear in docstring".
531 * progmodes/compile.el (grep): `tag-default' can be nil.
533 * newcomment.el (comment-indent): Paren typo.
535 2000-11-14 Dave Love <fx@gnu.org>
537 * calculator.el: New maintainer version.
539 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
541 * cmuscheme.el: Doc fixes.
542 (cmuscheme) <defgroup>: Use `scheme' as parent.
543 (cmuscheme-program-name): Remove. Change uses to
546 * xscheme.el (scheme-program-name): Don't define here.
548 * progmodes/scheme.el (scheme-program-name): New variable
549 (originally in cmuscheme).
551 2000-11-14 Miles Bader <miles@gnu.org>
553 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
554 Handle header-lines. Don't loop forever if we can't enlarge the
555 window anymore. Simplify a bit.
557 2000-11-14 Kenichi Handa <handa@etl.go.jp>
559 * window.el (fit-window-to-buffer): Don't check
560 window-text-height. Assure that the last line is fully visible.
562 * international/quail.el (quail-show-guidance-buf): Call
563 fit-window-to-buffer to assure the enough height of the guidance
565 (quail-update-guidance): Avoid making the guidance buffer shorter.
567 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
569 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
570 rather than `prepend' and add an interesting comment.
571 (tex-math-face, tex-font-lock-syntactic-face-function):
572 New face and function to use it.
573 (tex-define-common-keys, tex-mode-map): Use menu-item rather
574 than `menu-enable' symbol property.
575 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
576 (tex-mode): Add some latex-mode commands for auto-selection.
577 Use tex-font-lock-syntactic-face-function.
578 (tex-insert-quote): Simplify.
579 (tex-shell): New mode.
580 (tex-start-shell): Use it.
581 (tex-shell-proc, tex-shell-buf): New functions.
582 (tex-send-command): Use it.
583 (tex-main-file): Fix the meaning of the new arg REALFILE.
584 (tex-send-tex-command): New function split from `tex-start-tex'.
585 Set compilation-last-buffer and compilation-parsing-end.
587 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
588 when it follows non-comment text on the line.
590 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
591 Set font-lock-defaults.
592 (lisp-mode-shared-map): Init inside the defvar.
593 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
594 Use define-derived-mode.
596 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
598 * faces.el (header-line): Use `:box nil' for color/gs displays too.
600 2000-11-14 Gerd Moellmann <gerd@gnu.org>
602 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
603 recursively optimize body because that can lead to infinite
604 recursion; see comment there.
606 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
608 * faces.el (face-spec-set-match-display): Revert the change from
609 2000-10-24. Add a FIXME for after v21.1.
611 2000-11-13 Miles Bader <miles@gnu.org>
613 * textmodes/fill.el (skip-line-prefix): New function.
614 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
615 (fill-paragraph): Don't leave point inside the fill-prefix.
616 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
617 point inside the fill-prefix.
619 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
621 * calendar/calendar.el (generate-calendar-window): Use
622 `fit-window-to-buffer'.
624 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
626 * gud.el (gud-minor-mode): New var.
627 (gud-symbol, gud-val): New functions.
628 (gud-find-file): Copy gud-minor-mode to the new buffer.
629 (gud-menu-map): Include entries for commands that are not always
630 available, using :enable to (de)activate them.
631 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
632 (gud-mode-map): New map.
633 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
634 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
635 Don't set up gud's menu (it's done by the minor-mode).
636 (gud-minibuffer-local-map): New.
637 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
638 (gud-query-cmdline): New function.
639 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
640 (gud-mode): Use define-derived-mode.
641 Don't set up gud's menu (it's done by the minor-mode).
642 (gud-chop-words): Remove.
643 (gud-common-init): Use split-string instead.
644 (gud-new-keymap, gud-make-debug-menu): Eradicate.
646 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
647 Add keyword arg :name.
649 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
650 (diff-count-matches, diff-split-hunk): New functions.
651 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
653 * pcvs-info.el (cvs-fi-conflict-face): New var.
655 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
656 Make it into a simple syntax-table, shared among all submodes.
657 (sh-heredoc-face): Re-introduce.
658 (sh-font-lock-syntactic-face-function): New function.
659 (sh-mode): Use it. Also use define-derived-mode.
660 Remove old bogus setting of indent-region-function.
661 (sh-set-shell): Don't set the syntax-table any more.
662 (sh-mode-syntax-table) <defun>: Remove.
664 2000-11-12 Miles Bader <miles@gnu.org>
666 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
667 message if interactive.
669 2000-11-12 Dave Love <fx@gnu.org>
671 * mail/feedmail.el: Fix header,
672 (feedmail) <defgroup>: Add :link.
674 * view.el: Use local-map property, not keymap on mode-line string.
676 * scroll-all.el (scroll-all-mode): Customize variable. Add
677 autoload cookie to function.
679 * lazy-lock.el: Remove compatibility code.
681 * finder.el (finder-known-keywords): Add `files', remove `vms'.
682 (finder-help-echo): New variable.
683 (finder-mouse-face-on-line): Add help-echo stuff.
684 (finder-list-keywords, finder-list-matches): Use mapc.
686 * faces.el (face-font-registry-alternatives): Add :version.
688 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
691 * net/browse-url.el (browse-url-browser-function): Update :version.
693 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
694 (mail-mode): Use [:alnum:] in some regexps.
696 2000-11-10 Dave Love <fx@gnu.org>
698 * ediff.el (ediff-regions-internal, ediff-documentation):
699 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
702 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
703 buffer into fundamental mode.
704 (ediff-set-difference): Use copy-sequence if available.
706 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
707 ediff-patch-map non-nil.
708 (ediff-fixup-patch-map, ediff-fixup-patch-map)
709 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
710 buffer into fundamental mode.
712 * ediff-merg.el (state-or-merge): Defvar when compiling.
714 2000-11-10 Jason Rumney <jasonr@gnu.org>
716 * w32-fns.el (w32-add-charset-info): New function.
717 (w32-charset-info-alist): Use it.
719 2000-11-10 Gerd Moellmann <gerd@gnu.org>
721 * faces.el (face-font-registry-alternatives): New user-option.
723 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
725 * textmodes/texinfo.el (texinfo-block-default): New var.
726 (texinfo-insert-block): Use it. Insert a newline if needed.
728 * textmodes/fill.el (fill-indent-according-to-mode): New var.
729 (fill-region-as-paragraph): Use it.
731 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
732 (latex-mode): Tweak tex-*-(head|trail)er regexps.
733 Tweak paragraph regexps to allow a leading [ \t]*.
734 (tex-latex-block): Insert a newline if necessary.
735 (latex-insert-item): Only insert a newline if necessary.
736 (tex-guess-main-file): New function.
737 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
738 Set tex-main-file if TeX-master is provided.
739 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
741 2000-11-10 Gerd Moellmann <gerd@gnu.org>
743 * startup.el (command-line): Set the default tooltip-mode
744 to t for graphical displays which implement x-show-tip.
746 * tooltip.el (tooltip-mode): Add a comment about startup.el
747 setting the default value of this user-option.
749 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
751 * font-lock.el (font-lock-*-face) <defvar>: Move.
752 (font-lock-defaults-alist): Mark obsolete.
753 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
754 (font-lock-mode): Use define-minor-mode.
755 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
756 (font-lock-turn-off-thing-lock): Be more explicit.
757 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
758 (font-lock-syntactic-face-function): New var.
759 (font-lock-fontify-syntactically-region): Use it.
760 (font-lock-doc-face): New.
762 * pcvs.el (cvs-enabledp): Ignore errors.
763 (cvs-commit-filelist): Never query.
764 (cvs-mode-insert): Always add a terminating / in the initial prompt.
765 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
766 (cvs-do-removal): Use cvs-partition rather than delete-if.
767 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
770 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
771 Allow `next' to jump to after the end of the last match.
773 2000-11-09 Gerd Moellmann <gerd@gnu.org>
775 * simple.el (byte-compiling-files-p): New function.
777 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
780 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
783 * textmodes/ispell.el (ispell-library-path): Don't call
784 check-ispell-version when byte-compiling because that starts
785 an ispell process, and ispell might not be installed.
786 (toplevel): Don't set up a menu when byte-compiling.
788 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
789 it, so that a boundp test can be used to determine if we're
790 currently byte-compiling.
792 2000-11-09 Dave Love <fx@gnu.org>
794 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
797 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
799 * ps-print.el: Patch for variable initialization when spooling. Doc
801 (ps-output-list): Fun eliminated.
802 (ps-begin-file, ps-begin-job): Code fix.
804 2000-11-08 Dave Love <fx@gnu.org>
806 * ediff-wind.el (ediff-control-frame-parameters): Zero
809 2000-11-08 Gerd Moellmann <gerd@gnu.org>
811 * simple.el (shell-command, display-message-or-buffer)
812 (shell-command-on-region): Mention resize-mini-windows in the doc
814 (display-message-or-buffer): Take the value of resize-mini-windows
817 2000-11-07 Gerd Moellmann <gerd@gnu.org>
819 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
821 * dired.el (dired-between-files): Add `^. find' as an alternative
822 to the regular expression, for find-dired.
824 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
826 * textmodes/texnfo-upd.el: Require texinfo.
827 (defmacro, defgroup): Remove.
828 (texinfo-section-to-generic-alist): Remove.
829 Use texinfo-section-list instead (i.e. level is changed string->int).
830 (texinfo-filter): New function.
831 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
832 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
833 Use it. And use regexp-opt.
834 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
835 (texinfo-update-menu-region-beginning)
836 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
837 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
838 (texinfo-update-menu-same-level-regexps): Update.
839 (texinfo-update-node, texinfo-every-node-update)
840 (texinfo-sequential-node-update): Remove autoload cookie.
842 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
843 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
844 (texinfo-chapter-level-regexp): Remove.
845 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
847 2000-11-06 Dave Love <fx@gnu.org>
849 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
851 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
854 2000-11-06 Kenichi Handa <handa@etl.go.jp>
856 * composite.el (composition-function-table): Variable declaration
857 moved to src/composite.c.
858 (compose-chars-after): New optional arg object.
860 2000-11-06 Gerd Moellmann <gerd@gnu.org>
862 * bindings.el (mode-line-toggle-read-only)
863 (mode-line-toggle-modified, mode-line-widen)
864 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
865 (make-mode-line-mouse2-map): Rewritten.
866 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
867 functions so that C-h k can show something with a doc string.
869 * startup.el (fancy-splash-delay): Set to 10 seconds.
870 (fancy-splash-max-time): New user-option.
871 (fancy-splash-stop-time): New variable.
872 (fancy-splash-screens): Set it. Catch `stop-splashing'.
873 (fancy-splash-screens-1): Throw `stop-splashing' when current
874 time is greater than fancy-splash-stop-time.
876 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
878 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
880 * pcvs.el (cvs-mode-marked): New arg `noquery'.
881 Prompt user for a file rather than raising an error.
882 (cvs-enabledp): Fix call to cvs-mode-marked.
883 (cvs-insert-file): New function (extracted from cvs-mode-insert).
884 (cvs-mode-insert): Use it. Change the init prompt' value.
885 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
887 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
888 Don't pass default arg to ewoc-locate.
889 (ewoc-collect): Return result in the right order.
891 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
893 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
894 (cvs-status-get-tags): Fix regexp.
895 (cvs-status-trees, cvs-status-cvstrees):
896 Combine after change hooks and don't sit-for.
897 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
898 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
899 Use make-char rather than hard-coded cryptic data.
900 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
902 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
904 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
905 (cvs-insert-strings): New function.
907 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
909 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
910 `mwheel-scroll-amount'.
911 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
912 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
913 string-matching against the version string.
915 2000-11-06 Kenichi Handa <handa@etl.go.jp>
917 * language/thai.el ("Thai"): Set a lisp form that produces
918 composed string in `sample-text' language info.
920 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
921 composed string in `sample-text' language info.
923 * international/mule-cmds.el (describe-language-environment): Eval
924 `sample-text' data and insert the result.
926 * international/mule-conf.el (compound-text): Define this coding
927 system here. Make x-ctext and ctext aliases of it.
929 * language/european.el (compound-text, ctext): Moved to
930 international/mule-conf.el.
932 2000-11-05 Andrew Innes <andrewi@gnu.org>
934 * w32-fns.el (w32-version): New function.
936 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
938 * progmodes/awk-mode.el: Update copyright.
939 (awk-mode-abbrev-table): Remove.
940 (awk-font-lock-keywords): Use regexp-opt.
941 (awk-mode): Use define-derived-mode.
943 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
944 when extracting a suffix.
946 2000-11-04 Andre Spiegel <spiegel@gnu.org>
948 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
951 2000-11-04 Jason Rumney <jasonr@gnu.org>
953 * language/european.el (decode-mac-roman): Test against r1 not r0.
955 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
957 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
958 (icon-mode): Define indent-line-function.
959 (icon-comment-indent): Simplify.
960 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
962 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
964 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
965 Bind change-log-default-mode to defeat the caching done on it.
966 Don't bother saving excursion any more.
968 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
970 * frame.el (after-setting-font-hook): Rename hooks -> hook.
971 (set-frame-font): Use the new name (and the old for compatibility).
973 * toolbar/tool-bar.el (tool-bar-mode):
974 * time.el (display-time-mode):
975 * recentf.el (recentf-mode):
976 * paren.el (show-paren-mode):
977 * mwheel.el (mouse-wheel-mode):
979 * jka-compr.el (auto-compression-mode):
980 * image-file.el (auto-image-file-mode):
981 * hl-line.el (hl-line-mode):
982 * delsel.el (delete-selection-mode):
983 * autoinsert.el (auto-insert-mode):
984 * complete.el (partial-completion-mode): Drop unneeded positional args.
986 * info.el (Info-mode):
987 * comint.el (comint-mode): Don't bother with make-local-hook.
989 * log-edit.el (log-edit-menu): New menu.
991 2000-11-03 Miles Bader <miles@gnu.org>
993 * wid-edit.el (widget-end-of-line): Reinstate, with a new
994 definition, so that trailing spaces are handled properly.
995 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
997 2000-11-03 Gerd Moellmann <gerd@gnu.org>
999 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
1001 (fancy-splash-screens): Set tab-width to 20.
1003 2000-11-03 Dave Love <fx@gnu.org>
1005 * comint.el (comint-completion-addsuffix): Fix custom type.
1007 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
1009 * font-lock.el (font-lock-buffers): Remove.
1010 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
1011 (font-lock-change-major-mode): Remove.
1012 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
1013 (font-lock-default-fontify-region): Extend the multiline
1014 fontification to whole lines.
1015 (font-lock-fontify-anchored-keywords)
1016 (font-lock-fontify-keywords-region): If matching just one
1017 line (with \n) only mark the \n as multiline.
1019 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
1020 Correctly handle the case where several :group args are supplied.
1022 (easy-mmode-define-global-mode): Allow :extra-args.
1023 Correctly handle the case where several :group args are supplied.
1025 2000-11-02 Miles Bader <miles@gnu.org>
1027 * calendar/calendar.el (diary-face, calendar-today-face)
1028 (holiday-face): Remove dependency on `window-system'.
1030 2000-11-02 Ken Raeburn <raeburn@gnu.org>
1032 * Makefile.in (emacs): Set EMACSLOADPATH always.
1033 (update-authors, .el.elc, compile-files): Don't do it explicitly
1035 (compile-files): Bomb out if compilation of a file fails.
1037 2000-11-02 Dave Love <fx@gnu.org>
1039 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
1041 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
1043 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
1044 punctuation in the warning inserted into the *mail* buffer.
1046 2000-11-02 Gerd Moellmann <gerd@gnu.org>
1048 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
1049 (authors-public-domain-p): New function.
1050 (authors-print): Use it.
1052 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
1054 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
1056 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1058 * ps-print.el: Extension for even/odd printing. Doc fix.
1059 (ps-print-version): New version number (6.3.1).
1060 (ps-even-or-odd-pages): Customization fix.
1061 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
1062 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
1063 (ps-page-count): Var replaced by `ps-page-column'.
1064 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
1065 (ps-print-sheet-p): New fun.
1067 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1069 * tooltip.el (tooltip-gud-tips-setup): New function.
1070 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
1071 (tooltip-mode): Call tooltip-gud-tips-setup.
1072 (tooltip-gud-tips): Use `gud-basic-call' instead of
1073 process-send-string, so the prompt gets frobbed appropriately.
1074 Handle nil return value from `tooltip-gud-print-command'.
1076 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
1078 * comint.el (comint-add-to-input-history): New function.
1079 (comint-send-input): Use `comint-add-to-input-history'.
1081 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1083 * info.el (info-menu-header): New face.
1084 (Info-fontify-menu-headers): New function.
1085 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
1087 * info.el (Info-insert-dir): Don't include blank lines at
1088 beginning of additional dir files (one is added automatically).
1090 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
1092 * emacs-lisp/easy-mmode.el (define-minor-mode):
1093 Revert the latest changes.
1094 Allow the three positional arguments to be skipped and replaced
1095 by keyword arguments.
1096 Add a :toggle argument to determine whether a nil arg means toggle
1097 or means turn-on. The default is unchanged.
1098 Add a call to force-mode-line-update.
1100 2000-11-01 Dave Love <fx@gnu.org>
1102 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
1105 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
1107 * calendar/calendar.el (diary-face, holiday-face): Add
1108 dark-background variants.
1110 2000-10-31 Sam Steingold <sds@gnu.org>
1112 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
1113 `tex-main-file' does not have directory in it.
1115 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
1117 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
1119 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
1121 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
1124 2000-10-31 Gerd Moellmann <gerd@gnu.org>
1126 * files.el (find-file-noselect): When we expand a wildcard, return
1127 a list of buffers, as we should do according to the doc string.
1129 2000-10-31 Ken Raeburn <raeburn@gnu.org>
1131 * loadup.el (top level): Adjust load path if program name is
1132 "../src/bootstrap-emacs", in case it's not dumped and thus the
1133 load path adjustment hasn't already been done.
1135 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1137 * ps-print.el: Fix bug on selected pages for printing. Use
1138 `color-values' for Emacs 21. Ensure fontification when jit-lock
1139 is on. Try to avoid warning messages when compiling. Doc Fix.
1140 (ps-print-version): New version number (6.3).
1141 (ps-color-device): Use `color-values' to determine if device
1143 (ps-color-values): Try to use `x-color-values' when using XEmacs.
1144 (ps-print-page-p): Changed from defsubst to defun.
1145 (ps-page-number): Changed from defmacro to defun.
1146 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
1148 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
1149 (ps-end-file, ps-dummy-page): Funs eliminated.
1150 (ps-print-color-scale): Changed default value.
1151 (ps-page-n-up, ps-print-page-p): New internal vars.
1152 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
1153 (ps-plot-region, ps-generate, ps-end-job): Code fix.
1155 * delim-col.el: Little programming improvement.
1156 (delimit-columns-str): New macro.
1157 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1159 2000-10-31 Kenichi Handa <handa@etl.go.jp>
1161 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
1162 Moved to european.el.
1163 (ccl-encode-mac-roman-font, fontset-mac): Modified for
1164 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1165 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
1166 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
1168 2000-10-30 Dave Love <fx@gnu.org>
1170 * progmodes/cc-menus.el (imenu-generic-expression)
1171 (imenu-progress-message): Only defvar when compiling.
1173 * emacs-lisp/elp.el (elp-unload-hook): New function.
1175 * loadhist.el (unload-feature): Call elp-restore-function,
1176 checking for symbols; don't use elp-restore-all.
1177 (loadhist-hook-functions): Doc fix.
1179 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
1181 * log-edit.el (log-edit-confirm): Fix the default.
1183 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1185 * delim-col.el: Little fix: replace delimit-columns-align-columns by
1186 delimit-columns-format.
1187 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1189 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
1191 * comint.el (comint-replace-by-expanded-history): Don't use
1192 comint-get-old-input (we're not looking at *old* input).
1193 (comint-get-old-input-default): If using fields, signal an error
1194 when the point is not in an input field.
1196 2000-10-30 Kenichi Handa <handa@etl.go.jp>
1198 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
1199 and mule-unicode-e000-ffff.
1201 * international/mule.el (decode-char, encode-char): New functions.
1202 (make-coding-system): Accept a symbol of translation table as a
1203 value of property `safe-chars'.
1205 * international/mule-cmds.el (encode-coding-char): Check property
1206 safe-chars instead of safe-charsets.
1208 * international/fontset.el (fontset-default): Modified for
1209 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1210 (x-font-name-charset-alist): Likewise.
1211 (ccl-encode-unicode-font): New CCL program. Record it in
1212 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
1214 * language/european.el (mac-roman-decoder, mac-roman-encoder):
1215 New translation tables.
1216 (decode-mac-roman, encode-mac-roman): Definition of these CCL
1217 programs are modified and moved from mac-win.el.
1218 (mac-roman): Definition of this coding system is modified and
1219 moved from mac-win.el.
1221 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1223 * ediff-wind.el (ediff-setup-control-frame): Enclose
1224 face-attribute in condition-case to avoid errors in older emacsen.
1226 2000-10-29 Miles Bader <miles@gnu.org>
1228 * custom.el (custom-add-to-group): Allow multiple entries for a
1229 given value OPTION, as long as their widget types are different.
1230 * cus-edit.el (custom-face-value-create): If face name doesn't end
1231 with "face", add such here (similar to custom group widgets).
1233 * comint.el (comint-highlight-prompt): Add :type.
1235 2000-10-28 John Wiegley <johnw@gnu.org>
1237 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
1238 Changed this function to operate on a temporary buffer instead of
1239 the main buffer. This not only keeps flyspell from marking a
1240 buffer as changed that wasn't, but it solves the jumpy cursor
1241 problem when attempts are made to edit incorrect words.
1242 (flyspell-maybe-correct-doubling): Same change as for
1243 `flyspell-maybe-correct-transposition'.
1245 * calendar/timeclock.el (timeclock-log): Doc fix.
1246 (timeclock-last-event): Doc fix.
1247 (timeclock-log): Kill the timelog buffer after appending a new
1249 (timeclock-find-discrep): Use a temp buffer to read in the
1250 timelog, instead of visiting the file.
1251 (timeclock-log-data): A new function, along with a host of helper
1252 functions, for the purpose of making timelog data accessible to
1255 * eshell/esh-mode.el (window-height test): Make certain that
1256 `eshell-stringify-t' is non-nil.
1257 (eshell-password-prompt-regexp): Changed to a much simpler
1259 (eshell-send-input): If `eshell-invoke-directly' returns t,
1260 directly invoke the parsed command using `eval'. This improves
1261 turn-around time on simple commands by a factor of three or
1262 greater, such as cd, ls, pwd, etc. -- which get used very often.
1263 It also conserves thousands of cons cells per call (since
1264 `eshell-do-eval' consumes memory like a Cookie Monster set loose
1265 in the Pacific Cookie Company).
1267 * eshell/esh-test.el (eshell-test): Whitespace fix.
1269 * eshell/em-ls.el (eshell-ls-insert-directory): Make
1270 `eshell-ls-initial-args' nil when inserting directory contents.
1272 * eshell/em-script.el (eshell-script-initialize): Add names to
1273 `eshell-complex-commands, since `source' and `.' are complex.
1275 * eshell/esh-cmd.el (eshell-rewrite-for-command)
1276 (eshell-rewrite-while-command): Use `eshell-protect' instead of
1277 `eshell-copy-handles'.
1278 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
1280 (eshell-separate-commands): Whitespace fix.
1281 (eshell-complex-commands): Added a new list of names, for
1282 determining whether a given command is as simple as it looks.
1283 (eshell-invoke-directly): New function. Returns t if a command
1284 should be invoked directly (using `eval'), rather than indirectly
1285 using `eshell-do-eval'.
1286 (eshell-do-eval): Whitespace fix.
1288 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
1289 which provides an emulation of the DOS shell behavior of assuming
1290 that cp/mv/ln should copy/move/link to the current directory.
1291 (eshell-remove-entries): Added a doc string.
1292 (eshell-shuffle-files): Removed the check for `target' being null.
1293 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
1294 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
1295 it to do a smarter check of whether a destination was provided.
1296 (eshell/mv, eshell/cp): Enable `:preserve-args'.
1297 (eshell/ln): Enable `:preserve-args', and use
1298 `eshell-mvcpln-template' to implement the body of the function.
1299 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
1300 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
1301 list after flattening it. This makes it possible to cat files
1302 with numerical names.
1303 (eshell-unix-initialize): Added several names to
1304 `eshell-complex-commands.
1305 (eshell-unix-command-complex-p): Return t if a given command name
1306 may result in external processes being invoked.
1308 * eshell/em-glob.el (eshell-glob-show-progress): Make this
1309 variable nil by default, since it slows down glob processing by a
1310 factor of two or more, and increases memory consumption.
1312 * eshell/em-smart.el: Added a note about how memory consumptive
1313 smart display mode can be (at least this is true in Emacs 21).
1314 (eshell-smart-initialize): Whitespace fix.
1315 (eshell-refresh-windows): Use `if' instead of `when'.
1316 (eshell-smart-scroll-window): Calling `save-current-buffer' was
1318 (eshell-currently-handling-window): Added a missing global
1321 * eshell/em-ls.el (eshell-do-ls): Code simplification.
1322 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
1324 (eshell-ls-exclude-hidden): Added this variable in addition to
1325 `eshell-ls-exclude-regexp'. This one prevents files beginning
1326 with . from even being read, which can improve memory consumption
1328 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
1329 read file entries beginning with a dot. In home directories with
1330 lots of hidden files, fully two-thirds of the time spent in ls is
1331 used to read directory entries that are immediately thrown away.
1332 (eshell-ls-initial-args): Added back this configuration variable,
1333 for specifying default initial arguments to every call to ls.
1334 Much faster than using an alias to do the same thing.
1335 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
1336 (eshell-ls-dir): Whitespace change.
1338 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
1340 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
1342 (eshell-stringify-t): Added a customization variable, to indicate
1343 whether `t' should be rendered as a string at all. If not, one
1344 can still determine if the result of an expression is true using
1345 "file-exists-p FILE && echo true".
1346 (eshell-stringify): If `eshell-stringify-t' is nil, don't
1349 * eshell/esh-module.el: Whitespace fix.
1351 * eshell/em-alias.el (eshell-alias-initialize): Added
1352 `eshell-command-aliased-p' to `eshell-complex-commands'.
1353 (eshell-command-aliased-p): New function that returns t if a
1354 command name names an aliased.
1356 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1358 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
1359 redrawing the screen when changing cursor color.
1360 (viper-insert-state-pre-command-sentinel)
1361 (viper-replace-state-pre-command-sentinel)
1362 (viper-replace-state-post-command-sentinel):
1363 Use viper-preserve-cursor-color.
1364 Many functions changed to use viper= instead of = when comparing
1366 * viper-util.el (viper-memq-char,viper=): New functions for
1367 working with characters.
1368 (viper-change-cursor-color): Fixed buglet.
1369 Many functions changed to use viper= instead of = when comparing
1371 * viper.el (viper-insert-state-mode-list): Added eshell.
1373 * ediff-init.el (ediff-before-setup-hook): New hook.
1374 Several typos fixed in various docstrings.
1375 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
1376 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
1378 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
1379 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
1380 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
1381 (ediff-get-selected-buffers): New function.
1382 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
1383 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
1384 save-window-excursion.
1385 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
1386 termination check in while loop.
1387 * ediff.el (ediff-get-default-file-name): Better defaults when in
1389 (ediff-files,ediff-merge-files,ediff-files3)
1390 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
1392 2000-10-28 Dave Love <fx@gnu.org>
1394 * info.el (Info-fontify-node): Add help-echo for menu items.
1396 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
1398 * startup.el (normal-top-level): If the value of $TERM indicates
1399 we are running from xterm or one of its work-alikes, default to a
1400 light background mode.
1402 Support for -fg, -bg, and -rv command-line arguments for TTYs:
1403 * faces.el (tty-handle-reverse-video): New function.
1404 (tty-create-frame-with-faces): Call it.
1406 * frame.el (frame-notice-user-settings): Don't apply
1407 default-frame-alist and initial-frame-alist to MS-DOS frames.
1408 Call tty-handle-reverse-video, frame-set-background-mode, and
1409 face-set-after-frame-default for non-MS-DOS frames.
1411 * startup.el (tty-long-option-alist): New variable.
1412 (tty-handle-args): New function.
1413 (command-line): Call tty-handle-args.
1415 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
1416 startup.el now does that for all character-terminal frames.
1418 2000-10-28 Miles Bader <miles@gnu.org>
1420 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
1421 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
1422 global. If :global is followed by a non-nil but non-t value,
1423 make the mode buffer-local, but also generate a `global-MODE'
1424 version using `easy-mmode-define-global-mode'. Add
1425 :conditional-turn-on keyword argument.
1427 2000-10-28 Dave Love <fx@gnu.org>
1429 * international/latin1-disp.el (latin1-char-displayable-p): Don't
1432 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
1434 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1435 Don't call find-buffer-file-type-coding-system. Instead, just
1436 set eol-type to -unix if inhibit-eol-conversion is in effect, or
1437 if the file is on an untranslated filesystem.
1438 (add-untranslated-filesystem): Use "D" instead of "f" inside
1441 2000-10-27 Dave Love <fx@gnu.org>
1443 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
1444 (refill-mode): Use it.
1446 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
1448 * international/quail.el (quail-activate): Don't make-local-hook.
1450 2000-10-27 Andre Spiegel <spiegel@gnu.org>
1452 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
1453 manual backups and file.~<rev>.~ for automatic ones.
1454 (vc-make-version-backup): Don't do it on MS-DOS without long file
1457 * vc.el (vc-version-other-window): If an automatic backup of the
1458 desired version exists, rename it instead of copying it.
1460 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
1461 after command. If there's an unexpected error, signal it instead
1463 (vc-cvs-merge-news): Be prepared for no news at all.
1465 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
1467 * shell.el (shell): Add BUFFER argument.
1468 * comint.el (make-comint-in-buffer): New function.
1469 (make-comint): Use it.
1471 * faces.el (face-spec-choose): Change syntax so that the list of
1472 attribute-value pairs is now the cdr of each clause, not the cadr.
1473 Detect old-style entries, and handle them. Use pop.
1475 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
1477 * cus-edit.el (custom-mode-map): Use a sparse map.
1478 (custom-mode): Don't bother with make-local-hook.
1480 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
1482 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
1484 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1486 * ps-print.el: Avoid compilation gripes.
1487 (ps-print-version): New version number (6.2.1).
1489 2000-10-26 Dave Love <fx@gnu.org>
1491 * menu-bar.el: Modify some menu item help strings.
1492 (menu-bar-help-menu): Add link to MORE.STUFF.
1494 * cus-edit.el (custom-mode): Add `special' mode-class property.
1496 * wid-browse.el (widget-browse-mode): Likewise.
1498 * wid-edit.el (widget-specify-field): Revert to using local-map
1499 property, not keymap.
1501 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
1503 * wid-edit.el (widget-field-end): When checking for a `boundary'
1504 field, do so in the correct buffer.
1506 * simple.el (undo): Correctly distinguish between numeric and
1507 non-numeric prefix args in non-transient-mark-mode, as per the doc
1508 string. When in transient-mark-mode, treat all prefix-args as
1511 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1512 Position point on match. Handle N == 0 correctly.
1514 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1515 (comint-mode-map): Reverse order of `comint-write-output' and
1516 `comint-append-output-to-file'.
1517 (comint-append-output-to-file): Reinstate this function, for the
1518 benefit of the menu.
1520 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
1522 * vc.el (vc-version-other-window): Bind `file'.
1524 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1526 * Makefile.in (update-authors): New target for maintenance purposes.
1528 * emacs-lisp/authors.el (batch-update-authors): New function.
1529 (authors-fixed-entries): New defconst.
1530 (authors-add-fixed-entries): New function.
1531 (authors): Call it.: Don't process lispref/.
1533 2000-10-25 Jason Rumney <jasonr@gnu.org>
1535 * cus-edit.el (custom-button-face, custom-button-pressed-face):
1536 Merge x w32 and mac definitions.
1538 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1540 * menu-bar.el (menu-bar-options-menu): Add a help string for
1543 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
1545 * time-stamp.el (time-stamp-string-preprocess):
1546 Fix a wrong type argument error.
1548 2000-10-25 Miles Bader <miles@gnu.org>
1550 * recentf.el (recentf-mode): Variable removed.
1551 (recentf-mode): Use `define-minor-mode'.
1553 * mwheel.el (mouse-wheel-mode): New global minor mode.
1554 (mwheel-install): Use `mouse-wheel-mode'.
1556 2000-10-25 Dave Love <fx@gnu.org>
1558 * progmodes/cperl-mode.el (cperl-mode):
1559 Set normal-auto-fill-function correctly.
1561 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1562 inherit from global-map and don't nullify menu-bar and tool-bar
1565 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
1567 * wid-edit.el (widget-field-at): New function.
1568 (widget-at, widget-field-activate): Use it.
1569 (widget-tabable-at): Use `widget-at'.
1570 (widget-specify-field): If the terminating character of the widget
1571 field (which is read-only) is a newline, put it into a special
1572 `boundary' field so that C-n/C-p act more naturally.
1573 (widget-field-end): Also don't subtract one if a special
1574 `boundary' field has been added after the widget field.
1576 * comint.el (comint-output-filter, comint-send-input): Don't
1577 bother adding stickiness fields to overlays to fool the field
1578 code, since it should notice the overlay insertion-types now.
1580 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1581 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1582 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1584 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1586 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1587 (authors): Set file coding system to iso-2022-7bit. Add
1588 file-local variables to output buffer.
1590 * files.el (after-find-file): Don't print any warnings if
1593 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1595 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1597 * delim-col.el: Now there is a column formatting mechanism.
1598 Modified to customization mechanisms convention. Doc fix.
1599 (columns): New group for delim-col.
1600 (delimit-columns-before, delimit-columns-after)
1601 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1602 (delimit-columns-end): New vars.
1603 (delimit-columns-customize, delimit-columns-format): New funs.
1604 (delimit-columns-region, delimit-columns-rectangle)
1605 (delimit-columns-rectangle-line): Modified to support column
1608 2000-10-24 Dave Love <fx@gnu.org>
1610 * log-edit.el (log-edit): Add :version and a :group for vc.
1612 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1614 * files.el (after-find-file): Don't print a message ``New file''
1617 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1618 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1619 get duplicate tool-bar entries because we'll see the global ones
1620 on more than one path through keymaps.
1622 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1624 * progmodes/cmacexp.el: Change Francesco's email address.
1626 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1628 * window.el (fit-window-to-buffer): Adjust point of the window
1629 buffer, not that of the current buffer.
1631 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1633 * progmodes/cmacexp.el: Update the euthor's email address.
1635 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1637 * faces.el (face-spec-set-match-display): Add `graphic' display
1638 type (the inverse of `tty'). Use `display-graphic-p' instead of
1639 the window-system variable.
1641 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1643 * international/isearch-x.el (isearch-with-input-method): Call
1644 input-method-function with the first event in
1645 unread-command-events.
1647 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1649 * faces.el (face-default-spec, face-user-default-spec): Make
1652 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1654 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1657 * term/mac-win.el: Remove definitions of mac-roman-lower and
1658 mac-roman-upper, require dired, and define instead of set
1659 mac-ready-for-drag-n-drop to avoid compilation error.
1661 2000-10-23 Andrew Innes <andrewi@gnu.org>
1663 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1664 superfluous calls to subst-char-in-string; instead apply
1665 expand-file-name after convert-standard-filename to ensure
1666 expected directory separators are used.
1668 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1670 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1672 2000-10-23 Dave Love <fx@gnu.org>
1674 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1675 (tool-bar-add-item): Set foreground and background for XBM icons.
1677 * international/latin1-disp.el (latin1-char-displayable-p): New
1678 function (from Handa).
1679 (latin1-display-check-font): Use it.
1681 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1682 using :key-sequence, making it much more usable. Use nconc, not
1684 (imenu--create-keymap-1): Avoid append.
1686 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1688 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1690 [the following changes fix a bug where `define-minor-mode' didn't
1691 correctly generate :require clauses for defcustoms in compiled files]
1692 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1693 (byte-compile-log-file, byte-compile-log-1): Don't set
1694 `byte-compile-current-file' to nil. Instead set
1695 `byte-compile-last-logged-file' to it. Test whether
1696 byte-compile-current-file equals byte-compile-last-logged-file
1697 instead of whether its nil.
1698 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1700 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1702 * textmodes/refill.el: Fix var names in doc.
1703 (refill-mode): Don't bother with make-local-hook anymore.
1705 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1707 * faces.el (face-user-default-spec, face-default-spec): New functions.
1708 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1709 (frame-set-background-mode, face-set-after-frame-default):
1710 Use `face-user-default-spec'. Simplify code slightly.
1712 * woman.el (woman-italic-face, woman-bold-face)
1713 (woman-unknown-face): Add dark-background variants.
1714 (woman-default-faces): Renamed from `woman-colour-faces'.
1715 Set using the stored defaults, rather than using hard-wired colors.
1716 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1717 Just make the foreground `unspecified' rather than "black".
1718 (woman-menu): Rename menu entries accordingly.
1720 * faces.el (header-line): Make more reasonable on mono/grayscale
1723 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1725 * cus-edit.el (custom-button-face): Use 3D look for mac.
1726 (custom-button-pressed-face): Likewise.
1728 * faces.el (set-face-attributes-from-resources): Handle mac frames
1729 in the same way as x and w32 frames.
1730 (face-valid-attribute-values): Likewise.
1731 (read-face-attribute): Likewise.
1732 (defined-colors): Likewise.
1733 (color-defined-p): Likewise.
1734 (color-values): Likewise.
1735 (display-grayscale-p): Likewise.
1736 (face-set-after-frame-default): Likewise.
1737 (mode-line): Same default face as for x and w32.
1738 (tool-bar): Likewise.
1740 * frame.el: Remove call to frame-notice-user-settings at end of
1743 * info.el (Info-fontify-node): make underlines invisible for mac
1744 as for x, pc, and w32 frame types.
1746 * term/mac-win.el: New file.
1748 2000-10-22 Dave Love <fx@gnu.org>
1750 * textmodes/refill.el: New file.
1752 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1754 * vc-hooks.el (vc-version-backup-file-name): New optional args
1756 (vc-delete-automatic-version-backups, vc-make-version-backup):
1758 (vc-before-save): Use the latter.
1759 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1762 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1763 expected by vc[-hooks].el.
1765 * vc.el (vc-checkout): Added `-p' suffix in call to
1766 vc-make-version-backups-p; use vc-make-version-backup to actually
1768 (vc-version-other-window, vc-version-backup-file): Handle both
1769 automatic and manual backups.
1770 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1773 2000-10-22 Miles Bader <miles@gnu.org>
1775 * comint.el (comint-highlight-input, comint-highlight-prompt):
1776 Renamed, `-face' at end removed.
1777 (comint-send-input, comint-output-filter): Use renamed faces.
1779 * window.el (fit-window-to-buffer): Change defaulting of
1780 MAX-HEIGHT slightly.
1782 * faces.el (color-values, color-defined-p): Use `member', not
1783 `memq', because it works correctly for strings.
1784 (frame-set-background-mode): Actually, "unspecified-fg" and
1785 "unspecified-bg" *are* strings. Use `member', not `memq', and
1786 `equal', not `eq', when a string value is possible.
1788 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1790 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1792 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1794 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1795 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1796 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1797 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1798 (sh-font-lock-syntactic-keywords): Use them.
1799 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1800 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1801 (sh-mode): Don't override font-lock-unfontify-region-function.
1802 Use a copy of sh-font-lock-syntactic-keywords.
1803 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1804 Don't call sh-scan-buffer since font-lock does it on the fly.
1805 (sh-get-indent-info): Use `face' rather than `syntax-table'
1806 text-property to detect here-documents.
1807 Replace sh-special-syntax with sh-st-punc.
1808 (sh-prev-line): Use `face' rather than `syntax-table'
1809 text-property to skip over here-documents.
1810 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1811 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1812 (sh-electric-less, sh-set-here-doc-region)
1813 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1814 (sh-scan-buffer, sh-rescan-buffer): Remove.
1816 2000-10-21 Andrew Innes <andrewi@gnu.org>
1818 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1819 remote (ange-ftp) file names.
1821 2000-10-21 Miles Bader <miles@gnu.org>
1823 * window.el (fit-window-to-buffer): New function.
1824 (shrink-window-if-larger-than-buffer): Use it.
1825 (window-text-height): Don't expect minibuffers to have mode-lines.
1827 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1828 * international/quail.el (quail-update-guidance): Use
1829 `fit-window-to-buffer' instead of `set-window-text-height'.
1831 * international/quail.el (quail-show-guidance-buf): Make sure
1832 guidance window really has enough room.
1833 (quail-update-guidance): If quail-guidance-win is already shown,
1834 make sure its height is OK.
1836 * window.el (window-text-height, set-window-text-height):
1838 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1839 instead of `window-height' & `mode-line-window-height-fudge'.
1840 (mode-line-window-height-fudge): Add FACE parameter.
1841 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1842 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1844 2000-10-20 Miles Bader <miles@gnu.org>
1846 * window.el (height-affecting-face-attributes): Use `defconst'.
1848 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1849 New function, conditionally aliased to `mode-line-window-height-fudge'.
1850 (ispell-help): Use it.
1851 (ispell-choices-win-default-height): Don't include mode-line fudge.
1852 (ispell-choices-win-default-height): New function.
1853 (ispell-show-choices, ispell-command-loop): Use function
1854 `ispell-choices-win-default-height' instead of variable.
1856 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1858 * window.el (mode-line-window-height-fudge): New variable.
1859 (height-affecting-face-attributes): New variable.
1860 (mode-line-window-height-fudge): New function.
1861 (shrink-window-if-larger-than-buffer): Use it.
1862 * help.el (resize-temp-buffer-window): Likewise.
1864 * info.el (Info-fontify-node): Add support for @subsubsection
1865 titles, which use `Info-title-4-face'.
1866 (Info-title-4-face): New face.
1867 (Info-title-3-face): Inherit from Info-title-4-face instead of
1870 2000-10-19 Jason Rumney <jasonr@gnu.org>
1872 * dired.el (dired-insert-directory): Do not let errors signalled by
1873 attempt to run dired-free-space-program prevent dired from working.
1875 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1877 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1879 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1881 * dirtrack.el (dirtrack): Fix call to run-hooks.
1883 * cmuscheme.el (cmuscheme-program-name): Renamed from
1884 scheme-program-name because xscheme.el contains a defcustom with
1885 the same name. As a consequence, customizing group `cmuscheme'
1886 loaded `xscheme' which redefined run-scheme.
1887 (run-scheme): Use cmuscheme-program-name.
1889 * ps-print.el (ps-print-emacs-type): Move into the
1892 * play/doctor.el (doctor-death): Update the Samaritans'
1893 anonymous address, and add a website for Befrienders International.
1895 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1897 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1898 Avoid compilation gripes. Doc fix.
1899 (ps-print-version): New version number (6.2).
1900 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1901 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1902 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1903 (ps-x-extent-priority, ps-x-extent-start-position)
1904 (ps-x-face-font-instance, ps-x-find-coding-system)
1905 (ps-x-font-instance-properties, ps-x-make-color-instance)
1906 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1907 avoid compilation gripes without defining functions.
1908 (ps-e-find-composition): Alias for function find-composition, to have a
1909 suitable function depending on Emacs version.
1910 (ps-color-device, ps-color-values, ps-face-foreground-name)
1911 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1912 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1913 (ps-print-ensure-fontified): Function definitions surrounded by
1914 `eval-and-compile' to avoid compilation gripes.
1915 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1916 by symbol-value to avoid compilation gripes.
1917 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1918 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1920 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1922 * startup.el (normal-top-level): Call `frame-set-background-mode'
1923 after `frame-notice-user-settings' because the latter doesn't call
1924 the former on a tty.
1926 * faces.el (frame-set-background-mode): `unspecified' &c are
1927 symbols, not strings.
1929 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1931 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1932 why some "light*" colors are deliberately absent from the alist.
1934 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1935 Change colors for tty's, as suggested by Miles Bader.
1937 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1939 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1940 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1941 for ISO10646-1 fonts.
1942 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1944 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1946 * faces.el (frame-set-background-mode): If a tty frame defines a
1947 background color, use that to compute the background mode, instead
1948 of always defaulting to "dark".
1950 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1952 * comint.el (comint-write-output): New function.
1953 (comint-mode-map): Add it to the menu.
1954 Bind `C-c C-s' to comint-write-output.
1956 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1958 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1959 Use fancy-splash-delay.
1961 2000-10-18 Alex Schroeder <alex@gnu.org>
1963 * progmodes/sql.el (sql-sybase-options): New option.
1964 (sql-sybase): Use it. Add sql-database to the list of parameters
1965 provided for login. The options -w 2048 -n are not used any more.
1967 * comint.el (comint-read-input-ring): Bugfix such that the first
1968 and the last entry of the input ring file are not lost.
1970 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1972 * ps-print.el: Internal variable changes to defcustom,
1973 make-local-hook changes to defvar. Doc fix.
1974 (ps-print-version): New version number (6.1).
1975 (ps-setup, ps-do-despool): Code fix.
1976 (ps-printer-name): Customization fix.
1977 (ps-printer-name-option): Now is a defcustom instead of an
1979 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1980 (ps-print-begin-column-hook): Now are defvar instead of
1983 2000-10-18 Miles Bader <miles@gnu.org>
1985 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1986 (comint-kill-output): Changed into an alias for `comint-delete-output',
1988 (comint-mode-map): Rename references to comint-kill-output.
1990 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
1992 * diff-mode.el (diff-header-face, diff-file-header-face)
1993 (diff-changed-face): Add bold and italic attributes to tty faces.
1994 (diff-function-face): New face.
1995 (diff-font-lock-keywords): Use it.
1997 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
1999 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
2000 Remove commented-out call to force-mode-line-update.
2001 (comint-kill-output): Use `forward-line 0' instead of
2002 beginning-of-line to make sure we get past the prompt.
2004 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
2006 * diff-mode.el (diff-header-face, diff-file-header-face):
2007 Add specific setting for dark background.
2008 (diff-context-face): Renamed from diff-comment-face.
2009 Set explicitly rather than inheriting from font-lock-comment-face.
2011 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2013 * startup.el (command-line): Move the code which sets the default
2014 TTY colors to before before-init-hook.
2016 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2018 * jit-lock.el (jit-lock-stealth-time): Doc fix.
2020 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2022 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
2023 extensions, for MS-DOS.
2025 * diff-mode.el (diff-header-face, diff-file-header-face)
2026 (diff-changed-face): Define tty-specific colors.
2028 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2030 * startup.el (fancy-splash-text): Realign the text.
2032 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2034 * font-lock.el (font-lock-comment-face): Define a separate default
2035 for dark-background tty's.
2037 2000-10-17 Miles Bader <miles@gnu.org>
2039 * help.el (resize-temp-buffer-window): Add hack to avoid last line
2040 being obscured by whizzy mode-lines on graphics displays.
2042 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2044 * info.el (Info-title-1-face, Info-title-2-face)
2045 (Info-title-3-face): Define colors for tty's.
2046 (info-header-node): Remove unneeded tty-specific definition.
2048 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
2050 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
2051 reverse from the frame parameters, and don't invert foreground and
2054 2000-10-16 Miles Bader <miles@gnu.org>
2056 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
2057 string "*Info*". Call propertized-buffer-identification to spruce
2060 2000-10-16 Gerd Moellmann <gerd@gnu.org>
2062 * help.el: Provide `help' for the sake of define-minor-mode
2063 which generates defcustoms with requires.
2065 * jit-lock.el (jit-lock-after-change): If we're in text that
2066 matches a multi-line font-lock pattern, make sure the whole text
2067 will be redisplayed.
2069 * emacs-lisp/authors.el (authors-add): Don't add an entry if
2070 author's name is unknown.
2072 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
2073 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
2074 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
2075 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
2076 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
2077 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
2078 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
2079 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
2080 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
2081 Add author information.
2083 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
2085 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
2086 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
2087 full-color version (using the Gimp) to eliminate dithering artifacts.
2089 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2091 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
2093 * simple.el (syntax-flag-table, string-to-syntax): Remove.
2095 2000-10-15 Dave Love <fx@gnu.org>
2097 * progmodes/sh-script.el: Require skeleton and comint when
2100 * pcomplete.el (pcomplete) <defgroup>: Add :version.
2102 * whitespace.el: Doc fixes.
2103 (top-level): Don't add hooks here.
2104 (whitespace-running-emacs): Deleted.
2105 (timer): Don't require.
2106 (whitespace): Add back :version conditional on xemacs test.
2107 (whitespace-spacetab-regexp, whitespace-indent-regexp)
2108 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
2109 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
2110 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
2111 Avoid specific xemacs test.
2112 (whitespace-global-mode): New option.
2113 (whitespace-global-mode): New command.
2114 (whitespace-unload-hook): New function.
2116 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
2117 (Info-fontify-node, Info-goto-node, Info-mode-menu)
2118 (Info-fontify-node): `Goto' goes to `Go to'.
2119 (Info-fontify-node): Add help-echo to xref links.
2121 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
2123 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
2125 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2127 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
2128 Use plist-get and allow :inherit.
2130 * emacs-lisp/cl-macs.el (cl-do-arglist):
2131 Use plist-get and plist-member instead of memq.
2133 * emacs-lisp/ewoc.el (ewoc-location): New function.
2134 (ewoc-enter-after, ewoc-enter-before): Document return value.
2135 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
2136 Don't need make-local-hook any more.
2137 (cvs-addto-collection): Return the new tin.
2138 (cvs-mode-insert): Jump to the new line.
2140 * jit-lock.el (jit-lock-fontify-buffer): Remove.
2142 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
2144 * font-lock.el (font-lock-syntactically-fontified): New var.
2145 (font-lock-fontify-syntactic-keywords-region): Use it.
2146 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
2148 * diff-mode.el (diff-find-file-name): Fix regexp.
2150 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
2151 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
2153 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
2154 (sh-mode-syntax-table): Add punctuation syntax for < and >.
2155 (sh-mode): Don't make all vars local here.
2157 (sh-set-shell): Use dolist. Don't set indent-region-function.
2158 (sh-mode-syntax-table): Use pop.
2159 (sh-remember-variable): Use push.
2160 (sh-help-string-for-variable): Use memq.
2161 (sh-safe-backward-sexp): Remove.
2162 (sh-safe-forward-sexp): Add ARG.
2163 (sh-get-indent-info, sh-prev-stmt): Use it.
2164 (sh-prev-line): Simplify by using forward-comment.
2165 (sh-this-is-a-continuation): Simplify.
2166 (sh-learn-buffer-indent): Use dolist.
2167 (sh-do-nothing): Remove.
2168 (sh-set-char-syntax, sh-set-here-doc-region):
2169 Use inhibit-modification-hooks.
2170 (sh-name-style): Use mapcar and push.
2171 (sh-load-style): Use dolist.
2172 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
2173 (sh-case, sh-while-getopts): Use propertize directly rather
2174 than sh-electric-rparen.
2176 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
2178 * textmodes/tex-mode.el: Require CL when compiling.
2179 (tex-mode-syntax-table): Init immediately.
2180 (tex-mode-map): Bind M-RET to latex-insert-item.
2181 (latex-mode): Set indent-line-function to latex-indent.
2182 (tex-common-initialization): Don't setup the syntax-table any more.
2183 (latex-insert-item): New skeleton.
2184 (tex-next-unmatched-end): Fix copy/paste braino.
2185 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
2186 (latex-indent, latex-find-indent): New functions.
2187 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
2188 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
2189 (tex-compilation-parse-errors): Use with-syntax-table.
2191 2000-10-15 Miles Bader <miles@gnu.org>
2193 * font-lock.el (font-lock-comment-face): Change dark-background,
2194 color, non-tty, default to `chocolate1'.
2196 2000-10-13 John Wiegley <johnw@gnu.org>
2198 * eshell/esh-util.el (require): Added a missing `require' form,
2199 needed when compiling (for an ange-ftp macro definition).
2201 2000-10-13 Dave Love <fx@gnu.org>
2203 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
2205 2000-10-13 Gerd Moellmann <gerd@gnu.org>
2207 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
2210 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
2211 transparent -colors 8).
2213 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
2215 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
2216 that breaks with old list format timestamps.
2217 (time-stamp-warn-inactive, time-stamp-old-format-warn)
2218 (time-stamp-count, time-stamp-conversion-warn): Improved doc
2221 2000-10-13 John Wiegley <johnw@gnu.org>
2223 * align.el, pcomplete.el, calendar/timeclock.el,
2224 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
2226 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
2227 faulty math, where holiday hours were being computing as seconds.
2229 2000-10-13 John Wiegley <johnw@gnu.org>
2231 * desktop.el (desktop-buffer-modes-to-save): Added a global for
2232 specifying what "other" kinds of buffers should be saved. This
2233 used to be hard-coded.
2234 (desktop-buffer-misc-functions): A global for specifying how
2235 auxiliary data should be determined for special buffer types.
2236 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
2237 instead of hard-coding the special buffer types.
2238 (desktop-save): Run `desktop-buffer-misc-functions' to gather
2239 auxiliary data, instead of hard-coding for Info buffers and dired.
2240 (desktop-buffer-info-misc-data): Aux function for determining Info
2241 buffer auxiliary info.
2242 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
2243 (desktop-buffer-info): Changed this function to use the info
2245 (desktop-create-buffer): Be a little more careful about what
2246 `minor-mode' means before calling it. This is important for some
2249 2000-10-13 John Wiegley <johnw@gnu.org>
2251 * eshell/esh-util.el: Added a global form which declares an
2252 autoload for `parse-time-string', if that function is not already
2253 defined, and if parse-time.el is available on the user's system.
2255 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
2256 to be aware of ange-ftp user info.
2257 (eshell-do-ls): Bind `ange-cache'. Also, use
2258 `eshell-file-attributes'.
2259 (eshell-ls-annotate): Use `eshell-file-attributes'.
2260 (eshell-ls-file): Made the user-id printing code a bit smarter.
2262 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
2263 allow identification of alias user ids in remote directories.
2264 It's manual, but there's no other way to know when the current
2265 user on the local machine, is also the owning user on the remote
2267 (fboundp): Bind `ange-cache'.
2268 (eshell-directory-files-and-attributes): Re-organized the logic a
2269 bit to use `eshell-file-attributes' instead of `file-attributes'.
2270 The former is more sensitive to directories that are read via FTP,
2271 and knows how to use ange-ftp to determine full attribute
2272 information, instead of just the name and last modtime.
2273 (eshell-current-ange-uids): Return the current user id when in a
2275 (eshell-parse-ange-ls): Parse a full directory listing that has
2276 been returned by ange-ftp.
2277 (eshell-file-attributes): This beefed up version of
2278 `file-attributes' is only special if the user is currently in a
2279 remote directory, in which case it does a lot of work to find out
2280 what the real attributes of a file are, as they appear on the
2281 remote machine. This makes usage of remote directories (i.e.,
2282 ange-ftp pathnames) much more useful. You can now use Eshell as a
2283 full-fledged FTP client, with much more manipulation ability than
2286 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
2287 variable, which means that Eshell's du should always be preferred
2288 in remote directories.
2289 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
2290 just `file-attributes'.
2291 (eshell-mvcp-template): Bind `ange-cache', to improve performance
2292 when reading remote directories. This is an Eshell-specific
2293 variable (not part of ange-ftp).
2294 (eshell/ln): Bind `ange-cache'.
2295 (eshell/du): Added some extra logic for determining when to use
2296 Eshell's du (which is slow), and when to use the external version
2297 (which may or may not exist).
2299 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
2300 `eshell-interactive-process', rather than using
2301 `get-buffer-process', since backgrounded processes don't count in
2302 the context of this function's logic.
2304 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
2305 `forward-char', so that null strings are parsed correctly.
2307 2000-09-13 John Wiegley <johnw@gnu.org>
2309 * eshell/em-pred.el (eshell-pred-file-type,
2310 eshell-pred-file-links, eshell-pred-file-size): Use
2311 `eshell-file-attributes'. This is more correct over ange-ftp.
2313 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
2314 that remote file globbing is more efficient.
2316 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
2317 gathering the files and attributes within a directory.
2319 * eshell/em-unix.el (eshell/cat): If any of the files passed on
2320 the command line is a special file (not a regular file, directory
2321 or symlink), always attempt to call the external version of cat.
2323 2000-09-13 John Wiegley <johnw@gnu.org>
2325 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
2326 Eshell-friendly version of find-tag.
2328 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
2330 * image-file.el (image-file-name-extensions)
2331 (image-file-name-regexps): Add autoload cookies.
2333 2000-10-13 Kenichi Handa <handa@etl.go.jp>
2335 * international/mule-cmds.el (select-safe-coding-system): If FROM
2336 is string, show it in *Warning* buffer.
2338 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
2340 * startup.el (normal-top-level): Use display-popup-menus-p instead
2342 (command-line): Use display-graphic-p instead of window-system.
2343 (command-line-1): Use display-popup-menus-p and display-mouse-p
2344 instead of window-system.
2346 2000-10-12 Sam Steingold <sds@gnu.org>
2348 * tooltip.el (tooltip-use-echo-area): New user variable.
2349 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
2351 2000-10-12 Dave Love <fx@gnu.org>
2353 * recentf.el: Maintainer's checkdoc fixes.
2355 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
2356 character class, not ASCII when matching file names.
2357 (fancy-splash-head): Add trailing slash to URL.
2358 (command-line): Don't require XPM support for toolbar.
2360 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
2361 (cperl-invalid-face): Revert last change.
2362 (cperl-init-faces): Quote cperl-invalid-face.
2364 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2366 * startup.el (fancy-splash-text): Remove superfluous quote.
2368 2000-10-12 Gerd Moellmann <gerd@gnu.org>
2370 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
2371 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
2372 (command-line-1): Don't use fancy-splash-pending-command.
2373 (fancy-splash-screens-1): Goto point-min after inserting text.
2375 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
2377 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
2378 instead of shared-lisp-mode-map.
2380 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
2382 * faces.el (header-line): Change tty-variant to use underlining.
2384 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
2385 (isearch-highlight): Restore lazy-isearch face properties at old
2386 position, and suppress them at new position.
2387 (isearch-dehighlight): Restore lazy-isearch face properties.
2388 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
2389 over the real isearch overlay, but in that case, don't give it a
2390 face property. Use `push'.
2392 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2394 * man.el (Man-getpage-in-background): Fix previous change.
2395 Decode the process output only when we are in multibyte mode.
2397 2000-10-11 Dave Love <fx@gnu.org>
2399 * info.el (Info-mode-menu): Fix some help.
2400 (info-tool-bar-map): Add entry for Info-last.
2402 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
2403 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
2404 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
2405 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
2406 * toolbar/search-replace.xpm, toolbar/exit.xpm:
2407 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
2408 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
2409 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
2410 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
2411 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
2412 Reduce colour requirements to 25 overall. (Probably wants
2413 revisiting from the originals to reduce further.)
2415 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
2417 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
2418 buffer-file-coding-system, instead of raw-text.
2419 (dehexlify-buffer): Bind coding-system-for-read to
2420 buffer-file-coding-system, instead of raw-text.
2422 2000-10-11 Sam Steingold <sds@gnu.org>
2424 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
2425 `underline' - fixes the bug introduced on 2000-09-21.
2427 2000-10-11 Dave Love <fx@gnu.org>
2429 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
2431 (scheme-mode): Doc fix.
2432 (scheme-font-lock-keywords-1): Match `define-syntax'.
2434 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
2436 * faces.el (frame-set-background-mode): Pay attention to saved
2437 face specs as well as default ones. Only do anything if the
2438 bg-mode or display-type has actually changed. Use `dolist'.
2439 (region): Make dark-background `region' face less in-your-face.
2441 2000-10-10 Sam Steingold <sds@gnu.org>
2443 * chistory.el, ielm.el, ledit.el:
2444 * progmodes/inf-lisp.el, progmodes/scheme.el:
2445 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
2447 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
2449 * textmodes/texinfo.el: Update copyright and fix typo.
2451 * desktop.el (desktop-modes-not-to-save): New var.
2452 (desktop-save-buffer-p): Use it.
2453 Also, obey desktop-buffers-not-to-save even for non-file buffers.
2454 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
2456 2000-10-10 Dave Love <fx@gnu.org>
2458 * toolbar/tool-bar.el (tool-bar-add-item)
2459 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
2462 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
2463 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
2464 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
2465 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
2466 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
2467 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
2468 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
2469 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
2470 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
2471 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
2472 the .xpms; probably need retouching.
2474 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
2476 * subr.el (add-to-list): Add optional argument APPEND.
2477 * battery.el (display-battery): Use `add-to-list'.
2479 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
2481 * play/zone.el (zone-timer, zone-wc-tbl): Rework
2482 these vars as symbol properties.
2483 (zone, zone-when-idle, zone-leave-me-alone)
2484 (zone-pgm-whack-chars): Use new symbol properties.
2486 * battery.el (display-battery): Doc spelling fix.
2488 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
2491 2000-10-09 Dave Love <fx@gnu.org>
2493 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
2494 has been initialized before calling tool-bar-setup.
2495 (tool-bar-add-item-from-menu): Add autoload cookie.
2497 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
2499 * menu-bar.el (send-mail-item-name): New function.
2500 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
2501 of mail-user-agent in the menu. Don't display the "Send Mail"
2502 item if mail-user-agent is nil or its value is ignore.
2503 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
2504 if read-mail-command is nil or its value is ignore.
2506 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2508 2000-10-09 Miles Bader <miles@gnu.org>
2510 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2512 * toolbar/left_arrow.xpm: Correct image size.
2514 * jka-compr.el: Don't call `jka-compr-install' when loading (it
2515 will be done by the definition of `auto-compression-mode' if
2516 necessary. Move code to uninstall existing file-name handler
2517 before definition of `auto-compression-mode'.
2519 * image-file.el (auto-image-file-mode): Move to the end of the
2520 file, because `define-minor-mode' actually calls the mode-function
2521 if the associated variable is non-nil, which requires that all
2522 needed functions be already defined.
2524 * mouse.el (popup-menu): Balance parens.
2526 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
2528 * mouse.el (popup-menu): Move the command call outside the loop
2529 so that popup-menu returns whatever the command returns.
2531 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
2532 (initialize-new-tags-table): Use run-hook-with-args-until-success.
2533 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2534 (tags-table-format-functions): Renamed from tags-table-format-hooks.
2536 * vc.el (vc-version-diff): diff-switches can be a list.
2537 Use relative filenames for prettier output.
2539 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2540 (vc-post-command-functions): Remove old-VC compatibility code.
2542 * newcomment.el (comment-indent-default): Autoload.
2544 * font-lock.el (font-lock-defaults): Make buffer-local.
2545 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2546 (font-lock-choose-keywords):
2547 Ignore LEVEL unless KEYWORDS is a list of syms.
2548 (c-keywords, c++-keywords, objc-keywords, java-keywords):
2549 Don't wrap regexp-opt things in \(...\) unnecessarily.
2551 * jit-lock.el: Don't require font-lock any more.
2552 (jit-lock-functions): Make buffer-local.
2553 (jit-lock-saved-fontify-buffer-function): Remove.
2554 (jit-lock-mode): Remove autoload cookie.
2555 Remove font-lock specific code.
2556 (jit-lock-unregister): Don't bother handling complex hooks any more.
2557 (jit-lock-refontify): New function.
2558 (jit-lock-fontify-buffer): Use it.
2559 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2560 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2561 Add optional args START and END.
2562 Never call font-lock-fontify-region directly.
2563 (jit-lock-function, jit-lock-stealth-fontify): Use it.
2565 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2567 2000-10-08 Dave Love <fx@gnu.org>
2569 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2571 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2573 * play/studly.el (studlify-region, studlify-word): Add autoload
2576 * play/morse.el (morse-region, unmorse-region): Add autoload
2579 * play/spook.el (spook-phrases-file): Use expand-file-name, not
2582 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2583 insist on symbols starting with word syntax.
2584 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2585 (eval-defun-1): Doc fix.
2586 (indent-sexp): Use nconc to build up indent-stack.
2588 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2589 Gnus with little use.
2590 (mail-setup-hook): Add mail-abbrevs-setup to options.
2592 * recentf.el: Doc fixes.
2594 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2597 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2598 without timezone and (8) with timezone to enforce some whitespace.
2599 Simplify code somewhat.
2601 * options.el (list-options): Doc that you should use customize.
2603 * iswitchb.el (iswitchb-mode): Add :require.
2605 * info.el (Info-goto-node, Info-menu): Doc fix.
2606 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2607 (info-tool-bar-map): New variable.
2608 (Info-mode): Use it.
2609 (Info-edit-map): Define all in defvar.
2610 (speedbar-attached-frame): Avoid compiler warning.
2612 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2613 (global-map): Bind [tool-bar] to a filtered map.
2614 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2615 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2617 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2619 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2620 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2621 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2622 icons, except up_arrow, which is left-arrow rotated.
2624 * imenu.el (imenu-add-to-menubar): Fix last change.
2626 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2628 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2629 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2631 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2633 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2634 typos in doc strings.
2636 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2637 the doc strings how to customize Font Lock faces.
2639 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2640 computing growth when dragging the header line.
2642 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2644 * simple.el (kill-line): Doc fix.
2646 2000-10-08 Miles Bader <miles@gnu.org>
2648 * faces.el (secondary-selection): Make foreground visible on tty.
2650 * jka-compr.el (auto-compression-mode): Move to the end of the
2651 file, because `define-minor-mode' actually calls the mode-function
2652 if the associated variable is non-nil, which requires that all
2653 needed functions be already defined.
2654 (with-auto-compression-mode): Add autoload cookie.
2656 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2658 * files.el (find-backup-file-name) [ms-dos]: If support for long
2659 file names is not available, behave as if version-control were set
2662 2000-10-07 Dave Love <fx@gnu.org>
2664 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2665 (browse-url-gnome-moz): New function.
2666 (browse-url-browser-function): Use it.
2667 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2669 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2671 * indent.el (tab-always-indent): New var.
2672 (indent-for-tab-command): Use it.
2674 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2675 raise an error. This way it can still default to a sane value.
2677 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2679 * startup.el (fancy-splash-screens): Use local rather than global map.
2680 Don't use `update-menu-bindings' any more.
2681 Get rid of assumptions about keymap representation.
2683 2000-10-06 Dave Love <fx@gnu.org>
2685 * textmodes/fill.el (sentence-end-double-space)
2686 (sentence-end-without-period): Doc fix.
2687 (adaptive-fill-regexp): Purecopy.
2688 (unjustify-current-line): Use line-end-position.
2689 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2691 * net/eudc-vars.el (eudc): Add :version, :link.
2693 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2695 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2696 Fix for define-minor-mode.
2697 (function-at-point): Alias to function-called-at-point.
2699 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2701 * simple.el (backward-word): Doc fix.
2703 * image-file.el (image-file-name-regexp): image-file-regexps ->
2704 image-file-name-regexps.
2705 (image-file-name-extensions): Add pbm.
2707 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2709 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2710 and add filename to the names so that diff-mode can jump to source.
2712 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2713 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2714 (tex-font-lock-keywords-1): Remove.
2715 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2716 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2717 (font-lock-default-fontify-region):
2718 Expand beg..end correctly when just following a multiline region.
2719 (font-lock-fontify-anchored-keywords):
2720 Include the anchor text as part of the multiline.
2722 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2724 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2725 latter needs the autoloaded define-minor-mode macro during the
2728 * startup.el (command-line): For now, activate tool-bar-mode only
2729 if XPM images are supported.
2731 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2732 window by dragging a header-line at the top of the frame; that's
2733 confusing because the header-line doesn't move.
2734 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2735 of treating the event as a list. Some cleanup.
2737 2000-10-06 Miles Bader <miles@gnu.org>
2739 * simple.el (display-message-or-buffer): New function.
2740 (shell-command-on-region): Use `display-message-or-buffer'.
2742 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2745 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2746 (smbclient-prompt-regexp): Add usage note to doc string.
2747 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2748 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2749 Use add-hook for adding the comint filter function, and only do so
2750 if it's not already in the global hook list.
2751 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2752 to `make-local-variable'.
2753 (nslookup-font-lock-keywords): Remove prompt entry.
2754 (nslookup): Don't set the process-filter.
2755 (finger): Exit the loop correctly when the regexps list runs out.
2756 (ftp, smbclient, smbclient-list-shares):
2757 Set the real major mode immediately, not after execing.
2758 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2760 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2762 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2764 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2766 * which-func.el (which-func-format): Remove spurious space.
2767 (which-func-mode): Don't make it permanent-local.
2768 (which-func-ff-hook): Allow which-func-maxout to be nil.
2769 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2770 (which-func-mode): Simplify.
2771 Use post-command-idle-hook rather than post-command-hook.
2772 Go through all buffers and update their state.
2773 (which-function): Also try add-log-current-defun-function.
2775 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2776 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2777 Update call to with-vc-properties accordingly.
2778 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2779 (vc-revert-buffer): More careful about window selection and deletion.
2780 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2782 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2783 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2784 (cvs-dired-action): Change the default to quickdir.
2786 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2787 if comment-indent-function returns nil.
2788 (comment-indent-default): New function.
2789 (comment-indent-function): Use it and document the new semantics.
2791 * image-file.el: Docstring fixes.
2793 * help.el (help-xref-on-pp): Use match-string.
2794 (describe-variable): New arg BUFFER.
2795 Store the current buffer in the help-xref-stack.
2796 (temp-buffer-resize-mode): Use define-minor-mode.
2798 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2799 consistently with its docstring.
2800 Set jit-lock-first-unfontify-pos in an idempotent way.
2801 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2803 2000-10-05 Alex Schroeder <alex@gnu.org>
2805 * sql.el (sql-mysql-options): New variable.
2806 (sql-mysql): Use it.
2808 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2810 * image.el (image): New group.
2812 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2813 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2815 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2817 * net/net-utils.el (nslookup-font-lock-keywords)
2818 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2819 Ignore the value of wqindow-system; always define keywords
2821 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2823 * startup.el (fancy-splash-screens): Remove the code for
2824 debugging; `(trace-to-stderr "EXITTT\n")'.
2826 2000-10-05 Miles Bader <miles@gnu.org>
2828 * diff-mode.el (diff-goto-source): Update call to
2829 `diff-hunk-status-msg' to reflect new REV variable.
2831 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2833 * progmodes/icon.el (icon-mode):
2834 Don't gratuitously override the default for comment-column.
2836 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2838 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2839 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2840 (jit-lock-functions): New var.
2841 (jit-lock-function-1): Use it if non-nil.
2842 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2843 Set the `fontified' property before doing the fontification to avoid
2844 repeatedly going through the same error.
2845 Don't turn errors into messages.
2846 (jit-lock-register, jit-lock-unregister): New functions.
2848 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2849 Use with-current-buffer.
2851 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2852 Turn comment into docstring.
2854 * apropos.el (apropos-mode): Use define-derived-mode.
2856 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2858 * startup.el (fancy-splash-pending-command): New variable.
2859 (fancy-splash-pre-command): New function.
2860 (fancy-splash-screens): Rewritten.
2861 (command-line-1): If fancy-splash-pending-command is set, call it
2864 2000-10-04 Dave Love <fx@gnu.org>
2866 * toolbar/tool-bar.el (tool-bar-setup): New function.
2867 (tool-bar-mode): Use it.
2869 * subr.el (substitute-key-definition): Doc fix.
2870 (play-sound-file): New command.
2872 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2874 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2875 vc-version-backup-file-name): New functions.
2877 * files.el (basic-save-buffer): Call vc-before-save before saving.
2879 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2880 vc-cvs-stay-local-p.
2882 * vc.el (vc-revert-buffer): Handle empty diff properly.
2883 (vc-version-backup-file): New function.
2884 (vc-checkout): Create a version backup if necessary.
2885 (vc-checkin): If a version backup file exists, delete it.
2886 (vc-version-diff): Diff locally using version backups, if available.
2887 (vc-revert-file): If there's a version backup, revert locally.
2888 (vc-transfer-file): Use version backup for base version, if
2889 available. If not, ask for confirmation whether to get it from the
2890 server. Update mode line before check-in.
2892 2000-10-04 Dave Love <fx@gnu.org>
2894 * toolbar/tool-bar.el (tool-bar-setup): New function.
2895 (tool-bar-mode): Use it.
2897 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2899 * net/net-utils.el (nslookup-font-lock-keywords)
2900 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2901 Only set if window-system is non-nil
2902 (net-utils-run-program): Returns buffer.
2903 (network-connection-reconnect): Added this function.
2906 Incorporates extensive cleanup and docfixes by
2907 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2908 Uses cl compile-time macros.
2909 (generic-mode-name, generic-comment-list)
2910 (generic-keywords-list, generic-font-lock-expressions)
2911 (generic-mode-function-list, generic-mode-syntax-table):
2913 (generic-mode-alist): Renamed to generic-mode-list.
2914 (generic-find-file-regexp): Default changed to "^#".
2915 (generic-read-type): Uses completing read on generic-mode-list.
2916 (generic-mode-sanity-check): removed this function.
2917 (generic-add-to-auto-mode): Removed this function
2918 (generic-mode-internal): Bind mode-specific definitions
2919 into function instead of putting them in alist.
2920 (generic-mode-set-comments): Reworked extensively.
2921 (generic-mode-find-file-hook): Simplified regexp searching
2922 (generic-make-keywords-list): Omit extra pair of parens
2924 * find-lisp.el (find-lisp-find-files-internal):
2925 Make sure directory name ends with "/".
2927 * generic-x.el (apache-conf-generic-mode):
2928 Regexp now allows leading whitespace.
2929 (rc-generic-mode): Added eval-when-compile
2930 around generic-make-keywords-list.
2931 Deleted duplicate regexp
2932 (rul-generic-mode): Added eval-when-compile
2933 around generic-make-keywords-list.
2934 (etc-fstab-generic-mode): New generic mode.
2935 (rul-generic-mode): Removed one eval-when-compile
2936 which caused a max-specpdl-size exceeded error.
2938 2000-10-04 Miles Bader <miles@gnu.org>
2940 * simple.el (minibuffer-temporary-goal-position): New variable.
2941 (next-history-element): Try to keep the position of point in the
2942 input string constant.
2944 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2945 (dired-do-create-files): If there's only one file, pass it in as
2946 the DEFAULT arg to dired-mark-read-file-name.
2948 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2950 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2951 (diff-goto-source): Be smarter when choosing REVERSE or not.
2953 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2954 (texinfo-mode-menu): Add an explicit shortcut for update all.
2956 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2958 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2959 factorize backend-specific code cleanly (this was essentially
2960 conceived by Stefan Monnier).
2961 (vc-unregister): Function removed.
2962 (vc-revert-file): New function.
2963 (vc-revert-buffer): Delegate some of the work to it.
2965 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2966 default branch unconditionally.
2967 (vc-rcs-set-default-branch): New function.
2968 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2969 (vc-rcs-checkin): If an appropriate default branch has been set,
2970 force creation of that branch.
2971 (vc-rcs-receive-file): Rewritten to contain only backend-specific
2972 code (as suggested by Stefan Monnier).
2974 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2976 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2977 highlighting overlay with a different face over the overlay
2978 isearch uses to highlight the current match because that can lead
2979 to bad face combinations.
2981 * loadup.el (toplevel): Load faces before isearch.
2983 * isearch.el (isearch-faces): New custom group.
2984 (isearch): New defface; was already tested for in the code.
2985 (isearch-lazy-highlight-face): Changed to defface from defcustom.
2986 (isearch-highlight): Always use face `isearch'.
2988 2000-10-02 Dave Love <fx@gnu.org>
2990 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2991 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
2992 comparison of opcode with operand.
2994 2000-10-03 Miles Bader <miles@gnu.org>
2996 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2997 buffer, since the echo area will now grow to accommodate them.
2999 2000-10-02 Andre Spiegel <spiegel@gnu.org>
3001 * vc-hooks.el (vc-registered): If FILE used to be registered under
3002 a certain backend, try that one first.
3004 * vc.el (vc-responsible-backend): Undo the previous change in the
3005 argument list. Handle multiple backends correctly.
3006 (vc-find-new-backend): Function removed.
3007 (vc-register): Use vc-responsible-backend, as before.
3008 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
3010 2000-10-02 Gerd Moellmann <gerd@gnu.org>
3012 * startup.el (fancy-splash-head): Change message below the
3015 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
3017 * diff-mode.el (diff-goto-source): Emit a status message.
3018 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
3019 (diff-test-hunk): Fix doc string.
3020 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
3021 (diff-advance-after-apply-hunk): New variable.
3022 (diff-apply-hunk): Don't return a value.
3024 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
3026 * vc.el (vc-editable-p): Minor optimization.
3027 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
3028 (vc-find-new-backend): New function split from vc-responsible-backend.
3029 (vc-register): Use it.
3030 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
3031 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
3032 (vc-default-unregister, vc-revert-buffer): Docstring fix.
3033 (vc-clear-headers): Don't use find-file.
3034 (vc-revert-buffer): Use `and' again (must have been a braino).
3035 (vc-switch-backend): Only prompt if requested.
3036 Short circuit if nothing is to be done.
3037 Don't use vc-resynch-buffer which could lose unsaved editing.
3038 (vc-default-receive-file): Update call to vc-unregister.
3039 (with-vc-file, vc-next-action-on-file):
3040 Use vc-backend rather than vc-registered.
3041 (vc-next-action-on-file): Use intern-soft.
3042 Deal with read-only *vc-diff* buffer.
3043 (vc-transfer-file): Docstring fix.
3045 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
3046 (vc-rcs-receive-file): Avoid with-vc-properties.
3047 Update call to vc-unregister.
3048 Use constant `RCS' rather than (dynamically bound) var `backend'.
3050 2000-10-01 Andre Spiegel <spiegel@gnu.org>
3052 * vc.el (vc-next-action-on-file): Update mode line only if file
3054 (vc-start-entry): New argument initial-contents. Don't visit the file
3055 if it isn't already visited. Brought documentation up-to-date.
3056 (vc-next-action, vc-register): Updated calls to vc-start-entry.
3057 (vc-checkin): New optional arg initial-contents, which is passed to
3059 (vc-finish-logentry): Make sure to bury log buffer only if there
3060 really is one. Call `vc-resynch-buffer' on log-file, not
3062 (vc-default-comment-history, vc-default-wash-log): New functions.
3063 (vc-index-of): Removed.
3064 (vc-transfer-file): Make do without the above.
3065 (vc-default-receive-file): Call comment-history unconditionally. Pass
3066 the resulting string to vc-checkin, instead of inserting it into the
3069 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
3070 unconditionally. Use the comments as initial contents of the log
3071 entry buffer. Document the trick to force branch creation with no
3074 2000-10-01 Miles Bader <miles@gnu.org>
3076 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
3077 `recenter' with an arg to prevent redrawing the display.
3079 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
3081 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
3083 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
3085 * progmodes/c-mode.el (c-mode):
3086 Don't gratuitously override the default for comment-column.
3088 * textmodes/tex-mode.el (latex-metasection-list): New var.
3089 (latex-imenu-create-index): Use it.
3090 Move the regexp construction outside loops (and use push).
3091 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
3092 (tex-font-lock-keywords): Moved from font-lock.el.
3093 (tex-comment-indent): Remove.
3094 (tex-common-initialization): Don't set comment-indent-function.
3095 (latex-block-default): New var.
3096 (tex-latex-block): Use it to provide a default choice.
3097 Add any unknown choice to latex-block-names.
3098 Insert [...] after {...}.
3099 (tex-last-unended-begin): Simplify regexp.
3100 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
3101 (latex-forward-sexp-1, latex-forward-sexp): New functions.
3102 (latex-mode): Set forward-sexp-function.
3104 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
3105 Add regexp for @ignore ... @end ignore.
3106 (texinfo-heading-face): New face.
3107 (texinfo-font-lock-keywords): Use it.
3108 (texinfo-mode-menu): New menu.
3109 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
3111 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
3112 (texinfo-section-types-regexp, texinfo-section-level-regexp)
3113 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
3115 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
3117 * delsel.el (delete-selection-mode): Use define-minor-mode.
3119 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
3121 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3123 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
3125 2000-09-30 Gerd Moellmann <gerd@gnu.org>
3127 * replace.el (keep-lines-read-args): New function.
3128 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
3129 read arguments interactively. Add parameters RSTART and REND.
3130 Operate on the active region in Transient Mark mode.
3132 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
3134 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
3135 (authors-obsolete-files-regexps): New variable.
3136 (authors-add): Don't record changes in obsolete files.
3138 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3140 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
3142 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
3143 (comment-indent): Make sure there's a space between code and comment.
3144 Shift comments left to avoid going past fill-column.
3146 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3148 * startup.el (startup-echo-area-message): New function.
3149 (display-startup-echo-area-message): Use it.
3150 (fancy-splash-screens): Rewritten to use keymaps and a timer.
3151 (fancy-splash-default-action): New function.
3152 (fancy-splash-screens-1): New function.
3153 (fancy-splash-head): Put a help-echo and a keymap under the image.
3155 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3157 * diff-mode.el (diff-add-log-file-name): Remove.
3158 (diff-mode): Use add-log-buffer-file-name-function.
3160 * add-log.el (find-change-log): New arg BUFFER-FILE.
3161 (add-log-file-name): Obey add-log-file-name-function.
3162 (add-log-buffer-file-name-function): New var.
3163 (add-change-log-entry): Use it.
3165 2000-09-29 Miles Bader <miles@gnu.org>
3167 * image-file.el (image-file-name-extensions): New variable.
3168 (image-file-name-regexps): Renamed from `image-file-regexps'.
3169 New default value is nil. Call `auto-image-file-mode'.
3170 (image-file-name-regexp): New function.
3171 (auto-image-file-mode): New minor mode.
3172 (insert-image-file): Don't make conditional on the image-file
3173 handler being enabled.
3174 (image-file-handler): Make the call here conditional instead.
3175 (set-image-file-handler-enabled, enable-image-file-handler)
3176 (disable-image-file-handler): Functions removed.
3178 * emacs-lisp/authors.el (authors-print): Rephrase many-files
3181 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3183 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
3184 it's a function from CL.
3185 (latex-imenu-create-index): Replace eval-when-compile with progn
3186 because latex-section-alist is not bound while compiling.
3188 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3190 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
3191 (outline-mode): Use define-derived-mode.
3193 * progmodes/perl-mode.el (perl-mode):
3194 * progmodes/awk-mode.el (awk-mode):
3195 * progmodes/asm-mode.el (asm-mode):
3196 Don't gratuitously override the default for comment-column.
3198 * emacs-lisp/lisp.el (lisp-complete-symbol):
3199 Distinguish the let-binding case from the funcall case.
3200 (forward-sexp-function): New variable.
3201 (forward-sexp): Use it.
3203 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
3204 (easy-mmode-defmap): Remove the now useless autoload.
3206 * time.el (display-time-mode): Use define-minor-mode.
3208 * subr.el (add-minor-mode): Don't eval NAME.
3209 Don't depend on the presence of TOGGLE-FUN for any special behavior.
3210 Use if rather than cond.
3212 * simple.el (read-expression-map): Define more properly.
3213 (comment-indent-hook): Remove.
3214 (string-to-syntax): Bug fix.
3216 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
3217 (cvs-ediff-diff): Fix typo.
3218 (cvs-revert-if-needed): Don't bother preserving read-only.
3220 * paren.el (show-paren-mode): Use define-minor-mode.
3222 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
3223 (toggle-auto-compression): Remove.
3224 (jka-compr-build-file-regexp): Remove useless grouping.
3226 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
3227 Avoid user-reserved bindings.
3228 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
3229 (diff-header-face): Revert to grey85.
3231 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
3233 * complete.el (partial-completion-mode) <defcustom>: Remove.
3234 (partial-completion-mode): Use define-minor-mode.
3235 (PC-do-completion): Understand `completion-auto-help = delay'
3236 to mean to popup the completion buffer only the second time.
3237 (PC-include-file-all-completions, PC-include-file-all-completions)
3238 (PC-include-file-all-completions): Don't quote lambda.
3240 * comint.el (comint-mode-hook): Docstring fix.
3241 (comint-mode): Use define-derived-mode.
3242 (comint-mode-map): Remove obsolete comment.
3243 (make-comint): Minor stylistic change.
3244 (comint-insert-clicked-input): Be more careful to find the overlay.
3245 Use this-command-keys rather than hardcoding mouse-2.
3247 * font-lock.el: Replace confusing (,@ with ,
3248 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
3249 Don't use regexp-opt-depth. Spice up the regexp for args.
3250 Don't distinguish between cmds that can take an opt arg or not.
3251 Use `append' and `prepend' rather than `keep'.
3253 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
3254 (latex-outline-regexp): New var.
3255 (latex-outline-level): New fun.
3256 (latex-section-alist): New var.
3257 (latex-imenu-create-index): Use it. Use `push' as well.
3258 (tex-shell-map): Initialize it properly.
3259 (tex-mode): Minor stylistic change.
3260 (plain-tex-mode): Use define-derived-mode.
3261 (latex-mode): Use define-derived-mode.
3262 Construct the paragraph regexps in a more readable way.
3263 Set the buffer-local outline-{level,regexp} vars.
3264 (slitex-mode): Derive from latex-mode.
3265 (tex-common-initialization): Don't kill-all-vars anymore.
3266 Add setting for comment-add and font-lock-defaults.
3267 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
3268 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
3269 (tex-start-tex): New arg DIR (and send a chdir command for it).
3270 Also display the shell buffer and save it in tex-last-buffer-texed.
3271 (tex-region): Use expand-file-name rather than concat.
3272 Remove code made useless by changes in tex-start-tex.
3273 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
3275 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
3277 2000-09-28 Dave Love <fx@gnu.org>
3279 * eshell/eshell.el (eshell) <defgroup>: Add :version.
3281 2000-09-28 Gerd Moellmann <gerd@gnu.org>
3283 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
3286 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3288 * info.el (Info-extract-pointer): Undo last change.
3289 Instead, fix the position of the `bound' arg to re-search-backward.
3291 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
3293 * info.el (Info-extract-pointer):
3294 Widen more carefully, to avoid finding pointers in other nodes.
3295 (Info-index): Use push.
3297 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3299 * frame.el (set-frame-font): Remove call to obsolete function
3301 (set-foreground-color, set-background-color): Likewise for
3302 frame-update-face-colors.
3304 2000-09-27 Miles Bader <miles@gnu.org>
3306 * image-file.el: New file.
3308 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3310 * frame.el (frame-notice-user-settings): Don't call
3311 frame-update-faces, which is a no-op now.
3313 * ediff-wind.el (ediff-control-frame-parameters): Add zero
3316 2000-09-27 Dave Love <fx@gnu.org>
3318 * mouse.el: Fix last change.
3320 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
3322 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
3324 2000-09-22 Kenichi Handa <handa@etl.go.jp>
3326 * international/quail.el (quail-help): The output message is
3329 2000-09-26 Dave Love <fx@gnu.org>
3331 * mouse.el (popup-menu): If POSITION is nil, set it using
3334 2000-09-25 Sam Steingold <sds@gnu.org>
3336 * net/browse-url.el (browse-url-file-url): Check for null maps.
3338 2000-09-26 Gerd Moellmann <gerd@gnu.org>
3340 * frame.el (frame-notice-user-settings): Don't add a
3341 tool-bar-lines frame parameter to default-frame-alist in batch mode.
3343 * frame.el (frame-notice-user-settings):
3344 Make tool-bar-mode and default-frame-alist consistent.
3346 * toolbar/tool-bar.el (tool-bar-help): New function.
3348 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3350 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
3351 current-load-list in top-level forms. Else this leaks a cons cell
3352 every time a defun is called.
3354 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
3356 2000-09-25 Dave Love <fx@gnu.org>
3358 * startup.el (fancy-splash-head): Check XPM is available.
3360 * autoinsert.el (auto-insert): Doc fix.
3361 (auto-insert-alist): Following GNU notices, don't say `copyright
3362 _by_'. Use line-beginning-position.
3363 (auto-insert): Check buffer-file-name is non-nil before use.
3365 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3367 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
3368 starting with `@def' or `@multitable', in addition to ones
3369 specified by the user in auto-fill-inhibit-regexp.
3371 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
3373 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
3374 rmail-dont-reply-to-names matches the empty string.
3376 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3378 * startup.el (command-line-1, fancy-splash-text): Change the
3379 text to sound more friendly.
3381 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
3383 * progmodes/hideshow.el: Update author email address.
3384 Generally, sync w/ maintainer version 5.22.
3385 (hs-hide-all-non-comment-function): New var.
3386 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
3387 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
3388 (hs-show-region): Delete this command.
3389 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
3391 2000-09-22 Dave Love <fx@gnu.org>
3393 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
3394 (hl-line-highlight): Specify buffer when moving overlay.
3396 * progmodes/fortran.el (fortran-mode): Locally set
3397 normal-auto-fill-function.
3398 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
3399 (fortran-mode-map): Adjust auto-fill menu entry.
3401 2000-09-22 Gerd Moellmann <gerd@gnu.org>
3403 * vc-rcs.el (toplevel): Require `vc' when compiling.
3405 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
3407 2000-09-22 Andre Spiegel <spiegel@gnu.org>
3409 * vc.el (vc-switch-backend): Signal an error if the file is not
3410 registered under the new backend.
3412 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
3413 without explicit revision number.
3415 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
3417 * diff-mode.el (diff-file-header-face): Reset to its previous value.
3418 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
3419 (diff-xor): New function.
3420 (diff-find-source-location): Use it. Fix a stupid name clash.
3421 (diff-hunk-status-msg): New function.
3422 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
3423 (diff-test-hunk): Use diff-find-source-location.
3424 (diff-goto-source): Favor the `reverse'.
3425 (diff-hunk-text): Properly handle one-sided context diffs.
3426 (diff-apply-hunk): When done, advance to the next hunk.
3428 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3430 * startup.el (command-line): If frame was created with a non-zero
3431 tool-bar-lines parameter, switch tool-bar-mode on.
3433 * add-log.el (change-log-date-face, change-log-name-face)
3434 (change-log-email-face, change-log-file-face)
3435 (change-log-list-face, change-log-conditionals-face)
3436 (change-log-function-face, change-log-acknowledgement-face):
3437 New faces, inheriting from font-lock faces.
3438 (change-log-font-lock-keywords): Use them.
3440 2000-09-21 Dave Love <fx@gnu.org>
3442 * progmodes/cperl-mode.el (top-level): Clean up
3443 `eval-when-compile's and assorted defvars.
3444 (cperl-invalid-face): Don't double-quote value. Change custom
3446 (cperl-mode): Set normal-auto-fill-function and don't zap
3448 (cperl-imenu--function-name-regexp-perl): Renamed from
3449 imenu-example--function-name-regexp-perl.
3450 (cperl-imenu--create-perl-index): Renamed from
3451 imenu-example--create-perl-index.
3452 (cperl-xsub-scan): Don't require cl.
3454 * msb.el (msb-mode-map): Use substitute-key-definition.
3455 (msb-mode): Use msb-mode-map.
3457 2000-09-21 Andre Spiegel <spiegel@gnu.org>
3459 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
3461 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
3462 (vc-switch-backend): New function.
3463 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
3464 (vc-register): Fix prompt.
3465 (vc-unregister, vc-default-unregister): New functions.
3466 (vc-version-diff): Handle empty buffer in sentinel.
3468 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
3469 (vc-rcs-state-heuristic): Use it to guess the state of files with
3471 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
3472 been set with -b, but not created yet.
3473 (vc-rcs-fetch-master-state): With non-strict locking, compare file
3474 contents in order to find the state.
3475 (vc-rcs-checkin): Allow creation of branches with no changes.
3476 (vc-rcs-unregister, vc-rcs-receive-file)
3477 (vc-rcs-set-non-strict-locking): New functions.
3479 * vc-hooks.el (vc-name): Force correct computation of the value
3480 in case it is missing.
3482 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3484 * startup.el (fancy-splash-tail): Use a different foreground
3485 color on a dark frame background.
3487 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
3489 * info.el: Use the correct capitalization when making Info-mode
3490 and Info-edit-mode `special' modes.
3492 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
3494 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
3495 (diff-mode): Add support for add-log.el.
3496 (diff-hunk-text): Use char offsets rather than line offsets.
3497 (diff-find-source-location): Replace LINE with line-offset (nil
3498 if not found) and always set POS to a meaningful position.
3499 Adapt to the new char-offsets.
3500 (diff-apply-hunk): Drop support for the unused `select' POPUP.
3501 Adapt to the new diff-find-source-location.
3502 (diff-goto-source): Adapt to the new diff-find-source-location.
3504 * add-log.el (add-log-file-name): New function (split out of
3505 add-change-log-entry).
3506 (add-change-log-entry): Use it.
3507 Call add-log-file-name-function with the changelog file name if
3508 the current buffer is not associated with any file.
3509 Avoid find-file if the selected window is dedicated.
3511 * diff-mode.el (diff-find-source-location):
3512 Move code from diff-apply-hunk. Return buffer rather than file.
3513 (diff-apply-hunk): Use the new result from diff-find-source-location.
3514 (diff-goto-source): Use the new diff-find-source-location.
3516 2000-09-20 Dave Love <fx@gnu.org>
3518 * iswitchb.el: Some doc fixes.
3519 (iswitchb-mode-map): Define completely initially. Inherit
3520 minibuffer-local-map.
3521 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3523 (iswitchb-global-map): New variable.
3524 (iswitchb-summaries-to-end): Amalgamate regexps.
3525 (iswitchb-mode): New.
3526 (iswitchb-mode-hook): New variable.
3527 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
3530 2000-09-20 Gerd Moellmann <gerd@gnu.org>
3532 * ehelp.el (electric-help): New defgroup.
3533 (electric-help-shrink-window): New user-option.
3534 (with-electric-help): Use it.
3536 * window.el (shrink-window-if-larger-than-buffer): If face
3537 `mode-line' has a :box, and we're on a graphical frame, add 1
3538 to the needed window height.
3540 * frame.el (frame-notice-user-settings): Add a last parameter nil
3541 to a call to `append', because the last list passed to `append' is
3542 not copied, and so subsequent calls to assq-delete-all will modify
3543 default-frame-alist.
3545 * startup.el (fancy-splash-image): Change :type.
3546 (fancy-splash-head): Use an XBM image if appropriate.
3547 (command-line-1): Show splash screens in more cases.
3549 * startup.el (fancy-splash-text): Don't quote faces.
3551 * dired.el (dired-font-lock-keywords): Undo last change.
3552 (dired-readin): Bind indent-tabs-mode to nil.
3554 * startup.el (fancy-splash-head): If frame's background mode
3555 is `dark', change the black background of the image to gray.
3556 (fancy-splash-screens): Display startup echo area message.
3557 (display-startup-echo-area-message): New function.
3559 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
3561 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3563 * info.el (info-header-node): Tweak for color ttys.
3565 * faces.el (face-valid-attribute-values): Make sure directories we
3566 search for stipples both exist and are readable before trying to
3569 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3570 in the dry-run case.
3572 * jka-compr.el (with-auto-compression-mode): New macro.
3574 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3575 (custom-group-tag-face, custom-variable-tag-face): Use relative
3576 :height and inherit from `variable-pitch' face instead of
3578 * hi-lock.el (hi-black-hb): Likewise.
3580 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3581 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3582 toolbar-add-item, if image doesn't have a mask add a `:mask
3585 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3587 * diff-mode.el: Docstring fixes.
3588 (diff-header-face, diff-comment-face): New faces.
3589 (diff-font-lock-keywords): Highlight a bit differently.
3590 (diff-find-source-location): Don't return SPAN any more.
3591 (diff-hunk-text): Don't bother erasing the temp buffer.
3592 (diff-find-text): Drop argument LINE.
3593 (diff-apply-hunk): Update calls to diff-find-text.
3594 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3596 * calendar/calendar.el: Docstring fixes.
3597 (calendar-make-alist): Don't quote lambda.
3598 (calendar-star-date): Use make-local-variable.
3600 2000-09-19 Dave Love <fx@gnu.org>
3602 * toolbar/tool-bar.el: Renamed from toolbar.el.
3603 Change `toolbar' to `tool-bar' generally in symbols.
3604 Make some items invisible in `special' major modes.
3605 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3608 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3610 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3612 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3614 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3616 * files.el (find-file-suppress-same-file-warnings): New user-option.
3617 (find-file-noselect): Use it.
3619 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3620 (fancy-splash-screen): Defgroup.
3622 * add-log.el (change-log-font-lock-keywords): Match names
3623 more exactly for the case that font-lock-constant-face is
3626 2000-09-19 Richard M. Stallman <rms@gnu.org>
3628 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3630 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3632 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3634 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3636 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3637 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3638 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3639 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3640 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3641 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3642 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3643 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3644 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3645 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3646 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3647 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3649 * startup.el (fancy-splash-text): New variable.
3650 (fancy-splash-delay, fancy-splash-image): New user-options.
3651 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3652 (fancy-splash-screens): New functions.
3653 (command-line-1): If display has a `display' frame parameter, has
3654 colors, and we have XPM support, show more fancy splash screens.
3656 2000-09-19 Dave Love <fx@gnu.org>
3658 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3659 with null `help'. Use modern backquote syntax.
3661 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3663 * font-lock.el (font-lock-mode): Change message telling the user
3664 that ``the buffer is too big''.
3666 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3667 for instance for the case that tab-width is 2.
3669 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3671 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3672 toolbar-add-item, if image doesn't have a mask add a `:mask
3675 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3677 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3678 and return a cons if it's non-nil.
3679 (diff-apply-hunk): Try to jump to the line in the source text
3680 corresponding to the position of point in the in the hunk.
3682 * info.el (Info-title-3-face, Info-title-2-face)
3683 (Info-title-1-face): Use face inheritance and relative sizes
3684 instead of hard-wiring things.
3686 * faces.el (secondary-selection): Make dark-background variant sane.
3688 2000-09-16 Andrew Innes <andrewi@gnu.org>
3690 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3691 read-only, since they aren't under VC now.
3693 2000-09-17 Dave Love <fx@gnu.org>
3695 * tmm.el: Replace mapcar with mapc in several places.
3697 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3700 * international/latin1-disp.el: New file.
3702 * calendar/cal-move.el (scroll-calendar-left)
3703 (scroll-calendar-right): Make arg optional (for active mode line).
3705 * calendar/calendar.el (calendar-mode-line-format): Make fields
3707 (calendar-read-date, calendar-read-date, calendar-window-list):
3709 (calendar-month-name): Use aref, not sref.
3711 * view.el (minor-mode-alist): Propertize the string.
3713 * international/characters.el (standard-case-table): Add entries
3716 2000-09-18 Miles Bader <miles@gnu.org>
3718 * info.el (info-node, info-xref): Add dark-background variants.
3720 * faces.el (header-line): Change defaults to be less confusing
3721 when mixed with mode-lines.
3723 * info.el (Info-fontify-node): Make a few cleanups.
3724 Add extra `help-echo' and `local-map' props to node xrefs.
3725 Use header-specific faces for node-names & xrefs.
3726 (Info-use-header-line): New variable.
3727 (info-header-xref, info-header-node): New faces.
3728 (Info-setup-header-line): New function.
3729 (Info-select-node): Call Info-setup-header-line when enabled.
3730 (Info-extract-pointer): Work even if the header line is hidden.
3731 (Info-header-line): New variable.
3733 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3735 * vms-patch.el (print-region-function): Don't quote lambda.
3737 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3739 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3740 (lm-get-header-re): Allow spaces between the header and the colon.
3741 (lm-header): Allow $ in non-RCS headers.
3742 (lm-header-multiline): Put the strings back into order.
3743 Stop at an empty line. Don't require two space chars if the
3744 line is clearly not another header line.
3746 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3747 (popup-menu-popup): Remove.
3749 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3751 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3752 specification if or if not tool-bar item contains an `:enabled'
3755 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3756 current buffer has no file name.
3758 2000-09-15 Dave Love <fx@gnu.org>
3760 * strokes.el: Sync with maintainer's current version with changes
3761 for Emacs, but avoid runtime cl and levents.
3762 (toplevel): Change autoloads and compilation requires.
3763 (strokes-version, strokes-bug-address, strokes-lift): Values
3765 (strokes-xpm-header, strokes-insinuated): New variable.
3766 (strokes): Add :link.
3767 (strokes-mode): Customized.
3768 (strokes-while-inhibiting-garbage-collector): New macro.
3769 (strokes-remassoc): Avoid remove-if.
3770 (strokes-fix-button2-command): Don't use ad-do-it.
3771 (strokes-insinuate): New function.
3772 (strokes-button-press-event-p, strokes-button-release-event-p):
3773 New functions, used instead of non-`strokes-' versions..
3774 (strokes-mouse-event-p): Rewritten.
3775 (strokes-event-closest-point): Avoid event-point.
3776 (strokes-get-grid-position): Avoid cdadr, caadr
3777 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3779 (strokes-help): Use with-output-to-temp-buffer.
3780 (strokes-window-configuration-changed-p): New function.
3781 (strokes-update-window-configuration): Use buffer-live-p,
3782 strokes-window-configuration-changed-p.
3783 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3784 (strokes-char-face): New face.
3785 (strokes-char-table, strokes-base64-chars): New variable.
3786 (strokes-xpm-for-stroke, strokes-list-strokes)
3787 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3788 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3789 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3790 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3791 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3794 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3796 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3798 * image.el (create-image): Doc fix.
3800 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3801 instead of `:heuristic-mask t'.
3803 2000-09-14 Andrew Innes <andrewi@gnu.org>
3805 * makefile.w32-in: Revert to Unix line endings.
3807 2000-09-14 Andrew Innes <andrewi@gnu.org>
3809 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3812 * makefile.nt (DONTCOMPILE): Fix typo.
3814 * shell.el (shell-write-history-on-exit): New function.
3815 (shell-dumb-shell-regexp): New custom variable.
3816 (shell-mode): Make shell-write-history-on-exit the process
3817 sentinel if shell name matches shell-dumb-shell-regexp.
3819 * w32-fns.el: Comment out before-init-hook function which resets
3820 source-directory based; this breaks bootstrap.
3822 2000-09-14 Dave Love <fx@gnu.org>
3824 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3825 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3826 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3827 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3828 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3829 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3830 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3831 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3832 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3834 * toolbar/toolbar.el: New.
3836 * subdirs.el: Add toolbar.
3838 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3840 * indent.el (indent-for-tab-command): Doc fix.
3842 2000-09-14 Alex Schroeder <alex@gnu.org>
3844 * ansi-color.el (ansi-colors): Doc change.
3845 (ansi-color-get-face): Simplified regexp.
3846 (ansi-color-faces-vector): Added more faces, doc change.
3847 (ansi-color-names-vector): Doc change.
3848 (ansi-color-regexp): Simplified regexp.
3849 (ansi-color-parameter-regexp): New regexp.
3850 (ansi-color-filter-apply): Doc change.
3851 (ansi-color-filter-region): Doc change.
3852 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3853 deal with zero length parameters.
3854 (ansi-color-apply-on-region): Doc change.
3855 (ansi-color-map): Doc change.
3856 (ansi-color-map-update): Removed debugging message.
3857 (ansi-color-get-face-1): Added condition-case to trap
3858 args-out-of-range errors.
3859 (ansi-color-get-face): Doc change.
3860 (ansi-color-make-face): Removed.
3861 (ansi-color-for-shell-mode): New option.
3863 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3865 * international/quail.el (quail-start-translation): Translate KEY
3866 if necessary even if it doesn't have any mapping in the current
3868 (quail-start-conversion): Likewise.
3869 (quail-help): The output message is improved.
3871 2000-09-13 Miles Bader <miles@gnu.org>
3873 * comint.el (comint-output-filter): Revert to using
3874 `insert-before-markers'. Add bletcherous hack to undo damage
3875 caused by `insert-before-markers'. Put `front-sticky' property on
3876 overlays created here so that the field code understands how the
3877 overlay works. Use a let when making comint-last-prompt-overlay,
3878 so that the code is easier to read.
3880 2000-09-13 Dave Love <fx@gnu.org>
3882 * wid-edit.el (widget-default-format-handler): DTRT when
3883 doc-property is a function.
3885 2000-09-12 Francesco Potorti` <pot@gnu.org>
3887 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3888 filed name if it's not there.
3890 2000-09-12 Dave Love <fx@gnu.org>
3892 * simple.el (read-mail-command): Doc fix.
3893 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3895 * vc.el (vc-dired-listing-switches): Fix :version.
3897 * vc-hooks.el: Doc fixes.
3899 * subr.el (add-minor-mode): Use toggle-fun arg.
3901 * speedbar.el: Add :version to several defcustoms.
3903 * imenu.el (imenu--truncate-items, imenu--cleanup)
3904 (imenu--generic-function): Avoid mapcar.
3905 (imenu--replace-spaces): Function removed.
3906 (imenu--completion-buffer): Use subst-char-in-string.
3907 (imenu-add-to-menubar): Use keymap inheritance.
3909 2000-09-12 Miles Bader <miles@gnu.org>
3911 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3912 (diff-mode-map): Bind `diff-test-hunk'.
3913 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3915 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3917 * bytecomp.el (byte-compile-defvar): Undo last change
3918 because it breaks '(make-variable-buffer-local (defvar ...)'
3919 which is used at least in dired.
3921 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3923 * international/quail.el (quail-define-package): Docstring
3926 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3928 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3929 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3930 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3931 docstring of "chinese-py".
3933 * international/quail.el (quail-translation-docstring): New
3935 (quail-show-keyboard-layout): Docstring modified.
3936 (quail-select-current): Likewise.
3937 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3938 infinite recursive call.
3939 (quail-help): Check quail-translation-docstring. Format of the
3941 (quail-help-insert-keymap-description): Adjusted for the above
3944 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3946 * bytecomp.el (byte-compile-defvar): Only cons onto
3947 current-load-list in top-level forms. Else this leaks a cons cell
3948 every time a defun is called.
3950 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3952 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3953 Now understands non-unified diffs. Some functionality moved into
3954 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3955 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3956 modify anything. Only reposition point in the patched file if the
3957 patch succeeds. Only pop up another window if POPUP is true.
3958 Emit a message describing what happened if successful, and at what
3959 line-offset. Automatically detect reversed hunks and do something
3961 (diff-hunk-text, diff-find-text): New functions.
3962 (diff-filter-lines): Function removed.
3963 (diff-test-hunk): New function.
3964 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3966 2000-09-10 Dave Love <fx@gnu.org>
3968 * textmodes/tildify.el: Minor doc/commentary fixes.
3969 (tildify) <defgroup>: Add :version.
3971 * faces.el (face-x-resources): Make custom type more specific.
3972 (frame-background-mode): Use mapc.
3973 (region) <defcustom>: Add :version.
3975 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
3977 * vc-sccs.el (vc-sccs-register):
3978 * vc-rcs.el (vc-rcs-register):
3979 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3980 * vc.el (vc-register): Clear file's properties.
3982 2000-09-08 Gerd Moellmann <gerd@gnu.org>
3984 * faces.el (face-spec-set): Only face-spec-reset-face when
3987 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3989 * help.el (help-insert-xref-button): Fix a typo in doc string.
3991 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
3993 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3994 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3997 * menu-bar.el (read-mail-item-name): New function.
3998 (menu-bar-tools-menu): Use it to compute and display the package
4000 (menu-bar-tools-menu): Fix typo in GUD's help string.
4002 2000-09-07 Dave Love <fx@gnu.org>
4004 * diff-mode.el (diff-mouse-goto-source): New function.
4006 * vc-sccs.el: Doc fixes.
4007 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
4009 * vc-rcs.el: Doc fixes.
4010 (vc-rcs-register-switches, vc-rcs-checkin-switches)
4011 (vc-rcs-checkout-switches, vc-rcs-header)
4012 (vc-rcs-master-templates): Add or change :version.
4014 * vc-cvs.el: Doc fixes.
4015 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
4016 (vc-cvs-stay-local): Add :version.
4018 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
4020 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4022 * international/quail.el (quail-help): Fix previous change.
4024 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4026 * faces.el (color-values): Doc fix.
4028 * faces.el (frame-set-background-mode): Use frame-parameter
4029 instead of frame-parameters.
4031 * frame.el (filtered-frame-list): Reduce consing.
4032 (frames-on-display-list): Call frame-parameter instead of
4035 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4037 * language/devan-util.el (devanagari-to-indian-region): In the
4038 loop, change the following char, not preceding char.
4040 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4042 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
4043 instead of frame-parameters.
4045 * faces.el (set-face-attribute): Simplify by calling
4046 internal-set-lisp-face-attribute with FRAME being 0.
4048 * vc.el: Remove `Id' version control keyword.
4050 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4052 * help.el (help-make-xrefs): Adjusted for the change of
4053 help-xref-mule-regexp.
4054 (help-insert-xref-button): New function.
4056 * international/mule-cmds.el (help-xref-mule-regexp-template):
4057 Include the pattern for character set.
4060 * international/quail.el: Don't require face.
4062 (quail-other-command): Dummy command to make quail-help work better.
4063 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
4064 (quail-keyboard-layout-substitution): New variable.
4065 (quail-update-keyboard-layout): New function.
4066 (quail-keyboard-layout-type): New customizable variable.
4067 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
4068 (quail-keyboard-translate): Pay attention to
4069 quail-keyboard-layout-substitution.
4070 (quail-insert-kbd-layout): New function.
4071 (quail-show-keyboard-layout): New function.
4072 (quail-get-translation): If the definition is a vector of length
4073 1, and the element is a string of length 1, return the character
4075 (quail-update-current-translations): Fix the case of
4076 relative-index out of range.
4077 (quail-build-decode-map, quail-insert-decode-map): New Functions.
4078 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
4079 Show key sequences for all available characters.
4080 (quail-help-insert-keymap-description): Don't show such verbose
4081 key bindings as quail-self-insert-command.
4083 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4084 Format changed, and each element now have extra documentations.
4085 (tit-process-header): Delete invalid characters from TIT-PROMPT.
4086 Adjusted for the change of quail-cxterm-package-ext-info.
4088 2000-09-06 Gerd Moellmann <gerd@gnu.org>
4090 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
4091 requiring it leads to a recursive loading of vc.el and vc-hooks.el
4094 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4096 * vc.el: (toplevel): Don't require `dired' at run-time.
4097 (vc-dired-resynch-file): Remove autoload cookie.
4099 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4101 * vc.el: Made several backend functions optional.
4102 (vc-default-responsible-p): New function.
4103 (vc-merge): Use RET for first version to trigger merge-news, not
4105 (vc-annotate): Handle backends that do not support annotation.
4106 (vc-default-merge-news): Removed. The existence of a merge-news
4107 implementation is now checked on caller sites.
4109 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
4112 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
4113 special case that has been removed from the default in vc-hooks.el.
4115 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4117 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
4119 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4121 * vc-hooks.el: Require vc during compilation.
4122 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
4123 macro `with-vc-properties' in vc.el.
4124 (vc-file-getprop): Doc fix.
4125 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
4127 * vc.el: Require dired-aux during compilation.
4128 (vc-name-assoc-file): Moved to vc-sccs.el.
4129 (with-vc-properties): New macro.
4130 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
4131 vc-finish-steal): Use it.
4132 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
4133 to the backend-specific function is now supposed to do the checkout,
4135 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
4137 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
4138 set file properties; that gets done in the generic code now.
4140 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
4141 Changed parameter list, added code from vc.el that does the
4142 checkout, possibly with a double-take.
4144 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
4145 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
4146 the above under the new name.
4147 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
4148 parameter list, added checkout command.
4149 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
4150 properties; that gets done in the generic code now.
4152 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4154 * vc.el: Docstring fixes (courtesy of checkdoc).
4156 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4158 * vc.el (vc-checkout-writable-buffer-hook)
4159 (vc-checkout-writable-buffer): Remove.
4160 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
4161 (vc-log-mode): Make it into a clean derived major mode.
4162 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
4163 vc-log-mode if log-edit is not available.
4164 (vc-dired-mode-map): Don't set-keymap-parent yet.
4165 (vc-dired-mode): Do set-keymap-parent here.
4166 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
4168 2000-09-05 Gerd Moellmann <gerd@gnu.org>
4170 * faces.el (set-face-attribute, face-spec-reset-face)
4171 (face-spec-set): Avoid consing by removing calls to `apply'.
4173 * frame.el (frame-parameter): Move to C code.
4175 2000-09-05 Dave Love <fx@gnu.org>
4177 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
4178 insert-before-markers-and-inherit. Now checked systematically!
4180 2000-09-05 Alex Schroeder <alex@gnu.org>
4182 * sql.el (sql-postgres): Use sql-postgres-options.
4183 (sql-postgres-options): New variable.
4185 2000-09-05 Alex Schroeder <alex@gnu.org>
4187 * sql.el (sql-mode-menu): Work around missing variable mark-active
4189 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
4190 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
4193 2000-09-04 Gerd Moellmann <gerd@gnu.org>
4195 * vc.el (vc-dired-resynch-file): Add autoload cookie.
4197 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
4199 * Makefile.in (DONTCOMPILE): Fix typo in file name.
4201 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4203 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
4204 don't support anything else under SCCS yet.
4206 * vc-hooks.el: Minor doc fixes.
4208 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4210 * vc.el (vc-next-action-on-file): Do not visit the file if it's
4211 not necessary. If verbose in state `needs-patch', do the same as
4212 under `up-to-date'. When NOT verbose and `needs-patch', check out
4213 latest version instead of `merge-news'.
4214 (vc-next-action-dired): Don't mess with default-directory here; it
4215 breaks other parts of dired. It is the job of the
4216 backend-specific functions to adjust it temporarily if they need it.
4217 (vc-next-action): Remove a special CVS case.
4218 (vc-clear-headers): New optional arg FILE.
4219 (vc-checkin, vc-checkout): Set properties vc-state and
4220 vc-checkout-time properly.
4221 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
4222 (vc-print-log): Use new backend function `show-log-entry'.
4223 (vc-cancel-version): Do the checks in a different order. Added a
4224 FIXME concerning RCS-only code.
4226 * vc-rcs.el (vc-rcs-show-log-entry): New function.
4227 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
4229 * vc-cvs.el (vc-cvs-show-log-entry): New function.
4231 * vc-hooks.el (vc-default-mode-line-string): Show state
4232 `needs-patch' as a `-' too.
4234 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4236 * vc.el (vc-responsible-backend): New optional arg REGISTER.
4237 (vc-default-could-register): New function.
4238 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
4239 (vc-resynch-buffer): Call vc-dired-resynch-file.
4240 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
4241 vc-resynch-buffer instead of vc-resynch-window.
4242 (vc-next-action-dired): Don't redisplay here, that gets done as a
4243 result of the individual file operations.
4244 (vc-retrieve-snapshot): Corrected prompt order.
4246 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
4248 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
4250 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
4251 hostname regexps. Updated all callers.
4252 (vc-cvs-responsible-p): Handle directories as well.
4253 (vc-cvs-could-register): New function.
4254 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
4255 properties up-to-date.
4257 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
4258 user whether to create one.
4260 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4262 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
4263 check out a non-existing file.
4265 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
4266 workfile does not exist.
4268 * vc.el (vc-version-diff): Use `require' to check for existence of
4271 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4273 * vc-cvs.el (vc-cvs-registered): Use new function
4274 vc-cvs-parse-entry to do the actual work.
4276 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4278 * vc-hooks.el (vc-find-backend-function): If function doesn't
4279 exist, return nil instead of error.
4280 (vc-call-backend): Doc fix.
4282 * vc.el (vc-do-command): Doc fix.
4283 (vc-finish-logentry): When checking in from vc-dired, choose the
4284 right backend for logentry check.
4285 (vc-dired-mode-map): Inherit from dired-mode-map.
4286 (vc-dired-mode): Local value of dired-move-to-filename-regexp
4288 (vc-dired-state-info): Removed, updated caller.
4289 (vc-default-dired-state-info): Use parentheses instead of hyphens.
4290 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
4291 (vc-dired-listing-switches): New variable.
4292 (vc-directory): Use it, instead of dired-listing-switches.
4294 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
4295 (vc-cvs-dir-state): New function.
4296 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
4297 (vc-cvs-parse-entry): New function, also to be used in
4300 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4302 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
4303 *or* single-window-frames.
4305 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4307 * vc.el (vc-update-changelog): Split into generic part and default
4308 implementation. Doc string adapted.
4309 (vc-default-update-changelog): New function. Call the `rcs2log'
4310 script in exec-directory, to fix a long-standing nuisance.
4312 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
4313 simply signals an error.
4315 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4317 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
4318 control-flow more clear and to avoid running `cvs' twice.
4320 * vc.el (vc-next-action-on-file): Doc fix.
4321 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
4322 (vc-print-log): Eval `file' before constructing the continuation.
4324 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4326 * vc.el (vc-next-action-on-file): Corrected several messages.
4327 (vc-merge): Add prefix arg `merge-news'; handle it.
4329 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
4330 is not reached. It is.
4331 (vc-cvs-merge): Set state to 'edited after merge.
4332 (vc-cvs-merge-news): Set workfile version to nil if not known.
4333 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
4335 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
4336 via stdout. (Merge from main line.)
4338 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4340 * vc.el (vc-finish-logentry): Thinko in the "same comment"
4343 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4345 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
4346 against kill-all-local-variables.
4347 (vc-log-edit): Don't save vc-parent-buffer any more.
4348 (vc-last-comment-match): Initialize to an empty string.
4349 (vc-post-command-functions): New hook.
4350 (vc-do-command): Run it.
4351 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
4352 (vc-finish-logentry): Only add the comment to the ring if it's
4353 different from the last comment entered.
4354 (vc-new-comment-index): New function.
4355 (vc-previous-comment): Use it. Make the minibuffer message
4356 slightly less terse.
4357 (vc-comment-search-reverse): Make it work forward as well. Don't
4358 set vc-comment-ring-index if no match is found. Use
4359 vc-new-comment-index.
4360 (vc-comment-search-forward): Use vc-comment-search-reverse.
4361 (vc-dired-mode-map): Don't inherit from dired-mode-map since
4362 define-derived-mode will do it for us. Bind `v' to a keymap that
4363 inherits from vc-prefix-map so that we can bind `vt' without
4365 (vc-retrieve-snapshot): Parenthesis typo.
4367 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
4368 to 1. Make sure to switch to *vc* before looking for an error
4369 message. Use vc-parse-buffer.
4371 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4373 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
4375 (vc-retrieve-snapshot): Split into two parts.
4376 (vc-default-retrieve-snapshot): New function.
4378 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
4379 (vc-cvs-retrieve-snapshot): New function (untested).
4380 (vc-cvs-stay-local): Default to t.
4381 (vc-cvs-remote-p): New function and property.
4382 (vc-cvs-state): Stay local only if the above is t.
4383 (vc-handle-cvs): Removed.
4384 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
4385 done via vc-handled-backends now.
4386 (vc-cvs-header): Escape Id.
4388 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4390 * vc.el (vc-do-command): Remove unused commands.
4391 (vc-version-diff): Make sure default-directory ends with a slash.
4392 Move the window commands into a vc-exec-after.
4393 (vc-print-log): Move more of the code into the `vc-exec-after'.
4395 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4397 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
4398 (vc-print-log): Search current revision from beginning of buffer.
4399 (vc-revert-buffer): Clear echo area after the diff is finished.
4400 (vc-prefix-map): Removed definition of "t" for terse display in vc
4402 (vc-dired-mode-map): Inherit from dired-mode-map. Added
4403 definition of "vt" for terse display.
4404 (vc-dired-mode): Fix dired-move-to-filename-regexp.
4406 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4408 * vc.el (vc-exec-after): Avoid caddr.
4410 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4412 * vc.el (vc-exec-after): New function.
4413 (vc-do-command): Use it to add a termination message for async
4415 (vc-checkout): Try to handle a missing-backend situation.
4416 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
4417 of a directory with a backend using async diffs.
4418 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
4421 * vc-sccs.el (vc-sccs-state-heuristic): Use
4422 file-ownership-preserved-p.
4424 * vc-rcs.el (vc-rcs-state-heuristic): Use
4425 file-ownership-preserved-p.
4426 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
4428 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4430 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
4433 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
4434 when there are no changes.
4436 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4438 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
4440 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
4442 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4444 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
4446 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
4447 the `fset' outside of the defvar so that it works even if
4448 vc-prefix-map was already defined.
4449 (vc-setup-buffer): New function, split out of vc-do-command.
4450 (vc-do-command): Allow BUFFER to be t to mean `just use the
4451 current buffer without any fuss'.
4452 (vc-version-diff): Change the `diff' backend operation to just put
4453 the diff in the current buffer without erasing it. Always use
4454 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
4455 shrink-window-if-larger-than-buffer.
4456 (vc-print-log): Change the `print-log' backend operation to just
4457 put the log in the current buffer without erasing it. Protect
4458 shrink-window-if-larger-than-buffer.
4459 (vc-update-change-log): Fix setd typo.
4461 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
4462 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
4464 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
4465 (vc-rcs-diff): Insert in the current buffer and remove unused arg
4468 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
4469 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
4470 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
4472 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4474 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
4475 not possible, use vc-BACKEND-workfile-unchanged-p.
4476 (vc-default-workfile-unchanged-p): New function. Delegates to a
4477 full vc-BACKEND-diff.
4479 * vc-hooks.el (vc-simple-command): Removed.
4481 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
4482 instead of vc-simple-command.
4483 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
4484 avoid doing a diff when opening a file.
4485 (vc-rcs-state): Added check for unlocked-changes.
4486 (vc-rcs-header): Escape Id.
4487 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
4488 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
4491 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
4492 (vc-sccs-diff): Remove optional arg CMP.
4493 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
4494 SCCS-specific function.
4496 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
4499 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4501 * vc.el (vc-editable-p): Renamed from vc-writable-p.
4502 (with-vc-file, vc-merge): Use vc-editable-p.
4503 (vc-do-command): Remove unused var vc-file and fix the
4504 doubly-defined `status' var. Add a user message when starting an
4506 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4507 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4508 Use with-current-buffer.
4509 (vc-buffer-sync): Use unless.
4510 (vc-next-action-on-file): If the file is 'edited by read-only,
4511 make it read-write instead of trying to commit.
4512 (vc-version-diff, vc-update-change-log): Use `setq
4513 default-directory' rather than `cd'.
4514 (vc-log-edit): Don't forget to set default-directory in the
4517 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4518 (vc-sccs-state-heuristic): Use file-writable-p instead of
4520 (vc-sccs-checkout): Use `unless'.
4522 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4523 of comparing userids.
4524 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4525 Simplify the logic by eliminating unreachable code.
4526 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4527 just do a recursive call if we need to retry.
4528 (vc-rcs-checkout): Handle the case where rcs is missing by making
4529 the buffer read-write if requested and re-signalling the error.
4531 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4533 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4535 * vc-hooks.el (vc-handled-backends): Docstring change.
4536 (vc-ignore-vc-files): Mark obsolete.
4537 (vc-registered): Check vc-ignore-vc-files.
4538 (vc-find-file-hook, vc-file-not-found-hook): Don't check
4541 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4543 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4545 * vc.el (vc-checkout): Don't do anything special for ange-ftp
4546 files since ange-ftp already has vc-registered return nil.
4548 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4549 (vc-sccs-workfile-version): Use with-temp-buffer and new
4550 vc-parse-buffer and don't bother setting the property.
4551 (vc-sccs-add-triple): Use with-current-buffer and
4553 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4555 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
4556 derives from the old vc-parse-buffer but uses the revision number
4557 rather than the date (much easier to compare robustly).
4558 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
4559 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
4560 locking-user more directly. Check strict locking and set
4561 checkout-model appropriately.
4562 (vc-rcs-parse-locks): Remove.
4563 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4564 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4565 (vc-rcs-system-release): Use with-current-buffer and
4567 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4569 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4570 (vc-simple-command): Docstring fix.
4571 (vc-registered): Align the way the file-handler is called with the
4572 way the function itself works.
4573 (vc-file-owner): Remove.
4575 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
4576 extraction of fields and call to file-attributes because of a
4577 temporary bug in rcp.el.
4578 (vc-cvs-fetch-status): Use with-current-buffer.
4580 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4582 * vc.el (vc-do-command): Use file-relative-name.
4583 (vc-responsible-backend): Use vc-backend if possible.
4584 (vc-create-snapshot): Improve the `interactive' spec. Add support
4585 for branches and dispatch to backend-specific `create-snapshot'.
4586 (vc-default-create-snapshot): New function, containing the bulk of
4587 the old vc-create-snapshot.
4588 (vc-retrieve-snapshot): Improve the interactive spec.
4590 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4591 (vc-backend-hook-functions): Remove.
4592 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4593 (vc-backend): Reintroduce the test for `file = nil' now that I
4594 know why it was there (and added a comment to better remember).
4596 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4597 code from vc-sccs-hooks.el.
4598 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4600 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4601 and file-directory-p instead of file-exists-p.
4602 (vc-sccs-check-headers): Simplify the regexp.
4604 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4605 from vc-rcs-hooks.el. Don't require 'vc anymore.
4606 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4607 file-directory-p instead of file-exists-p.
4609 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4610 from vc-cvs-hooks.el.
4611 (proto vc-cvs-registered): Require 'vc-cvs instead of
4612 'vc-cvs-hooks. Don't require 'vc anymore.
4613 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4614 file-directory-p instead of file-exists-p.
4615 (vc-cvs-create-snapshot): New function, replacing
4617 (vc-cvs-assign-name): Remove.
4619 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4621 * vc-cvs.el (vc-cvs-header): New var.
4623 * vc-rcs.el (vc-rcs-exists): Remove.
4624 (vc-rcs-header): New var.
4626 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4627 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4628 (vc-sccs-header): New var.
4630 * vc.el (vc-do-command): Get rid of the `last' argument.
4631 (vc-header-alist): Remove, replaced by vc-X-header.
4632 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4633 (vc-dired-hook): Use expand-file-name instead of concat.
4634 (vc-directory): Use file-name-as-directory.
4635 (vc-snapshot-precondition, vc-create-snapshot)
4636 (vc-retrieve-snapshot): Allow the command to operate on any
4639 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4640 just removing the 'WORKFILE argument or by removing the 'MASTER
4641 argument and replacing `file' with (vc-name file).
4643 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4645 * vc.el: Update Copyright and add a crude list of backend funs.
4646 (vc-writable-p): New function.
4647 (with-vc-file): Use vc-writable-p.
4648 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4649 (vc-register): Avoid vc-name.
4650 (vc-locking-user): Remove.
4651 (vc-steal-lock): Make the `owner' arg non-optional.
4652 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4654 (vc-default-dired-state-info): Use vc-state instead of
4655 vc-locking-user and return special strings for special states.
4656 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4657 and get rid of one of the special CVS cases.
4658 (vc-cancel-version): prettify error message with \\[...].
4659 (vc-rename-master): New function.
4660 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4661 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4662 the CVS special case generic.
4663 (vc-default-record-rename): Remove.
4664 (vc-file-tree-walk-internal): Only call FUNC for files that are
4665 under control of some VC backend and replace `concat' with
4667 (vc-file-tree-walk): Update docstring.
4668 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4669 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4671 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4672 vc-sccs-record-rename. Use `find-file-noselect' rather than
4673 `find-file' and call `vc-rename-master' to do the actual move.
4674 (vc-sccs-diff): Remove unused `backend' variable.
4676 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4677 to delay loading of vc-sccs until it is really used.
4678 (vc-sccs-master-templates): Preload.
4679 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4680 (vc-sccs-project-dir): Remove (merged into
4681 vc-sccs-search-project-dir).
4682 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4683 rather than `concat', make sure it is preloaded and don't bother
4684 to check that the file actually exists.
4685 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4686 `locks' argument (use buffer's content instead) and eliminate n^2
4689 * vc-rcs.el: Update Copyright.
4690 (vc-rcs-rename-file): New function.
4691 (vc-rcs-diff): Remove unused `backend' variable.
4693 * vc-hooks.el: Update Copyright.
4694 (vc-backend): Don't accept a nil argument any more.
4695 (vc-up-to-date-p): Turn into a defsubst.
4696 (vc-possible-master): New function.
4697 (vc-check-master-templates): Use `vc-possible-master' and allow
4698 funs in vc-X-master-templates to return a non-existent file.
4700 * vc-cvs.el: Update Copyright.
4701 (vc-cvs-diff): Remove unused `backend' variable.
4702 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4704 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4706 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4708 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4709 since it can be called from vc-rcs.el.
4710 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4712 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4714 * vc.el (vc-version-diff): Expand file name read from the
4715 minibuffer. Handle the case when a previous version number can't
4716 be guessed. Give suitable messages when there were no differences
4718 (vc-clear-headers): Call backend-specific implementation, if one
4720 (vc-cancel-version): Made error checks generic. When done, clear
4721 headers generically, too.
4723 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4724 from vc-clear-headers in vc.el.
4726 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4728 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4729 optional. Handle the case when it's not there.
4731 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4733 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4735 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4737 * vc-hooks.el (vc-loadup): Remove.
4738 (vc-find-backend-function): Use `require'. Also, handle the case
4739 where vc-BACKEND-hooks.el doesn't exist.
4740 (vc-call-backend): Cleanup.
4742 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4744 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4745 vc-rcs-grab-templates)
4746 (vc-rcs-registered): Remove. The default function works as well.
4747 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4748 vc-sccs-grab-templates)
4749 (vc-sccs-registered): Remove. The default function works as well.
4751 * vc.el (vc-version-diff): Left out a vc- in call to
4753 (vc-default-dired-state-info, vc-default-record-rename)
4754 (vc-default-merge-news): Update for the new backend argument.
4756 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4757 using the default function.
4758 (vc-call-backend): If calling the default function, pass it the
4759 backend as first argument. Update the docstring accordingly.
4760 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4761 for the new backend argument.
4762 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4763 (vc-find-backend-function): Use the new name.
4764 (vc-default-registered): New function.
4766 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4768 * vc.el (vc-merge): Use vc-find-backend-function.
4770 * vc-hooks.el (vc-backend-functions): Remove.
4771 (vc-loadup): Don't setup 'vc-functions.
4772 (vc-find-backend-function): New function.
4773 (vc-call-backend): Use above fun and populate 'vc-functions
4775 (vc-backend-defines): Remove.
4777 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4779 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4780 Call vc-call-backend without the leading vc-.
4781 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4782 (vc-check-headers): Call vc-call-backend without the leading vc-.
4783 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4784 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4785 Call vc-call-backend without the leading vc-.
4787 * vc-cvs.el (tail): Provide vc-cvs.
4788 * vc-sccs.el (tail): Provide vc-sccs.
4789 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4791 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4792 (vc-make-backend-function, vc-call): Pass names without leading
4793 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4794 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4795 (vc-call-backend): Always try to load vc-X-hooks.
4796 (vc-registered): Remove vc- in call to vc-call-backend.
4798 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4800 * vc.el (vc-process-filter): New function.
4801 (vc-do-command): Setup `vc-process-filter' for the async process.
4802 (vc-maybe-resolve-conflicts): New function to reduce
4803 code-duplication. Additionally, it puts the buffer in
4804 `smerge-mode' if applicable.
4805 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4806 calling `merge-news'.
4807 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4808 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4809 interfacing to log-edit.el.
4810 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4811 log-edit is available.
4812 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4814 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4816 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4817 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4818 defvar and the initialization.
4819 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4821 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4822 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4824 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4826 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4828 * vc.el (vc-file-clear-masterprops): Removed.
4829 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4830 (vc-version-diff): Use buffer-size without argument.
4831 (vc-register): Heed vc-initial-comment.
4833 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4836 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4837 file name and workfile version.
4838 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4840 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4841 vc-file-clear-masterprops.
4843 * vc-sccs.el (vc-sccs-checkout): Removed call to
4844 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4845 rather than user login name.
4848 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4850 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4851 `want-differences-if-changed' and simplify.
4852 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4853 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4854 output (which is invalid for async vc-diff) to decide whether to
4855 do the revert silently or not.
4857 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4859 * vc-hooks.el (vc-loadup): Load files quietly.
4860 (vc-call-backend): Oops, brain fart.
4862 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4864 * vc-cvs.el (vc-cvs-state): Typo.
4865 (vc-cvs-merge-news): Return the status code rather than the error msg.
4867 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4869 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4870 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4871 vc-state or vc-up-to-date-p.
4872 (vc-merge): Use vc-backend-defines to check whether merging is
4873 possible. Set state to 'edited after successful merge.
4875 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4876 return that name. Redocumented.
4878 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4880 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4881 new `vc-state' semantics.
4882 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4883 'vc-locking-user to the current user.
4884 (vc-merge): Inline vc-backend-merge. Comment out code that I
4885 don't understand and hence can't adapt to the new `vc-state' and
4886 `vc-locking-user' semantics.
4887 (vc-backend-merge): Remove.
4889 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4890 rather than 'vc-locking-user.
4892 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4894 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4895 (vc-state): Don't use 'reserved any more. Just use the same
4896 convention as the one used for vc-<backend>-state where the
4897 locking user (as a string) is returned.
4898 (vc-locking-user): Update, based on the above convention. The
4899 'vc-locking-user property has disappeared.
4900 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4902 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4903 with a heuristic one.
4904 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4905 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4906 error. That allows us to get to 'needs-merge even in the
4907 stay-local case. There's still no way to detect 'needs-patch in
4908 such a setup (or to force an update for that matter).
4909 (vc-cvs-logentry-check): Remove, the default works as well.
4911 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4913 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4915 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4916 major-mode in which the buffer might have been put earlier. Use
4917 `remove' and `when'. Allow `okstatus' to be `async' and use
4918 `start-process' in this case.
4919 (vc-version-diff): Handle the case where the diff looks empty
4920 because of the use of an async process.
4922 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4924 * vc.el (vc-next-action-on-file): Removed optional parameter
4925 `simple'. Recompute state unconditionally.
4926 (vc-default-toggle-read-only): Removed.
4928 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4929 (vc-toggle-read-only): Undid prev change.
4931 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4932 vc-cvs-simple-toggle. Redocumented.
4933 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4934 (vc-cvs-toggle-read-only): Removed.
4936 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4938 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4939 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4940 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4941 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4942 still is. So maybe it should be removed.
4943 (vc-head-version, vc-find-binary): Remove.
4944 (vc-recompute-state): Move from vc-hooks.el.
4945 (vc-next-action-on-file): Add a `simple' argument to allow
4946 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4947 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4948 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4949 (vc-dired-mode-map): Properly defvar it.
4950 (vc-print-log): Call log-view-mode if available.
4951 (small-temporary-file-directory): defvar instead of use boundp.
4952 (vc-merge-news): Moved to vc-cvs.el.
4953 (vc-default-merge-news): New function.
4955 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4956 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4957 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4958 unknown `vc-latest-version' function. It should probably refer to
4959 vc-workfile-version or somesuch, but it's very unclear to me and I
4960 don't have SCCS to test things.
4962 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4963 (vc-sccs-state-heuristic): Fix typo.
4964 (vc-sccs-workfile-unchanged-p): Add missing argument.
4966 * vc-rcs.el: Require vc and vc-rcs-hooks.
4967 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4968 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4969 (vc-release-greater-or-equal-p): Move from vc.
4970 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4971 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4972 (vc-rcs-checkout): Add a missing `new-version' argument in the
4973 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
4975 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4976 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4977 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4978 than the apparently unbound `workfile-version'.
4980 * vc-hooks.el (vc-master-templates): Def the obsolete var.
4981 (vc-file-prop-obarray): Use `make-vector'.
4982 (vc-backend-functions): Add new hookable functions
4983 vc-toggle-read-only, vc-record-rename and vc-merge-news.
4984 (vc-loadup): If neither backend nor default functions exist, use
4985 the backend function rather than nil.
4986 (vc-call-backend): If the function if not bound yet, try to load
4987 the non-hook file to see if it provides it.
4988 (vc-call): New macro plus use it wherever possible.
4989 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4990 nor `vc-find-binary' since it's only called from
4991 vc-mistrust-permission which is only used once the backend is known.
4992 (vc-checkout-model): Fix parenthesis.
4993 (vc-recompute-state, vc-prefix-map): Move to vc.el.
4995 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4996 (vc-cvs-release, vc-cvs-system-release): Remove.
4997 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4998 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
5000 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
5001 (vc-cvs-toggle-read-only): First cut at a function to allow a
5002 cvs-status-free vc-toggle-read-only.
5003 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
5004 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
5005 vc-cvs-status. Also set vc-state rather than vc-locking-user.
5006 (vc-cvs-checkout): Modify access rights directly if the user
5007 requested not to use `cvs edit'. And refresh the mode line.
5009 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
5010 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
5012 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5014 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
5015 workfile' that got lost when the code was extracted from vc.el.
5016 And merged the tail with the rest of the code (not possible in the
5017 old vc.el where the tail was shared among all backends). And
5018 explicitly set the state to 'edited if `writable' is set.
5020 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
5021 (vc-cvs-state): Be careful to return the value from
5023 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
5024 property but return it instead. Also be careful to handle a nil
5025 or "" `rev' when workfile is non-nil (it was handled properly when
5028 * vc.el: Removed those pesky unnecessary `(function' quotes.
5029 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
5030 directly in the defvar.
5031 (vc-do-command): Bind inhibit-read-only so as to properly handle
5032 the case where the destination buffer has been made read-only.
5033 (vc-diff): Delegate to vc-version-diff in all cases.
5034 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
5035 (vc-annotate-mode-variables): Removed (code moved partly to
5036 defvars and partly to vc-annotate-add-menu).
5037 (vc-annotate-mode): Turned into a derived-mode.
5038 (vc-annotate-add-menu): Moved in code in
5039 vc-annotate-mode-variables.
5040 (vc-update-change-log): Use make-temp-file if available.
5042 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
5044 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
5045 `vc-checkout-model' updated to `vc-cvs-update-model'.
5047 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5049 * vc.el (vc-next-action-on-file): Added handling of state
5051 (vc-checkout-carefully): Is now practically obsolete, unless the
5052 above is too slow to be enabled unconditionally.
5053 (vc-update-change-log): Fixed typo.
5055 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
5057 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
5058 Now handles state `unlocked-changes'.
5059 (vc-sccs-workfile-unchanged-p): New function, to support the above.
5061 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
5063 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
5064 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
5066 (vc-rcs-workfile-unchanged-p): Renamed from
5067 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
5068 function yet, but supposed to become one soon.
5070 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
5072 (vc-call-backend): Changed error message.
5073 (vc-state): Added description of state `unlocked-changes'.
5075 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5077 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
5078 always return t in CVS-controlled directories.
5080 * vc.el (vc-responsible-backend): New function.
5081 (vc-register): Largely rewritten.
5082 (vc-admin): Removed (implementation moved into vc-register).
5083 (vc-checkin): Redocumented.
5084 (vc-finish-logentry): If no backend defined yet (because we are in
5085 the process of registering), use the responsible backend.
5087 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5088 Updated function lists.
5089 (vc-call-backend): Fixed typo.
5091 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
5093 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
5094 Removed query option. Redocumented.
5096 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5098 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
5100 * vc.el: Updated callers of `vc-checkout-required' to use
5101 `vc-checkout-model'.
5103 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5105 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
5106 stuff updated to reference this function instead of the old
5107 `vc-backend-release-p'.
5109 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5111 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
5112 vc-checkout-model. Return appropriate values. Updated callers.
5114 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5116 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
5117 (vc-backend-revert): Function moved into `vc-revert';
5118 `vc-next-action' must be updated to accomodate this change.
5119 (vc-backend-steal): Function moved into `vc-finish-steal'.
5120 (vc-backend-logentry-check): Function moved into
5121 `vc-finish-logentry'.
5122 (vc-backend-printlog): Function moved into `vc-print-log'.
5123 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
5124 (vc-backend-assign-name): Function moved into
5125 `vc-create-snapshot'.
5127 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5129 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
5130 Rename to vc-checkout-model. Return appropriate values.
5133 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
5134 to vc-checkout-model.
5135 (vc-checkout-required): Rename to vc-checkout-model.
5136 Re-implement and re-comment.
5137 (vc-after-save): Use vc-checkout-model.
5139 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5141 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
5142 Update to use the vc-BACKEND-diff functions instead.
5143 `vc-diff' is now working.
5145 * vc-rcs.el (vc-rcs-logentry-check): New function.
5147 * vc-cvs.el (vc-cvs-logentry-check): New function.
5149 * vc-sccs.el (vc-sccs-diff): Function changed name from
5150 `vc-backend-diff'. This makes `vc-diff' work.
5152 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
5153 of functions possibly implemented in a vc-BACKEND library.
5154 (vc-checkout-required): Fix bug that caused an error to be
5155 signaled during `vc-after-save'.
5158 This checkin is made with our new VC code base for the very first time.
5159 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
5161 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
5162 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
5164 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
5165 updated to `vc-uses-locking'.
5166 (vc-checkout-required): Call to backend function.
5167 `vc-checkout-required' updated to `vc-uses-locking' instead.
5169 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
5170 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
5172 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
5173 to match the split into various backends.
5174 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
5175 (vc-retrieve-snapshot): Bug fix.
5177 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5179 * vc-sccs.el (vc-sccs-release): Doc fix.
5181 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5183 * vc.el (vc-next-action-on-file): Bug found and fixed.
5184 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
5185 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
5187 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
5188 (vc-rcs-checkout): Name space cleaned up. No more revision number
5189 crunching function names that are not prefixed with vc-rcs.
5190 (vc-rcs-checkout-model): Function added. References to
5191 `vc-checkout-model' replaced.
5193 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5195 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
5196 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
5197 still need to be split, and implemented for RCS).
5199 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5201 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
5203 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
5204 required by the vc.el file.
5206 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
5207 required by the vc.el file.
5208 (vc-rcs-exists): Function added.
5210 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
5211 required by the vc.el file.
5213 * vc.el (vc-admin): Updated to handle selection of appropriate
5214 backend. Current implementation is crufty and need re-thinking.
5216 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
5218 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5220 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
5221 beginning of annotate buffers correctly.
5223 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
5224 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
5225 functionality updated quite a lot to support multiple backends.
5226 Variables `vc-annotate-mode', `vc-annotate-buffers',
5227 `vc-annotate-backend' added.
5229 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
5230 `vc-annotate-difference' added to supported backend functions.
5232 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5234 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
5235 Use with-temp-file instead of /bin/sh. Merged from mainline
5237 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5239 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
5241 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
5243 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
5245 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5247 * vc-hooks.el: vc-state-heuristic added to
5248 vc-backend-hook-functions.
5250 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
5252 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
5254 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
5255 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
5256 state to `reserved'.
5258 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
5259 `vc-checkout-required'. Rename the `locked' state to `reserved'.
5261 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5263 * vc-rcs-hooks.el: Implement new state model. Hardly anything
5266 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
5268 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
5269 if defined. (Merged from main line, slightly adapted.)
5271 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
5272 millenium problem (merged from mainline).
5274 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5276 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
5277 part and moved the non-BACKEND stuff to vc.el.
5279 * vc.el: Split the annotate feature into a BACKEND specific part
5280 and moved it from the vc-cvs.el file to this one.
5282 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5284 * vc-hooks.el: Implement new state model.
5285 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
5286 (vc-locking-user): Simplify. Now only needed if the file is
5287 locked by somebody else.
5288 (vc-lock-from-permissions): Remove. Functionality is in
5289 vc-sccs-hooks.el and vc-rcs-hooks.el now.
5290 (vc-mode-line-string): New name for former vc-status. Adapted.
5291 (vc-mode-line): Adapt to use the above. Remove optional parameter.
5293 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
5294 Various simplifications and adaptations all over the place.
5296 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
5297 Simplify and adapt the rest.
5299 * vc.el (vc-resynch-window): Add TODO comment: check for
5300 interaction with view mode according to recent RCS change.
5301 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
5303 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5305 * vc.el: Convert the remaining function comments to docstrings.
5307 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5309 * vc.el (vc-backend-release, vc-release-greater-or-equal)
5310 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
5311 (vc-minor-part, vc-previous-version): Functions that operate and
5312 compare revision numbers got proper documentation. Comments added
5313 about their possible removal.
5315 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5317 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
5318 the vc-backend.el files.
5320 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
5322 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
5323 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
5324 (vc-rcs-previous-version): Functions added.
5326 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
5328 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
5330 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5332 * vc-hooks.el (vc-master-templates): Is really obsolete.
5333 Comment out the definition for now. What is the right procedure
5335 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
5337 (vc-default-registered): Remove.
5338 (vc-check-master-templates): New function; does mostly what the
5340 (vc-locking-user): Don't rely on the backend to set the property.
5342 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
5343 Rewrite documentation.
5344 (vc-rcs-templates-grabbed): New variable.
5345 (vc-rcs-grab-templates): New function.
5346 (vc-rcs-registered): Rewrite to use above mechanism.
5348 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
5349 Rewrite documentation.
5350 (vc-sccs-templates-grabbed): New variable.
5351 (vc-sccs-grab-templates): New function.
5352 (vc-sccs-registered): Rewrite to use above mechanism.
5353 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
5354 Don't throw the result, simply return it.
5356 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
5357 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
5358 (vc-cvs-registered): Does the check itself now. Simplify.
5360 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
5363 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5365 * vc-cvs.el (vc-cvs-diff): New function.
5367 * vc-sccs.el (vc-sccs-diff): New function.
5369 * vc-rcs.el (vc-rcs-diff): New function.
5370 (vc-rcs-checkout): Bug (typo) found and fixed.
5371 (vc-rcs-register-switches): New variable.
5373 * vc.el (vc-backend-diff): Function removed and placed in the
5376 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5378 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
5380 * vc.el (vc-backend-checkout): Function removed and replaced in
5381 the vc-backend.el files.
5383 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
5385 * vc.el (vc-backend-admin): Removed and replaced in the
5386 vc-backend.el files.
5388 * vc.el (Martin): Removed all the annotate functionality since it
5389 is CVS backend specific.
5391 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5393 * spec.txt: Added specification of vc-state.
5395 * vc-sccs-hooks.el (vc-sccs-master-properties):
5396 Remove handling of vc-latest-version and
5397 vc-your-latest-version. What used to be vc-latest-version, is now
5398 returned as vc-workfile-version.
5399 (vc-sccs-workfile-version): Adapt.
5401 2000-09-04 Dave Love <fx@gnu.org>
5403 * vc.el: [Merged from mainline.]
5404 (vc-dired-mode): Make the dired-move-to-filename-regexp
5405 regexp match the date, to avoid treating date as file size.
5406 Add YYYY S option to WESTERN/
5408 2000-09-04 Dave Love <fx@gnu.org>
5410 * vc.el: Require `compile' when compiling.
5411 (vc-logentry-check-hook): New option.
5412 (vc-steal-lock): Use compose-mail.
5413 (vc-dired-mode-map): Defvar when compiling.
5414 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
5415 vc-sccs.el and renamed. Callers changed.
5416 (vc-backend-checkout, vc-backend-logentry-check)
5417 (vc-backend-merge-news): Doc fix.
5418 (vc-default-logentry-check): New function.
5419 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
5420 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
5421 (vc-backend-merge): Doc fix. Use backend functions.
5422 (vc-check-headers): Use backend functions.
5424 * vc-cvs.el: Require vc when compiling.
5425 (vc-cvs-register-switches): Doc fix.
5426 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
5427 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
5428 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
5429 New functions (code from vc.el).
5430 (vc-annotate-display-default): Fix interactive spec.
5431 (vc-annotate-time-span): Doc fix.
5433 * vc-rcs.el: Require vc when compiling.
5434 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
5435 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
5436 (vc-rcs-checkin): New functions (code from vc.el).
5437 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
5439 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
5441 * vc-sccs.el: Require vc when compiling.
5442 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
5443 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
5445 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
5447 (vc-sccs-add-triple, vc-sccs-record-rename)
5448 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
5449 (vc-sccs-admin): Doc fix.
5451 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5453 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
5454 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
5455 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
5458 * vc-sccs.el (vc-admin-sccs): Added from vc.el
5460 * vc-cvs.el: Moved the annotate functionality from vc.el.
5461 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
5463 2000-09-04 Dave Love <fx@gnu.org>
5465 * vc.el (vc-backend-release): Call vc-system-release.
5467 * vc-sccs.el (vc-sccs-system-release):
5468 Renamed from vc-sccs-backend-release.
5470 * vc-rcs.el (vc-rcs-system-release):
5471 Renamed from vc-rcs-backend-release.
5473 * vc-cvs.el (vc-cvs-system-release):
5474 Renamed from vc-cvs-backend-release.
5476 2000-09-04 Dave Love <fx@gnu.org>
5478 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
5480 (vc-backend-release): Dispatch to backend functions.
5481 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
5482 probably needs attention.]
5484 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
5485 (vc-sccs-backend-release): New function.
5487 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
5488 (vc-cvs-backend-release): New function.
5490 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
5492 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
5493 (vc-default-dired-state-info): New function.
5494 (vc-dired-state-info): Dispatch to backends.
5495 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
5497 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
5498 from vc.el and renamed.
5500 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5502 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
5503 (vc-version-other-window, vc-backend-assign-name): Removed
5504 references to vc-latest-version; sometimes changed into
5505 vc-workfile-version.
5507 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5508 vc-rcs-master-workfile-version.
5509 (vc-rcs-workfile-version): Use the above. Don't call
5510 vc-latest-version (that was unreachable code, anyway).
5511 (vc-rcs-fetch-master-properties): Doc fix.
5513 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5514 (vc-backend-hook-functions): Removed them from this list, too.
5515 (vc-fetch-properties): Removed.
5516 (vc-workfile-version): Doc fix.
5518 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5519 (vc-rcs-workfile-version, vc-rcs-locking-user)
5520 (vc-rcs-uses-locking): Use it.
5522 * vc-hooks.el (vc-consult-rcs-headers):
5523 Moved into vc-rcs-hooks.el, under the name
5524 vc-rcs-consult-headers.
5526 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5528 (vc-cvs-find-master): Use this name only; correct different
5529 versions of the name.
5531 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5533 (vc-sccs-locking-user): Use the latter.
5535 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5538 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5540 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
5541 functions are implementation details of those two backends.
5543 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5545 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5546 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5548 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5549 (vc-sccs-parse-locks): SCCS-specific code moved here from
5552 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5553 code moved here from vc-hooks.
5555 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5556 into back-end specific parts and removed. Callers not updated
5557 yet; because I guess these callers will disappear into back-end
5558 specific files anyway.
5560 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5562 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5563 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5566 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5567 Store yes/no in the property, and return t/nil. Updated all
5570 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5571 vc-sccs-uses-locking. Don't set property.
5572 (vc-sccs-locking-user): Don't set property.
5574 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5575 vc-cvs-uses-locking. Don't set property here; leave that to
5577 (vc-cvs-locking-user): Reflect above change. Streamlined.
5579 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5580 vc-rcs-uses-locking.
5581 (vc-rcs-locking-user): Reflect above change.
5583 2000-09-04 Dave Love <fx@gnu.org>
5585 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5587 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5589 * vc-hooks.el (vc-checkout-model): Punt to backends.
5591 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5593 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5595 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5598 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5601 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5602 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5604 * vc-hooks.el (vc-default-locking-user): New function.
5605 (vc-locking-user, vc-workfile-version): Punt to backends.
5607 2000-09-04 Dave Love <fx@gnu.org>
5609 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5610 (vc-master-workfile-version): Moved from vc-hooks.
5612 * vc-rcs-hooks.el: Fix duplicate code in last change.
5614 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5615 (vc-rcs-master-templates): Improve :type.
5616 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5617 vc-master-workfile-version): Moved from vc-hooks.
5619 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5620 (vc-sccs-master-templates): Improve :type.
5621 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5623 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5625 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5626 (vc-cvs-master-templates): Improve :type. Use
5627 vc-cvs-find-cvs-master.
5628 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5630 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5632 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5633 Moved to vc-cvs-hooks.
5635 * vc-hooks.el: Add doc strings in various places. Simplify the
5637 (vc-handled-backends): New user variable.
5638 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5641 2000-09-04 Dave Love <fx@gnu.org>
5643 * vc.el: Some doc fixes for autoloaded and interactive functions.
5644 Fix compilation warnings from ediff stuff.
5645 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5647 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5649 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5651 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5653 2000-09-04 Dave Love <fx@gnu.org>
5655 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5657 (vc-make-backend-function, vc-loadup, vc-call-backend)
5658 (vc-backend-defines): New functions.
5660 * vc-hooks.el: Various doc fixes.
5661 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5662 (vc-match-substring): Function removed. Callers changed to use
5664 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5667 2000-09-04 Dave Love <fx@gnu.org>
5669 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5671 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5672 (vc-sccs-registered): Doc fix.
5674 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5675 (vc-cvs-registered): Doc fix.
5677 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5678 (vc-rcs-registered): Doc fix.
5680 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5682 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5684 * vc-hooks.el: vc-registered has been renamed
5685 vc-default-registered. Some functions have been moved to the
5686 backend specific files. they all support the
5687 vc-BACKEND-registered functions.
5689 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5691 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5693 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5695 2000-09-04 Dave Love <fx@gnu.org>
5697 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5698 menu-bar-update-hook.
5700 * help.el (help-manyarg-func-alist): Add
5701 find-operation-coding-system.
5703 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5705 * custom.el (custom-set-variables): Print message about errors in
5708 2000-09-03 Andrew Innes <andrewi@gnu.org>
5710 * makefile.w32-in: Change to DOS line endings.
5712 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5714 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5715 minor-mode keymaps, if they don't have one.
5717 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5719 * eshell/esh-module.el (eval-when-compile): Don't lose if
5720 esh-module.el's file name is truncated to DOS 8+3 limits.
5722 2000-09-01 John Wiegley <johnw@gnu.org>
5724 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5725 predicate, which caused entries in the completion list to be
5728 2000-08-30 John Wiegley <johnw@gnu.org>
5730 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5731 sending to subprocesses. Also, hook pre-command-hook if
5732 `eshell-send-direct-to-subprocesses' is non-nil.
5733 (eshell-send-direct-to-subprocesses): New config variable. If t,
5734 subprocess input is send immediately.
5735 (eshell-toggle-direct-send): New function.
5736 (eshell-self-insert-command): New function.
5737 (eshell-intercept-commands): New function.
5738 (eshell-send-input): If direct subprocess sending is enabled,
5739 don't echo any input to the Eshell buffer. Let the subprocess
5740 handle that. This requires "stty echo" in bash, for example.
5742 2000-08-28 John Wiegley <johnw@gnu.org>
5744 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5745 completion function for Eshell's implementation of `unset'.
5747 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5749 * info.el (Info-directory-list): Doc fix.
5751 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5753 * filecache.el (file-cache-add-directory-using-find): Don't quote
5754 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5756 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5758 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5761 2000-08-30 Andrew Innes <andrewi@gnu.org>
5763 * timer.el (run-with-idle-timer): Undo last change, so that timer
5764 is not activated immediately if Emacs is already idle. Some
5765 existing code relies on this behaviour.
5767 2000-08-30 Miles Bader <miles@gnu.org>
5769 * frame.el (set-frame-font): Do completion of font-name for
5772 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5774 * international/quail.el (quail-start-translation): Bind locally
5775 last-command-event, last-command, and this-command.
5776 (quail-start-conversion): Likewise.
5777 (quail-self-insert-command): Fix docstring.
5779 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5781 * progmodes/executable.el
5782 (executable-make-buffer-file-executable-if-script-p): Check that
5783 buffer contains at least 2 characters.
5785 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5787 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5789 2000-08-29 Dave Love <fx@gnu.org>
5791 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5792 (diff-mode-shared-map): Bind mouse-2.
5793 (diff-imenu-generic-expression): New variable.
5794 (diff-mode): Use it.
5796 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5797 (mouse-popup-menubar): Add minor mode menus.
5798 (popup-menu): Check for lookup-key returning number.
5800 2000-08-29 Miles Bader <miles@gnu.org>
5802 * comint.el (comint-send-input): Create overlays using the proper
5803 front/read-advance arguments.
5805 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5807 * ps-print.el: Even/odd pages printing. Doc fix.
5808 (ps-print-version): New version number (6.0).
5809 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5810 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5811 (ps-print-duplex-feature): Variable eliminated.
5812 (ps-even-or-odd-pages): New variable.
5814 * progmodes/ebnf2ps.el: Doc fix.
5815 (ebnf-version): New version (3.3).
5816 (ebnf-user-arrow): Change variable customization to sexp.
5817 (ebnf-user-arrow): Function eliminated.
5818 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5820 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5822 * help.el (help-xref-mule-regexp): New variable.
5823 (help-make-xrefs): Handle help-xref-mule-regexp.
5825 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5827 (describe-input-method): Temporarily activate the specfied input
5828 method to display the information.
5829 (describe-language-environment): Hyperlinks to mule related items.
5831 * international/mule-diag.el (charset-multibyte-form-string): New
5833 (list-character-sets-1): Use charset-multibyte-form-string.
5834 (describe-character-set): New function.
5835 (describe-coding-system): Hyperlinks to safe character sets.
5837 * international/quail.el (quail-help): New arg PACKAGE.
5838 Hyperlinks to mule related items.
5839 (quail-help-insert-keymap-description): Use
5840 substitute-command-keys instead of describe-bindings.
5841 (quail-translation-help): Hyperlinks to mule related items.
5843 2000-08-28 John Wiegley <johnw@gnu.org>
5845 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5846 have a defsubst call itself. Made `eshell-flatten-list' back into
5849 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5850 catch, in case re-centering point at bottom messes up the display.
5851 This happens frequently in Emacs 21, due I believe to variable
5854 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5855 to call `find-tag-interactive'.
5857 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5858 the list of remember directories.
5860 2000-08-28 John Wiegley <johnw@gnu.org>
5862 * align.el: Test align-region-separate to see if it's a symbol.
5864 2000-08-28 John Wiegley <johnw@gnu.org>
5866 * eshell/esh-util.el (eshell-flatten-list): Made this function
5867 into a defsubst form. It gets used very frequently, although
5868 calls don't occur all that often.
5870 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5873 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5874 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5876 (eshell-copy-handles): Created a new macro for duplicating the
5877 current set of open handles. This is needed by the looping
5879 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5880 is not incorrectly stomped on.
5882 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5883 declaration for pcomplete-use-paring.
5884 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5885 value of eshell-cmpl-use-paring.
5886 * pcomplete.el (pcomplete-use-paring): New config variable, to
5887 indicate whether paring should be used.
5888 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5889 completion alternatives that have already been used.
5891 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5892 bound to C-c C-y, which will repeat the previous N arguments
5893 (based on prefix argument).
5894 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5896 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5897 if there is no *Help* buffer. This is for XEmacs, which renames
5898 its help buffers uniquely. TODO: Find out what the current buffer
5901 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5902 first entry that correlates to a passwd/group number. Later
5903 entries (used for group/user name aliasing to multiple IDs) are
5906 * eshell/em-xtra.el (eshell/expr):
5907 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5908 (eshell-grep, eshell/diff, eshell/locate):
5909 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5910 argument list, before passing it to the system command.
5912 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5913 `find-tag' for use at final position in Eshell buffers (which
5914 otherwise triggers an error on Emacs 21).
5915 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5916 buffer, if it is currently bound to `find-tag'.
5918 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5919 in the list of matched Makefile names.
5920 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5921 directory, prefer its contents to Makefile.
5923 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5924 directory parts (like "cd old new", or "cd =regexp"), are now case
5925 sensitive on non-Windows/DOS platforms.
5927 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5928 types RET after an open delimiter (like "), display a message
5929 indicating that Eshell is waiting for the closing delimiter.
5931 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5932 environment variables.
5934 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5935 gracefully if the user enters incorrect arguments.
5937 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5940 * eshell/esh-var.el (eshell-interpolate-variable):
5941 * eshell/esh-mode.el (eshell-move-argument):
5942 * eshell/em-unix.el (eshell-du-sum-directory):
5943 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5944 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5947 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5948 to ensure the `preserve' flag gets propagated when doing recursive
5951 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5953 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5954 Don't convert \n into \0177 in memory.
5955 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5956 and back again, when reading and writing.
5958 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5960 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5961 testing of `fboundp' on `processp'.
5963 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5964 (eshell/jobs): Don't call process-list if it is not bound.
5965 (eshell-gather-process-output): Support systems where async
5966 subprocesses aren't supported.
5967 (eshell-scratch-buffer, eshell-last-sync-output-start): New
5970 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5971 eshell-do-eval returns t.
5972 (eshell-do-pipelines-synchronously): New defmacro.
5973 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5974 when async subprocesses aren't supported.
5975 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
5976 if async subprocesses aren't supported.
5977 (eshell-resume-command): Don't assume STATUS is a string.
5979 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5981 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5982 (eshell-close-target, eshell-get-target): Use eshell-processp.
5983 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5985 (eshell-get-target, eshell-create-handles): Doc fix.
5987 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
5989 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5990 criterion to include commands that output something, as long as it
5991 leaves both the command and the end-of-buffer visible when the
5993 (eshell-review-quick-commands): Adjust the help doc string
5996 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
5998 * locate.el (locate): Cleaned up locate command's interactive prompting
5999 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
6001 * filecache.el (file-cache-case-fold-search): New variable
6002 (file-cache-assoc-function): New variable
6003 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
6004 Use file-cache-case-fold-search variable
6005 (file-cache-add-file): Use file-cache-assoc-function
6006 (file-cache-delete-file): likewise
6007 (file-cache-directory-name): likewise
6008 (file-cache-debug-read-from-minibuffer): likewise
6010 2000-08-28 Gerd Moellmann <gerd@gnu.org>
6012 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
6013 (abbrev-table-name): New function.
6014 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
6015 If non-nil list local abbrev, only.
6017 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
6019 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
6020 from Gnus support code, and use special article copy buffer
6021 `(gnus-original-article-buffer)' instead. This allows to get rid
6022 of article-hide-headers usage (which breaks in the latest Gnus
6023 version). Thanks to Detlev Zundel.
6025 2000-08-28 Kenichi Handa <handa@etl.go.jp>
6027 * international/quail.el (quail-use-package): Hide "... loaded"
6029 (quail-start-translation, quail-start-conversion): Likewise.
6031 * international/kkc.el (kkc-region): Hide "... loaded" message.
6033 2000-08-27 Dave Love <fx@gnu.org>
6035 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
6037 2000-08-27 Miles Bader <miles@gnu.org>
6039 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
6041 2000-08-27 Kenichi Handa <handa@etl.go.jp>
6043 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
6044 'ja-dic-cnv), not (require 'skkdic-cnv).
6046 2000-08-26 Miles Bader <miles@gnu.org>
6048 * faces.el (face-x-resources): Add entry for :inherit.
6049 * cus-face.el (custom-face-attributes): Add support for :inherit
6050 attribute. Add support for relative face heights.
6051 (custom-face-attributes-get): Treat `nil' as being a default value
6052 for :inherit (as well as `unspecified').
6054 * faces.el (set-face-attribute): Update doc string.
6055 (face-attribute-name-alist): Add :inherit.
6056 (face-valid-attribute-values): Handle :inherit.
6057 (face-read-string): Rephrase prompt to be less confusing.
6058 Assume that DEFAULT is a string, since we must return a string.
6059 (face-read-integer): Use `format' to turn DEFAULT into an
6060 acceptable default for face-read-string. Match NEW-VALUE against
6061 the string "unspecified", not the symbol `unspecified', since
6062 that's what face-read-string returns.
6063 (read-face-attribute): Lookup a name for old-value in valid, and
6064 use it as a default if we find one. Treat all values from
6065 face-read-string as strings. If the default is used, don't do any
6066 more processing on the value, just use the old value directly.
6067 (read-face-and-attribute, modify-face): Tweak prompt.
6068 (read-face-name): Don't assume prompt ends with a space.
6070 * faces.el (describe-face): Add support for :inherit attribute.
6072 2000-08-25 Kenichi Handa <handa@etl.go.jp>
6074 * terminal.el (terminal-emulator): Fix args to `concat'. Now
6075 concat doesn't accept interger.
6077 * international/kkc.el: Remove SKK from Keywords. Require
6078 ja-dic-utl instead of skkdic-utl.
6080 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
6081 Provide ja-dic-cnv instead of skkdic-cnv.
6082 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
6083 (iso-2022-7bit-short): Add safe-charsets property.
6084 (skkdic-convert-postfix): Search Japanese chou-on character in
6085 addition to Hiragana character.
6086 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
6087 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
6088 (batch-skkdic-convert): Likewise.
6090 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
6091 Provide ja-dic-utl instead of skkdic-utl.
6092 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
6094 2000-08-24 Dave Love <fx@gnu.org>
6096 * disp-table.el (standard-display-default): Make the test of `l'
6099 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
6102 * international/iso-ascii.el: Make pilcrow convenient string
6103 consistent with section.
6104 (iso-ascii-display): Set up multibyte characters as well as
6107 2000-08-24 Kenichi Handa <handa@etl.go.jp>
6109 * international/mule-cmds.el (reset-language-environment): Set
6110 default-process-coding-system to '(undecided . iso-latin-1), which
6111 makes process I/O almost consistent with file I/O. Call this
6112 function when mule-cmds.el[c] is loaded.
6114 2000-08-22 Andrew Innes <andrewi@gnu.org>
6116 * makefile.w32-in: New file.
6118 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
6120 * comint.el (comint-output-filter): Compare end of
6121 comint-last-output-overlay with the start of the newly inserted
6122 text, not the end, when deciding whether to extend it.
6123 Set saved-point's insertion type to advance after insertion.
6125 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
6126 since this is now done independently of font-lock mode.
6128 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6130 * server.el (server-kill-new-buffers): New user option.
6131 (server-existing-buffer): New buffer-local variable.
6132 (server-visit-files): When using an existing buffer, set
6133 server-existing-buffer to t.
6134 (server-buffer-done): If server-kill-new-buffers is t, kill the
6135 buffer, unless it was already present before visiting it with
6138 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
6140 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
6141 even if the display doesn't support colors: some displays will
6142 support bold/underline faces.
6144 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6146 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
6148 * startup.el (command-line): If user's init file had an error,
6149 add explanatory text to *Messages*.
6151 2000-08-21 Kenichi Handa <handa@etl.go.jp>
6153 * man.el (Man-getpage-in-background): Decode the process output by
6154 the system locale coding system.
6156 2000-08-20 Dave Love <fx@gnu.org>
6158 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
6159 Don't test x-popup-menu.
6160 (function) <complete-function>: Complete only fbound symbols.
6161 <validate, value>: New.
6162 (variable) <complete-function>: Complete only bound symbols.
6163 (coding-system): Add :base-only, :complete-function, :validate,
6164 :value, :prompt-match.
6165 (widget-coding-system-prompt-value): Use read-coding-system and
6167 (editable-field): Add :help-echo.
6168 (widget-push-button-gui, widget-push-button-cache)
6169 (widget-gui-action, widget-editable-list-gui): COmment out, along
6171 (widget-at): Make arg optional.
6172 (widget-echo-help): Adjust for current help-echo calling sequence.
6173 (widget-specify-field, widget-specify-button)
6174 (widget-specify-insert, widget-get-sibling, widget-image-find)
6175 (widget-convert, widget-insert, widget-leave-text)
6176 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
6177 (widget-setup, widget-field-find, widget-before-change)
6178 (widget-after-change, widget-default-complete)
6179 (widget-default-create, widget-default-delete)
6180 (widget-push-button-value-create, editable-field)
6181 (widget-field-prompt-value, widget-field-validate)
6182 (widget-choice-value-create, widget-choice-action)
6183 (widget-choice-validate, widget-checklist-add-item)
6184 (widget-radio-add-item, widget-radio-chosen)
6185 (widget-radio-value-inline, widget-editable-list-value-create)
6186 (widget-editable-list-entry-create)
6187 (widget-documentation-link-add)
6188 (widget-documentation-string-value-create)
6189 (widget-regexp-validate, widget-file-complete)
6190 (widget-sexp-validate, widget-plist-convert-widget)
6191 (widget-plist-convert-widget, widget-alist-convert-widget)
6192 (widget-alist-convert-widget, widget-color-complete): Simplify,
6193 particularly to avoid bindings which aren't optimized out.
6195 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
6197 (down-list, backward-up-list, up-list, kill-sexp)
6198 (backward-kill-sexp, mark-sexp): Make arg optional.
6199 (lisp-complete-symbol): Add optional arg PREDICATE.
6201 * cus-start.el: Add display-buffer-reuse-frames,
6202 file-coding-system-alist.
6204 2000-08-20 Gerd Moellmann <gerd@gnu.org>
6206 * startup.el (command-line): Clear realized faces after
6207 modifying TTY color mappings.
6209 2000-08-20 Miles Bader <miles@gnu.org>
6211 * faces.el (face-attr-match-p): Don't return true if ATTRS are
6212 merely a subset of FACE's attributes.
6214 2000-08-19 Miles Bader <miles@gnu.org>
6216 * comint.el (comint-output-filter): Save the point with a marker,
6217 not just a buffer position.
6219 * international/mule.el (set-buffer-process-coding-system): Make
6220 interactive prompt less confusing.
6222 2000-08-19 Gerd Moellmann <gerd@gnu.org>
6224 * hilit-chg.el: General cleanup of doc strings, comments and
6227 2000-08-19 Miles Bader <miles@gnu.org>
6229 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
6230 Compiler macro removed; beginning-of-line is no longer always
6231 equivalent to forward-line, in the presence of fields.
6233 * comint.el (comint-output-filter): Remove ad-hoc saving of
6234 restriction, and just use save-restriction, now that it works
6235 correctly. Don't adjust comint-last-input-start to account for
6236 our insertion; it shouldn't have moved because we don't use
6237 insert-before-markers anymore. Comment out call to
6238 `force-mode-line-update'; why is it here?
6240 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
6241 while checking for prompt to delete. Use `forward-line 0'
6242 instead of beginning-of-line.
6243 (gud-filter): Temporarily widen gud comint buffer while
6246 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
6248 * progmodes/sh-script.el: Big bag of typos.
6250 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
6251 check since ispell-process is not bound when ispell is not yet loaded.
6253 2000-08-18 Dave Love <fx@gnu.org>
6255 * image.el (find-image): Copy `spec' before using plist-put.
6257 2000-08-18 Gerd Moellmann <gerd@gnu.org>
6259 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
6262 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
6263 backward-kill-sexp, analogous to kill-sexp.
6265 * progmodes/icon.el (icon-indent-line)
6266 (icon-is-continuation-line): Handle comments specially.
6268 2000-08-17 Ken Stevens <k.stevens@ieee.org>
6270 * ispell.el: Set to standard author/maintainer/keyword fields.
6271 Fine tuning to menu map appearance and operation, and added help.
6272 Remove `start' and `end' error messages when compiling.
6273 (ispell-choices-win-default-height): Fixed comment string.
6274 (ispell-dictionary-alist-1): Fixed regexp in castellano and
6275 castellano8 dictionaries.
6276 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
6277 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
6278 dictionary, added italiano dictionary.
6279 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
6281 (ispell-tex-skip-alists): Added psfig support.
6282 (ispell-skip-html): Renamed from ispell-skip-sgml.
6283 (ispell-begin-skip-region-regexp, ispell-skip-region)
6284 (ispell-minor-check): Improved html skipping support to skip across
6285 code, and recognize `&' commands without propper `;' syntax;
6286 (ispell-process-line): Fix alignment error when manually
6287 correcting spelling.
6288 (ispell): Fix comment string.
6289 (ispell-add-per-file-word-list): Always put word list on new line.
6291 2000-08-17 Gerd Moellmann <gerd@gnu.org>
6293 * format.el (format-encode-run-method): Fix error message to say
6294 `encode' instead of `decode'. Use save-window-excursion around
6295 shell-command-on-region as in format-decode-run-method because
6296 shell-command-on-region can display a buffer with error output.
6297 (format-decode): Don't record undo information for the decoding.
6298 (format-annotate-function): Add parameter FORMAT-COUNT. Make
6299 that number part of the temporary buffer name so that more than
6300 one decoding using a temporary buffer can happen safely.
6302 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
6303 of `A-z' in the regexp.
6305 * hilit-chg.el: Fix typos in commentary.
6307 * help.el (view-emacs-news): Rewritten for new naming scheme
6310 * startup.el (command-line): Pop to *Messages* in case an error
6311 is signaled while loading user-init-file.
6313 2000-08-17 Andreas Schwab <schwab@suse.de>
6315 * files.el (insert-directory): Don't lose original file name,
6316 undoing an undocumented change.
6318 2000-08-17 Alex Schroeder <alex@gnu.org>
6320 * sql.el (sql-magic-go): Use comint-bol.
6321 (sql-copy-column): Use comint-line-beginning-position.
6322 (comint-line-beginning-position): Define a replacement for
6323 comint-line-beginning-position if it is not fboundp.
6325 2000-08-17 Alex Schroeder <alex@gnu.org>
6327 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
6328 it didn't have any effect anyway.
6330 2000-08-17 Alex Schroeder <alex@gnu.org>
6332 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
6333 --pset and pager=off instead of sending \\o|cat at the beginning
6336 2000-08-17 Miles Bader <miles@gnu.org>
6338 * progmodes/octave-inf.el: Add compatibility definition of
6339 comint-line-beginning-position.
6341 2000-08-17 Kenichi Handa <handa@etl.go.jp>
6343 * startup.el (normal-top-level): Look in each dir in load-path for
6344 a leim-list.el file too. This assures of loading leim-list.el
6345 that is created at Emacs installation time even if a user have his
6348 2000-08-17 Miles Bader <miles@gnu.org>
6350 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
6351 foreground color to black if the background is dark.
6353 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
6355 * loadhist.el (unload-feature): Typo.
6357 * finder.el (finder-compile-keywords):
6358 * cus-dep.el (custom-make-dependencies): Add local-variable settings
6359 to the generated file.
6361 * mail/mh-e.el (mh-make-local-vars):
6362 Replace make-variable-buffer-local with make-local-variable.
6365 * options.el (Edit-options-{set,toggle,t,nil}):
6366 * mail/mailabbrev.el (mail-abbrevs-mode):
6367 * textmodes/tex-mode.el (tex-expand-files):
6368 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
6370 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
6372 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
6373 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
6374 Allow going past the last element.
6375 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
6376 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
6377 (cvs-mouse-toggle-mark): Don't move point.
6378 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
6380 * progmodes/compile.el (grep): Provide a default set of files.
6381 (next-error): Docstring fix.
6382 (compilation-find-file): Avoid find-file (fails in a dedicated window).
6384 * emacs-lisp/easy-mmode.el (define-minor-mode):
6385 Use `symbol-value' to keep the byte-compiler quiet.
6387 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
6388 (diff-find-source-location): New fun, extracted from diff-goto-source.
6389 (diff-goto-source): Use it.
6390 (diff-next-complex-hunk, diff-filter-lines): New function.
6391 (diff-apply-hunk): New command.
6393 * smerge-mode.el (smerge-mode-menu): Doc fix.
6395 * msb.el (msb-mode): Define it in terms of define-minor-mode.
6397 2000-08-16 Dave Love <fx@gnu.org>
6399 * windmove.el (windmove) <defgroup>: Add :version.
6401 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
6402 (goto-address-fontify-p, goto-address-highlight-p)
6403 (goto-address-url-face, goto-address-url-mouse-face)
6404 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
6405 (goto-address-url-regexp): Use thing-at-point-url-regexp.
6406 (goto-address-fontify, goto-address-at-mouse): Simplify,
6407 (goto-address-at-point): browse-url-url-at-point,
6408 goto-address-find-address-at-point can return nil.
6409 (goto-address-find-address-at-point): Return nil on failure.
6411 * align.el (align) <defgroup>: Add :version.
6413 * calculator.el (calculator): Add :version.
6414 (calculator): Use two lines for calculator window if `modeline'
6417 * play/5x5.el: Doc fixes.
6418 (5x5) <defgroup>: Add :version.
6420 * play/fortune.el (fortune) <defgroup>: Add :version.
6421 (fortune-append): Fix error message.
6422 (fortune-from-region): Doc fix.
6424 * play/pong.el (pong): Doc fix.
6426 * play/morse.el: Keywords, commentary, autoloads.
6428 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
6430 * desktop.el (desktop-save): Don't look at symbol-value of a
6431 member of minor-mode-alist, unless it is boundp.
6433 2000-08-16 Sam Steingold <sds@gnu.org>
6435 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
6436 `while'; use `with-current-buffer' instead of `save-excursion'.
6437 Removed unnecessary kludges now that "*Buffer List*" is excluded.
6439 2000-08-16 Kenichi Handa <handa@etl.go.jp>
6441 * international/ccl.el (declare-ccl-program): Docstring modified.
6442 (ccl-execute-with-args): Likewise.
6444 2000-08-16 Miles Bader <miles@gnu.org>
6446 * progmodes/sql.el: Add compatibility definition of
6447 comint-line-beginning-position.
6449 2000-08-15 Gerd Moellmann <gerd@gnu.org>
6451 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
6452 'buffer-menu' property.
6453 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
6455 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
6456 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
6459 * buff-menu.el (list-buffers-noselect): Don't display the
6460 *Buffer List* buffer.
6462 * font-lock.el: Require jit-lock to prevent a very late
6463 `Loading jit-lock' message.
6465 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
6466 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
6469 2000-08-15 Miles Bader <miles@gnu.org>
6471 * textmodes/ispell.el (ispell-graphic-p): New constant.
6472 (ispell-choices-win-default-height, ispell-help): Use
6473 `ispell-graphic-p' instead of `xemacsp'.
6475 2000-08-15 Dave Love <fx@gnu.org>
6477 * simple.el: Autoload widget-convert when compiling.
6478 (mail-user-agent): Doc fix.
6480 * help.el (function-called-at-point, variable-at-point): Use
6482 (help-manyarg-func-alist): Add insert-and-inherit.
6484 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
6486 * delsel.el (delsel-unload-hook): New function.
6488 * find-file.el: Doc fixes. Move provide to end.
6489 (ff) <defgroup>: Add :link.
6490 (ff-goto-click): Deleted.
6491 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
6492 Use mouse-set-point.
6494 * textmodes/tildify.el: Doc fixes.
6495 (tildify) <defgroup>: Add:version.
6497 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
6498 (glasses-custom-set): Use set-default, not set.
6499 (minor-mode-alist): Propertize the lighter.
6500 (glasses-mode): Provide optional arg.
6502 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
6503 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
6504 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6505 option. Provide :type.
6506 (cwarn-configuration): Provide :type.
6507 (cwarn-mode): Doc fix.
6509 * add-log.el (change-log-merge): Doc fix.
6510 (change-log-redate): New command.
6512 * net/browse-url.el (browse-url-filename-alist): Add a clause for
6514 (browse-url): Use dolist, not mapcar.
6515 (browse-url-at-point): Check for null url.
6516 (browse-url-event-buffer, browse-url-event-point): Functions
6518 (browse-url-at-mouse, browse-url-netscape): Simplify.
6520 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6522 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6523 Fix previous change to mapcan.
6524 (msb--init-file-alist, msb--add-separators)
6525 (msb--make-keymap-menu): Simplify.
6526 (msb--choose-file-menu): Use copy-sequence.
6527 (msb-mode-map): Add title to keymap.
6528 (msb-unload-hook): New function.
6530 * bs.el: Fix indentation.
6531 (bs) <defgroup>: Add :links.
6533 (bs-apply-sort-faces): Don't use window-system.
6534 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6536 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
6538 * calendar/timeclock.el (timeclock-file): Run .timelog through
6539 convert-standard-filename.
6541 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6543 * emacs-lisp/authors.el: New file.
6545 * paren.el (show-paren-priority): New user option.
6546 (show-paren-function): Set overlay priorities to
6547 show-paren-priority.
6549 2000-08-14 Miles Bader <miles@gnu.org>
6551 * comint.el (comint-bol): Use `forward-line 0' instead of calling
6552 beginning-of-line with inhibit-field-text-motion bound.
6554 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6556 * calendar/timeclock.el: New file.
6558 2000-08-14 David Ponce <david@dponce.com>
6560 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6561 `widget-button-click'. so that one can use left mouse button to
6562 click on dialog buttons.
6564 2000-08-14 Emmanuel Briot <briot@gnat.com>
6566 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6567 identifiers, since XML is case sensitive
6569 2000-08-12 Miles Bader <miles@gnu.org>
6571 * comint.el (comint-output-filter): Don't bother frobbing
6572 window-start, it doesn't seem to be necessary.
6574 * comint.el (comint-send-string, comint-send-region): Make into
6575 real functions. Snapshot the prompt before sending.
6577 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6579 * info.el (Info-find-emacs-command-nodes): Rewrite to use
6580 technique similar to Info-index, instead of relying on specific
6581 names of relevant Index nodes.
6582 (Info-goto-emacs-command-node): Bind Info-history to nil when
6583 going to the first node found by Info-find-emacs-command-nodes.
6585 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6587 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6589 2000-08-10 Miles Bader <miles@gnu.org>
6591 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6593 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6595 * info.el (Info-file-list-for-emacs): More elements for the
6596 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6599 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6601 * comint.el (comint-send-input): Make the newline boundary overlay
6602 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6603 (comint-output-filter): Use `insert' instead of
6604 `insert-before-markers'. Extend comint-last-output-overlay when
6605 necessary since we can't rely on insert-before-markers to do it.
6606 * gud.el (gud-filter): Use `with-current-buffer' instead of
6607 save-excursion when inserting the output, so that point gets
6608 updated correctly; the old method relied on a rather dodgy
6609 side-effect of comint-output-filter to avoid the effect of
6612 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6614 * files.el (recover-file): Call insert-directory instead of
6615 invoking `ls' directly.
6617 2000-08-10 Miles Bader <miles@gnu.org>
6619 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6620 (comint-last-prompt-overlay): New variables.
6621 (comint-output-filter): Implement prompt highlighting.
6622 (comint-snapshot-last-prompt): New function.
6623 (comint-send-input): Snapshot the last prompt.
6624 Use comint-highlight-input-face.
6625 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6626 Use defface instead of defcustom.
6627 (send-invisible, comint-send-eof): Snapshot the last prompt.
6628 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6629 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6631 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6633 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6634 (regexp-opt-group): Use a list of chars for `letters'.
6635 (regexp-opt-charset): `chars' is now a list of chars.
6636 Use a char-table rather than a vector so it works for multibyte chars.
6638 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6639 Set cvs-minor-current-files to the selected fileinfo.
6640 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6641 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6643 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6645 * files.el (insert-directory): Don't call access-file on
6646 directories on DOS and Windows.
6648 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6650 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6651 longer if necessary.
6652 (ccl-embed-code): Call ccl-embed-data to store CODE in
6655 2000-08-09 Miles Bader <miles@gnu.org>
6657 * comint.el (comint-output-filter): Properly handle the case where
6658 the text surrounded by comint-last-output-overlay was deleted.
6660 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6662 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6664 (Info-file-list-for-emacs): Remove "info" from the list because
6665 that leads to trying to use the documentation from file `info'
6666 in various situations where it isn't appropriate, for instance
6669 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6670 DIR and/or STRING are nil.
6672 * progmodes/compile.el (compilation-setup): Make variable
6673 compilation-error-screen-columns buffer-local, as some comment
6674 in the code suggests it should be.
6676 * files.el (auto-mode-interpreter-regexp): New variable.
6677 (set-auto-mode): Use it.
6679 * indent.el (indent-for-tab-command): Doc fix.
6681 * mouse-sel.el (mouse-sel-mode): Doc fix.
6683 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6686 * help.el (print-help-return-message): When
6687 display-buffer-reuse-frames is set, let the help window been quit,
6688 instead of deleting it, which might delete a reused frame.
6690 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6692 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6693 rename a directory to a name that differs only by its letter case.
6695 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6697 * international/quail.el (quail-define-rules): Handle Quail decode
6698 map correctly. Add code for supporting annotations.
6699 (quail-install-decode-map): New function.
6700 (quail-defrule-internal): New optional arguments decode-map and
6702 (quail-advice): New function.
6704 2000-08-07 Sam Steingold <sds@gnu.org>
6706 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6707 `defconst', `define-condition', `with-slots'.
6708 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6710 2000-08-03 Miles Bader <miles@gnu.org>
6712 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6714 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6715 comint-use-prompt-regexp-instead-of-fields.
6716 (comint-send-input): Add `input' field property to stuff we send to
6717 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6718 (comint-output-filter): Add `output' field property to process
6719 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6720 (comint-replace-by-expanded-history)
6721 (comint-get-old-input-default, comint-show-output)
6722 (comint-backward-matching-input, comint-forward-matching-input)
6723 (comint-next-prompt, comint-previous-prompt): Use field
6724 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6725 (comint-line-beginning-position): New function.
6726 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6727 (comint-replace-by-expanded-history-before-point): Use
6728 comint-line-beginning-position and line-end-position.
6729 (comint-last-output-overlay): New variable.
6730 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6732 * shell.el (shell-prompt-pattern): Doc change.
6733 (shell-backward-command): Use line-beginning-position.
6735 * gud.el (gud-gdb-complete-command): Use
6736 comint-line-beginning-position.
6738 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6739 comint-bol doesn't actually go to the beginning of the line.
6741 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6742 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6743 (try-expand-line-all-buffers): Likewise.
6745 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6746 explicitly matching comint-prompt-regexp.
6747 (sql-copy-column): Use comint-line-beginning-position instead of
6748 explicitly matching comint-prompt-regexp.
6750 * progmodes/octave-inf.el (inferior-octave-complete): Use
6751 comint-line-beginning-position.
6753 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6755 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6756 looking for a prompt, use `forward-line 0' instead of
6757 `beginning-of-line', to avoid getting caught by an input field.
6759 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6761 * files.el (shell-quote-wildcard-pattern): Make sure to return
6762 PATTERN, in the Unix case.
6764 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6766 * play/zone.el (zone): Discard any pending input before running
6767 the randomly-chosen pgm.
6769 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6771 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6772 checking the existence of any multibyte characters.
6774 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6776 * help.el (describe-mode): Test minor-mode symbol for being
6777 bound before testing its value for being nil.
6779 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6780 `first', `second', and `third'.
6782 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6783 (second): Make it an alias for `cadr'.
6785 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6787 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6788 types of display support faces now.
6790 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6792 * pcvs.el (require): Require `cl' during compilation, only.
6794 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6795 (toplevel): Remove `remq' and `remove' from autoloads.
6796 (cl-fake-autoloads): New variable. If set, arrange for an error
6797 when CL functions etc. are autoloaded.
6799 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6801 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6803 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6804 popped up, but the user clicks outside the menu, return an empty
6805 regexp (that causes unhighlight-regexp to have no effect).
6807 * menu-bar.el (menu-bar-games-menu): Add Zone.
6809 * hi-lock.el (toplevel): Require font-lock.
6811 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6813 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6814 (ebnf-8-bit-chars): New var for bug fix.
6815 (ebnf-string): Bug fix.
6817 2000-08-03 Sam Steingold <sds@gnu.org>
6819 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6820 instead of `buffer-string'.
6821 (require 'cl): Always, not just when compiling.
6822 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6825 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6827 * international/mule-cmds.el (select-safe-coding-system): Make
6828 the message text about selecting a safe coding system more clear.
6830 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6832 * hi-lock.el: New file.
6834 * play/zone.el: New file.
6836 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6837 value of tab-width in the original buffer. Choose a line number
6838 format that's a multiple of the original buffer's tab width, so
6839 that lines appear right.
6841 * textmodes/ispell.el (ispell): New function, replacing an alias.
6842 Spell-check active region if in transient-mark-mode and mark
6843 is active; otherwise spell-check buffer.
6845 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6847 * ps-mule.el: Fix a customization problem on
6848 ps-mule-font-info-database-default.
6850 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6852 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6853 display-mouse-p instead of window-system.
6854 (ebrowse-member-mode-map): Ditto.
6856 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6858 * progmodes/ebnf2ps.el: Update ps-print functions call.
6859 Indentation fix. Doc fix.
6860 (ebnf-version): New version number (3.2).
6861 (ebnf-format-color, ebnf-begin-job): Code fix.
6863 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6865 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6866 font lock support on window-system.
6867 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6869 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6870 display-color-p, if fboundp, instead of window-system.
6872 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6874 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6875 instead of window-system.
6877 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6879 (widget-choice-mouse-down-action): Use display-popup-menus-p
6880 instead of window-system.
6882 * strokes.el (strokes-file): Run the file name through
6883 convert-standard-filename.
6884 (strokes-mode): Call display-mouse-p instead of looking at
6885 window-system. Change the error message accordingly.
6887 * progmodes/cpp.el (toplevel): Support faces on tty's.
6889 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6890 (lm-plot-square, lm-init-display): Don't use window-system.
6892 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6893 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6895 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6896 instead of looking at window-system.
6898 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6900 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6901 of testing if iswitchb-prepost-hooks is bound, because the
6902 latter will always be true when invoking a recursive minibuffer
6903 from an active Iswitchb buffer.
6905 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6907 * files.el (shell-quote-wildcard-pattern): New function.
6908 (insert-directory): Call it. Only prepend "\" to command on Unix
6909 and GNU/Linux systems.
6911 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6913 * eshell/esh-groups.el: Change custom :link file names
6914 from `eshell.info' to `eshell'.
6916 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6918 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6919 correctly in recursive ange-ftp listings.
6921 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6923 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6924 ps-header-font-size-internal and
6925 ps-header-title-font-size-internal variables are not set,
6926 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6927 face text property is (foreground-color . COLOR) or
6928 `(background-color . COLOR)', ps-print crashes. Doc fix.
6929 (ps-print-version): New version number (5.2.4).
6930 (ps-plot-region): Code fix.
6931 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6932 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6935 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6937 * glasses.el (glasses-make-readable): Fix uncapitalization of
6938 identifiers like `myXMLDocument'.
6940 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6942 * mail/mail-hist.el (mail-hist-previous-input)
6943 (mail-hist-next-input): Do the obvious code factorization.
6944 (mail-hist-retrieve-and-insert): New func, contains common
6946 If inserting a message body, leave point at top.
6948 2000-07-28 Sam Steingold <sds@gnu.org>
6950 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6951 Use `<=', not `<' to compare times!
6952 (ange-ftp-ls): Remove.
6954 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6956 * play/cookie1.el: Add explanation of how to make cookie.el
6957 compatible with strfile(1) to comment.
6959 * subr.el (remove, remq): New functions.
6961 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6962 escape `*' in regexps.
6963 (midnight-find): Reverse order of arguments in the funcall of
6966 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6969 * play/meese.el: Add Commentary section.
6971 2000-07-27 Alex Schroeder <alex@gnu.org>
6973 * sql.el (sql-ms): Added autoload cookie.
6974 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6975 (sql-oracle): Ditto.
6976 (sql-help): Doc change.
6978 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6979 types and exceptions.
6981 2000-07-27 Alex Schroeder <alex@gnu.org>
6983 * sql.el (sql-placeholder-history): New variable.
6984 (sql-query-placeholders-and-send): New function that will query
6985 the user and replace placeholders with user input.
6986 (sql-oracle): If running on NT, set comint-input-sender to
6987 sql-query-placeholders-and-send.
6989 (sql-stop): If in the SQLi buffer, insert stop notification, else
6990 present it as a message.
6992 2000-07-27 Alex Schroeder <alex@gnu.org>
6994 * sql.el (sql-input-ring-separator): Doc change.
6995 (sql-input-ring-file-name): Doc change.
6996 (sql-interactive-mode): Use `sql-input-ring-separator' and
6997 `sql-input-ring-file-name' to set the comint-mode equivalents
6998 without making them local variables.
6999 (sql-stop): Don't bind `sql-input-ring-separator' and
7000 `sql-input-ring-file-name' dynamically to their comint-mode
7003 2000-07-27 Kenichi Handa <handa@etl.go.jp>
7005 * international/mule.el (register-char-codings): New function.
7006 (make-coding-system): Handle `safe-chars' specification in the arg
7009 * international/mule-cmds.el
7010 (find-coding-systems-region-subset-p): This function deleted.
7011 (sort-coding-systems-predicate): New variable.
7012 (sort-coding-systems): New function.
7013 (find-coding-systems-region): Use
7014 find-coding-systems-region-internal.
7015 (find-coding-systems-string): Use find-coding-systems-region.
7016 (find-coding-systems-for-charsets): Check
7017 char-coding-system-table.
7018 (select-safe-coding-system-accept-default-p): New variable.
7019 (select-safe-coding-system): Mostly rewritten. New argument
7021 (select-message-coding-system): Call select-safe-coding-system
7022 with ACCEPT-DEFAULT-P arg.
7023 (reset-language-environment): Reset default-sendmail-coding-system
7024 to the default value iso-latin-1.
7025 (set-language-environment): Don't set the obsolete variable
7026 charset-origin-alist.
7028 * international/codepage.el (cp-coding-system-for-codepage-1):
7029 Give `safe-chars' property to make-coding-system.
7031 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
7032 calling select-message-coding-system twice.
7034 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
7035 instead of `safe-charsets'.
7036 (cyrillic-alternativnyj): Likewise.
7037 (ccl-encode-alternativnyj): Don't check the charset
7040 2000-07-27 Kenichi Handa <handa@etl.go.jp>
7042 * composite.el (compose-chars-after): Preserve match data.
7044 2000-07-26 Sam Steingold <sds@gnu.org>
7046 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
7047 (ange-ftp-real-file-newer-than-file-p): New function.
7048 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
7049 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
7051 * tooltip.el (tooltip-float-time): Removed (use `float-time').
7052 * midnight.el (midnight-float-time): Ditto.
7054 2000-07-26 Andreas Schwab <schwab@suse.de>
7056 * files.el (normal-backup-enable-predicate): Correct
7057 interpretation of the return value of compare-strings.
7059 2000-07-26 Gerd Moellmann <gerd@gnu.org>
7061 * isearch.el (isearch-resume): New function.
7062 (isearch-done): Add something to command-history to resume
7064 (isearch-yank-line, isearch-yank-word): Use
7065 buffer-substring-no-properties instead of buffer-substring.
7067 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
7068 of flyspell-mouse-map.
7070 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
7071 duplicate definition.
7072 (makefile-mode): Remove duplicate setting of local-abbrev-table.
7074 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
7075 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
7077 2000-07-25 Sam Steingold <sds@gnu.org>
7079 * net/ange-ftp.el: Get modtime over the net.
7080 (ange-ftp-file-modtime): New function.
7081 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7082 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
7084 (ange-ftp-dot-to-slash): New function.
7085 (ange-ftp-fix-name-for-vms): Use it.
7087 * midnight.el (midnight-buffer-display-time): Use
7088 `with-current-buffer'.
7090 2000-07-25 Gerd Moellmann <gerd@gnu.org>
7092 * find-dired.el: Update copyright notice.
7093 (find-dired): Offer to kill a running `find'.
7095 * enriched.el (enriched-face-ans): For a `foreground-color'
7096 property, return '(("x-color" COLOR))' so that COLOR will be
7097 output as a parameter of the x-color annotation. Likewise for the
7098 `background-color' property. In the case of normal face
7099 properties, don't return annotations for unspecified foreground
7100 and background face attributes.
7102 2000-07-25 Kenichi Handa <handa@etl.go.jp>
7104 * language/japan-util.el (japanese-katakana-region): Fix handling
7107 2000-07-25 Miles Bader <miles@gnu.org>
7109 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
7110 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
7113 2000-07-24 Andrew Innes <andrewi@gnu.org>
7115 * timer.el (timer-activate-when-idle): Add optional parameter
7116 DONT-WAIT. Update docstring.
7117 (run-with-idle-timer): Specify extra parameter to
7118 timer-activate-when-idle, so that timer will be activated
7119 immediately if Emacs is already idle.
7121 * w32-fns.el (w32-using-nt): Fix docstring.
7123 2000-07-24 Dave Love <fx@gnu.org>
7125 * mouse.el (popup-menu): Set last-command-event.
7126 (mouse-major-mode-menu-prefix): Declare.
7128 2000-07-24 Gerd Moellmann <gerd@gnu.org>
7130 * textmodes/flyspell.el: Update to author's version 1.5d.
7132 * progmodes/hideshow.el: Update copyright notice.
7134 * vcursor.el: Set maintainer to FSF, since author cannot
7137 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
7139 * info.el (Info-goto-emacs-key-command-node): Leave a space after
7142 * mouse.el (popup-menu): Run the keymap through indirect-function,
7143 in case it was defined with define-prefix-key. If the menu is a
7144 list of keymaps, look up the binding of user's choice in each one
7146 (mouse-popup-menubar): If the global and local menu-bar keymaps
7147 don't have a prompt string, create one and insert it into the
7148 keymap. Don't barf if current-local-map returns nil.
7150 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
7152 * dired.el (dired-sort-R-check): Added to allow recursive listing
7154 (dired-sort-other): Use it.
7156 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7158 * Release of cc-mode 5.27
7160 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7162 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
7163 c-beginning-of-statement-1 that caused a bad case of recursion
7164 which could consume a lot of CPU in large classes in languages
7165 that have in-expression classes (i.e. Java and Pike).
7167 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
7168 statements before top level constructs (i.e. case 6 is moved
7169 before case 5 and is now case 4) to catch in-expression
7170 classes in top level expressions correctly.
7172 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7174 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
7175 objc-method-intro. Case 4 removed and case 5I added.
7177 * cc-langs.el (c-append-paragraph-start): New variable used by
7178 c-common-init to get paragraph-start correct.
7179 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
7180 initialize paragraph-start to make it correct both with and
7181 without the javadoc special case.
7183 * cc-mode.el (java-mode): Use c-append-paragraph-start to
7184 initialize paragraph-start for javadoc markup.
7186 * cc-vars.el (c-style-variables-are-local-p): Incompatible
7187 change by defaulting this to t. It's motivated by the
7188 confusing behavior that otherwise arise from the style system
7189 when editing both java and non-java files at the same time
7190 (see the comments about style setting in c-common-init).
7192 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7194 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
7195 similar to the one in c-fill-paragraph to check the fill
7196 prefix from the adaptive fill function for sanity.
7198 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7200 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
7203 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7205 * cc-mode.texi Documented the change of cpp-macro.
7207 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7209 * cc-align.el (c-lineup-multi-inher): Handle lines with
7210 leading comma nicely. Extended to handle member initializers
7213 * cc-engine.el: (c-beginning-of-inheritance-list,
7214 c-guess-basic-syntax): Fixed recognition of inheritance lists
7215 when the lines begins with a comma.
7217 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
7219 * cc-vars.el (c-offsets-alist): Changed default for
7220 member-init-cont to c-lineup-multi-inher since it now handles
7221 member initializers and indents better for leading commas.
7223 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7225 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
7226 handling that caused class open lines to be recognized as
7227 statement-conts in some cases.
7229 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
7230 guessed by the adaptive fill function unless point is on the
7231 first line of a block comment.
7233 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
7234 when the buffer ends with a macro continuation char.
7236 * cc-engine.el (c-guess-basic-syntax): Added support for
7237 function definitions as statements in Pike. The first
7238 statement in a lambda block is now labeled defun-block-intro
7239 instead of statement-block-intro.
7241 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
7242 so that the class surrounding point is selected, not the one
7243 innermost in the state.
7245 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
7246 recognition of switch labels having hanging multiline
7249 * cc-engine.el (c-beginning-of-member-init-list): Broke out
7250 some code in c-guess-basic-syntax to a separate function.
7251 * cc-engine.el (c-just-after-func-arglist-p): Fixed
7252 recognition of member inits with multiple line arglists.
7253 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
7254 member-init-cont when the commas are in funny places.
7256 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7258 * cc-defs.el (c-auto-newline): Removed this macro since it's
7261 * cc-engine.el (c-looking-at-bos): New helper function.
7262 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
7263 inexpr and toplevel classes apart in Pike.
7265 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
7268 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
7269 constant, since "class" can introduce an in-expression class
7272 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7274 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
7275 indentation on cpp-macro lines.
7277 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
7278 a syntax modifier like comment-intro, to make it possible to
7279 get syntactic indentation for preprocessor directives. It's
7280 incompatible wrt to lineup functions on cpp-macro, but it has
7281 no observable effect in the 99.9% common case where cpp-macro
7284 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7286 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
7287 member-init-cont when the preceding arglist is several lines.
7289 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7291 * cc-styles.el (c-style-alist): The basic offset for the BSD
7292 style corrected to 8.
7294 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7296 * cc-styles.el (c-style-alist): Adjusted the indentation of
7297 brace list openers in the gnu style.
7299 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7301 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
7303 * cc-cmds.el (c-electric-brace, c-electric-slash,
7304 c-electric-star, c-electric-semi&comma, c-electric-colon,
7305 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
7306 when c-syntactic-indentation is nil.
7308 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
7309 we were left at comments preceding the first statement when
7310 reaching the beginning of the buffer.
7312 * cc-vars.el (c-syntactic-indentation): New variable to turn
7313 off all syntactic indentation.
7315 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7317 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
7318 between the text and the block comment ender when it hangs,
7319 depending on how many there are before the fill.
7321 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7323 * cc-engine.el (c-beginning-of-closest-statement): New helper
7324 function to go back to the closest preceding statement start,
7325 which could be inside a conditional statement.
7326 * cc-engine.el (c-guess-basic-syntax): Use
7327 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
7329 * cc-engine.el (c-guess-basic-syntax): Better handling of
7330 arglist-intro, arglist-cont-nonempty and arglist-close when
7331 the arglist is nested inside parens. Cases 7A, 7C and 7F
7334 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
7335 up-to-date with javadoc 1.2.
7337 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7339 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
7340 multiline Pike type decls.
7342 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7344 * cc-cmds.el (c-indent-new-comment-line): Always break
7345 multiline comments in multiline mode, regardless of
7348 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7350 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
7351 fully::qualified::names in C++ member init lists. Preamble in
7354 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7356 * cc-langs.el (c-common-init): Handling of obsolete variables
7357 moved to c-initialize-cc-mode. More compatible style override
7358 when using global style variables.
7359 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
7360 variables moved here.
7362 * cc-mode.texi: Documented the special behavior of
7363 c-special-indent-hook as a style variable. Don't talk about
7364 doing (c-make-styles-buffer-local t) in a mode hook, since
7365 that's already too late to work right.
7367 * cc-styles.el (c-make-styles-buffer-local): Flag style
7368 variable localness in c-style-variables-are-local-p to make
7369 the compatibility measure in c-common-init work well.
7371 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
7372 longer contain set-from-style.
7373 * cc-styles.el (c-initialize-builtin-style): Don't check for
7374 set-from-style on c-special-indent-hook.
7375 * cc-styles.el (c-copy-tree): Obsolete. The standard function
7376 copy-alist is sufficient now.
7378 * cc-styles.el (c-set-style, c-set-style-1,
7379 c-get-style-variables): Fixes to variable initialization so
7380 that duplicate entries in styles have the same effect
7381 regardless of DONT-OVERRIDE.
7383 * cc-styles.el (c-set-style-2): Fixed bug where the
7384 initialization of inheriting styles failed when the
7385 dont-override flag is set.
7387 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
7390 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7392 * cc-defs.el (c-forward-comment): Removed the workaround
7393 introduced in 5.38 since it had worse side-effects. If a line
7394 contains the string "//\"", it regarded the // as a comment
7395 start since the \ temporarily doesn't have escape syntax.
7397 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
7399 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
7400 ada-xref.el before ada-prj.el, so that the Project menu is created
7401 when ada-prj tries to add to it.
7402 (ada-activate-keys-for-case): Suppress the characters that are not
7403 part of the Ada syntax. Better compatibility with else-mode
7404 (ada-adjust-case-interactive): When auto-casing is not active,
7405 correctly insert newlines (used to insert only ^M). Prevent the
7406 syntax table from being changed in case of an error
7407 (or '_' becomes part of a word and some commands are confused).
7408 Do nothing if ada-auto-case is nil.
7409 (ada-after-keyword-p): Ignore keywords that are also attributes
7410 (ada-batch-reformat): Update usage comment
7411 (ada-call-from-contextual-menu): New function
7412 (ada-case-read-exceptions): Reinitialize the casing exception list
7413 first to nil first, so that the casing exception file can be
7415 (ada-check-defun-name): Handles "configure" keyword for gnatdist
7417 (ada-compile-goto-error): Fix regexp used to detect a file:line
7418 anywhere in the error message
7419 (ada-contextual-menu-last-point): New variable
7420 (ada-create-keymap): If the variable delete-key-deletes-forward is
7421 t on XEmacs, it means that DEL should delete one character
7423 (ada-create-menu): Use :included instead of :visible for XEmacs.
7424 New submenu "Options".
7425 (ada-end-stmt-re): Correctly indent "select ... then abort"
7427 (ada-fill-comment-paragraph): Correctly delete all leading '--'
7428 even if they don't match ada-fill-comment-prefix Fix handling of
7429 paragraphs on the first or last line of a file.
7430 (ada-format-paramlist): Fix handling of default parameter values.
7431 (ada-get-body-name): New function.
7432 (ada-get-current-indent): Optimized by searchling directly for an
7433 existing generic part or a statement outside of it. Handle
7434 ada-indent-align-comments when indenting comments Replaced some
7435 regexps by testing directly the next character. This results in a
7436 huge speedup on some files. New indentation scheme for renames
7437 statements. Stop looking for the 'while' or 'for' associated with
7438 a 'loop' at the first semicolon encountered. A "return" can also
7439 match an anonymous access subprogram declaration.
7440 (ada-get-indent-noindent): Ignore strings and comments when
7441 looking for the keywords "record" and "private".
7442 (ada-goto-matching-decl-start): When matching "if", make sure we
7443 are not in fact seeing "end if". Ignore "when" statements except
7444 when initial keyword was "begin". Fix handling of nested
7445 procedures. Add a recursive call to this function to skip over
7446 other 'end' statmts. Fix indentation for "when .. => begin"
7447 (ada-in-open-paren-p): Fix indentation for complex boolean
7448 expressions, where 'and then', 'or else' and parenthesis
7449 statements are mixed up.
7450 (ada-in-paramlist-p): Skip comments while searching for the
7451 beginning Fix handling of operator declarations.
7452 (ada-indent-align-comments): New variable
7453 (ada-indent-current): Change the syntax table only in the
7454 protected section, so that we are sure it is restored correctly.
7455 (ada-indent-on-previous-lines): Use ada-use-indent and
7456 ada-with-indent Correctly indent "select ... then"
7457 (ada-indent-region): Slight speedup.
7458 (ada-indent-renames): New variable.
7459 (ada-last-which-function-subprog, ada-last-which-function-line):
7461 (ada-looking-at-semi-private): Correctly indent the 'private'
7462 keyword when it is the first word in a package declaration.
7463 (ada-loose-case-word): Stop searching if at the end of the buffer.
7464 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
7465 even if point is not initially at the end of the word.
7466 (ada-matching-decl-start-re): Add "when".
7467 (ada-mode): Add support for abbrev-mode, outline-mode and
7468 which-func-mode Override the old find-file.el entry in
7469 ff-special-constructs since it is using the obsolete
7470 ada-spec-suffix variable
7471 (ada-no-auto-case): New function
7472 (ada-scan-paramlist): When parsing the argument type, accept
7473 spaces (as in "X 'Class", generated by Rational Rose).
7474 (ada-other-file-name): No longer loads the other file.
7475 (ada-popup-menu): Save and restore the current buffer and cursor
7476 position before and after displaying the menu.
7477 (ada-search-ignore-complex-boolean): New function.
7478 (ada-uncomment-region): Emacs21 already knows how to delete
7479 comments not starting in the first column.
7480 (ada-use-indent): New variable
7481 (ada-which-function): New function.
7482 (ada-with-indent): New variable
7483 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
7484 can be batch-compiled from the command line.
7486 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
7487 Add to the menu when the file is loaded, not in ada-mode-hook.
7488 Add -toolbar to the default ddd command Switches moved from
7489 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
7490 ada-prj-default-comp-opt
7491 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
7492 Reference Manual to the menu
7493 (ada-check-current): rewritten as a call to ada-compile-current
7494 (ada-compile): Removed.
7495 (ada-compile-application, ada-compile-current, ada-check-current):
7496 Set the compilation-search-path so that compile.el automatically
7497 finds the sources in src_dir. Automatic scrollong of the
7498 compilation buffer. C-uC-cC-c asks for confirmation before
7500 (ada-compile-current): New parameter, prj-field
7501 (ada-complete-identifier): Load the .ali file before doing
7503 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
7504 conform to gnatmake's behavior.
7505 (ada-find-file-in-dir): New function
7506 (ada-find-references): Set the environment variables for gnatfind
7507 (ada-find-src-file-in-dir): New function.
7508 (ada-first-non-nil): Removed
7509 (ada-gdb-application): Add support for jdb, the java debugger.
7510 (ada-get-ada-file-name): Load the original-file first if not done
7512 (ada-get-all-references): Handles the new ali syntax (parent types
7513 are found between <>).
7514 (ada-initialize-runtime-library): New function
7515 (ada-mode-hook): Always load a project file when a file is opened,
7516 so that the casing exceptions are correctly read.
7517 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7518 (ada-parse-prj-file): Use find-file-noselect instead of find-file
7519 to open the project file, since the latter does not work with
7520 speedbar Get default values before loading the prj file, or the
7521 default executable file name is wrong. Use the absolute value of
7522 src_dir to initialize ada-search-directories and
7523 compilation-search-path,... Add the standard runtime library to
7524 the search path for find-file.
7525 (ada-prj-default-debugger): Was missing an opening '{'
7526 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7528 (ada-prj-default-gnatmake-opt): New variable
7529 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7530 buffers, the project file is the default one Save the windows
7531 configuration before displaying the menu.
7532 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7533 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7534 ...) regexp-quote identifiers names to support operators +,
7536 (ada-remote): New function.
7537 (ada-run-application): Erase the output buffer before starting the
7538 run Support remote execution of the application. Use
7539 call-process, or the arguments are incorrectly parsed
7540 (ada-set-default-project-file): Reread the content of the active
7541 project file, not the one from the current buffer When a project
7542 file is set as the default project, all directories are
7543 automatically associated with it.
7544 (ada-set-environment): New function
7545 (ada-treat-cmd-string): New special variable ${current}
7546 (ada-treat-cmd-string): Revised. The substitution is now done for
7547 any ${...} substring
7548 (ada-xref-current): If no body was found, compiles the spec
7549 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7550 compiler to get rid of command line length limitations.
7551 (ada-xref-get-project-field): New function
7552 (ada-xref-project-files): New variable
7553 (ada-xref-runtime-library-specs-path)
7554 (ada-xref-runtime-library-ali-path): New variables
7555 (ada-xref-set-default-prj-values): Default run command now does a
7556 cd to the build directory. New field: main_unit Provide a default
7557 file name even if the current buffer has no prj file.
7560 Rewritten to show a tabbed-dialog.
7561 (ada-prj-add-ada-menu): Remove the map and name parameters.
7562 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7564 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7565 (ada-prj-load-from-file): New function
7566 (ada-prj-save): Always save fields that depend on the current buffer
7567 (ada-prj-show-value): New function
7569 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7570 Ada mode. This will allow us to display the Ada menu in any buffer
7571 we want (for project items).
7572 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7573 number of spaces in the header.
7575 2000-07-24 Dave Love <fx@gnu.org>
7577 * ediff-init.el (ediff-region-help-echo): Bind face-help.
7579 2000-07-23 Noah Friedman <friedman@splode.com>
7581 * type-break.el (type-break): perform autosave.
7582 Suggested by Stephen Gildea <gildea@intouchsys.com>.
7583 (type-break-do-query): Cancel query schedule while performing
7584 actual query, to avoid possibility of a second query being made
7585 while first one is already in progress.
7586 (type-break-time-stamp-format): New variable.
7587 (type-break-time-stamp): New function.
7588 (type-break-time-warning): Use it.
7589 (type-break-keystroke-warning): Use it.
7590 (type-break-noninteractive-query): Use it.
7592 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7594 Use add-minor-mode to set minor-mode-alist, if available.
7595 (eldoc-echo-area-use-multiline-p): New user option.
7596 (eldoc-echo-area-multiline-supported-p): New variable.
7597 (eldoc-docstring-format-sym-doc): Use them.
7598 (eldoc-mode): If not using idle timers, append to local post and
7599 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7600 (eldoc-display-message-no-interference-p): Don't interfere with
7602 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7603 (eldoc-function-arglist): New function.
7604 (eldoc-function-argstring): Use it.
7606 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7607 auto save directory exists before calling directory-files.
7609 2000-07-23 Dave Love <fx@gnu.org>
7611 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7614 2000-07-21 Dave Love <fx@gnu.org>
7616 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7617 now passed to the function. It now works properly.
7619 * smerge-mode.el (smerge-mode-menu): Fill it out.
7621 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7623 * info-look.el (info-lookup): If *info* is shown in another frame
7624 on the same display, select that frame, instead of switching to
7625 the Info buffer in another window of the selected frame.
7627 * simple.el (universal-argument-map): Bind numeric keypad keys
7628 kp-0 to kp-9 and kp-subtract.
7629 (digit-argument): Handle these keys.
7631 2000-07-20 Dave Love <fx@gnu.org>
7633 * net/goto-addr.el (goto-address-fontify): Don't bother with
7634 buffer-modified and read-only stuff -- irrelevant with overlays.
7635 Put an extra property on the overlays and use it to clean up in
7636 case goto-address is re-run.
7638 2000-07-19 Richard M. Stallman <rms@gnu.org>
7640 * timer.el (run-with-idle-timer): Doc fix.
7642 * mail/mail-utils.el (mail-strip-quoted-names):
7643 Handle case where <...> appears inside "...".
7644 Use replace-match to edit the string more simply.
7645 (rmail-dont-reply-to): Cope with an unmatched ".
7647 2000-07-19 Dave Love <fx@gnu.org>
7649 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7652 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7653 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7654 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7656 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7658 * textmodes/refer.el: Correct maintainer's email address.
7660 * progmodes/hideif.el: Correct author's email address.
7661 Fix typo in comment.
7665 * mail/mailheader.el: Correct author's mail address.
7667 * gnus/parse-time.el: Correct author's mail address.
7669 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7671 * comint.el (comint-highlight-input, comint-highlight-face):
7673 (comint-input-ring-file-name): Change custom type.
7674 (comint-mode-map): Bind mouse-2.
7675 (comint-insert-clicked-input): New function.
7676 (comint-send-input): Handle input highlighting.
7678 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7680 * mouse.el (popup-menu): New function.
7681 (mouse-major-mode-menu): Use it.
7683 2000-07-18 Dave Love <fx@gnu.org>
7685 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7688 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7690 * faces.el (face-font-selection-order)
7691 (face-font-family-alternatives): Add custom type.
7693 2000-07-18 Dave Love <fx@gnu.org>
7695 * cus-edit.el (custom-variable-reset-saved)
7696 (custom-variable-reset-standard): Remove unused bindings.
7698 * rect.el (open-rectangle-line): Remove unused let.
7700 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7702 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7704 * cdl.el: Fix `Maintainer' keyword.
7706 * play/pong.el: Add author's email address.
7708 2000-07-17 Sam Steingold <sds@gnu.org>
7710 * files.el (insert-directory): Call `split-string' instead of
7713 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7715 * mail/vms-pmail.el: Change maintainer to FSF.
7717 * net/goto-addr.el: Change maintainer to FSF.
7719 * recentf.el: Update from author.
7721 * info.el (Info-title-face-alist): Removed.
7723 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7725 * eshell/eshell.el (eshell): Replace links to eshell.info with
7726 links to eshell, to avoid problems on systems where the manual is
7727 installed as `eshell'.
7728 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7729 * eshell/em-smart.el (eshell-smart): Ditto.
7730 * eshell/em-banner.el (eshell-banner): Ditto.
7731 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7733 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7734 same-file check in the MS-DOS version (it does support inodes).
7736 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7738 * eshell/eshell.el (eshell-directory-name):
7739 Run default directory name through convert-standard-filename.
7741 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7743 * international/mule-cmds.el (select-safe-coding-system):
7744 Fix typo in the comment.
7746 * language/european.el (compound-text):
7747 Force katakana-jisx0201 to be designated to G1.
7749 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7750 Don't translate some national variant characters of latin-jisx0201.
7751 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7753 * international/kkc.el (kkc-after-update-conversion-functions):
7755 (kkc-update-conversion): Run functions in it at the tail.
7757 2000-07-16 John Wiegley <johnw@gnu.org>
7759 * lisp/align.el (align-newline-and-indent):
7760 Adding new function. for auto-aligning blocks of code on RET.
7761 (align-region): Fixed badly formatted minibuffer message.
7763 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7765 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7766 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7767 the conversion list at first if appropriate.
7768 (kkc-next): Don't update kkc-next-count here.
7769 (kkc-prev): Don't update kkc-prev-count here.
7770 (kkc-show-conversion-list-update): Fix setting up of conversion
7773 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7775 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7777 2000-07-16 Dave Love <fx@gnu.org>
7779 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7780 function to be more specific.
7782 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7783 non-string help-echo.
7784 (widget-types-convert-widget): Defsubst it.
7785 (widget-echo-help): Try to cope with a help-echo function of two
7788 2000-07-15 Jason Rumney <jasonr@gnu.org>
7790 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7791 Declare as obsolete.
7793 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7795 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7797 * hilit-chg.el: Fix typo.
7799 2000-07-14 Dave Love <fx@gnu.org>
7801 * info.el (Info-mode-menu): Fix use of :help, :enable.
7803 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7805 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7807 2000-07-13 Dave Love <fx@gnu.org>
7809 * emacs-lisp/easymenu.el: Doc fixes.
7810 (easy-menu-remove): Defalias to ignore.
7812 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7813 Call throw correctly.
7815 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7817 * faces.el (frame-background-mode): Doc fix.
7819 * simple.el (eval-expression-print-length): Change custom type to
7820 allow entering nil as value.
7822 2000-07-13 Dave Love <fx@gnu.org>
7824 * progmodes/fortran.el (fortran-imenu-generic-expression):
7825 Change definition layout.
7826 (fortran-mode-menu): Reinstate customize entries.
7828 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7829 Use :filter, per old XEmacs code.
7831 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7833 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7834 event when deciding what to send to the terminal.
7836 2000-07-12 Dave Love <fx@gnu.org>
7838 * cus-start.el: Add optional version as 4th element of specs and
7839 use it for several things new in v21. Remove load-path. Fix type
7840 of line-number-display-limit.
7842 2000-07-11 Dave Love <fx@gnu.org>
7844 * progmodes/fortran.el: Don't require easymenu.
7845 Use repeat counts in various regexps.
7846 (fortran-mode-syntax-table): Defvar directly.
7847 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7848 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7849 Use defvar, not defconst.
7850 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7851 (fortran-mode): Set fortran-comment-line-start-skip,
7852 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7853 (fortran-comment-indent): Use defsubst.
7854 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7855 Use fortran-comment-indent, not fortran-comment-indent-function.
7856 (fortran-comment-region, fortran-electric-line-number): Simplify.
7857 (fortran-auto-fill): New function.
7858 (fortran-do-auto-fill): Deleted.
7859 (fortran-find-comment-start-skip):
7860 Check for non-null comment-start-skip.
7861 (fortran-auto-fill-mode, fortran-fill-statement):
7862 Use fortran-auto-fill.
7863 (fortran-fill): Use fortran-auto-fill. Check for null
7864 comment-start-skip. Simplify final clause and use end-of-line finally.
7866 * widget.el (widget-plist-member): New alias.
7868 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7870 * eshell/esh-module.el (toplevel): Reference
7871 byte-compile-current-file only if it is bound.
7873 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7875 * dired.el: Don't require `dired-aux'.
7877 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7879 * dired-aux.el (dired-show-file-type): New function.
7880 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7881 (dired-show-file-type): Add autoload.
7883 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7885 * international/mule-diag.el (describe-font): Adjusted for the
7886 change of fontset-info.
7887 (print-fontset): Likewise.
7889 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7891 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7893 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7895 * bindings.el: Bind `[delete]' to delete-char.
7897 * dired.el (dired-find-alternate-file): New function.
7898 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7899 (toplevel): Require dired-aux when compiling.
7900 (dired-buffers): Move defvar within file to avoid compiler warning.
7902 * info.el (Info-last-search): Variable removed.
7903 (Info-search-history): New variable.
7904 (Info-search): New Info-search-history.
7906 * battery.el, info-look.el: Change author's mail address.
7908 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7910 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7911 if rmail-ignored-headers is nil.
7912 (rmail-retry-failure): Bind rmail-ignored-headers and
7913 rmail-displayed-headers to nil.
7915 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7917 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7918 (print-region-1): Don't hard code `-h' here.
7920 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7922 2000-07-01 Francesco Potorti` <pot@gnu.org>
7924 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7925 exim can use "your message" instead of "the message".
7927 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7929 * facemenu.el: Docstrings fixes.
7930 (facemenu-get-face): Don't use internal-find-face.
7931 (facemenu-iterate): Rename arg to match the docstring.
7933 * newcomment.el (uncomment-region): Be more careful when skipping
7934 backwards over `=' not to bump into BOBP.
7936 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7938 * ediff-diff.el (ediff-wordify): Use syntax table.
7939 * ediff-init.el (ediff-has-face-support-p): Use
7940 ediff-color-display-p.
7941 (ediff-color-display-p): Use display-color-p, changed to defun
7943 Got rid of special cases for NeXT and OS/2.
7944 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7947 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7949 * emacs-lisp/lucid.el: Require CL.
7950 (copy-tree, remprop): Remove, it's provided by CL.
7951 (map-keymap): Define in terms of cl-map-keymap.
7952 (extent-property, set-extent-end-glyph): New functions.
7954 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7956 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7958 * Makefile.in (DONTCOMPILE): Add comment that the name may
7959 not be changed without changing the make-dist script.
7961 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7962 (cl-mapc): Use mapc instead of cl-old-mapc.
7964 2000-07-05 Andrew Innes <andrewi@gnu.org>
7966 * makefile.nt: Add support for `bootstrap' and related targets.
7968 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7970 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7971 (easy-menu-do-define): Use `menu-item' format.
7972 Handle case where easy-menu-create-menu returns a symbol.
7973 Manually call the potential top-level filter in the function binding.
7974 (easy-menu-filter-return): New arg NAME.
7975 Convert to a keymap if MENU is an XEmacs menu.
7976 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
7977 (easy-menu-converted-items-table, easy-menu-convert-item):
7978 New var and fun to memoize easy-menu-convert-item-1.
7979 (easy-menu-do-add-item): Use it.
7980 (easy-menu-create-menu): Use easy-menu-convert-item.
7981 Wrap easy-menu-filter-return around any :filter specification.
7982 Don't convert the menu if a filter was specified.
7983 Tell easy-menu-make-symbol not to check for MENU being an expression.
7984 (easy-menu-make-symbol): New arg NOEXP.
7986 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7988 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7989 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7990 (eval-defun): If called with prefix arg, instrument code for
7993 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7994 similar to that of eval-defun.
7996 2000-07-04 Dave Love <fx@gnu.org>
7998 * hl-line.el (hl-line-overlay): Make it permanent-local.
8000 * calendar/todo-mode.el: Replaced with a working version, based on
8001 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
8003 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
8005 * paths.el (prune-directory-list): New function.
8006 (Info-default-directory-list): Rewritten to more methodically
8007 enumerate a big list of possible info directories (based on the
8008 list used by the standalone info reader).
8010 * info.el (info-initialize): Use prune-directory-list to remove
8011 non-existent directories from Info-directory-list.
8013 * paths.el (Info-default-directory-list): Try a list of possible
8014 info-directories instead of a single one. Add the possible
8015 info directory "/usr/share/info".
8017 * woman.el (woman-man.conf-path): Explicitly include the debian
8018 man-db config file "/etc/manpath.config".
8019 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
8020 are present in `manpath.config'.
8021 (woman-manpath): Include "/usr/share/man".
8023 2000-07-03 Gerd Moellmann <gerd@gnu.org>
8025 * frame.el (blink-cursor-mode): Don't hide cursor initially.
8027 * startup.el (command-line): Initialize blink-cursor based
8030 * frame.el (blink-cursor): Default to nil if not running under
8033 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
8034 (face-x-resources): Remove duplicate entry for :font.
8036 * textmodes/refer.el (refer-find-entry-internal): Use some-window
8037 instead of cycling through windows with next-window.
8039 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
8040 of cycling through windows with next-window.
8042 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
8043 of cycling through windows with next-window.
8045 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
8046 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
8047 instead of cycling through windows with next-window.
8049 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
8050 instead of cycling through windows with next-window.
8052 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
8053 of cycling through windows with next-window.
8055 * terminal.el (te-process-output): Use walk-windows instead of
8056 cycling through windows with next-window.
8058 * server.el (server-switch-buffer): Use some-window instead of
8059 cycling through windows with next-window.
8061 * window.el (some-window): New function.
8062 (walk-windows): Remove reference to walk-windows-start.
8064 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
8066 2000-07-03 Richard Stallman <rms@gnu.org>
8068 * window.el (walk-windows): Guarantee termination by keeping a list
8069 of all the windows already handled.
8071 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8073 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
8076 * man.el (Man-notify-when-ready): Don't use window-system. If
8077 Man-notify-method is newframe, and the display is not
8078 multi-frame, select the frame created for the man page.
8079 (Man-init-defvars): Doc fix.
8081 2000-06-28 Gerd Moellmann <gerd@gnu.org>
8083 * faces.el (region): Change background color for light background.
8085 * ediff-wind.el (ediff-setup-control-frame): Remove :box
8086 attribute from mode-line face of Ediff control frame.
8088 * replace.el (query-replace-map): Bind `e' like `E'.
8090 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8092 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
8093 Change name to "Select All".
8095 * dos-fns.el (convert-standard-filename): Fix last change.
8097 2000-06-27 Gerd Moellmann <gerd@gnu.org>
8099 * help.el (describe-variable): Don't insert a second `'s' in front
8100 of the string `value is shown below'. Since the syntax-table is
8101 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
8102 an existing `'s', so that this won't be deleted.
8104 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
8105 * pcmpl-unix.el: New files.
8107 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
8109 * wid-edit.el (widget-member): Use the new plist-member.
8111 2000-06-26 Gerd Moellmann <gerd@gnu.org>
8113 * replace.el (perform-replace): Undo change of 2000-04-04.
8114 Instead, move backward 1 character at the end of the loop when
8117 * faces.el (fringe): Change face for different backgrounds.
8119 * eshell/esh-module.el (toplevel): Load defgroup's differently;
8122 * eshell/*.el: Change spelling of the Free Software Foundation.
8124 * eshell/esh-toggle.el: Removed.
8126 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
8128 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
8131 2000-06-26 Alex Schroeder <alex@gnu.org>
8133 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
8134 `define-key'; instead of checking `(emacs-version)' check for
8135 `set-keymap-parent' and `set-keymap-name' directly. Add entries
8136 for `;' and `o' which might be electric.
8138 (sql-electric-stuff): New user option.
8139 (sql-magic-go): New function which uses `sql-electric-stuff'.
8140 (sql-magic-semicolon): New function which uses
8141 `sql-electric-stuff'.
8143 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
8146 (sql-oracle-options): New variable.
8147 (sql-oracle): Use it.
8149 (sql-imenu-generic-expression): Doc change.
8150 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
8153 (sql-informix): Added command line parameter "-" to force
8154 sql-informix-program to use stdout.
8156 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
8158 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
8159 (cp864-decode-table): Doc fix.
8160 (cp720-decode-table): New variable, supports the Arabic OEM
8161 codepage used by Windows.
8162 (cp737-decode-table): New, Greek OEM codepage used by Windows.
8164 2000-06-23 Dave Love <fx@gnu.org>
8166 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
8167 (font-lock-fontify-anchored-keywords): Use
8168 line-beginning-position.
8169 (global-font-lock-mode): Use mapc.
8171 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
8173 * eshell/esh-module.el: Require CL when compiling.
8175 2000-06-23 Gerd Moellmann <gerd@gnu.org>
8177 * comint.el (comint-substitute-in-file-name): Call replace-match
8178 with second and third arg t.
8180 * cus-edit.el (custom-button-face, custom-button-pressed-face):
8181 Specify foreground color.
8183 * faces.el (tool-bar, mode-line, header-line): Specify foreground
8186 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
8188 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
8189 cddr instead of cdddr.
8191 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
8192 instead of copy-list.
8194 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
8197 * subdirs.el: Add eshell subdirectory.
8199 * eshell: New subdirectory containing the Eshell package.
8201 * pcomplete.el: New file.
8203 2000-06-23 Paul Eggert <eggert@twinsun.com>
8205 * mail/mailpost.el (post-mail-send-it): Make sure file has
8206 proper permissions from birth.
8208 * files.el (basic-save-buffer-2): When temporarily setting
8209 file modes, set them to current modes plus 0200, not to 0777.
8211 * emerge.el (emerge-make-temp-file): Make sure file has proper
8212 permissions from birth.
8214 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
8216 * files.el (make-backup-file-name-1): On DOS/Windows, run the
8217 backup file name through convert-standard-filename.
8219 * dos-fns.el (convert-standard-filename): Convert leading
8220 directories as well. When long file names are supported, convert
8221 characters that are invalid in Windows file names.
8223 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8225 * ps-print.el: Fix bug: if ^L is the very first buffer character,
8226 ps-print crashes. New feature: page selection for printing. Create
8227 raw-text-unix coding system for XEmacs. Doc fix.
8228 (ps-print-version): New version number (5.2.3).
8229 (ps-plot-region): Bug fix.
8230 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
8231 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
8232 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
8234 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
8235 (ps-last-page): New vars.
8237 2000-06-21 Gerd Moellmann <gerd@gnu.org>
8239 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
8240 empty option string.
8242 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
8244 * man.el (man): Doc fix.
8246 2000-06-21 Kenichi Handa <handa@etl.go.jp>
8248 * international/mule-cmds.el (set-language-info-alist): Docstring
8251 2000-06-20 Gerd Moellmann <gerd@gnu.org>
8253 * version.el (emacs-version): Use ISO date format.
8255 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
8256 instead of `M-backspace'.
8258 * simple.el (turn-off-auto-fill): New function.
8260 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
8262 * jit-lock.el (with-buffer-prepared-for-jit-lock):
8263 Renamed from with-buffer-prepared-for-font-lock and use
8264 inhibit-modification-hooks rather than setting *-change-functions.
8265 Update all functions to use the new name.
8266 (jit-lock-first-unfontify-pos): New semantics (and doc).
8267 (jit-lock-mode): Make non-interactive.
8268 Don't automatically turn on font-lock.
8269 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
8270 Always use jit-lock-after-change.
8271 Remove and restore font-lock-after-change-function.
8272 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
8273 (jit-lock-after-unfontify-buffer): Remove.
8274 (jit-lock-stealth-fontify):
8275 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
8276 (jit-lock-after-change): Set the `fontified' text-prop to nil.
8278 2000-06-20 Sam Steingold <sds@gnu.org>
8280 * emacs-lisp/cl-indent.el (toplevel): Indent
8281 `print-unreadable-object' properly. Untabify.
8283 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8285 * textmodes/reftex.el (reftex-find-citation-regexp-format):
8286 Support for bibentry.
8287 (reftex-compile-variables): Fixed problem with end of section-re.
8289 * texmodes/reftex-dcr.el (reftex-view-crossref,
8290 reftex-view-crossref-from-bibtex):
8291 Deal with changed `reftex-find-citation-regexp-format'.
8292 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
8293 Replaced `remprop' with `put'.
8294 (reftex-view-crossref, reftex-view-crossref-when-idle):
8295 Support for bibentry.
8297 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
8298 New entry for bibentry package.
8300 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
8301 Regexp also matches "\nobibliography".
8303 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
8304 Call `reftex-ensure-write-access' before doing anything.
8305 (reftex-ensure-write-access): New function.
8307 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8309 * progmodes/idlwave.el: File re-installed (update to version 4.2)
8311 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
8313 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
8315 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
8318 2000-06-20 Dave Love <fx@gnu.org>
8320 * faces.el (frame-background-mode): Use set-default, not set, in
8322 (frame-update-faces, frame-update-face-colors): Define with
8325 * enriched.el (enriched-decode-foreground)
8326 (enriched-decode-background): Don't use internal-find-face.
8328 * apropos.el: Doc fixes.
8330 * cus-edit.el (customize-changed-options): Check arg.
8331 (customize-version-lessp): Don't require decimal point.
8333 * custom.el (defcustom, defgroup): Doc fix.
8335 * newcomment.el (comment) <defgroup>: Add :version.
8336 (comment-multi-line): Doc fix.
8338 * emulation/mlsupport.el (define-hooked-local-abbrev,
8339 define-hooked-global-abbrev): Fix, using define-abbrev.
8341 2000-06-19 Gerd Moellmann <gerd@gnu.org>
8343 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
8346 2000-06-19 Dave Love <fx@gnu.org>
8348 * menu-bar.el (menu-bar-options-save): New function.
8349 (menu-bar-options-menu): Use it.
8350 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
8353 2000-06-19 Andreas Schwab <schwab@suse.de>
8355 * progmodes/etags.el (tags-query-replace): Put new parameters
8356 START and END at the end, for backward compatibility.
8358 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8360 * international/codepage.el:
8361 (cp-coding-system-for-codepage-1): Delete special codes for
8362 generating xxx-dos coding system because now a CCL based coding
8363 system can handle EOL conversion by default.
8365 * international/mule.el (make-coding-system): Generate subsidiary
8366 coding systems for EOL handling variants even for a CCL based
8369 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8371 * international/isearch-x.el (isearch-minibuffer-input-method)
8372 (isearch-minibuffer-input-method-function): These variables
8374 (isearch-with-input-method): Don't use the above variables.
8375 (isearch-process-search-multibyte-characters): Likewise. Call
8376 read-string with the arg INHERIT-INPUT-METHOD t.
8378 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
8380 * font-lock.el (font-lock-after-fontify-buffer)
8381 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
8383 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
8384 Use consistent make-local-variable style for font-lock-fontified.
8385 (jit-lock-fontify-buffer):
8386 Don't bother checking for font-lock-mode and jit-lock-mode.
8388 * time.el: Remove trailing ^M that prevent CVS-merging.
8390 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8392 * Makefile.in (distclean): New target.
8394 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
8396 * Makefile.in (srcdir): Define for update-subdirs.
8398 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8400 * find-lisp.el: New file.
8402 2000-06-16 Andrew Innes <andrewi@gnu.org>
8404 * time.el (display-time-mail-function): New variable, to allow
8405 external packages to indicate when new mail is available.
8406 (display-time-update): Use it.
8408 2000-06-16 Kenichi Handa <handa@etl.go.jp>
8410 * international/mule.el (mule-version): Change version name to
8411 SAKAKI. AOI has already been used by Meadow.
8413 * international/quail.el (quail-show-guidance-buf): To find the
8414 bottom window (but minibuffer), pay attention to the height of
8417 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
8419 * arc-mode.el (archive-mode-map): Use the new menu-item format for
8420 menu-bar menus. Add help strings. Don't remove the Edit menu
8421 from the menu bar, as the menu bar has enough space now.
8423 * Makefile.in (SHELL): Make sure /bin/sh is used.
8425 * woman.el (woman-man-buffer): Fix bold and underlined CJK
8426 characters, which use series of two ^H characters instead of one.
8428 2000-06-15 Gerd Moellmann <gerd@gnu.org>
8430 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
8431 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
8433 (Info-find-node-2): Try a case-sensitive search first, then
8434 do a case-insensitive search.
8436 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
8439 * complete.el (PC-env-vars-alist): New variable.
8440 (PC-complete-as-file-name): New function.
8441 (partial-completion-mode): Initialize PC-env-vars-alist from
8442 process-environment.
8443 (PC-do-completion): Handle completion of env vars.
8445 * info.el (Info-set-mode-line): Show file name in mode line,
8446 use `*Info*' instead of `Info:'.
8448 * startup.el (command-line-1): Change copyright messages to year
8451 2000-06-15 Dave Love <fx@gnu.org>
8453 * net/goto-addr.el (goto-address-fontify): Use keymap property,
8456 2000-06-15 Kenichi Handa <handa@etl.go.jp>
8458 * international/mule.el (set-buffer-file-coding-system): Almost
8459 rewritten to handle `undecided' as no-op.
8461 2000-06-14 Gerd Moellmann <gerd@gnu.org>
8463 * Makefile.in: New file.
8465 * Makefile: Removed.
8467 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
8468 (goto-address-highlight-keymap): Bind C-c RET.
8470 2000-06-14 Kenichi Handa <handa@etl.go.jp>
8472 * mail/sendmail.el (sendmail-send-it): The temporary buffer
8473 inherits buffer-file-coding-system of the current buffer.
8475 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
8476 0. Give correct argument to set-auto-coding-function.
8477 (tar-expunge): For goto-char, use (point-min), not 0.
8478 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
8479 (tar-subfile-save-buffer): Likewize.
8481 * international/mule.el
8482 (after-insert-file-set-buffer-file-coding-system): Call
8483 set-buffer-file-coding-system with the arg FORCE t.
8485 2000-06-13 Gerd Moellmann <gerd@gnu.org>
8487 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
8488 nil. Contemporary sendmails issue an X-Authentication-Warning if
8489 the sender is set with `-f'.
8491 2000-06-13 Dave Love <fx@gnu.org>
8493 * help.el (describe-function-1): Kluge around cases of functions
8494 fset to subrs whose doc doesn't match their symbol-name.
8496 * image.el (insert-image): Default STRING to a space.
8498 * info.el Doc fixes.
8499 (Info-build-node-completions): Match Ref tags.
8501 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
8503 * frame.el (display-multi-frame-p, display-multi-font-p): New
8504 defaliases for display-graphic-p.
8506 * hl-line.el: Fixed a typo in commentary.
8508 2000-06-13 Kenichi Handa <handa@etl.go.jp>
8510 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8513 2000-06-12 Dave Love <fx@gnu.org>
8515 * image.el (insert-image): Save a little consing.
8517 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8519 * language/tibet-util.el: Convert all tibetan-1-column characters
8520 to the corresponding tibetan characters.
8521 (tibetan-add-components): Delete code for the special treatment of
8524 * language/tibetan.el (tibetan-composable-pattern): Fix previous
8526 (tibetan-vowel-transcription-alist): More rules added.
8527 (tibetan-composite-vowel-alist): New variable.
8528 (tibetan-precomposition-rule-alist): More rules added.
8530 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
8532 * startup.el (command-line): Only call menu-bar-mode if interactive.
8534 * thingatpt.el (toplevel symbol-properties):
8535 * textmodes/makeinfo.el (makeinfo-compile):
8536 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8537 * progmodes/hideif.el (hif-compress-define-list)
8538 (hide-ifdef-use-define-alist):
8539 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8540 (ange-ftp-vms-add-file-entry):
8541 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8542 * man.el (Man-build-man-command):
8543 * mail/rnewspost.el (news-reply-header-hook):
8544 * info.el (Info-insert-dir):
8545 * emulation/mlconvert.el (backward-word, forward-word, setq):
8546 * emacs-lisp/gulp.el (gulp-send-requests):
8547 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8548 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8549 (byte-optimize-apply, end of file):
8550 * emacs-lisp/advice.el (ad-advice-class-completion-table)
8551 (ad-make-freeze-definition):
8552 * startup.el (command-line, command-line-1): Don't quote lambdas.
8554 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8555 (cvs-cleanup-removed): New function.
8556 (cvs-cleanup-functions): New var.
8557 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8558 some flexibility in specifying additional entries to auto-cleanup.
8559 (cvs-quickdir): New function.
8560 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8561 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8562 (cvs-mode-find-file): Check that we are on a filename or dirname
8563 when invoked through a mouse-click.
8564 (cvs-full-path): Remove.
8565 (cvs-dired-action): Re-introduced.
8566 (cvs-dired-noselect): Use it.
8567 (vc-post-command-functions): use this new hook if available.
8569 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8570 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8571 (cvs-filename-map, cvs-dirname-map): Remove.
8572 (cvs-default-action): Remove.
8573 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8574 if the arg is really a keymap.
8575 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8576 Don't hardcode the mapping from state (aka type) to face, but check
8577 the var cvs-fi-<type>-face instead.
8578 (cvs-fileinfo-from-entries): New function.
8580 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8582 (cvs-find-file-and-jump): Change default to be safer.
8583 (cvs-mode-diff-map): Define it as a function as well.
8584 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8585 Bind mouse-2 in this global map rather than with text-properties.
8587 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8588 file to resolve the ambiguity between C(conflict) and C(need-merge).
8590 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8592 * international/mule.el (set-buffer-file-coding-system): If
8593 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8596 2000-06-12 Dave Love <fx@gnu.org>
8598 * wid-edit.el (widget-specify-button): Really suppress the face if
8601 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8603 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8605 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8607 * imenu.el (imenu-generic-expression): Docstring fix.
8609 * composite.el (composition-function-table): Move the `put'
8610 below the autoload cookie so we can load the file before loaddefs.
8612 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8614 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8615 Handle easy-mmode-define-global-mode.
8616 For complex macros like define-minor-mode that can generate
8617 several autoload entries, try to autoload entries in the
8620 * emacs-lisp/easy-mmode.el (define-minor-mode):
8621 If KEYMAP is a symbol, just use it.
8622 Use byte-compile-current-file and load-file-name to infer the
8623 proper :require to pass to defcustom.
8624 Wrap the hook var into `progn' so as not to autoload it.
8625 Add a :autoload-end cookie.
8626 Be more careful about the evaluation of KEYMAP.
8627 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8628 (define-derived-mode): Move define-abbrev-table outside of defvar.
8630 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8632 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8633 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8634 (backup-compiled-files): Ignore errors during `tar'.
8635 (bootstrap): Make autoloads before elc files.
8637 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8639 * international/mule.el (set-buffer-file-coding-system): If one of
8640 undecided-XXX is specified, change only EOL conversion.
8642 * international/mule-conf.el (unix): New alias for the coding
8643 system undecided-unix.
8645 2000-06-09 Dave Love <fx@gnu.org>
8647 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8649 * progmodes/executable.el: Byte compile dynamic.
8650 (executable-insert): Change custom type.
8651 (executable-find): Add autoload cookie.
8652 (executable-make-buffer-file-executable-if-script-p): New
8653 function. After Noah Friedman.
8655 * files.el (after-save-hook): Customize, with
8656 executable-make-buffer-file-executable-if-script-p as an option.
8658 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8660 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8661 "tib24p-mule.bdf" for Tibetan.
8663 * composite.el (decompose-composite-char): Declare it as obsolete.
8665 * man.el (Man-fontify-manpage): Pay attention to underline and
8666 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8668 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8670 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8671 Set maintainer to FSF since author isn't reachable.
8673 2000-06-08 Dave Love <fx@gnu.org>
8675 * international/mule-cmds.el (select-safe-coding-system): If
8676 DEFAULT-CODING-SYSTEM is not specified, also check the most
8677 preferred coding-system if buffer-file-coding-system is
8678 `undecided'. From Handa.
8680 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8682 * international/mule.el
8683 (after-insert-file-set-buffer-file-coding-system): If the buffer
8684 size is greater than INSERTED, judget that we are not visiting.
8686 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8688 * whitespace.el (defgroup whitespace): Comment out `:version'.
8689 XEmacs 20.4 has problems defining the group with this present.
8690 We'll have this commented out till get resolve the problem.
8692 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8694 * align.el: Update from author.
8696 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8698 * apropos.el (apropos-mode-hook): New user variable.
8699 (apropos-mode): Run apropos-mode-hook.
8701 2000-06-07 David Ponce <david@dponce.com>
8703 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8704 commands. Require `wid-edit' at run-time.
8706 2000-06-07 David Ponce <david@dponce.com>
8708 * recentf.el: Added some "Commentary".
8709 (recentf-open-more-files, recentf-edit-list): Minor changes to
8710 move the point at the top of the file list. This behaviour is
8711 consistent with the menu one when the list contains a lot of
8713 (recentf-cleanup): Now displays the number of items removed from
8715 (recentf-relative-filter) New menu filter to show filenames
8716 relative to `default-directory'.
8718 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8720 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8721 with/without giving an error if PostScript printer doesn't have this
8722 kind of page size. Zebra Stripe continues or restarts on next page.
8723 Manual/automatic paper feeding. Switch or not the header.
8724 (ps-print-version): New version number (5.2.2).
8725 (ps-windows-system): Include emx as a Windows system.
8726 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8727 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8728 (ps-background-text): Code fix.
8729 (ps-error-handler-message, ps-user-defined-prologue)
8730 (ps-print-prologue-header, ps-printer-name)
8731 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8732 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8733 (ps-use-face-background): Customization fix.
8734 (ps-n-up-database): Data fix.
8735 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8736 (ps-switch-header): New vars.
8737 (ps-xemacs-color-name, ps-face-foreground-name)
8738 (ps-face-background-name, ps-boolean-constant): New funs.
8740 2000-06-07 Dave Love <fx@gnu.org>
8742 * allout.el: New version from Manheimer.
8744 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8746 * textmodes/fill.el (fill-find-break-point): Check the validity of
8749 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8751 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8752 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8753 Call display-color-p and display-mouse-p instead of looking at
8756 2000-06-06 Dave Love <fx@gnu.org>
8758 * image.el (find-image): Doc fix. Return nil if image not found.
8759 (put-image, insert-image): Make STRING arg optional.
8761 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8763 * language/vietnamese.el: Remove eval-when-compile.
8764 (viet-viscii-nonascii-translation-table): Define it as a
8765 translation table made from viet-viscii-decode-table.
8766 (viet-viscii-encode-table): Define it as a translation table made
8767 from the reverse map of above.
8768 (viet-vscii-nonascii-translation-table): Define it as a
8769 translation table made from viet-vscii-decode-table.
8770 (viet-vscii-encode-table): Define it as a translation table made
8771 from the reverse map of above.
8772 (ccl-decode-viscii): Use translate-character.
8773 (ccl-encode-viscii, ccl-encode-viscii-font)
8774 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8777 * language/cyrillic.el: Remove eval-when-compile.
8778 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8779 translation table made from cyrillic-koi8-r-decode-table.
8780 (cyrillic-koi8-r-encode-table): Define it as a translation table
8781 made from the reverse map of above.
8782 (ccl-decode-koi8): Use translate-character.
8783 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8784 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8785 a translation table made from cyrillic-alternativnyj-decode-table.
8786 (cyrillic-alternativnyj-encode-table): Define it as a translation
8787 table made from the reverse map of above.
8788 (ccl-decode-alternativnyj): Use translate-character.
8789 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8792 * international/mule-diag.el (non-iso-charset-alist): Specify
8793 translation table symbol instead of translation table itself.
8794 (list-block-of-chars): CHARSET may be a translation table symbol.
8796 * international/mule.el (make-coding-system): If CODING-SYSTEM
8797 already exists, override it.
8799 * international/fontset.el: Use family `proportional' for Tibetan
8802 * international/ccl.el (ccl-compile-translate-character): Don't
8803 check if Rrr has property translation-table.
8804 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8806 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8808 * info.el: Bind case-fold-search to t when searching in case
8809 a user sets it to nil in a hook.
8811 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8813 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8814 * hl-line.el (hl-line-mode): Use the new :global key argument.
8816 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8817 (tar-clip-time-string): Prepend a space.
8818 (tar-grind-file-mode): Construct a string rather than modifying one.
8819 (tar-header-block-summarize): Fix docstring.
8820 Use `format' rather than an error-prone set of copy-loops.
8822 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8823 (diff-goto-source, diff-unified->context, diff-context->unified)
8824 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8825 understand the format output by the `-p' argument to diff.
8827 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8828 (sh-re-done): Use defconst.
8829 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8830 (sh-help-string-for-variable, sh-guess-basic-offset):
8831 Don't quote lambdas.
8832 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8833 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8835 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8836 (mh-letter-mode): Derive from text-mode.
8837 This implicitly means that it now calls kill-all-local-variables.
8838 Also remove the Emacs-18 compatibility code.
8840 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8841 Make use of symbol-property doc-string-elt.
8842 Use memq rather than a sequence of eq.
8843 (doc-string-elt): Fix the wrong or missing previously unused values.
8844 (autoload-print-form): New function extracted from
8845 generate-file-autoloads to allow recursion when handling progn
8846 so that defvar's and defun's docstrings are properly printed.
8847 (generate-file-autoloads): Use it.
8849 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8850 Use find-file-hooks in the minor-mode function.
8851 Be careful not to loop indefinitely in the post-command-hook function.
8853 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8855 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8857 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8858 differences whenever appropriate.
8859 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8860 * viper.el (find-file, find-file-other-window): Get viper to do
8863 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8865 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8866 (jit-lock-fontify-buffer): New function for JIT refontification.
8867 (jit-lock-mode): Fix docstring.
8868 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8869 Remove jit-lock-after-change from the _local_ hook.
8870 (jit-lock-function-1): Fix docstring.
8872 * info.el (Info-on-current-buffer): Initialize info.
8874 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8876 * progmodes/tcl.el (tcl-indent-for-comment):
8877 Ignore comment-indent-hook.
8879 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8880 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8881 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8882 and improve to use the lighter to guess the capitalization.
8883 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8884 Add keyword arguments to specify global-ness or the custom group.
8885 Add local-map and help-echo properties to the lighter.
8886 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8887 (easy-mmode-define-global-mode): New macro.
8889 2000-06-02 Dave Love <fx@gnu.org>
8891 * wid-edit.el: byte-compile-dynamic since we typically don't use
8892 all the widgets. Don't require cl or widget. Remove
8893 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8894 (widget-read-event): Removed. Callers changed to use read-event.
8895 (widget-button-release-event-p): Renamed from
8896 button-release-event-p.
8897 (widget-field-add-space, widget-field-use-before-change):
8899 (widget-specify-field): Use keymap property, not local-map.
8900 (widget-specify-button): Obey :suppress-face.
8901 (widget-specify-insert): Use modern backquote syntax.
8902 (widget-image-directory): Renamed from widget-glyph-directory.
8903 (widget-image-enable): Renamed from widget-glyph-enable.
8904 (widget-image-find): Replaces widget-glyph-find.
8905 (widget-button-pressed-face): Move defvar.
8906 (widget-image-insert): Replaces widget-glyph-insert.
8907 (widget-convert): Use keywordp.
8908 (widget-leave-text, widget-children-value-delete): Use mapc.
8909 (widget-keymap): Remove XEmacs stuff.
8910 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8911 (widget-button-click): Don't set point at the click, but re-centre
8912 if we scroll out of window. Rewritten for images v. glyphs &c.
8913 (widget-tabable-at): Use POS arg, not point.
8914 (widget-beginning-of-line, widget-end-of-line)
8915 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8916 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8917 (widget-default-create): Use widget-image-insert; some rewriting.
8918 (widget-visibility-value-create)
8919 (widget-push-button-value-create, widget-toggle-value-create): Use
8920 widget-image-insert.
8921 (checkbox): Create on and off images dynamically.
8922 (documentation-link): Change :help-echo.
8923 (widget-documentation-link-echo-help): Remove.
8925 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8927 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8929 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8930 (easy-mmode-define-toggle, define-minor-mode): Use it.
8931 (easy-mmode-define-keymap): Docstring fix.
8932 (define-derived-mode): Default PARENT to fundamental-mode.
8933 Add the derived-mode-parent symbol-property.
8934 (easy-mmode-derived-mode-p): New function.
8936 2000-06-02 Dave Love <fx@gnu.org>
8938 * files.el (convert-standard-filename): Doc fix.
8939 (normal-backup-enable-predicate): New function.
8940 (backup-enable-predicate): Use it to replace the lambda form.
8942 * calendar/todo-mode.el: [This needs more work on the outline
8944 (todo) <defgroup>: Add :version.
8945 (todo-add-category): Don't use pushnew.
8946 (todo-cmd-raise): Fix typo.
8947 (todo-top-priorities): Change temp buffer name.
8948 (todo-category-alist): Avoid redundant lambda.
8949 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8950 Use outline-next-heading.
8952 * autoarg.el: Rewritten to use define-minor-mode.
8953 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8954 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8956 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8958 * isearch.el (isearch-other-meta-char): Fix previous change.
8960 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8962 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8963 (log-edit-done): Only add the comment to the ring if it's different
8964 from the last comment entered.
8966 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8968 2000-06-01 Dave Love <fx@gnu.org>
8970 * hl-line.el: Rewritten using define-minor-mode.
8972 * help.el (describe-function-1): Distinguish special form from
8973 builtin function. Sanity-check presence of arglist for builtins.
8975 2000-06-01 Kenichi Handa <handa@etl.go.jp>
8977 * international/characters.el: Fix syntax/category setting of
8980 * language/tibet-util.el (tibetan-add-components): Fixes for new
8981 encoding of Tibetan characters.
8982 (tibetan-decompose-precomposition-alist): New variable.
8983 (tibetan-decompose-region): Convert precomposed characters to
8984 non-precomposed characters.
8985 (tibetan-decompose-string): Likewise.
8986 (tibetan-composition-function): Fix args to
8987 thibetan-compose-string.
8989 * language/tibetan.el (tibetan-composable-pattern): More
8990 characters included.
8991 (tibetan-consonant-transcription-alist): Rule for "R" added.
8992 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8994 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8996 * language/lao-util.el (lao-composition-function): Fix args to
8999 * language/thai-util.el (thai-composition-function): Fix args to
9002 * isearch.el (isearch-update): Set disable-point-adjustment to t
9003 to prevent the point moving to the end of a composition when a
9004 part of a composition is searched.
9005 (isearch-other-meta-char): If the key invoking this command can be
9006 mapped by function-key-map to a printing char, call
9007 isearch-process-search-char directly.
9009 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
9011 * emacs-lisp/bytecomp.el:
9013 * international/mule-cmds.el:
9014 * international/mule-util.el:
9015 * international/mule.el:
9018 * faces.el: Update calls to make-obsolete with a WHEN argument.
9020 * byte-run.el (make-obsolete, make-obsolete-variable):
9021 Add an optional WHEN argument and change the format of the
9022 symbol-property information.
9023 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
9024 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
9025 new obsolete-symbol-property format and print WHEN if it is provided.
9027 2000-05-31 Dave Love <fx@gnu.org>
9029 * loadhist.el (loadhist-hook-functions): Remove
9030 before-change-function, after-change-function.
9031 (unload-feature): Deal with symbols which are both bound and
9034 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
9035 before-change-function, after-change-function.
9037 * simple.el (newline): Don't bind before-change-function,
9038 after-change-function.
9040 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
9042 * whitespace.el (whitespace-rescan-timer-time): Update interval
9043 set to 600 seconds (10 minutes) instead of 60 seconds since
9044 a large number of whitespace buffers causes emacs to `freeze'
9045 for a considerable amount of time.
9047 * whitespace.el: Updated email address
9049 2000-05-31 Dave Love <fx@gnu.org>
9051 * add-log.el (change-log-font-lock-keywords) <function>: Add
9052 pattern for function of change.
9053 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
9054 acknowledgements patterns.
9056 2000-05-31 Kenichi Handa <handa@etl.go.jp>
9058 * isearch.el (isearch-printing-char): If keyboard coding system is
9059 being used, call isearch-process-search-multibyte-characters.
9061 * international/isearch-x.el: Mostly rewritten.
9063 * international/quail.el (quail-start-conversion): Don't include
9064 unhandled events in the returned events, but set them in
9065 unread-command-events. Exit if all inputs are deleted.
9067 2000-05-30 Jason Rumney <jasonr@gnu.org>
9069 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
9071 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
9072 Reenable code to create initial fontsets.
9073 Use set-fontset-font in place of put-charset-property.
9075 2000-05-30 Gerd Moellmann <gerd@gnu.org>
9077 * progmodes/perl-mode.el (perl-indent-line): When looking for a
9078 label, ensure that the first colon isn't followed by another.
9080 * paths.el (Info-default-directory-list): Doc fix.
9082 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
9083 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
9084 send a query containing USER only, not USER@HOST.
9086 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
9087 and rmail-msgend to compute the restriction at the end, instead of
9090 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9092 * dabbrev.el (dabbrev-expand): Don't display messages in the
9093 echo area if the minibuffer window is active.
9095 * jit-lock.el (jit-lock-mode): Add after change function to
9098 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
9100 * antlr-mode.el: New commands: hide/unhide actions,
9101 upcase/downcase literals.
9102 (antlr-tiny-action-length): New user option.
9103 (antlr-hide-actions): New command. Suggested by
9104 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
9105 (antlr-mode-map): New binding [C-c C-v].
9106 (antlr-mode-menu): New entries.
9107 (antlr-downcase-literals): New command.
9108 (antlr-upcase-literals): Ditto.
9110 * antlr-mode.el: Minor changes: indendation, mode-name.
9111 (antlr-indent-line): Indent cpp directive at column 0.
9112 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
9114 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
9115 (antlr-font-lock-additional-keywords): Workaround for intentional
9116 bug in XEmacs version of font-lock.
9117 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
9118 be used by a smarter version of `buffers-menu-grouping-function'.
9120 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9122 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
9123 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
9125 2000-05-29 Kenichi Handa <handa@etl.go.jp>
9127 * international/encoded-kb.el
9128 (encoded-kbd-iso2022-designation-map): Pay attention to that
9129 charset-iso-final-char return -1 for eight-bit-control and
9132 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9134 * speedbar.el (speedbar-use-images, speedbar-update-flag)
9135 (speedbar-easymenu-definition-base): Use display-graphic-p where
9136 available, instead of window-system.
9138 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9140 * international/codepage.el (cp-coding-system-for-codepage-1): Add
9141 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
9144 2000-05-26 Dave Love <fx@gnu.org>
9146 * disp-table.el (standard-display-underline): Don't use
9149 * mail/reporter.el: Maintainer change. Doc fixes.
9150 (reporter-version): Deleted.
9152 * emacs-lisp/elp.el: Maintainer change.
9153 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
9155 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
9157 * add-log.el (add-change-log-entry): Merge the current entry with the
9158 previous one if the previous one is empty.
9160 2000-05-26 Dave Love <fx@gnu.org>
9162 * loadhist.el (unload-feature): Fix interactive spec [from
9163 lijnzaad@ebi.ac.uk].
9165 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
9166 subr-arity to check primitives.
9167 (byte-compile-flush-pending, byte-compile-file-form-progn)
9168 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
9169 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
9172 2000-05-26 Kenichi Handa <handa@etl.go.jp>
9174 * international/fontset.el: Set family names of non-latin charsets
9175 in default fontset to "*".
9177 * international/mule-diag.el (print-fontset): Combine family part
9178 and registry part of the fontname by "-*-" instead of "-".
9180 * international/mule-cmds.el (encode-coding-char): Make strings
9181 multibyte before calling encode-coding-string.
9183 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
9185 * derived.el: Fix keywords.
9186 (define-derived-mode): Only define if needed.
9188 * simple.el (fill-comment, comment-column, comment-start)
9189 (comment-start-skip, comment-end, comment-indent-function)
9190 (block-comment-start, block-comment-end, indent-for-comment)
9191 (set-comment-column, kill-comment, comment-padding, comment-region)
9192 (comment-multi-line, indent-new-comment-line): Remove.
9194 * bindings.el (esc-map): Change ; to comment-dwim and use the new
9195 function names for comment operations.
9197 * newcomment.el: Add abundant autoload cookies.
9198 (comment-style): Don't depend on runtime data at compile-time.
9199 (comment-indent-hook): Remove.
9200 (comment-indent): Check if comment-indent-hook is bound.
9201 (comment-region): Docstring fix.
9203 2000-05-25 Dave Love <fx@gnu.org>
9205 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
9206 byte-code-function-p.
9208 * mail/rmailsum.el: Add provide.
9210 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
9212 * smerge-mode.el (smerge-diff-switches): Don't use list* in
9215 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
9217 * ediff-diff.el (ediff-exec-process): delete --binary option from
9218 non-buffer ediff jobs.
9220 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9222 * hilit-chg.el (highlight-changes-mode): Ask about color or
9223 grayscale support, not about window-system.
9225 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
9227 (ffap-highlight): Always default to t.
9229 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
9230 display-popup-menus-p instead of looking at window-system.
9232 * disp-table.el (standard-display-g1, standard-display-graphic):
9233 Only refuse to use string glyphs on X and MS-Windows.
9235 * avoid.el: Remove window-system from commentary, suggest to use
9236 display-*-p instead.
9238 * apropos.el (apropos-print): Use display-mouse-p instead of
9241 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9243 * international/codepage.el (cp-decoding-vector-for-codepage):
9244 Fill up unsupported characters with their own codes. From Kenichi
9247 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9249 * international/mule-diag.el (describe-char-after): Use
9250 display-graphic-p instead of window-system, so that this function
9253 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9255 * international/codepage.el (cp-make-coding-systems-for-codepage):
9256 Remove the eight-bit-graphic and eight-bit-control charsets from
9257 the list of charsets which we convert into `?'.
9259 2000-05-25 Kenichi Handa <handa@etl.go.jp>
9261 * international/mule-conf.el: Specify CHARSET-ID explicitely for
9263 (mule-unicode-0100-24ff, japanese-jisx0213-1,
9264 japanese-jisx0213-2): New charsets.
9266 * international/fontset.el: Setup default fontset for new charsets.
9268 2000-05-24 Dave Love <fx@gnu.org>
9270 * info.el (Info-find-node-2): Restructure [following "Vadim
9271 S. Solomin" <sovs@uic.nnov.ru>].
9273 * icomplete.el: Fix header for Finder.
9275 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
9277 * rmailout.el (rmail-output-to-rmail-file): Added optional param
9280 * rmail.el (rmail-automatic-folder-directives): New user variable.
9281 (rmail-show-message): Add call to `rmail-auto-file' during
9283 (rmail-auto-file): New function.
9285 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9287 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
9289 (ediff-test-utility,ediff-diff-mandatory-option)
9290 (ediff-reset-diff-options): Utilities for proper initialization of
9291 ediff-diff-options and ediff-diff3-options on Windows.
9293 * ediff-init.el (ediff-merge-filename-prefix): New customizable
9296 * ediff-mult.el (ediff-filegroup-action): Use
9297 ediff-merge-filename-prefix.
9299 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9301 * viper-ex.el (ex-write): Set selective display to nil.
9303 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9305 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
9306 aliases for hebrew-iso-8bit.
9308 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9310 * woman.el: New version from Francis J. Wright
9311 <F.J.Wright@Maths.QMW.ac.uk>.
9312 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
9313 names in environment variables regardless of the path separator.
9314 (woman-topic-all-completions-1): Don't call file-name-directory-p
9315 on all files, since woman-file-regexp already filters out any
9318 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9320 * international/quail.el (quail-start-translation): Don't change
9321 modified-p of the current buffer.
9322 (quail-start-conversion): Likewise.
9324 * international/kkc.el (kkc-region): Don't change modified-p of
9327 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
9329 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
9331 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
9333 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
9334 (speedbar-insert-button): Invisible text property fix.
9335 (speedbar-directory-plus): Renamed from speedbar-directory-+
9336 (speedbar-directory-minus): Renamed from speedbar-directory--
9337 (speedbar-page-plus): Renamed from speedbar-file-+
9338 (speedbar-page-minus): Renamed from speedbar-file--
9339 (speedbar-page): Renamed from speedbar-file-
9340 (speedbar-tag): Renamed from speedbar-tag-
9341 (speedbar-tag-plus): Renamed from speedbar-tag-+
9342 (speedbar-tag-minus): Renamed from speedbar-tag--
9343 (speedbar-expand-image-button-alist): Use above renames.
9345 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
9346 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
9347 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
9348 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
9349 * sb-pg.xpm: Renamed from sb-file.xpm
9350 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
9351 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
9353 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9355 * international/quail.el (quail-show-guidance-buf): Set
9356 current-input-method of the guidance buffer to the name of the
9357 curren input method.
9359 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
9361 * progmodes/compile.el (compile-internal): Style typo.
9363 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
9364 quote vars and functions in the docstring.
9366 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
9368 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
9369 Don't quote lambdas.
9371 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
9373 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9375 * startup.el (command-line): Determine source file of compiled
9376 user init file differently. Warn if compiled user init file
9377 is older than its source file.
9379 * ffap.el (ffap-url-regexp): Add `https'.
9381 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
9383 * files.el (make-backup-file-name-1): Replace slashes with `!'
9384 rather than `|' (which is not allowed on Windows). Replace the
9385 drive letters with a string "drive_X".
9387 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9389 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
9391 * files.el (interpreter-mode-alist): Add `bash2'.
9393 2000-05-22 Dave Love <fx@gnu.org>
9395 * loadhist.el (feature-symbols, file-provides, file-requires): Use
9397 (feature-file): Avoid calling symbol-name. Doc fix.
9398 (file-set-intersect, file-dependents): Use dolist, not mapcar.
9399 (loadhist-hook-functions): Add mouse-position-function.
9400 (unload-feature): Change uses of mapcar.
9402 * files.el (parse-colon-path): Doc fix.
9403 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
9404 (set-auto-mode): Use mapc.
9406 * complete.el (PC-look-for-include-file): Use :alnum: character
9408 (partial-completion-mode): Add autoload cookie.
9410 2000-05-22 Sam Steingold <sds@gnu.org>
9412 * info.el (Info-fontify-node): Fixed the call to
9413 `add-text-properties' (bug introduced on 2000-05-18).
9415 2000-05-22 Dave Love <fx@gnu.org>
9417 * bindings.el: Remove debug-ignored-errors set in other files.
9419 * progmodes/etags.el: Add to debug-ignored-errors.
9420 (visit-tags-table-buffer): Clear out buffers holding old tables
9421 when making a new list.
9422 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
9425 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
9427 (cmpl-string-case-type): Use character classes.
9430 * textmodes/ispell.el:
9433 * progmodes/compile.el: Add to debug-ignored-errors.
9435 * dabbrev.el: Add to debug-ignored-errors.
9436 (dabbrev-completion): Use mapc.
9438 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
9440 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
9441 (woman-mapcan, woman-parse-man.conf)
9442 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
9443 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
9444 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
9446 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
9447 (woman-manpath): Call woman-parse-man.conf.
9448 (woman-emulation): New defcustom, defaults to nroff.
9449 (woman-font-support): New defconst.
9450 (woman-use-symbol-font): New defcustom.
9451 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
9453 Many functions: Doc fix.
9455 2000-05-22 Kenichi Handa <handa@etl.go.jp>
9457 * international/quail.el (quail-simple-translation-keymap): Map
9458 128..255 to quail-self-insert-command.
9459 (quail-keyboard-layout-alist): Add definition for "pc102-de".
9461 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
9463 * help.el (help-manyarg-func-alist): Typo.
9465 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
9466 intervals which makes it heaps simpler.
9468 * newcomment.el (comment-region-internal): Go back to BEG after quoting
9469 the nested comment markers.
9471 * subr.el (remove-hook): Don't turn the hook's value into a list.
9473 2000-05-21 Dave Love <fx@gnu.org>
9475 * edmacro.el (edmacro-parse-keys): Return vector if any elements
9476 are invalid characters.
9478 * international/mule-util.el (detect-coding-with-priority): Use
9479 mapc. Remove redundant lambda.
9481 * international/mule-diag.el (list-non-iso-charset-chars)
9482 (describe-fontset): Remove redundant lambda.
9484 * emulation/crisp.el (brief-mode): New alias.
9486 * emacs-lisp/ring.el (ring-elements): New function.
9488 * emacs-lisp/easymenu.el (easy-menu-create-menu)
9489 (easy-menu-do-add-item): Use keywordp.
9491 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
9493 * replace.el: Doc and error message fixes.
9494 (replace-highlight): Use facep, not internal-find-face.
9496 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
9498 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
9500 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
9501 (log-edit-insert-changelog): Drop `:' as well.
9503 * log-view.el: Fix file description.
9504 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9506 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9507 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9509 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9510 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9511 Print a status message if the toggle is called interactively.
9512 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9513 for global minor modes and use `defcustom' for them.
9515 (easy-mmode-define-derived-mode): Remove.
9516 (define-derived-mode): Fancier default docstring.
9517 (easy-mmode-define-navigation): Signal an error rather than (ding).
9519 * newcomment.el (comment-styles): New `box-multi'.
9520 (comment-normalize-vars): Better default for comment-continue to
9521 avoid whitespace-only continuations.
9522 (comment-search-forward): Always move even in the no-syntax case.
9523 (comment-padright): Only obey N if it's only obeyed for padleft.
9524 (comment-make-extra-lines): Better handling of empty continuations.
9525 Use `=' for the filler if comment-start has only one character.
9526 (uncomment-region): Try handling the special `=' filler.
9527 (comment-region): Allow LINES even if MULTI is nil.
9528 (comment-box): Choose box style based on comment-style.
9530 2000-05-20 Kenichi Handa <handa@etl.go.jp>
9532 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9533 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9535 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
9537 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9538 and insert, not subst-char-in-region.
9540 * international/mule-diag.el (list-character-sets-1): Handle
9541 charsets eight-bit-control and eight-bit-graphic.
9542 (list-iso-charset-chars): Likewise.
9543 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9544 charactes as is. Use indent-to to align characters.
9546 * international/mule-cmds.el (find-multibyte-characters): Never
9547 exclude charsets eight-bit-control and eight-bit-graphic.
9549 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9551 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9552 Don't quote lambdas.
9554 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9556 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9558 * gud.el (gud-jdb-directories): Doc fix.
9560 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9562 * newcomment.el: New file.
9564 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9566 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9568 2000-05-18 Andreas Schwab <schwab@suse.de>
9570 * dired.el (dired-between-files): Also skip lines beginning with
9573 2000-05-18 Gerd Moellmann <gerd@gnu.org>
9575 * msb.el (msb-menu-cond): Add choice `user'.
9577 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9579 * ps-print.el: Compatibility, customization and doc fix.
9580 (ps-printer-name-option): Replace defconst by defvar.
9581 (ps-postscript-code-directory): XEmacs compatibility.
9582 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9584 (ps-user-defined-prologue, ps-print-prologue-header)
9585 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9586 compatibility and code fix.
9587 (ps-print-background-image, ps-print-background-text):
9589 (ps-line-number-start, ps-n-up-on): New vars.
9591 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9593 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9594 the indent-comment function to just return the appropriate indent.
9596 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9598 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9599 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9600 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9602 2000-05-18 Dave Love <fx@gnu.org>
9604 * info.el (Info-fontify-node): Add intangible property as well as
9607 * calendar/appt.el (appt-make-list): Match all lines of entry.
9608 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9610 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9612 * international/mule-diag.el (describe-char-after): Call
9613 internal-char-font, not char-font. If internal-char-font returns
9614 nil, display "-- none --".
9616 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9618 * image.el (image-type-available-p): Don't reference image-types
9621 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9623 * autoarg.el (autoarg-mode): Typo in the :set argument.
9625 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9627 * startup.el (command-line-1): Don't signal an error if the
9628 directory for auto-save-list files does not yet exist.
9630 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9632 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9634 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9636 * subr.el (remove-hook): `setq' hook-value, not `set'.
9638 2000-05-16 Sam Steingold <sds@gnu.org>
9640 * info.el (debug-ignored-errors): More errors to ignore.
9642 2000-05-16 Dave Love <fx@gnu.org>
9644 * cus-edit.el: Don't require cl or easymenu.
9645 (custom-variable-prompt): Test standard-value property, not
9648 2000-05-16 Sam Steingold <sds@gnu.org>
9650 * subr.el (add-hook): `setq' hook-value, not `set'.
9652 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9654 * startup.el (command-line-1): Mention the FAQ in the startup
9657 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9659 * progmodes/compile.el (compilation-parse-errors): Collect
9660 `nomessage' regexps last.
9662 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9664 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9665 to the function name.
9667 2000-05-15 Dave Love <fx@gnu.org>
9669 * speedbar.el (speedbar-recenter): Typo.
9670 (speedbar-expand-line): Make arg optional.
9671 (speedbar-mode): Avoid a compiler warning.
9673 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9675 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9676 user-specified option string is empty.
9678 * mouse.el (mouse-yank-at-click): Doc fix.
9680 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9682 * term/internal.el (IT-character-translations): More updates of
9683 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9686 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9688 * env.el (getenv): New function, interactively callable.
9689 (setenv, getenv): Remove autoload cookies.
9691 * loadup.el: Load `env'.
9693 * progmodes/f90.el: Change author's mail address.
9695 2000-05-14 Dave Love <fx@gnu.org>
9697 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9698 goto-addr as an option.
9700 * help.el (help-xref-stack): Doc fix.
9701 (help-xref-following): New variable.
9702 (help-make-xrefs): Use it.
9703 (help-xref-go-back): Use position information from stack element.
9704 (help-follow): Make position in stack element a pair. Use
9705 help-xref-following.
9707 * autoarg.el: New file.
9709 * faces.el: Declare more functions obsolete.
9711 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9712 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9713 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9714 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9715 Remove all the setup-...-environment functions.
9717 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9719 * speedbar.el: Updated the commentary section. xemacs20p now uses
9720 >= when detecting. Require `defimage' safely.
9721 (speedbar-easymenu-definition-base): Add toggle for images.
9722 (speedbar-easymenu-definition-special): Add flush cache & expand.
9723 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9724 (speedbar-reconfigure-keymaps-hook): New variable.
9725 (speedbar-frame-parameters): Updated documentation.
9726 (speedbar-use-imenu-flag): Updated custom tag
9727 (speedbar-dynamic-tags-function-list): New variable.
9728 (speedbar-tag-hierarchy-method): Updated doc & custom.
9729 (speedbar-indentation-width, speedbar-indentation-width) New
9731 (speedbar-hide-button-brackets-flag): Customizable.
9732 (speedbar-vc-indicator): Doc update.
9733 (speedbar-ignored-path-expressions): Updated default value.
9734 (speedbar-supported-extension-expressions): Updated default value.
9735 (speedbar-syntax-table): Remove {} paren status.
9736 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9737 as "+". Added overlay aliases.
9738 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9739 `force-mode-line-update'.
9740 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9741 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9743 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9744 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9745 of arbitrary text, and new helper functions.
9746 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9748 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9749 (speedbar-directory-buttons): Update path search/expansion.
9750 (speedbar-make-tag-line): Pay attention to
9751 `speedbar-indentation-width'. Use more care w/ invisible
9753 (speedbar-change-expand-button-char): Call
9754 `speedbar-insert-image-button-maybe'.
9755 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9756 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9757 (speedbar-trim-words-tag-hierarchy)
9758 (speedbar-simple-group-tag-hierarchy): New functions
9759 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9760 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9762 (speedbar-mouse-set-point): New function
9763 (speedbar-power-click): Updated documentation.
9764 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9766 (speedbar-expand-line, speedbar-contract-line): Make more robust
9768 (speedbar-expand-line): Takes universal argument to flush the
9770 (speedbar-flush-expand-line): New function.
9771 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9772 Use new generator insertion method.
9773 (speedbar-fetch-dynamic-tags): New function.
9774 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9775 `speedbar-fetch-dynamic-imenu'.
9776 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9777 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9778 "Revert Buffer" menu items.
9779 (speedbar-buffer-buttons-engine): Be smarter when creating a
9780 filename tag (for expansion purposes.).
9781 (speedbar-highlight-one-tag-line,
9782 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9783 (speedbar-recenter): New functions.
9784 (defimage-speedbar): Image loading abstraction.
9785 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9786 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9787 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9788 (speedbar-tag-type, speedbar-tag-mail): New images.
9789 (speedbar-expand-image-button-alist): New variable.
9790 (speedbar-insert-image-button-maybe): Insert an image over some
9793 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9795 * international/mule-cmds.el (encode-coding-char): An ASCII
9796 character is always encodable.
9798 * international/mule-conf.el: Add more information in descriptions
9801 * international/mule-diag.el (describe-char-after): New function.
9802 (describe-font-internal): Adjusted for the change of font-info.
9803 (describe-font): Likewise.
9804 (print-fontset): Rewritten for the new fontset implementation.
9805 (describe-fontset): Include fontset alias names in completion.
9806 (list-fontsets): Adjusted for the change of print-fontset.
9808 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9809 describe-char-after instead of displaying the detail in the echo
9811 (syntax-code-table): Format changed.
9812 (string-to-syntax): Adjusted for the above change.
9814 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9816 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9818 2000-05-12 Dave Love <fx@gnu.org>
9820 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9821 dependence. Use line-{beginning,end}-position, not
9822 point-at{b,e}ol. Some doc fixes.
9823 (todo-position): New function. Fix callers of position to use it.
9824 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9826 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9828 * time.el (display-time-mail-icon): Use `:ascent center'.
9830 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9831 handling FTP security extensions.
9833 2000-05-11 Dave Love <fx@gnu.org>
9835 * calendar/todo-mode.el: New file.
9837 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9839 * comint.el (comint-read-input-ring): Move reference to
9840 comint-input-ring-size outside of the save-excursion. It was
9841 causing the default value to be the only one ever seen.
9843 * font-lock.el: Update copyright. Remove Simon Marshall's email
9844 address on request from him.
9846 * subr.el (substitute-key-definition): Add comment describing
9847 the meaning of PREFIX.
9849 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9851 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9853 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9854 (add-minor-mode): Don't make the variable buffer-local and add a
9855 reference to define-minor-mode in the docstring.
9857 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9858 HEADER/FOOTER and fix bug with trailing empty directory.
9859 (cvs-append-to-ignore): Use vc-editable-p if available.
9860 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9861 (vc-do-command): Tweak advice to handle the new VC.
9863 * log-view.el (log-view-goto-rev): New function for the new VC.
9864 (log-view-minor-wrap): Use mark-active.
9866 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9867 (log-edit-changelog-full-paragraphs): New var.
9868 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9869 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9870 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9871 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9872 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9873 Replace the `cvs' prefix with `log-edit'.
9875 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9877 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9878 (diff-font-lock-defaults): Explicitly turn off multiline.
9879 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9880 (diff-ediff-patch): Fix call to ediff-patch-file.
9881 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9884 * frame.el (automatic-hscrolling): Typo.
9886 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9888 2000-05-09 Sam Steingold <sds@goems.com>
9890 * apropos.el (apropos-print): use `describe-face' instead of
9891 `customize-face-other-window'.
9893 2000-05-09 Dave Love <fx@gnu.org>
9895 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9897 * help.el (describe-variable): Have customize button pop the
9898 help-xref stack when invoked.
9899 (help-xref-symbol-regexp): Add `face'.
9900 (help-make-xrefs): Check for quoted face names and adapt regexp
9901 submatch numbers to cope.
9902 (help-xref-interned): Maybe insert face doc too. Separate
9903 sections with a line of hyphens.
9905 * faces.el: Some doc fixes. Declare some functions obsolete.
9906 (describe-face): Add customize button. Return the help
9909 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9911 * term/internal.el (IT-character-translations): Fix last change.
9913 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9915 * woman.el: New file
9916 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9918 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9920 * term/internal.el (IT-character-translations): Update ASCII
9921 simulations for greek-iso8859-7, add latin-iso8859-14 and
9924 * international/mule-cmds.el (set-language-info-alist): Call
9925 define-prefix-command with 3 arguments, to make the map suitable
9928 2000-05-07 Dave Love <fx@gnu.org>
9930 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9932 2000-05-05 Dave Love <fx@gnu.org>
9934 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9935 list in doc string. Don't quote keyword symbols.
9936 * emacs-lisp/cl.el: Likewise
9937 * emacs-lisp/cl-seq.el: Likewise
9939 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9941 * abbrev.el (abbrev-mode): Make ARG optional.
9943 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9945 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9947 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9949 * subr.el (substitute-key-definition): Clarify documentation.
9951 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9953 * glasses.el (glasses-convert-to-unreadable): Use
9954 `glasses-separator' instead of the hard-wired "_".
9955 (glasses-mode): Call `glasses-make-unreadable' only in a single
9958 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9960 * term/internal.el (cjk-codepages-alist): Add associations for
9961 Chinese and Korean codepages. Remove FIXME comment.
9963 2000-05-03 Dave Love <fx@gnu.org>
9965 * time.el (display-time-mail-face, display-time-use-mail-icon):
9967 (display-time-mail-icon): New variable.
9968 (display-time-string-forms): Use the above. Fix the local-map.
9970 2000-05-03 Gerd Moellmann <gerd@gnu.org>
9972 * replace.el (query-replace-map): Add binding for `E'.
9973 (query-replace-help): Extend help text.
9974 (perform-replace): Allow editing the replacement string.
9976 * make-mode.el (makefile-mode-abbrev-table): New variable.
9977 (makefile-mode): Set local abbrev table to
9978 makefile-mode-abbrev-table.
9979 (makefile-font-lock-keywords): Fontify includes and conditionals.
9981 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9984 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9985 mail-interactive-insert-alias.
9986 (mail-abbrev-complete-alias): New command.
9987 (mail-mode-map): Bind it to `M-TAB'.
9989 2000-05-03 Kenichi Handa <handa@etl.go.jp>
9991 * language/lao-util.el (lao-compose-region): New function.
9993 2000-05-02 Gerd Moellmann <gerd@gnu.org>
9995 * files.el (recover-session): Make directories as necessary
9996 if they don't exist yet.
9998 * calendar/cal-french.el
9999 (french-calendar-multibyte-special-days-array)
10000 (french-calendar-special-days-array): Change French text.
10001 (calendar-french-date-string): Change output.
10002 (calendar-goto-french-date): Likewise.
10004 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
10006 * wid-edit.el (widget-default-active): Obey `:always-active'.
10007 (widget-documentation-string-value-create): Set `:always-active'.
10009 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10011 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
10012 default prefix to `~/_emacs.d/auto-save.list/_s'.
10013 (normal-top-level): Create the directory for auto-save files, if
10014 it doesn't already exist (in the ms-dos case only).
10016 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10018 * international/mule-cmds.el (set-language-environment): Don't
10019 concat an integer (dos-codepage), use format instead.
10021 2000-05-02 Dave Love <fx@gnu.org>
10023 * help.el (help-xref-on-pp): Check for constant symbols.
10025 2000-04-29 Gerd Moellmann <gerd@gnu.org>
10027 * startup.el (normal-top-level): Put a condition-case around
10028 the code loading subdirs.el.
10030 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10032 * ps-print.el: Upside-down and face background color printing,
10033 line number step, doc fix.
10034 (ps-print-version): New version number (5.2).
10035 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
10036 (ps-face-attribute-list, ps-plot-with-face): Code fix.
10037 (ps-spool-config): Var fix.
10038 (ps-printer-name-option): Const fix.
10039 (ps-print-upside-down, ps-use-face-background)
10040 (ps-line-number-step): New vars.
10041 (ps-window-system, ps-lp-system): New consts.
10042 (ps-face-background): New fun.
10044 2000-04-28 Richard Stallman <rms@gnu.org>
10046 * files.el (make-auto-save-file-name):
10047 Apply auto-save-file-name-transforms to visited file name
10048 before generating auto save file name.
10049 (auto-save-file-name-transforms): New variable.
10051 * files.el (backup-enable-predicate):
10052 Correctly test for a file under a temporary directory.
10054 2000-04-28 Gerd Moellmann <gerd@gnu.org>
10056 * subr.el (add-minor-mode): Rewritten.
10058 2000-04-28 Kenichi Handa <handa@etl.go.jp>
10060 * mail/sendmail.el (sendmail-send-it): Set
10061 buffer-file-coding-system to the selected coding system for MIME
10064 2000-04-27 Gerd Moellmann <gerd@gnu.org>
10066 * dired.el (dired-move-to-filename-regexp): Allow format where
10067 YYYY is followed by two spaces.
10069 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
10070 in the second character class of the regexp.
10072 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
10075 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
10078 * subr.el (add-minor-mode): Use `set' instead of `setq'.
10080 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
10083 2000-04-27 Sen Nagata <sen@eccosys.com>
10085 * emacs-lisp/crm.el (crm-completion-table): New variable.
10086 (crm-collection-fn, crm-test-completion)
10087 (completing-read-multiple): Use it.
10089 2000-04-27 Dave Love <fx@gnu.org>
10091 * help.el (locate-library): Use mapc.
10092 (help-manyarg-func-alist): Add call-process-region.
10094 2000-04-26 Gerd Moellmann <gerd@gnu.org>
10096 * subr.el (add-minor-mode): Make argument MAP optional.
10098 * desktop.el (desktop-save): Save list of minor modes.
10099 (desktop-create-buffer): Restore minor modes.
10100 (desktop-minor-mode-table): New user-option.
10102 * subr.el (add-minor-mode): New function.
10104 * image.el (find-image): New function.
10105 (defimage): Rewritten to find image at load time.
10107 * startup.el (normal-top-level-add-to-load-path): Handle
10108 case that the default directory is not in load-path.
10110 * help.el: Old patch from Stefan Monnier.
10111 (help-xref-on-pp): New function.
10112 (describe-variable): Use it to display xrefs in a symbol's value.
10114 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
10116 * cus-edit.el (custom-face): Fix parenthesis.
10118 2000-04-26 Kenichi Handa <handa@etl.go.jp>
10120 * mail/rmail.el (rmail-expunge): When there are no deleted
10121 messages, do nothing.
10123 2000-04-26 Dave Love <fx@gnu.org>
10125 * international/mule-cmds.el (locale-translation-file-name):
10127 (set-locale-environment): Set it here (at runtime).
10129 2000-04-25 Gerd Moellmann <gerd@gnu.org>
10131 * replace.el (perform-replace): Add parameters START and END. Use
10132 them instead of the check for a region in Transient Mark mode.
10133 (query-replace-read-args): Return two more list elements for the
10134 start and end of the region in Transient Mark mode.
10135 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10136 (map-query-replace-regexp, replace-string, replace-regexp): Add
10137 optional last arguments START and END and pass them to
10140 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
10141 form with additional arguments for perform-replace.
10143 * progmodes/etags.el (tags-query-replace): Add parameters START
10144 and END. Construct a form with additional arguments for
10147 * simple.el (shell-command): Set default directory for "*Shell
10148 Command Output" buffer.
10150 * language/european.el (iso-latin-4): Fix typo.
10152 * emacs-lisp/crm.el: New file.
10154 2000-04-24 Dave Love <fx@gnu.org>
10156 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
10157 (Custom-reset-saved, Custom-reset-standard)
10158 (custom-group-value-create, custom-group-set, custom-group-save)
10159 (custom-group-reset-current, custom-group-reset-saved)
10160 (custom-group-reset-standard): Use mapc.
10161 (custom-buffer-create-internal): Disable undo when creating items.
10163 (custom-face): Avoid redundant lambda.
10165 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10167 * startup.el (auto-save-list-file-prefix): Set default to
10168 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
10170 2000-04-24 Sam Steingold <sds@gnu.org>
10172 * time-stamp.el (time-stamp-string-preprocess): Always convert
10173 `field-result' to a string.
10175 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10177 * frame.el (scrolling): New group.
10178 (automatic-hscrolling): New user-option.
10180 * startup.el (command-line-x-option-alist): Add `-lsp' and
10183 2000-04-19 Dave Love <fx@gnu.org>
10185 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
10186 (cl-mapc): Rename from mapc. Fix the funcall.
10188 2000-04-19 Gerd Moellmann <gerd@gnu.org>
10190 * simple.el (clone-indirect-buffer-other-window): New command.
10191 (clone-indirect-buffer): Add optional arg NORECROD.
10192 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
10194 * help.el (resize-temp-buffer-window): Use count-screen-lines.
10196 * window.el (count-screen-lines): New function.
10197 (shrink-window-if-larger-than-buffer): Use count-screen-lines
10198 instead of window-buffer-height.
10200 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
10201 non-existing variable comint-input-sentinel.
10202 (inferior-lisp-args-to-list): Removed.
10203 (inferior-lisp): Use split-string instead of
10204 inferior-lisp-args-to-list.
10206 * hexl.el (hexl-insert-hex-string): New command.
10208 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
10211 2000-04-18 Gerd Moellmann <gerd@gnu.org>
10213 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
10214 at the start of an existing but empty folder.
10216 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10218 * ps-mule.el: Customization fix, doc fix.
10219 (ps-multibyte-buffer): Customization fix.
10221 2000-04-17 Richard M. Stallman <rms@gnu.org>
10223 * subr.el (read-passwd): Use read-char-exclusive.
10225 2000-04-17 Gerd Moellmann <gerd@gnu.org>
10227 * textmodes/texinfo.el (texinfo-insert-@email)
10228 (texinfo-insert-@emph, texinfo-insert-@quotation)
10229 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
10230 (texinfo-mode-map): Add key bindings for them.
10232 * files.el (basic-save-buffer-2): Use a template with `$'
10233 instead of `#' for VMS.
10235 * simple.el (clone-indirect-buffer): New function.
10237 2000-04-16 Stephen Eglen <stephen@gnu.org>
10239 * iswitchb.el (iswitchb-case): New function. If the user input
10240 contains any upper-case characters, the search is made
10243 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
10245 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
10247 (texinfo-font-lock-syntactic-keywords): New var.
10248 (texinfo-font-lock-keywords): Remove comment regexp.
10249 (texinfo-insert-block): New function.
10250 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
10251 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
10252 and font-lock-defaults. Use regexp-opt for outline-regexp.
10253 (texinfo-environments): New var.
10254 (texinfo-environment-regexp): Use regexp-opt and
10255 texinfo-environments.
10257 * textmodes/ispell.el (ispell-menu-map-needed): Check that
10258 ispell-process is bound since this might be eval'd before ispell
10260 (ispell-message): Use a tiny bit less magic and a bit more hard
10261 data to figure out what kind of sc-cite-regexp to use.
10263 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
10265 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
10266 (insert-cyclic-diary-entry): Unquote the lambda.
10268 * gud.el (gud-jdb-build-source-files-list): Fix typo.
10270 * files.el (backup-enable-predicate): Unquote the lambda.
10272 * cus-edit.el (custom-face, face): Unquote the lambda.
10274 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10276 * ps-print.el: Check for line-beginning-position definition.
10278 * ps-print.el: Fix counting lines in a region.
10279 (ps-print-version): New version number (5.1.5).
10280 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
10281 (ps-printing-region): Fun code fix.
10283 2000-04-15 Gerd Moellmann <gerd@gnu.org>
10285 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
10286 to file-directory-p.
10288 2000-04-14 Gerd Moellmann <gerd@gnu.org>
10290 * gud.el (gud-jdb-build-source-files-list): Check that directory
10291 exists before calling directory-files.
10293 2000-04-13 Dave Love <fx@gnu.org>
10295 * emacs-lisp/trace.el: Change maintainer. Use new backquote
10298 * emacs-lisp/cl-specs.el: Remove when, unless.
10300 * emacs-lisp/cl-extra.el: Don't quote keywords.
10301 (cl-old-mapc): New variable.
10303 (cl-map-intervals): Use with-current-buffer. Don't check for
10304 next-property-change.
10305 (cl-map-overlays): Use with-current-buffer.
10307 (copy-tree, remprop): Define unconditionally.
10309 * emacs-lisp/cl-compat.el (keywordp): Remove.
10311 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
10313 (edebug-spec): Enable keywordp.
10315 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
10318 * cus-start.el: Use keywordp.
10320 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10322 * diary-lib.el (include-other-diary-files): Fix the fix of
10323 2000-02-18 by doing a save-excursion.
10325 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10327 * ps-print.el: Customization fix, doc fix.
10328 (ps-print-version): New version number (5.1.4).
10329 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
10330 (ps-print-preprint): Adjust code.
10331 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
10332 (ps-print-prologue-header, ps-print-control-characters)
10333 (ps-spool-config): Customization fix.
10335 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
10337 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
10338 converted to the new menu-item format, names silightly changed,
10339 help strings added.
10341 Support for spelling without async subprocesses:
10343 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
10344 (ispell-session-buffer): New variables.
10345 (ispell-start-process, ispell-process-status,
10346 ispell-accept-output, ispell-send-string): New functions, for
10347 Ispell invocation when async subprocesses aren't supported.
10348 (ispell-word, ispell-pdict-save, ispell-command-loop,
10349 ispell-process-line, ispell-buffer-local-parsing): Replace calls
10350 to process-send-string with calls to ispell-send-string, and
10351 accept-process-output with ispell-accept-output.
10352 (ispell-init-process): Call ispell-process-status instead of
10353 process-status with.
10354 (ispell-init-process): Call ispell-start-process. Call
10355 ispell-accept-output and ispell-send-string. Don't call
10356 process-kill-without-query and kill-process if they are unbound.
10357 (ispell-async-processp): New function.
10359 2000-04-12 Dave Love <fx@gnu.org>
10361 * info.el: Add debug-ignored-errors.
10362 (Info-mode-menu): Add some items.
10363 (Info-directory): Add autoload cookie.
10365 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
10366 Modify `truncate-lines'. Make `describe-language-environment'
10367 always visible and add help. Modify `describe-key' help. Invoke
10368 Info-directory from `info'. New entry `emacs-manual'.
10370 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10372 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
10373 propertized-buffer-identification.
10374 (ebrowse-update-member-buffer-mode-line): Likewise.
10375 (ebrowse--mode-strings): Removed.
10376 (ebrowse--mode-line-props): Removed.
10378 * files.el (auto-mode-alist): Add `EBROWSE'.
10380 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
10381 space before testing for end of buffer.
10382 (ebrowse-load): Removed.
10383 (ebrowse-revert-tree-buffer-from-file): Rewritten.
10384 (ebrowse-create-tree-buffer): Rewritten.
10385 (ebrowse-tree-mode): Read tree from buffer.
10387 * progmodes/ebrowse-ffh.el: Removed.
10389 2000-04-10 Kenichi Handa <handa@etl.go.jp>
10391 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
10393 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10395 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
10396 at the wrong place.
10398 2000-04-09 Dave Love <fx@gnu.org>
10400 * files.el (backup-enable-predicate): Use
10401 temporary-file-directory, small-temporary-file-directory.
10402 (make-backup-file-name-function, backup-directory-alist): New
10404 (make-backup-file-name-1): New function.
10405 (make-backup-file-name): Use it.
10406 (find-backup-file-name): Likewise. Use format for clarity, not
10408 (file-newest-backup): Use make-backup-file-name.
10410 2000-04-09 Gerd Moellmann <gerd@gnu.org>
10412 * progmodes/ebrowse-ffh.el: New file.
10414 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
10416 (ebrowse-load): Add autoload.
10418 * finder.el (finder-commentary): Add autoload cookie.
10420 * mail/rfc2368.el: Correct author's email address.
10422 * progmodes/ebrowse.el: New file.
10424 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
10426 (easy-menu-do-add-item): Ditto.
10427 (easy-menu-define): Extend doc string.
10429 * jit-lock.el (with-buffer-unmodified): Use
10430 restore-buffer-modified-p.
10431 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
10432 (jit-lock-function, jit-lock-stealth-fontify): Don't use
10433 with-buffer-unmodified.
10435 2000-04-08 Dave Love <fx@gnu.org>
10437 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
10440 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
10442 * viper-util.el (viper-put-on-search-overlay): New subroutine.
10443 (viper-flash-search-pattern): No operation when using Emacs
10444 doesn't support face.
10445 Use `viper-put-on-search-overlay'.
10447 2000-04-04 Gerd Moellmann <gerd@gnu.org>
10449 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
10452 * progmodes/make-mode.el: Some doc fixes.
10453 (makefile-mode-abbrev-table): New variable.
10454 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
10455 (makefile-font-lock-keywords): Fontify includes and conditionals.
10456 (toplevel): Require `dabbrev' and `add-log' when compiling.
10458 * replace.el (perform-replace): Don't move forward one char
10459 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
10460 to do that because it leaves point 1 position after the last
10461 replacement, after everything has been replaced.
10463 * jit-lock.el (with-buffer-unmodified): New macro.
10464 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
10466 (jit-lock-function-1): Extracted from jit-lock-function; not
10467 preserving buffer's modified state.
10468 (jit-lock-function, jit-lock-stealth-fontify): Call
10469 jit-lock-function-1.
10471 * mail/rfc2368.el: Remove supernumerary copyright line.
10473 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
10475 * glasses.el: Provide facilities for inserting space before left
10476 parentheses and uncapitalization of identifiers.
10477 (glasses-mode): Try to remove old overlays in all cases.
10479 2000-04-03 Gerd Moellmann <gerd@gnu.org>
10481 * progmodes/compile.el (compile-internal): Display the compilation
10482 buffer in a different frame, if it's already displayed there.
10484 * mail/rfc2368.el: New file.
10486 * simple.el (sendmail-user-agent-compose): Recognize a `body'
10487 header and insert its value as mail body.
10489 * subr.el (member-ignore-case): New function.
10491 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
10492 (dabbrev--find-expansion): Ignore buffers matching a regexp
10493 from dabbrev-ignored-regexps.
10495 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
10496 to extensions handled by gzip.
10498 2000-04-03 Richard M. Stallman <rms@gnu.org>
10500 * files.el (insert-directory): List the total free space
10501 along with the used space.
10503 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
10504 line is followed by one that matches CITATION-REGEXP, end the
10507 2000-04-03 Markus Rost <rost@delysid.gnu.org>
10509 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10510 (rmail-make-basic-summary-line): Use that option.
10512 2000-04-03 Kenichi Handa <handa@etl.go.jp>
10514 * international/mule-cmds.el (encoded-string-description):
10515 Rewritten. Try pretty description for ISO 2022 escape sequences
10516 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
10517 for hexadecimal format.
10519 2000-04-01 Dave Love <fx@gnu.org>
10521 * cpp.el: Change customization group to `c' from `C'.
10523 * vcursor.el (vcursor-move): Use display-color-p.
10525 * international/mule-util.el: Provide mule-utils.
10526 (string-to-sequence): Simplify and speed up.
10528 * international/mule.el (make-coding-system): Purecopy doc-string.
10530 * international/mule-cmds.el: Various menu changes.
10531 (describe-specified-language-support): Handle `Default'.
10532 (set-language-info): Purecopy `info'.
10534 2000-03-31 Andrew Innes <andrewi@gnu.org>
10536 * vc.el (vc-backend-diff): Return the correct status if we had to
10537 retry the rcsdiff command without the --brief option.
10539 2000-03-31 Dave Love <fx@gnu.org>
10541 * help.el (help-manyarg-func-alist): Correct several omissions.
10543 * add-log.el: Don't require cl, fortran.
10544 (add-log-current-defun-function): Doc fix.
10545 (change-log-version-number-regexp-list): Remove SCCS part. Doc
10547 (change-log-version-rcs): Function deleted.
10548 (change-log-version-number-search): Doc fix. Use
10549 vc-workfile-version. Avoid CL dolist.
10550 (add-change-log-entry): Just call add-log-current-defun to get
10551 defun. Simplify somewhat.
10552 (change-log-get-method-definition-1): Likewise.
10553 (add-log-current-defun): Return nil if calling
10554 add-log-current-defun-function does so. Move Fortran stuff to
10555 fortran.el. Return string without properties.
10557 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10558 and :alpha: char classes.
10560 * mail/supercite.el: Defvar curline when compiling.
10561 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10562 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10563 rather than a-zA-Z0-9 to allow non-ASCII characters.
10565 2000-03-31 Gerd Moellmann <gerd@gnu.org>
10567 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10569 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10570 Re-enable new code.
10572 * lpr.el (print-region-1): Use -d to specify printer name for
10573 systems `usg-unix-v*, `dgux', `hpux', `irix'.
10575 2000-03-31 Dave Love <fx@gnu.org>
10577 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10578 for function definition in symbol's function value slot first
10579 instead of first consulting byte-compile-function-environment.
10581 2000-03-31 Kenichi Handa <handa@etl.go.jp>
10583 * language/european.el ("Polish"): New language environment.
10584 (setup-polish-environment): New function.
10586 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10588 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10591 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10592 trying to `load' the symbol of an autoload instead of the file
10593 recorded in the autoload. Fix error messages.
10595 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10597 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10598 (ps-print-version): New version number (5.1.3).
10599 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10600 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10601 (ps-generate-postscript-with-faces): Code fix.
10602 (ps-color-values): XEmacs compatibility.
10603 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10604 (ps-default-fg, ps-default-bg): Adjust customization.
10605 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10606 (ps-color-scale): Renaming old ps-color-value fun.
10607 (ps-print-headers): Replace ps-print-header group to avoid conflict
10608 with ps-print-header variable.
10609 (ps-print-miscellany): New group.
10610 (ps-format-color, ps-rgb-color): New funs.
10611 (ps-default-foreground): New var.
10612 (ps-printer-name-option): New const.
10614 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10616 * net/net-utils.el:
10617 (network-connection-host, network-connection-service): New variables
10618 (network-connection-mode): New mode, derived from comint-mode
10619 (network-connection-mode-setup): New function, saves host and
10620 service information in local variables.
10623 (locate-word-at-point): Added this function
10624 (locate): Default to using locate-word-at-point as input
10625 Run dired-mode-hook
10627 2000-03-29 Dave Love <fx@gnu.org>
10629 * calendar/appt.el: Doc fixes.
10630 (appt-check): Convert min-to-app to a string before passing to
10631 appt-disp-window-function or concat.
10632 (appt-delete-window): Remove test for frame-root-window.
10633 (appt-select-lowest-window, appt-convert-time): Simplify.
10635 * emacs-lisp/bytecomp.el: Doc fixes.
10636 (byte-compile-file-form-autoload): Update
10637 byte-compile-function-environment.
10639 2000-03-29 Andreas Schwab <schwab@suse.de>
10641 * emacs-lisp/autoload.el: Also print defsubst doc string
10644 * dired.el (dired-insert-directory): If dired-free-space-program
10645 failed just delete its output.
10647 2000-03-29 Dave Love <fx@gnu.org>
10649 * international/iso-cvt.el: Move provide to end. Doc fixes.
10650 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10651 (iso-iso2sgml, iso-sgml2iso): New functions.
10652 (iso-cvt-define-menu): Fix some entries and use backquote for
10655 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10657 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10659 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10660 ISO-DATE. If non-nil, return date in ISO 8601 format.
10662 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10664 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10665 if it ever becomes used.
10666 (log-edit-mode-hook): Default to vc-log-mode-hook.
10667 (log-edit-mode): Fix the docstring.
10669 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10672 2000-03-26 Dave Love <fx@gnu.org>
10674 * net/browse-url.el (browse-url): Re-fix case of
10675 browse-url-browser-function being an alist.
10676 (browse-url): Add :link to defgroup.
10678 * files.el: Doc fixes.
10679 (file-truename): Include `[' in wildcard characters.
10680 (automount-dir-prefix): Customize.
10681 (find-file-wildcards): Add :version.
10682 (find-file-noselect): Simplify a mapcar call.
10684 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10685 compatible with inf-lisp version.
10686 (eval-defun-1): Fix custom-declare-variable case.
10688 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10690 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10692 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10694 * Makefile (COMPILE_FIRST): New macro.
10695 (compile-files): Compile files from COMPILE_FIRST first.
10697 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10700 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10701 matching open parenthesis in column 0 to defun-prompt-regexp
10702 only if open-paren-in-column-0-is-defun-start is set.
10704 * sun-curs.el: Require CL at compile-time only.
10706 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10707 instead of copy-list which is a function from CL.
10708 (msb--choose-menu, msb--mode-menu-cond)
10709 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10710 (msb--init-file-alist): Use mapcar instead of mapcan.
10711 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10712 `(' in column 0 in doc string.
10713 (msb--add-separators): Use mapcar instead of mapcan.
10715 * cus-dep.el: Require CL at compile-time only.
10717 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10719 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10720 (byte-compile-warnings): New warning `noruntime'.
10721 (byte-compile-constants, byte-compile-variables): Fix docstring.
10722 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10723 execute `eval-whenc-compile's body.
10724 (byte-compile-unresolved-functions): Fix docstring.
10725 (byte-compile-eval): New function.
10726 (byte-compile-callargs-warn): Check if the function will be available
10727 at runtime (via property `byte-compile-noruntime').
10728 (byte-compile-print-syms): New function.
10729 (byte-compile-warn-about-unresolved-functions): Also warn about
10730 `noruntime' functions (and use `byte-compile-print-syms').
10731 (byte-compile-file): Capitalize the message.
10733 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10735 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10736 (rmail-expunge): Ask for confirmation depending on the setting
10737 of rmail-confirm-expunge.
10739 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10741 * Makefile (bootstrap-clean): If $(emacs) exists, build
10742 loaddefs.el first. A loaddefs.el that's not up-to-date might
10743 cause a bootstrap failure because things don't autoload as
10746 2000-03-23 Dave Love <fx@gnu.org>
10748 * net/browse-url.el: Restore previous use of
10749 browse-url-maybe-new-window.
10751 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10753 * ps-print.el: Skip banner page fix.
10754 (ps-print-version): New version number (5.1.2).
10755 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10757 2000-03-23 Dave Pearson <davep@davep.org>
10759 * net/quickurl.el Changed the type of parameter passed to the
10760 function defined by `quickurl-format-function'. Before only the
10761 text of the URL was passed. Now the whole URL structure is passed
10762 and the function is responsible for extracting the parts it
10763 requires. Changed the default of `quickurl-format-function'
10765 (quickurl-insert): Changed the `funcall' of
10766 `quickurl-format-function' to match the above change.
10767 (quickurl-list-insert): Changed the `url' case so that it makes
10768 use of `quickurl-format-function', previous to this the format was
10771 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10773 * startup.el: Change some spellings for the X Window System.
10775 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10777 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10778 up the code and the regexp and make sure the cursor is temporarily
10779 moved to the suspicious line while querying the user.
10781 2000-03-22 Jason Rumney <jasonr@gnu.org>
10783 * w32-fns.el (w32-charset-info-alist): Initialize.
10785 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10787 * ps-print.el: N-up last page fix.
10788 (ps-print-version): New version number (5.1.1).
10789 (ps-end-file, ps-end-job, ps-generate): Code fix.
10791 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10793 * files.el (find-file-run-dired): Update docstring.
10794 (find-directory-functions): New hook.
10795 (find-file-noselect): Run find-directory-functions rather than
10796 calling dired directly.
10798 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10800 * pcvs.el: Add a minimal leading commentary.
10801 (cvs-make-cvs-buffer): Change the header part by removing the startup
10802 message and adding a `Module' entry. Also replace the FOOTER and
10803 HEADER special fileinfos with the new support in ewoc for updating
10804 its own footer and header.
10805 (cvs-update-header): Update to use the header/footer of the ewoc.
10806 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10807 (cvs-is-within-p): New function.
10808 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10809 to only examine some subset of the buffers.
10811 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10812 `format' instead of our own ad-hoc functions.
10813 Remove HEADER and FOOTER cases, now handled in the EWOC.
10814 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10816 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10817 output to avoid scaring the user.
10818 (cvs-parse-table): Catch message for non-up-to-date commits.
10820 * pcvs-defs.el (cvs-startup-message): Remove.
10821 (cvs-global-menu): New autoloaded menu.
10823 * pcvs-util.el (cvs-string-fill): Remove.
10825 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10826 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10827 PP part of it and also make it work for footers and headers.
10828 (ewoc-create): Drop POS and BUFFER arguments.
10829 Use the DLL's dummy node to store the end-of-footer position.
10830 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10831 (ewoc-refresh): Remove unused `header' variable.
10832 (ewoc-(get|set)-hf): New functions.
10834 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10835 log-view-*-(message|file) and use easy-mmode-define-navigation.
10836 (log-view-message-re): Match SCCS format as well.
10837 And match the revision line rather than the dashed separator line.
10838 (log-view-mode): Use the new define-derived-mode.
10839 (log-view-current-tag): Fill in with an actual implementation.
10841 * cvs-status.el (cvs-status-(prev|next)): Rename from
10842 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10843 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10844 to let the output "breathe" a little more (more readable).
10845 (cvs-status-mode): Use the new define-derived-mode.
10847 * smerge-mode.el (smerge-auto-leave): New function and variable.
10848 (smerge-basic-map): Rename from smerge-basic-keymap.
10849 Change the bindings for smerge-diff-*.
10850 (smerge-*-map): Use easy-mmode-defmap.
10851 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10852 (smerge-keep-*): Use smerge-auto-leave.
10854 2000-03-21 Jason Rumney <jasonr@gnu.org>
10856 * cus-edit.el (custom-button-face): Use 3D look for w32.
10857 (custom-button-pressed-face): Likewise.
10859 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10861 * progmodes/etags.el (tags-case-fold-search): New user-option.
10862 (tags-loop-eval): New function. Bind case-fold-search around eval
10863 depending on the value of tags-case-fold-search.
10864 (tags-loop-continue): Use tags-loop-eval.
10865 (find-tag-in-order): Bind case-fold-search depending on the value
10866 of tags-case-fold-search.
10868 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10870 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10871 (diff-end-of-hunk): Return the end position for use in
10872 `easy-mmode-define-navigation'.
10873 (diff-recenter): Remove.
10874 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10875 of `easy-mmode-define-navigation'.
10876 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10877 previous renaming) and fix to use new names.
10878 (diff-merge-strings): Use \n as separator: simpler, faster.
10879 (diff-mode): Use `define-derived-mode'.
10881 * derived.el (define-derived-mode): Don't autoload anymore.
10882 Prefer the macro-only version provided by easy-mmode.el.
10884 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10885 `easy-mmode-define-derived-mode'.
10886 Use `combine-run-hooks'.
10887 (easy-mmode-define-navigation): New macro.
10889 * subr.el (combine-run-hooks): New function.
10891 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10893 * term/x-win.el: Fontsets related initialization is simplified.
10895 * international/mule-diag.el (describe-font): Don't refer to
10896 global-fontset-alist, instead call font-list.
10897 (describe-fontset, list-fontsets, mule-diag): Likewise.
10898 (print-fontset): Adjusted for the change of fontset
10901 * international/fontset.el (x-charset-registries): Variable
10902 removed, instead the corresponding data is stored in the default
10904 (register-alternate-fontnames): Function removed.
10905 (resolved-ascii-font): Variable removed.
10906 (x-compose-font-name): Ignore the second argument REDOCE.
10907 (x-complement-fontset-spec): Complement only an ASCII font and
10908 element for those charsets than can use that ASCII font.
10909 (generate-fontset-menu): Don't refer to global-fontset-alist,
10910 instead call fontset-list.
10911 (uninstantiated-fontset-alist): Variable removed.
10912 (x-style-funcs-alist): Likewise.
10913 (fontset-default-styles): Likewise.
10914 (x-modify-font-name): Function removed.
10915 (create-fontset-from-fontset-spec): Ignore the argument
10917 (create-fontset-from-ascii-font): Docsting adjusted for the above
10919 (instantiate-fontset, resolve-fontset-name): Functions removed.
10920 (fontset-list): Now implemented by C code.
10922 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10923 (describe-face): Include `font' attribute in the description.
10925 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10927 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10929 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10931 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10932 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10933 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10935 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10936 about behavior of set-buffer-modified-p wrt redisplay.
10938 2000-03-19 Richard M. Stallman <rms@gnu.org>
10940 * view.el (view-mode-disable): Kill local binding of view-read-only.
10942 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10944 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10945 is a string, convert it to a syntax cell using string-to-syntax.
10947 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10948 (string-to-syntax): New function.
10950 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10951 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10952 try to use passive ftp mode.
10954 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10956 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10958 * simple.el (append-to-buffer): Update point of windows after
10961 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10962 forward then moving backward. Reindent.
10964 * frame.el (other-frame): Call x-focus-frame only if
10965 focus-follows-mouse is off.
10967 2000-03-17 Dave Love <fx@gnu.org>
10969 * pcvs-util.el (cvs-strings->string): Rename
10970 replace-regexps-in-string.
10972 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
10974 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10975 regexp for labels cannot span several lines.
10977 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10978 `(setq :<key> ':<key>)' to the macro expansion.
10980 2000-03-16 Dave Love <fx@gnu.org>
10982 * progmodes/f90.el (f90): Put custom group under `languages', not
10984 (f90-mode-hook): Customize.
10985 (f90-mode): Set add-log-current-defun-function.
10986 (f90-current-defun): New function.
10988 2000-03-16 Gerd Moellmann <gerd@gnu.org>
10990 * cus-edit.el (custom-variable-tag-face): Handle case that
10991 default face's height is not a number.
10992 (custom-face-tag-face, custom-group-tag-face-1)
10993 (custom-group-tag-face): Ditto.
10994 (custom-group-tag-face-1): Add :group.
10996 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10998 2000-03-15 Gerd Moellmann <gerd@gnu.org>
11000 * pcvs-defs.el (toplevel): Remove autoload cookie for form
11001 requiring easymenu.
11003 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11005 * ps-print.el: PostScript user-defined prologue, PostScript error
11007 (ps-print-version): New version number (5.1).
11008 (ps-user-defined-prologue, ps-error-handler-message)
11009 (ps-print-prologue-0, ps-error-handler-alist): New vars.
11010 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
11011 (ps-insert-string): New function.
11013 2000-03-15 Kenichi Handa <handa@etl.go.jp>
11015 * international/ccl.el (ccl-compile-expression): Don't generate
11016 invalid self-assignment code.
11018 2000-03-14 Dave Love <fx@gnu.org>
11020 * subr.el (replace-regexp-in-string): Renamed from
11021 replace-regexps-in-string. Doc fix.
11023 2000-03-12 Dave Love <fx@gnu.org>
11025 * cus-edit.el: Doc fixes.
11026 (customize-set-variable, customize-save-variable): Rename args for
11028 (custom-variable-tag-face, custom-face-tag-face)
11029 (custom-group-tag-face-1, custom-group-tag-face): Modify from
11030 style which user identify as hyperlink.
11031 (hook): Don't add undefined functions to the hook.
11032 (debug-ignored-errors): Transfer message from bindings.el.
11034 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11036 * recentf.el (recentf-keep-non-readable-files-p): Remove
11037 double/nested definition.
11039 2000-03-12 Dave Love <fx@gnu.org>
11041 * facemenu.el (facemenu-get-face): Use display-color-p.
11042 * enriched.el (enriched-decode-foreground): Likewise.
11043 (enriched-decode-background): Likewise.
11044 * isearch.el (isearch-highlight): Likewise.
11045 * info-look.el (info-lookup): Likewise.
11046 * simple.el (completion-setup-function): Likewise.
11048 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
11051 * bindings.el (mode-line-format): Fix line-number and
11052 column-number items. Add help-echo for the background.
11053 (mode-line-mule-info): Modify help-echo.
11055 * avoid.el (mouse-avoidance-mode): Add autoload cookie to defcustom.
11057 * files.el (load-file): Allow completion to .elc.
11059 * man.el: Doc fixes.
11060 (Man-init-defvars): Use display-color-p to set fontification.
11062 * play/hanoi.el (hanoi-internal): Don't use oddp.
11064 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11066 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
11068 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
11070 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
11072 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
11075 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
11077 * font-lock.el (font-lock-keywords): Fix the doc now that
11078 regexp-opt-depth is unnecessary.
11079 (save-buffer-state): Set an edebug spec.
11080 (font-lock-fontify-anchored-keywords): Properly handle the case when
11081 the matcher goes past the limit.
11083 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
11084 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
11086 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
11087 dll.el and cookie.el (from Elib) with heavy renaming and other
11090 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
11091 Autoload the functions used.
11092 (easy-mmode-define-syntax): Fix CL typo.
11093 (easy-mmode-define-derived-mode): Improve the docstring generation.
11095 2000-03-10 Gerd Moellmann <gerd@gnu.org>
11097 * textmodes/texinfo.el (texinfo-version): Variable and function
11100 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
11102 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
11103 allow more flexibility.
11104 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
11106 (easy-mmode-defmap, easy-mmode-defsyntax)
11107 (easy-mmode-define-derived-mode): New macros.
11109 2000-03-09 Didier Verna <didier@xemacs.org>
11111 * rect.el (replace-rectangle): New function.
11113 2000-03-09 Dave Love <fx@gnu.org>
11115 * progmodes/fortran.el (fortran-comment-line-start): Define as
11117 (fortran-comment-line-start-skip): Don't match cpp stuff.
11118 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
11119 (fortran-mode-map): Remove over-eager custom-menu-create for now.
11120 (fortran-mode): Don't set fortran-comment-line-start-skip,
11121 fortran-comment-line-start here. Set comment-start,
11122 add-log-current-defun.
11123 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
11124 (fortran-current-defun): New function.
11126 2000-03-09 Gerd Moellmann <gerd@gnu.org>
11128 * emacs-lisp/re-builder.el: New file.
11130 * mouse.el (mouse-drag-region): Don't run up-event handler
11131 if hscroll has changed.
11133 * octave-mod.el (octave-font-lock-keywords): To font-lock the
11134 builtin operators, use `font-lock-builtin-face' for Emacs and
11135 `font-lock-preprocessor-face' otherwise.
11137 * font-lock.el (lisp-font-lock-keywords-1): Highlight
11138 `(defun (setf foo)' differently.
11140 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
11142 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
11143 (regexp-opt): Update comment and adapt the code the new meaning of
11144 the `paren' argument of regex-opt-group for shy-groups.
11145 (regexp-opt-depth): Handle shy groups as well as backslashed
11147 (regexp-opt-group): Turn the leading comment into a docstring.
11148 Allow `paren' to be a string (the string to use to open a group).
11149 Remove open-presuf and close-presuf. Instead of checking for `all
11150 one-char' and then later on check for `several one-char', handle
11151 both cases close together. Also apply a more generic algorithm
11152 for suffixes (the mirror image of the algorithm used for
11153 prefixes). Use shy-groups. Use nreverse rather than reverse.
11154 (regexp-opt-try-suffix): Removed.
11156 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
11157 from comint-mode-map, so we can just inherit from it. Also, move
11158 the initialization into the `defvar' since there's no docstring
11159 anyway and it's fairly short.
11160 (inferior-scheme-mode): Define it as derived-mode: the code is
11161 shorter and this way we inherit from comint-mode-map rather than
11164 * subr.el (replace-regexps-in-string): Properly handle the case
11165 where we match an empty string.
11167 * comint.el (comint-exec-1): Add the current-dir to the exec-path
11168 when the command has a directory component (such as "./testml").
11169 Also fix a typo in the comment.
11171 2000-03-08 Gerd Moellmann <gerd@gnu.org>
11173 * Makefile (compile-files): Compile files one by one because
11174 that's the only way to ensure a clean compilation environment for
11175 each individual file.
11177 * frame.el (other-frame): Call x-focus-frame.
11179 2000-03-07 Dave Love <fx@gnu.org>
11181 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
11182 :require to defcustom.
11184 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
11187 * files.el (auto-mode-alist): Add configure.in.
11189 * progmodes/autoconf.el: New file.
11191 2000-03-07 Gerd Moellmann <gerd@gnu.org>
11193 * mail/mh-e.el: Change maintainer to `none'.
11195 * recentf.el (recentf-keep-non-readable-files-p): Quote args
11196 to remove-hook and add-hook.
11198 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11200 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
11202 (mail-send): Test mail-send-nonascii also for the new `mime' value.
11203 (sendmail-send-it): Conditionally add MIME headers specifying the
11204 used character set.
11206 2000-03-07 Dave Love <fx@gnu.org>
11208 * winner.el: Fix keywords, autoload cookies. Split
11209 eval-when-compile form to avoid compilation failure.
11211 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
11213 * international/mule.el: Modify comment about coding system
11214 property `coding-category'.
11215 (make-coding-system): New argument EOL-TYPE. Pay attention to
11216 coding-category property of PROPERTIES.
11218 * international/mule-conf.el (coding-category-utf-8,
11219 coding-category-utf-16-be, coding-category-utf-16-le): New coding
11220 categories. Include them in the argument for set-coding-priority.
11222 * international/mule-cmds.el (reset-language-environment): Include
11223 coding-category-utf-8, coding-category-utf-16-be, and
11224 coding-category-utf-16-le in the argument for set-coding-priority.
11225 (reset-language-environment): Initialize coding-category-utf-8,
11226 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
11228 2000-03-06 Karl Fogel <kfogel@red-bean.com>
11230 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
11231 code abstracted out of `bookmark-jump-noselect'. Now tries info
11232 extensions as well as compression extensions.
11233 (bookmark-jump-noselect): Use above new func.
11235 2000-03-03 Gerd Moellmann <gerd@gnu.org>
11237 * strokes.el: Change maintainer's mail address.
11239 2000-03-03 Kenichi Handa <handa@etl.go.jp>
11241 * international/mule-diag.el (list-character-sets): Make help-echo
11242 string by substitute-command-keys.
11243 (list-character-sets): Likewise.
11244 (sort-listed-character-sets): Call help-setup-xref.
11246 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11248 * time.el (display-time-mail-file): Add `none' to the list of
11251 2000-03-01 Dave Love <fx@gnu.org>
11253 * help.el (help-xref-go-back): Don't try to set position.
11255 * international/mule-diag.el (list-character-sets): Call
11256 help-setup-xref. Add help-echo to xrefs.
11257 (list-character-sets-1): Add help-echo to xrefs.
11259 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11261 * frame.el (blink-cursor-mode): Switch cursor on when turning
11264 * add-log.el (add-log-current-defun): Add support for
11267 * mail/rmail.el (rmail-quit-hook): New variable.
11269 2000-03-01 Dave Love <fx@gnu.org>
11271 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
11273 * help.el (help-xref-button): Add help-echo arg.
11274 (describe-function-1, describe-variable, help-make-xrefs): Use it.
11276 * faces.el (list-faces-display): Supply help-echo with
11279 * facemenu.el (list-text-properties-at): Set help-xref-stack to
11282 2000-03-01 Gerd Moellmann <gerd@gnu.org>
11284 * image.el (defimage): Look for image files in load-path.
11286 * frame.el (busy-cursor-delay-seconds): Change type to
11289 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11291 * recentf.el (recentf): Added version tag to the defgroup of
11294 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11296 * recentf.el (recentf-cleanup): Changed to remove excluded file
11298 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
11299 action to select/unselect a file.
11300 (recentf-edit-list): Code cleanup and improvement.
11301 (recentf-open-more-files-action): `recentf-open-more-files' button
11302 widget action to open a file.
11303 (recentf-open-more-files): No more use standard completion but
11305 (recentf-more-collection): Deleted.
11306 (recentf-more-history): Deleted.
11307 (recentf-setup-more-completion): Deleted.
11309 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11311 * recentf.el (recentf-mode): No more needs that Emacs is running
11312 under a window-system.
11314 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11316 * recentf.el (recentf-edit-list): New command to edit the recent
11317 list which allow the user to remove files.
11318 (recentf-edit-selected-items): New global variable, used by
11319 `recentf-edit-list' to hold the list of files to be removed from
11321 (recentf-make-menu-items): Updated to display a "Edit list..."
11322 menu item. Minor code cleanup.
11324 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11326 * recentf.el (recentf-open-more-files): New command to open files
11327 that are not displayed in the menu.
11328 (recentf-more-collection): New global variable holding the set of
11329 permissible completions used by `recentf-open-more-files'.
11330 (recentf-more-history): New global variable holding the history list
11331 used by `recentf-open-more-files' completion.
11332 (recentf-setup-more-completion): New function to setup completion for
11333 `recentf-open-more-files'.
11334 (recentf-make-menu-items): Updated to display a "More..." menu item.
11336 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11338 * recentf.el (recentf-menu-action): Doc fixed.
11340 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11342 * recentf.el (recentf-menu-filter): Doc updated.
11343 (recentf-update-menu-hook): Allow menu filters to force menu update.
11344 (recentf-make-menu-items): New menu filter handling.
11345 (recentf-make-menu-item): New helper function.
11346 (recentf-menu-elements): New menu handling function.
11347 (recentf-sort-ascending): Updated to new menu filter handling.
11348 (recentf-sort-descending): Updated to new menu filter handling.
11349 (recentf-sort-basenames-ascending): New menu filter function.
11350 (recentf-sort-basenames-descending): New menu filter function.
11351 (recentf-show-basenames): New menu filter function.
11352 (recentf-show-basenames-ascending): New menu filter function.
11353 (recentf-show-basenames-descending): New menu filter function.
11355 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11357 * diary-lib.el (list-diary-entries): Don't try to go forward at
11358 the end of the buffer.
11360 2000-02-29 Kenichi Handa <handa@etl.go.jp>
11362 * international/mule-diag.el (list-character-sets): Completely
11364 (sort-listed-character-sets): New function.
11365 (list-character-sets-1): Completely rewritten.
11366 (list-character-sets-2): New function.
11367 (non-iso-charset-alist): New variable.
11368 (decode-codepage-char): New function.
11369 (charset-history): New variable.
11370 (read-charset) (list-block-of-chars)
11371 (list-iso-charset-chars)
11372 (list-non-iso-charset-chars)
11373 (list-charset-chars): New functions.
11374 (mule-diag): Call list-character-sets-2, not
11375 list-character-sets-2.
11376 (dump-charsets): Likewise.
11378 2000-02-29 Gerd Moellmann <gerd@gnu.org>
11380 * dired-x.el (dired-filename-at-point): Add `@' to valid
11381 file name characters.
11382 (dired-filename-at-point): Handle ange-ftp file names.
11384 * frame.el (frame-notice-user-settings): Use assq-delete-all
11385 instead of assoc-delete-all.
11386 (frame-notice-user-settings): Ditto.
11388 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
11391 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
11393 * calculator.el (calculator-use-menu): New option.
11394 (calculator-initial-bindings): Changed some bindings to work as
11396 (calculator-forced-input): Removed.
11397 (calculator-restart-other-mode): New variable.
11398 (calculator-mode-map): Set up menu.
11400 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
11402 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
11405 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
11407 * viper-cmd.el (viper-envelop-ESC-key): added the option to
11408 translate all ESC key sequences.
11409 (viper-goto-mark-subr): restore markers for files for which
11411 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
11412 * viper-util.el (viper-set-replace-overlay-glyphs,
11413 viper-set-replace-overlay): always check if the replacement
11415 * viper.el (viper-vi-state-mode-list): added major modes.
11416 * ediff-wind.el: minor comment changes.
11417 * ediff.el: copyright notice date fix.
11419 2000-02-27 Jason Rumney <jasonr@gnu.org>
11421 * faces.el (face-font-family-alternatives): Add arial to helv.
11422 (mode-line, header-line, tool-bar): Same default as x for w32.
11423 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
11424 face-font-family-alternatives from working.
11425 * term/w32-win.el (mouse-set-font): Do not build fontset from
11428 2000-02-25 Sam Steingold <sds@goems.com>
11430 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
11433 2000-02-25 Richard M. Stallman <rms@gnu.org>
11435 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
11437 2000-02-25 Gerd Moellmann <gerd@gnu.org>
11439 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
11442 * frame.el (busy-cursor-delay-seconds): New option.
11444 2000-02-24 Gerd Moellmann <gerd@gnu.org>
11446 * frame.el (show-cursor-in-non-selected-windows): New option.
11448 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11450 * diary-lib.el (include-other-diary-files): Undo the selective
11451 display in any included file and don't kill it.
11453 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
11455 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
11456 bar. Menu items converted to (menu-item format, help strings
11458 [downcase, upcase]: Don't enable on MS-DOS.
11459 [symlink, symlinks]: Don't show if make-symbolic-link is not
11461 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
11463 2000-02-23 Dave Love <fx@gnu.org>
11465 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
11466 (backward-kill-word): Revert addition of * to interactive spec --
11469 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
11470 (backward-kill-sentence, kill-sentence): Likewise.
11472 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
11473 scratch buffer name.
11474 (gud-format-command): Use int-to-string in ?l case. Simplify
11477 * term/w32-win.el (internal-face-interactive): Update prompt for
11478 new read-face-name.
11480 * mail/footnote.el (footnote): Add :version to defgroup.
11481 (footnote-section-tag-regexp): Customize.
11482 (footnote-start-tag, footnote-end-tag): New option.
11483 (footnote-latin-regexp): New variable.
11484 (Footnote-latin): New function.
11485 (footnote-style-alist): Add element for latin style.
11486 (footnote-style): Moved.
11487 (Footnote-goto-footnote): Use eq to test arg.
11489 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
11491 * emacs-lisp/byte-opt.el: Change old backquote syntax.
11492 (byte-compile-trueconstp): Include keywords.
11493 (byte-optimize-quote, byte-optimize-lapcode): Use
11494 byte-compile-const-symbol-p.
11495 (byte-optimize-char-before): New optimization.
11497 * emacs-lisp/bytecomp.el: Change old backquote syntax.
11498 (byte-compile-const-symbol-p): New function.
11499 (byte-compile-constp, byte-compile-out-toplevel)
11500 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
11503 * subr.el (define-key-after): Default AFTER to t. Doc fix.
11505 2000-02-23 Kenichi Handa <handa@etl.go.jp>
11507 * international/encoded-kb.el: Be sure to update minor-mode-alist
11508 and minor-mode-map-alist.
11509 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11510 codes SS2 and SS3 correctly.
11511 (encoded-kbd-self-insert-ccl): New function.
11512 (encoded-kbd-setup-keymap): New function.
11513 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
11514 by calling encoded-kbd-setup-keymap.
11516 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11518 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11521 2000-02-22 Dave Love <fx@gnu.org>
11523 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11524 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11526 (lisp-mode-syntax-table): Set up for #|...|# comments.
11527 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
11528 classes. Match `defface'.
11529 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11530 (eval-defun-1): Fix for defcustom.
11531 (lisp-indent-region): Doc fix.
11533 * subr.el (when, unless, split-string): Doc fix.
11534 (read-passwd): Move call of clear-this-command-keys to the right
11536 (replace-regexps-in-string): New function.
11538 2000-02-22 Gerd Moellmann <gerd@gnu.org>
11540 * help.el (describe-variable): Set syntax table to
11541 emacs-lisp-mode-syntax-table when moving forward over the
11544 2000-02-22 Dave Love <fx@gnu.org>
11546 * xt-mouse.el: Doc fixes.
11547 (xterm-mouse-position-function): New function, replacing advice of
11549 (xterm-mouse-mode): Use it. Don't turn on under a window system.
11551 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11553 2000-02-21 Gerd Moellmann <gerd@gnu.org>
11555 * format.el (format-annotate-single-property-change): Handle
11556 properties.with dotted-list values.
11557 (format-proper-list-p): New function.
11559 * enriched.el (enriched-face-ans): Handle '(foreground-color
11560 . COLOR) and (background-color . COLOR).
11562 2000-02-20 Dave Love <fx@gnu.org>
11564 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11565 and assignments to it.
11566 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11568 (make-flyspell-overlay): Use it.
11569 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11571 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11572 (lm-get-header-re): Defun, not defsubst.
11573 (lm-get-package-name): Defun, not defsubst. Simplify.
11574 (lm-version): Doc fix. Simplify.
11575 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11576 (lm-crack-address, lm-last-modified-date, lm-commentary)
11577 (lm-verify, lm-synopsis): Simplify.
11578 (lm-report-bug): Require emacsbug. Use compose-mail.
11580 2000-02-20 Gerd Moellmann <gerd@gnu.org>
11582 * dired.el (dired-mode): Call propertized-buffer-identification
11583 to set mode-line-buffer-identification to something having
11584 the right text properties.
11586 * bindings.el (propertized-buffer-identification): New function.
11588 2000-02-20 Dave Love <fx@gnu.org>
11590 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11591 check for t-mouse too.
11593 * cus-start.el: Make echo-keystrokes `number'.
11595 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11597 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11598 Don't call ring-empty-p unless tags-location-ring is bound.
11599 From Noah Friedman <friedman@splode.com>.
11601 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11603 * progmodes/hideshow.el (hs-flag-region): No longer use
11604 `intangible' overlay property.
11606 (hs-toggle-hiding): New command.
11607 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11609 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11610 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11613 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11615 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11617 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11619 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11621 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11622 of `*' to handle `(* ... *)' comments.
11624 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11626 * faces.el (list-faces-display): Use display-mouse-p instead of
11629 * menu-bar.el (global-map): Menu-bar items converted to the new
11630 format (menu-item..., rearranged for better CUA compliance, and
11631 their names changed for better clarity. Help strings added.
11633 * international/mule-cmds.el (mule-menu-keymap)
11634 (describe-language-environment-map, set-coding-system-map)
11635 (setup-language-environment-map): Convert to new (menu-item...
11636 form, add help strings. Change names of menu items for better
11637 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11640 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11642 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11645 2000-02-16 Dave Love <fx@gnu.org>
11647 * faces.el: Don't require custom. Add more specific :groups to
11649 (set-face-attribute): Purecopy args.
11650 (read-face-name): Default to name at point and use it in prompt.
11651 Remove colon from arg in all callers.
11652 (list-faces-display): Hyperlink to face descriptions and customize
11655 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11657 * wid-edit.el (widget-match-inline): An atom never matches a
11660 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11662 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11663 at ':' characters by call to split-string.
11665 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11667 * textmodes/bibtex.el: Added RCS version identification.
11669 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11671 * textmodes/bibtex.el: Some temporary comments removed.
11672 (bibtex-field-name, bibtex-entry-type): Made the relationship
11674 (bibtex-field-const): Allow capital letters.
11675 (bibtex-start-of-string): Deleted because unused.
11677 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11678 use the term 'reference' to describe a bibtex entry as a whole.
11679 Further, reference keys are no longer called 'labels'.
11680 (bibtex-keys): Renamed to bibtex-reference-keys.
11681 (bibtex-reformat-previous-labels): Renamed to
11682 bibtex-reformat-previous-reference-keys.
11683 (bibtex-reference-type): Renamed to bibtex-entry-type.
11684 (bibtex-reference-head): Renamed to bibtex-entry-head.
11685 (bibtex-reference-maybe-empty-head): Renamed to
11686 bibtex-entry-maybe-empty-head.
11687 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11688 (bibtex-search-reference): Renamed to bibtex-search-entry.
11689 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11690 bibtex-enclosing-entry-maybe-empty-head.
11691 (bibtex-entry-field-alist, bibtex-entry-head,
11692 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11693 bibtex-map-entries, bibtex-search-entry,
11694 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11695 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11696 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11697 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11698 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11699 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11700 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11702 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11704 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11706 (bibtex-format-field-delimiters): New function, functionality
11707 extracted from bibtex-format-entry.
11708 (bibtex-autokey-get-yearfield-digits): New function, functionality
11709 extracted from bibtex-autokey-get-yearfield.
11711 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11712 entries in order to avoid stack overflow in the regexp matcher if
11713 field contents become large.
11714 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11715 bibtex-field-string-part-not-braced,
11716 bibtex-field-string-part-no-inner-braces,
11717 bibtex-field-string-part-1-inner-brace,
11718 bibtex-field-string-part-2-inner-braces,
11719 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11720 bibtex-field-string-quoted, bibtex-field-string,
11721 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11722 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11723 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11724 as parsing is now performed by the following functions.
11725 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11726 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11727 bibtex-parse-field-string, bibtex-search-forward-field-string,
11728 bibtex-parse-association, bibtex-field-name-for-parsing,
11729 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11730 bibtex-search-forward-field, bibtex-search-backward-field,
11731 bibtex-start-of-field, bibtex-end-of-field,
11732 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11733 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11734 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11735 bibtex-parse-string, bibtex-search-forward-string,
11736 bibtex-search-backward-string, bibtex-start-of-string,
11737 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11738 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11739 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11740 entries. Instead of reporting the results of the parsing by
11741 match-beginning or match-end, these functions return data structures
11742 that hold the corresponding positions.
11743 (bibtex-enclosing-field): Changed to also report field boundaries by
11744 return values rather than by match-beginning or match-end. The
11745 following functions have been adapted to use the new parsing
11747 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11748 bibtex-enclosing-field, bibtex-format-entry,
11749 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11750 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11751 bibtex-print-help-message, bibtex-end-of-entry,
11752 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11753 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11754 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11755 method for parsing.
11756 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11757 bibtex-map-entries, bibtex-flash-head,
11758 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11759 bibtex-autokey-change, bibtex-autokey-get-namefield,
11760 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11761 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11762 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11763 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11764 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11765 order to make the new binding of case-fold-search immediately
11768 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11770 * textmodes/bibtex.el: Copyright notice is up to date.
11771 Added constant 'bibtex-maintainer-salutation.
11773 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11774 than make-temp-name, use match-string-no-properties and eliminate
11775 a quadratic behavior when building bibtex-strings.
11777 * bibtex.el (bibtex-reference-key): Accept string entries whose
11778 reference key contains upper case letters.
11780 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11782 * bibtex.el (bibtex-reference-head): Allow entries to start with
11785 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11787 * bibtex.el: Hiding of entry bodies is not longer provided by
11788 bibtex.el directly. Instead the hideshow package can be used.
11789 Added a special bibtex entry to hs-special-modes-alist.
11790 (bibtex-hs-forward-sexp): Added for hideshow.el.
11792 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11794 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11795 at ':' characters by call to split-string.
11797 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11799 * textmodes/bibtex.el: Added RCS version identification.
11801 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11803 * textmodes/bibtex.el: Some temporary comments removed.
11804 (bibtex-field-name, bibtex-entry-type): Made the relationship
11806 (bibtex-field-const): Allow capital letters.
11807 (bibtex-start-of-string): Deleted because unused.
11809 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11810 use the term 'reference' to describe a bibtex entry as a whole.
11811 Further, reference keys are no longer called 'labels'.
11812 (bibtex-keys): Renamed to bibtex-reference-keys.
11813 (bibtex-reformat-previous-labels): Renamed to
11814 bibtex-reformat-previous-reference-keys.
11815 (bibtex-reference-type): Renamed to bibtex-entry-type.
11816 (bibtex-reference-head): Renamed to bibtex-entry-head.
11817 (bibtex-reference-maybe-empty-head): Renamed to
11818 bibtex-entry-maybe-empty-head.
11819 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11820 (bibtex-search-reference): Renamed to bibtex-search-entry.
11821 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11822 bibtex-enclosing-entry-maybe-empty-head.
11823 (bibtex-entry-field-alist, bibtex-entry-head,
11824 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11825 bibtex-map-entries, bibtex-search-entry,
11826 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11827 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11828 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11829 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11830 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11831 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11832 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11834 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11836 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11838 (bibtex-format-field-delimiters): New function, functionality
11839 extracted from bibtex-format-entry.
11840 (bibtex-autokey-get-yearfield-digits): New function, functionality
11841 extracted from bibtex-autokey-get-yearfield.
11843 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11844 entries in order to avoid stack overflow in the regexp matcher if
11845 field contents become large.
11846 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11847 bibtex-field-string-part-not-braced,
11848 bibtex-field-string-part-no-inner-braces,
11849 bibtex-field-string-part-1-inner-brace,
11850 bibtex-field-string-part-2-inner-braces,
11851 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11852 bibtex-field-string-quoted, bibtex-field-string,
11853 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11854 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11855 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11856 as parsing is now performed by the following functions.
11857 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11858 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11859 bibtex-parse-field-string, bibtex-search-forward-field-string,
11860 bibtex-parse-association, bibtex-field-name-for-parsing,
11861 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11862 bibtex-search-forward-field, bibtex-search-backward-field,
11863 bibtex-start-of-field, bibtex-end-of-field,
11864 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11865 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11866 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11867 bibtex-parse-string, bibtex-search-forward-string,
11868 bibtex-search-backward-string, bibtex-start-of-string,
11869 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11870 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11871 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11872 entries. Instead of reporting the results of the parsing by
11873 match-beginning or match-end, these functions return data structures
11874 that hold the corresponding positions.
11875 (bibtex-enclosing-field): Changed to also report field boundaries by
11876 return values rather than by match-beginning or match-end. The
11877 following functions have been adapted to use the new parsing
11879 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11880 bibtex-enclosing-field, bibtex-format-entry,
11881 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11882 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11883 bibtex-print-help-message, bibtex-end-of-entry,
11884 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11885 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11886 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11887 method for parsing.
11888 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11889 bibtex-map-entries, bibtex-flash-head,
11890 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11891 bibtex-autokey-change, bibtex-autokey-get-namefield,
11892 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11893 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11894 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11895 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11896 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11897 order to make the new binding of case-fold-search immediately
11900 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11902 * textmodes/bibtex.el: Copyright notice is up to date.
11903 Added constant 'bibtex-maintainer-salutation.
11905 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11906 than make-temp-name, use match-string-no-properties and eliminate
11907 a quadratic behavior when building bibtex-strings.
11909 * bibtex.el (bibtex-reference-key): Accept string entries whose
11910 reference key contains upper case letters.
11912 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11914 * bibtex.el (bibtex-reference-head): Allow entries to start with
11917 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11919 * bibtex.el: Hiding of entry bodies is not longer provided by
11920 bibtex.el directly. Instead the hideshow package can be used.
11921 Added a special bibtex entry to hs-special-modes-alist.
11922 (bibtex-hs-forward-sexp): Added for hideshow.el.
11924 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11926 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11927 proceedings entry type (for cross referencing). Thanks to Wagner
11928 Toledo Correa for the suggestion.
11930 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11932 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11934 * international/characters.el: Setup case table for Vietnamese.
11936 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11938 * uniquify.el (toplevel): Require CL at compile time.
11939 (uniquify-push): Removed.
11941 * shadowfile.el (shadow-when): Removed.
11943 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11944 (tempo-process-and-insert-string): Use dolist instead of
11947 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11948 regexp for paragraph-start.
11950 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11953 2000-02-10 Dave Love <fx@gnu.org>
11955 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11956 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11958 (widget-specify-field, widget-specify-button): Don't use
11959 widget-mouse-help as help-echo property.
11960 (default): Use #'ignore for :validate and :mouse-down-action.
11961 (checkbox): Add help-echo.
11962 (widget-sexp-validate): Rewritten to clarify error messages.
11963 (character): Use char-valid-p in :match function.
11964 (widget-color-complete): Use facemenu-color-alist.
11965 (widget-color-action): Use facemenu-read-color.
11967 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
11968 set up `caar' &c that we now have.
11970 2000-02-09 Ray Blaak <blaak@gnu.org>
11972 * delphi.el: Make resourcestring a declaration region, like const
11975 2000-02-09 Dave Love <fx@gnu.org>
11977 * bindings.el (mode-line-input-method-map): New variable.
11978 (mode-line-mule-info): Use it; fix last change.
11979 (mode-line-mode-menu): Move definition.
11980 (mode-line-mouse-sensitive-p): Deleted.
11981 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11982 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
11985 * startup.el (command-line-1): Don't call
11986 make-mode-line-mouse-sensitive.
11988 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11990 * mail/rmail.el (rmail-retry-failure): Use
11991 rmail-beginning-of-message before rmail-toggle-header, because the
11992 former toggles headers.
11994 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
11996 * diff-mode.el (diff-kill-junk): New interactive function.
11997 (diff-reverse-direction): Use delete-and-extract-region.
11998 (diff-post-command-hook): Restrict the area so that the hook also works
11999 outside of any diff hunk. This is necessary for the minor-mode.
12000 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
12001 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
12003 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
12004 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
12005 so that it can be used more easily in <foo>-mode-hook. Also make sure
12006 to avoid duplicate entries.
12007 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
12008 (font-lock-remove-keywords): Just as was done for `add', allow it to
12009 work even if font-lock-mode is nil. Also make sure we don't modify
12010 any pre-existing list by forcing a copy-sequence. Finally rename
12011 `major-mode' to `mode'.
12012 (font-lock-fontify-syntactic-anchored-keywords)
12013 (font-lock-fontify-anchored-keywords)
12014 (font-lock-fontify-keywords-region): Use line-end-position.
12015 Don't make `font-lock-multiline' local (it's now done in
12016 font-lock-set-defaults).
12017 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
12018 move the `font-lock-fontified' creation to inside the `unless'.
12020 2000-02-06 Andrew Innes <andrewi@gnu.org>
12022 * term/w32-win.el (x-handle-args): Comment out call to message,
12023 which occurs before window system is initialized.
12025 * makefile.nt: Add support for recompiling lisp code.
12027 2000-02-04 Dave Love <fx@gnu.org>
12029 * bindings.el (mode-line-mule-info): Fix/extend last change.
12031 * completion.el: Replace completion-dolist with dolist.
12033 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
12036 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
12038 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
12039 environment names before they go into the section regexp.
12041 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
12042 char class in regexp.
12044 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
12045 `case-fold-search' to nil.
12047 * progmodes/idlwave.el (idlwave-template): Respect
12048 `idlwave-abbrev-change-case'.
12049 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
12050 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
12051 idlwave-while): respect `idlwave-reserved-word-upcase'.
12052 (idlwave-rw-case): New function.
12053 (idlwave-statement-match): Fixed problem with assignment regexp.
12054 (idlwave-font-lock-keywords): Improved regexp for keyword
12056 (idlwave-surround): New argument LENGTH to support padding of
12057 operators longer than 1 char.
12059 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
12060 idlwave-shell-expression-overlay. Implemented printing of
12061 expressions on higher levels of the calling stack.
12062 (idlwave-shell-display-level-in-calling-stack): Restore stack
12064 (idlwave-retrieve-expression-from-level): New function.
12065 (idlwave-shell-last-calling-stack): Variable removed.
12066 (idlwave-shell-reset): Argument action reversed (`visible' to
12067 `hidden'). Also remove stop-line overlay.
12068 (idlwave-shell-calling-stack-routine): New variable.
12069 (idlwave-shell-parse-stack-and-display): Messages now display
12070 negative level numbers.
12071 (idlwave-shell-mode): Set `modeline-format'.
12072 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
12073 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
12075 (idlwave-shell-print-expression-function): New option.
12077 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
12078 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
12079 `tool-bar' instead of `toolbar'.
12081 2000-02-02 Dave Love <fx@gnu.org>
12083 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
12084 emacs-lisp-mode-hook. Don't check for defalias being defined.
12086 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
12087 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
12088 the new builtins directly.
12090 * whitespace.el (whitespace): Add :version to defgroup.
12092 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
12095 * thingatpt.el (sexp-at-point, symbol-at-point)
12096 (number-at-point, list-at-point): Add autoload cookie.
12098 * recentf.el (recentf): Add :version to defgroup.
12100 * quickurl.el (quickurl): Add :version to defgroup.
12102 * elide-head.el (elide-head): Use point-marker more.
12104 * bs.el (bs): Add :version to defgroup.
12106 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
12108 * progmodes/delphi.el (delphi): Add :version to defgroup.
12110 2000-02-02 Gerd Moellmann <gerd@gnu.org>
12112 * ange-ftp.el (ange-ftp-write-region): Handle case that
12113 succeeding process operation sets a different coding system.
12115 * calculator.el: New file.
12117 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
12119 * frame.el (frames-on-display-list, framep-on-display): New
12121 (display-mouse-p, display-popup-menus-p, display-graphic-p)
12122 (display-selections-p, display-screens, display-pixel-width)
12123 (display-pixel-height, display-mm-width, display-mm-height)
12124 (display-backing-store, display-save-under, display-planes)
12125 (display-color-cells, display-visual-class): New functions.
12127 * term/tty-colors.el (tty-color-gray-shades): New function.
12129 * faces.el (display-color-p): Use framep-on-display.
12130 (display-grayscale-p): New function.
12132 2000-01-31 Dave Love <fx@gnu.org>
12134 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
12135 (create-fontset-from-x-resource): Don't concat integers.
12137 2000-01-31 Inge Frick <inge@nada.kth.se>
12139 * view.el: Some changes in documentation. Removed some trailing
12140 whitespace. Changed some parameter names to agree with
12142 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
12143 window is not deleted. Modifies change 1998-04-26.
12145 2000-01-31 Gerd Moellmann <gerd@gnu.org>
12147 * windmove.el: New file.
12149 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12150 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12151 progmodes/ebnf-yac.el: Update copyright and license info.
12153 * jit-lock.el (jit-lock-function): Widen before calculating end
12155 (jit-lock-stealth-chunk-start): Rewritten.
12157 * info.el (Info-title-face-alist): Removed.
12158 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
12160 (Info-fontify-node): Use these faces.
12162 2000-01-30 Gerd Moellmann <gerd@gnu.org>
12164 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
12165 (cl-macro-list1): Recognize `&allow-other-keys' instead of
12166 `&allow-other-keywords'.
12168 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
12169 the list of directories scanned heuristically.
12171 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
12174 2000-01-30 Jason Rumney <jasonr@gnu.org>
12176 * w32-fns.el: Define w32-tty-standard-colors.
12178 * startup.el (command-line): Use w32-tty-standard-colors when in
12181 2000-01-30 Dave Love <fx@gnu.org>
12183 * jka-compr.el (jka-compr-load): Fix up load-history.
12185 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
12187 * emacs-lisp/cl-macs.el: Revert previous change.
12189 2000-01-29 Dave Love <fx@gnu.org>
12191 * facemenu.el: Purecopy various strings.
12193 * timezone.el (timezone-fix-time): Window against 69 for two-digit
12194 years. Deal with three-digit years.
12196 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
12197 defconst, purecopy.
12198 (help-back-label): Purecopy it.
12200 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12202 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
12203 variable. If non-nil, order the buffer list according to the
12204 currently selected frame.
12205 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
12206 non-nil, pass the selected frame to function buffer-list.
12208 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12210 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
12212 2000-01-28 Dave Love <fx@gnu.org>
12214 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
12216 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
12217 Don't use lisp-indent-hook property.
12220 * subr.el: Move out indent and edebug specs for when and unless.
12222 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
12225 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
12228 2000-01-28 Gerd Moellmann <gerd@gnu.org>
12230 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
12231 `collecting' as synonym for `collect'.
12233 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
12234 for the case it contains spaces.
12236 * simple.el (what-cursor-position): Change formatting of
12239 * frame.el (delete-other-frames): New function.
12240 (toplevel): Bind it to C-x 5 1.
12242 * sort.el (sort-numeric-base): New option.
12243 (sort-numeric-fields): If number starts with `0' or `0[xX[',
12244 interpret it as octal or hexadecimal. Use sort-numeric-base
12247 * progmodes/glasses.el: New file.
12249 2000-01-27 Gerd Moellmann <gerd@gnu.org>
12251 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
12252 userids differently.
12254 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12255 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12256 progmodes/ebnf-yac.el: New files.
12258 2000-01-26 Dave Love <fx@gnu.org>
12260 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
12261 on a function with an empty body. [From Eric Ludlam.]
12263 2000-01-25 Andre Spiegel <spiegel@gnu.org>
12265 * vc.el (vc-version-diff): Make sure file name is expanded.
12267 2000-01-25 Gerd Moellmann <gerd@gnu.org>
12269 * scroll-bar.el (scroll-bar-timer): Variable removed.
12270 (scroll-bar-toolkit-scroll): Don't use a timer.
12272 2000-01-25 Kenichi Handa <handa@etl.go.jp>
12274 * language/thai-util.el (thai-composition-function): Delete
12277 2000-01-24 Dave Love <fx@gnu.org>
12279 * fortran.el (fortran-mode): Use beginning-of-defun-function,
12280 end-of-defun-function.
12282 * font-lock.el (turn-on-font-lock): Don't depend on window-system
12285 2000-01-22 Jason Rumney <jasonr@gnu.org>
12287 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
12288 conflicts with new face support.
12290 2000-01-22 Richard M. Stallman <rms@gnu.org>
12292 * replace.el (query-replace): Rename last arg to DELIMITED.
12293 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
12294 (query-replace-regexp): Likewise.
12296 2000-01-20 Richard M. Stallman <rms@gnu.org>
12298 * subr.el (with-syntax-table): Use make-symbol, not gensym.
12300 * emacs-lisp/lisp.el (beginning-of-defun-function):
12301 Variable renamed from beginning-of-defun.
12302 Do not call make-variable-buffer-local.
12303 (beginning-of-defun-raw): Use new variable name; doc fix.
12304 (beginning-of-defun): Doc fix.
12305 (end-of-defun-function): Variable renamed from end-of-defun.
12306 Do not call make-variable-buffer-local.
12307 (end-of-defun): Use new variable name; doc fix.
12309 * subr.el (dolist, dotimes): Copied from cl-macs.el
12312 * mail/undigest.el (rmail-digest-end-regexps):
12313 Variable replaces rmail-digest-end-regexp.
12314 Allows multiple regexps for detecting the end line.
12315 (undigestify-rmail-message): Corresponding changes.
12317 2000-01-19 Dave Love <fx@gnu.org>
12319 * files.el (user-init-file): Don't declare here -- is primitive.
12321 * startup.el (command-line): Check for compiled user-init-file and
12322 set to uncompiled version if necessary.
12324 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12326 * mail/undigest.el (rmail-digest-end-regexp): New user option.
12327 (undigestify-rmail-message): Use it.
12329 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
12331 2000-01-17 Gerd Moellmann <gerd@gnu.org>
12333 * tmm.el (tmm-goto-completions): Adapt to prompt being part
12336 2000-01-14 Gerd Moellmann <gerd@gnu.org>
12338 * emacs-lisp/copyright.el (copyright-update): Removed the
12339 requirement for a trailing space from `copyright-regexp', to
12340 support copyrights with owner specified on a separate line..
12342 * align.el: New file.
12344 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
12346 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
12348 2000-01-13 Dave Love <fx@gnu.org>
12350 * ph.el: Removed. (Obsoleted by EUDC.)
12352 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12354 * net/eudc.el (toplevel): Remove autoloaded code installing
12355 menu with easymenu, because that causes build problems.
12357 * frame.el (frame-notice-user-settings): New variable.
12358 (frame-notice-user-settings): Don't modify frame parameters
12359 if called a second time.
12361 2000-01-13 Richard M. Stallman <rms@gnu.org>
12363 * frame.el (frame-notice-user-settings):
12364 Notice default-frame-parameters even for non-window frames.
12366 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12368 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
12370 (eudc-bob-can-display-inline-images): Extend for Emacs.
12371 (eudc-bob-toggle-inline-display): Ditto.
12372 (eudc-bob-display-jpeg): Ditto.
12374 2000-01-12 Gerd Moellmann <gerd@gnu.org>
12376 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
12377 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
12378 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
12380 * add-log.el (add-change-log-entry): Fix error trying an `(insert
12383 * subdirs.el: Add `net' directory.
12385 * net: New directory.
12387 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
12388 eval-last-sexp. Don't bind debug-on-error here.
12389 (eval-last-sexp): New function. Bind debug-on-error if
12390 eval-expression-debug-on-error is non-nil.
12391 (eval-defun-2, eval-defun): Likewise.
12393 * simple.el (eval-expression): Don't bind debug-on-error if
12394 eval-expression-debug-on-error is nil. Detect changed
12395 debug-on-error, and propagate new value to global binding, if
12396 eval-expression-debug-on-error is non-nil,
12397 (eval-expression-debug-on-error): Change doc string.
12399 2000-01-11 Richard M. Stallman <rms@gnu.org>
12401 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
12403 * emacs-lisp/lisp-mode.el (with-syntax-table):
12404 Set up lisp-indent-function property.
12406 * subr.el (with-syntax-table): Moved from simple.el.
12408 * simple.el (with-syntax-table): Moved to subr.el.
12410 2000-01-11 Gerd Moellmann <gerd@gnu.org>
12412 * tmm.el (tmm-shortcut): Delete region after prompt instead
12415 * textmodes/fill.el (fill-common-string-prefix): New function.
12416 (fill-context-prefix): Use the longest common prefix of first
12417 and second line fill prefix, if there is one.
12419 2000-01-11 Richard M. Stallman <rms@gnu.org>
12421 * array.el (array-mode): Don't use make-variable-buffer-local.
12422 Use make-local-variable for `truncate-lines'.
12424 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
12426 * add-log.el (add-log-current-defun): Handle user-defined
12427 add-log-current-function returning nil,
12429 * add-log.el (add-change-log-entry): Insert version number
12430 if having found a current function
12432 * add-log.el (add-log-current-defun): Call
12433 `add-log-current-defun-function'. Try matches at level 0 and
12434 level 1. Strip whitespace from defun found.
12436 2000-01-10 John Wiegley <johnw@gnu.org>
12438 * allout.el (isearch-done/outline-provisions): Added `edit'
12439 argument to correspond with the current definition of
12442 2000-01-10 Dave Love <fx@gnu.org>
12444 * elide-head.el (elide-head): Use point-marker, not point.
12446 2000-01-10 Gerd Moellmann <gerd@gnu.org>
12448 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
12449 before and after the year 2000.
12451 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
12452 Add ispell- prefix.
12454 2000-01-10 Ken Stevens <k.stevens@ieee.org>
12456 * ispell.el: Only define dictionaries in menus when they exist.
12457 (version18p): New variable.
12458 (version20p): New variable.
12459 (xemacsp): New variable.
12460 (ispell-choices-win-default-height): Fix for XEmacs visibility.
12461 (ispell-dictionary-alist1): Added Brasileiro dictionary.
12462 (ispell-dictionary-alist6): Russian command lines no longer accept
12463 run-together words.
12464 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
12465 (ispell-dictionary-alist): Add koi8-r to customize definition.
12466 (check-ispell-version): Added documentation string. Returns
12467 library path when called non-interactively.
12468 (ispell-menu-map-needed): Uses new variables.
12469 (ispell-library-path): New variable.
12470 (ispell-decode-string): XEmacs fix for bogus variable bindings.
12471 (ispell-word): Improved documentation string. Test for valid
12472 character mappings. Correctly check typed in word changes that can
12473 result in single words split into multiple words. Returns
12475 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
12476 replace in recursive query replace mode. Help message for
12477 recursive edit mode.
12478 (ispell-show-choices): Protect against bad framepop bindings.
12479 (ispell-help): Fix to work with XEmacs.
12480 (ispell-highlight-spelling-error): Use new variables.
12481 (ispell-overlay-window): Fix to work with XEmacs.
12482 (ispell-parse-output): Passed and returns location information
12483 tracking spelling corrections. Doesn't recheck same word on
12485 (ispell-init-process): Protect against bogus XEmacs variable binding.
12486 Fix call to single argument in sleep-for. Use new variables.
12487 (ispell-region): Passed and returns location information tracking
12488 spelling corrections. Doesn't check same word on current line.
12489 Improved documentation string. Doesn't resend a line already
12490 checked to the ispell process - fixes bug in LaTeX parsing.
12491 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
12492 (ispell-skip-region): No longer skips <TT> in SGML.
12493 (ispell-process-line): Tracks location information with spelling
12494 corrections. Added documentation string. Accounts for words
12495 already accepted on this line. Don't allow query-replace on line
12496 starting with math characters. Doesn't resend a line already sent
12497 to ispell process. Fixes alignment error bug.
12499 2000-01-10 Richard M. Stallman <rms@gnu.org>
12501 * dired-x.el (dired-guess-shell-alist-default):
12502 Suggest xloadimage, which is free, not xv, which isn't.
12504 * ange-ftp.el (ange-ftp-file-name-nondirectory):
12505 Don't ever include the host name or user name in the value.
12507 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12509 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12512 2000-01-09 Stephen Eglen <stephen@gnu.org>
12514 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12517 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
12519 * cus-edit.el (custom-hook-convert-widget): Fix comment.
12521 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12523 * progmodes/cperl-mode.el: Replace ^F with ^L.
12525 * sendmail.el (toplevel): Provide `sendmail' when compiling
12526 before `require'ing rmail and mailalias to prevent infinite
12529 2000-01-08 Dave Love <fx@gnu.org>
12531 * emacs-lisp/backquote.el: Remove inappropriate customization
12532 (allowing custom.el to use backquote).
12534 2000-01-07 Dave Love <fx@gnu.org>
12536 * add-log.el (add-log-debugging): Deleted.
12537 (add-change-log-entry): Treat a backup FILE-NAME as its parent
12538 file. Remove debugging code.
12539 (change-log-get-method-definition, change-log-name): Add doc.
12540 (change-log-sortable-date-at): New function.
12541 (change-log-merge): New command.
12543 * time.el (display-time-string-forms): Make the Mail string active.
12544 (display-time-update): Provide help-echo for load average.
12546 * bindings.el (make-mode-line-mouse2-map): New function.
12547 (mode-line-modified): Use it and simplify.
12548 (mode-line-mule-info): Provide help-echo info.
12549 (minor-mode-alist): Activate the strings.
12550 (make-mode-line-mouse-sensitive): Simplify for
12551 mode-line-buffer-identification.
12553 2000-01-07 Gerd Moellmann <gerd@gnu.org>
12555 * play/pong.el: New file.
12557 2000-01-06 Dave Love <fx@gnu.org>
12559 * array.el: Assorted cleanups for compiler warnings, doc strings,
12560 `array-' prefix for symbols.
12562 2000-01-05 Dave Love <fx@gnu.org>
12564 * textmodes/outline.el (outline-mode-menu-bar-map): Add
12565 outline-headers-as-kill.
12566 (outline-mode): Define imenu-generic-expression.
12567 (outline-headers-as-kill): New command.
12569 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12570 from paragraph-start.
12571 (paragraph-indent-minor-mode): New command.
12573 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12574 M-C-e, M-C-h, C-j, C-xnd, TAB.
12575 (fortran-mode): Set beginning-of-defun, end-of-defun.
12576 (fortran-column-ruler): Simplify.
12577 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12578 (fortran-with-subprogram-narrowing): Likewise.
12579 (fortran-indent-subprogram): Call mark-defun.
12580 (fortran-check-for-matching-do): Change narrowing.
12582 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12583 (cl-lucid-hash-tag): Delete.
12584 (cl-hash-table-p): Correct test for native table.
12585 (cl-hash-table-count): Use hash-table-count.
12587 * browse-url.el (browse-url): Fix case of
12588 browse-url-browser-function being an alist.
12590 2000-01-05 Carsten Dominik <cd@gnu.org>
12592 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12593 (reftex-index-phrase-file-extension): New options.
12595 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12596 Use new option `reftex-index-phrase-file-extension'.
12598 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12599 `reftex-parse-file-extension'.
12601 2000-01-05 Dave Love <fx@gnu.org>
12603 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12604 (beginning-of-defun-raw): Use it.
12605 (end-of-defun): New variable.
12606 (end-of-defun): Use it.
12607 (check-parens): New command.
12609 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12611 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12612 (hs-show-block): Don't use `mapcar' when not accumulating.
12614 Fix buglet in local variables initialization.
12616 2000-01-05 Andreas Schwab <schwab@suse.de>
12618 * hscroll.el (hscroll): Doc fix.
12620 2000-01-05 Carsten Dominik <cd@gnu.org>
12622 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12625 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12626 file idlw-rinfo.el.
12627 (idlwave-customize): load must read file idlw-shell.el.
12628 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12630 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12632 * progmodes/idlw-shell.el: Also provide idlwave-shell
12633 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12634 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12636 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12637 both reftex-dcr and reftex-vcr.
12639 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12641 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12643 * ps-print.el: PostScript code now is in separate files, doc fix.
12644 (ps-print-version): New version number (5.0.3).
12645 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12647 (ps-spool-config): Initialization fix.
12648 (ps-print-prologue-1, ps-print-prologue-2)
12649 (ps-print-duplex-feature): PostScript code moved to separated file.
12650 (ps-background-image): Little code reformating.
12651 (ps-begin-file, ps-begin-job): Fix code.
12652 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12653 (ps-prologue-file): New fun.
12655 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12657 * ps-vars.el: Eliminated.
12659 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12662 * ps-print.el: ps-vars eliminated, doc fix.
12663 (ps-print-version): New version number (5.0.2).
12664 (ps-spool-config): Initialization fix.
12665 (ps-print-customize): New fun.
12667 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12669 * autorevert.el (auto-revert-mode): Return value of
12672 2000-01-04 Dave Love <fx@gnu.org>
12674 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12677 2000-01-03 Dave Love <fx@gnu.org>
12679 * elide-head.el (elide-head) [defgroup]: Add :version.
12681 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12682 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12683 `cl-hash-table-p', not `hash-table-p'.
12684 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12686 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12688 * faces.el (face-read-integer, read-face-attribute)
12689 (color-defined-p, color-values): unspecified-{f,b}g are now
12692 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12694 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12695 at comment end, and re-insert them after filling.
12697 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12699 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12700 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12701 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12703 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12705 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12706 the new name of face-color-supported-p.
12708 * term/w32-win.el (xw-defined-colors): Likewise.
12710 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12712 * simple.el (completion-setup-function): Count completion-size
12713 from minibuffer-prompt-end, not from point-min.
12715 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12717 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12718 Pass the frame to tty-color-* functions.
12719 (display-color-p, frame-set-background-mode): Pass the frame to
12720 tty-display-color-p.
12722 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12724 (tty-color-alist, tty-modify-color-alist): New functions.
12725 (tty-color-define, tty-color-clear, tty-color-approximate)
12726 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12727 an optional parameter FRAME.
12729 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12731 * image.el (create-image, defimage): Don't assume image data is a
12734 * image.el (defimage): Handle specifications containing :data
12736 (image-type-from-data): New function.
12737 (image-type-from-file-header): Use it.
12738 (create-image): Add parameter DATA-P.
12740 See ChangeLog.8 for earlier changes.
12742 ;; Local Variables:
12743 ;; coding: iso-2022-7bit