1 2000-11-22 Gerd Moellmann <gerd@gnu.org>
3 * frame.el (show-cursor-in-non-selected-windows): Doc fix.
5 * hi-lock.el (hi-lock-refontify): Don't call non-existent
6 jit-lock-fontify-buffer; it should anyway be unneccessary to
7 do anything special when jit-lock is active.
8 (hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
10 2000-11-22 Dave Love <fx@gnu.org>
12 * language/chinese.el, language/cyrillic.el:
13 * language/devanagari.el, language/ethiopic.el, language/greek.el:
14 * language/hebrew.el, language/indian.el, language/japanese.el:
15 * language/korean.el, language/lao.el, language/misc-lang.el:
16 * language/thai.el, language/tibetan.el, language/vietnamese.el:
19 * cus-edit.el (custom-buffer-create-internal): Save some consing.
20 (custom-variable-set): Improve validation error mesage.
22 * rect.el (string-rectangle): Revert last change.
23 (string-rectangle-line): New arg DELETE.
24 (string-rectangle): Check delete-selection-mode.
26 * emacs-lisp/edebug.el (edebug-version)
27 (edebug-maintainer-address): Deleted.
28 (edebug-submit-bug-report): Just alias to report-emacs-bug.
29 (edebug-read-function): Account for other `'#' read forms.
30 (edebug-mode-menus): Make some items toggles.
31 (edebug-outside-unread-command-event, unread-command-event):
32 Remove these to avoid warnings.
34 2000-11-22 David Ponce <david@dponce.com>
36 * recentf.el (recentf-menu-items-for-commands)
37 (recentf-make-menu-items, recentf-make-menu-item)
38 (recentf-filter-changer): Added :help and :active menu-item properties.
40 (recentf-build-dir-rules, recentf-dump-variable)
41 (recentf-edit-list, recentf-open-files-item)
42 (recentf-open-files): Replaced unnecessary `mapcar' with new
45 2000-11-23 Miles Bader <miles@gnu.org>
47 * faces.el (menu): Make inverse-video on ttys too.
49 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
51 * simple.el (comment-line-break-function): Use the new name
52 indent-new-comment-line -> comment-indent-new-line.
53 (clone-indirect-buffer): Don't ignore NORECORD.
54 (next-completion): Properly handle the case where items are adjacent.
56 * mouse.el (popup-menu): Stupid typo.
58 2000-11-22 Gerd Moellmann <gerd@gnu.org>
60 * emacs-lisp/authors.el: Remove autoload cookies, add author,
61 maintainer, keywords tags.
63 * rect.el (replace-rectangle): Don't call string-rectangle-line
64 with too many arguments.
66 2000-11-22 Andre Spiegel <spiegel@gnu.org>
68 * ediff-util.el (ediff-file-checked-out-p)
69 (ediff-file-checked-in-p): Call vc-state instead of
70 vc-locking-user, which no longer exists.
72 * emulation/viper-util.el (viper-file-checked-in-p): Same as above.
74 2000-11-22 Dave Love <fx@gnu.org>
76 * md5.el (md5): Provide.
77 (md5): Fix error call.
79 2000-11-22 Miles Bader <miles@gnu.org>
81 * textmodes/refill.el (refill-adjust-ignorable-overlay)
82 (refill-fill-paragraph-at): Remove debugging code.
84 * calendar/calendar.el (generate-calendar-window): When we don't
85 call `fit-window-to-buffer', make sure the top line is fully visible.
87 * image-file.el (insert-image-file): Don't make `read-only'
88 property rear-nonsticky.
90 * isearch.el (isearch-original-minibuffer-message-timeout): New var.
91 (isearch-mode): Set `minibuffer-message-timeout' to nil, after
92 stashing away its original value.
93 (isearch-edit-string): Temporarily restore `minibuffer-message-timeout'
94 in the recursive edit.
95 Bind `isearch-original-minibuffer-message-timeout' to protect it.
96 (isearch-done): Restore `minibuffer-message-timeout'.
98 * cus-start.el: Remove entry for `mode-line-inverse-video'.
100 2000-11-21 Stefan Monnier <monnier@cs.yale.edu>
102 * progmodes/ada-mode.el (ada-mode): `set '' -> `setq'.
104 * find-lisp.el (find-lisp-find-files-internal):
105 Use dolist, when and file-name-as-directory.
107 * emacs-lisp/edebug.el (edebug-form-spec prop): Use dolist.
108 (define-derived-mode, define-minor-mode): Add specs.
110 * window.el: General comment and spacing fixes.
111 (save-selected-window): Use backquotes.
112 (window-safely-shrinkable-p): New function.
113 (shrink-window-if-larger-than-buffer): Use it.
115 * subr.el (make-local-hook): Docstring fix.
117 * shell.el (shell-mode): Use define-derived-mode.
119 * newcomment.el (comment-indent): Insert comment before calling
120 comment-indent-function. Don't insert in column 0.
121 (comment-dwim): Indent before inserting comment.
123 * isearch.el (isearch-mode-map): Fix docstring. Init in defvar.
124 (minibuffer-local-isearch-map): Init in defvar. Use inheritance.
125 (isearch-clean-overlays, isearch-range-invisible, isearch-unread):
126 Use mapc rather than map.
128 * files.el (find-buffer-visiting): Compare all attributes before
129 declaring two files identical (rather than just their inode-no).
130 (auto-mode-alist): Use \' rather than $.
132 * which-func.el: Update maintainer line.
134 * pcvs.el (uniquify-buffer-file-name): Remove advice.
135 * uniquify.el (uniquify-list-buffers-directory-modes): New var.
136 (uniquify-buffer-file-name): Use it.
138 2000-11-22 Miles Bader <miles@gnu.org>
140 * cus-start.el: Add entry for `minibuffer-prompt-properties'.
141 * simple.el (minibuffer-avoid-prompt): New function.
143 2000-11-21 Gerd Moellmann <gerd@gnu.org>
145 * Makefile.in (.SUFFIXES): Add .SUFFIXES.
147 2000-11-21 Miles Bader <miles@gnu.org>
149 * emacs-lisp/advice.el (ad-special-forms): Correct the conditional
150 inclusion of `track-mouse'.
152 * textmodes/refill.el (refill-ignorable-overlay): New variable.
153 (refill-adjust-ignorable-overlay): New function.
154 (refill-fill-paragraph-at): Use `refill-ignorable-overlay' to fill
155 only the paragraph's tail if possible.
156 Update `refill-ignorable-overlay'.
157 (refill-mode): Initialize/cleanup `refill-ignorable-overlay'.
159 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
160 point inside the fill-prefix.
162 * textmodes/refill.el (refill-post-command-function): Don't reset
163 refill-doit in the case where a self-insertion command doesn't
164 case a refill. Use `refill-fill-paragraph-at', getting position
166 (refill-after-change-function): Set `refill-doit' to END.
167 (refill-fill-paragraph-at): New function, mostly from old
168 refill-fill-paragraph.
169 (refill-fill-paragraph): Use `refill-fill-paragraph-at'.
170 (refill-pre-command-function): New function.
171 (refill-mode): Add it to `pre-command-hook'.
173 2000-11-20 Gerd Moellmann <gerd@gnu.org>
175 * textmodes/artist.el (artist-mode): Fix autoload cookie.
177 * font-lock.el (java-keywords): Add MATCH-HIGHLIGHT part for
180 2000-11-20 Andre Spiegel <spiegel@gnu.org>
182 * vc.el, vc-hooks.el: Undo prev change (moved functions back to
185 * vc-rcs.el (vc-rcs-state): Before calling vc-workfile-unchanged-p,
188 * vc-cvs.el (vc-cvs-checkout): Fix bug that broke C-x v ~-style
191 2000-11-20 Dave Love <fx@gnu.org>
193 * Makefile.in (DONTCOMPILE): Omit bindings.el.
195 2000-11-20 Gerd Moellmann <gerd@gnu.org>
197 * calculator.el: New version from author.
199 2000-11-19 Gerd Moellmann <gerd@gnu.org>
201 * info.el (info-menu-5): Doc fix.
203 * textmodes/artist.el: New file.
205 2000-11-19 Andre Spiegel <spiegel@gnu.org>
207 * vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
208 and differentiate according to checkout model.
209 (vc-rcs-fetch-master-state): Don't call vc-workfile-unchanged-p,
210 since this function is only concerned with master state.
212 * vc-hooks.el (vc-workfile-unchanged-p,
213 vc-default-workfile-unchanged-p): Moved here from vc.el.
215 * vc.el (vc-workfile-unchanged-p,
216 vc-default-workfile-unchanged-p): See above.
218 2000-11-19 Miles Bader <miles@gnu.org>
220 * image-file.el (insert-image-file): Make `intangible' and
221 `read-only' properties rear-nonsticky too.
223 2000-11-18 Gerd Moellmann <gerd@gnu.org>
225 * ps-print.el: Update copyright notice.
227 * tooltip.el (tooltip-x-offset, tooltip-y-offset): New user-options.
228 (tooltip-show): Use the offsets.
230 * bindings.el (mode-line-modified): Fix a typo.
231 (mode-line-toggle-modified, mode-line-widen)
232 (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
234 2000-11-17 Gerd Moellmann <gerd@gnu.org>
236 * ps-print.el: Minor fixes from author.
238 2000-11-16 Stefan Monnier <monnier@cs.yale.edu>
240 * vc.el (vc-version-diff): Bind inhibit-read-only when inserting text.
241 (vc-version-backup-file): Docstring fix.
243 2000-11-16 Gerd Moellmann <gerd@gnu.org>
245 * files.el (basic-save-buffer): Don't add a newline if
246 find-file-literally is non-nil.
247 (find-file-literally): Extend doc string.
249 * sort.el (sort-columns): If sort-fold-case it non-nil, invoke
250 sort(1) with the `-f' argument.
252 2000-11-16 Andre Spiegel <spiegel@gnu.org>
254 * vc.el: Updated backend documentation.
255 (vc-default-check-headers): New function.
257 * vc-{cvs,rcs,sccs}.el: Functions reordered.
259 * vc.el (vc-revert-buffer): Ask for confirmation if file seems
261 (vc-do-command): In the asynchronous case, output messages only if
262 the minibuffer is not active.
264 * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
265 `vc-cvs-use-edit' is on.
266 (vc-cvs-checkout): When this is used for reverting the workfile,
267 make a backup of the original contents and revert to that in case
269 (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
272 * vc.el (vc-annotate): Changed handling of prefix arg; now asks
273 for both version and ratio in the minibuffer.
275 * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
276 Use vc-do-command to perform the annotation, not call-process.
278 2000-11-16 Kenichi Handa <handa@etl.go.jp>
280 * international/quail.el (quail-start-translation): Don't call
281 `message' before reading key sequence.
283 2000-11-16 Miles Bader <miles@lsi.nec.co.jp>
285 * net/ange-ftp.el (ange-ftp-file-modtime): Don't use `caddr'.
287 2000-11-16 Kenichi Handa <handa@etl.go.jp>
289 * window.el (fit-window-to-buffer): Be sure to acquire at least
290 one text line even if the buffer is empty.
292 2000-11-16 Gerd Moellmann <gerd@gnu.org>
294 * net/ange-ftp.el (ange-ftp-file-writable-p)
295 (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
296 ange-ftp-process-verbose to nil.
298 2000-11-15 Dave Love <fx@gnu.org>
300 * wid-edit.el (widget-specify-field, widget-specify-button): If
301 :help-echo is a function, set help-echo of overlay to
303 (widget-mouse-help): New function.
304 (widget-echo-help): Rewritten for :help-echo functions only taking
307 * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
309 (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
310 and that JPEG is available.
311 (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
313 * international/mule-cmds.el (locale-charset-language-names):
316 2000-11-15 Gerd Moellmann <gerd@gnu.org>
318 * faces.el (face-set-after-frame-default): If
319 `inhibit-default-face-x-resources' is bound, don't intialize the
320 default face from X resources.
322 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
324 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
325 Don't set EMACSLOADPATH.
327 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
329 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
331 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
332 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
334 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
336 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
337 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
338 (checkdoc-minor-keymap): Backward compatibility.
339 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
340 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
341 (checkdoc-this-string-valid-engine): Be a bit more strict
342 to avoid matching substrings of `...' quoted vars/funs.
343 (checkdoc-defun-info): Only look for `interactive' if alone.
344 (debug-ignored-errors): Add "arg doesn't appear in docstring".
346 * progmodes/compile.el (grep): `tag-default' can be nil.
348 * newcomment.el (comment-indent): Paren typo.
350 2000-11-14 Dave Love <fx@gnu.org>
352 * calculator.el: New maintainer version.
354 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
356 * cmuscheme.el: Doc fixes.
357 (cmuscheme) <defgroup>: Use `scheme' as parent.
358 (cmuscheme-program-name): Remove. Change uses to
361 * xscheme.el (scheme-program-name): Don't define here.
363 * progmodes/scheme.el (scheme-program-name): New variable
364 (originally in cmuscheme).
366 2000-11-14 Miles Bader <miles@gnu.org>
368 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
369 Handle header-lines. Don't loop forever if we can't enlarge the
370 window anymore. Simplify a bit.
372 2000-11-14 Kenichi Handa <handa@etl.go.jp>
374 * window.el (fit-window-to-buffer): Don't check
375 window-text-height. Assure that the last line is fully visible.
377 * international/quail.el (quail-show-guidance-buf): Call
378 fit-window-to-buffer to assure the enough height of the guidance
380 (quail-update-guidance): Avoid making the guidance buffer shorter.
382 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
384 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
385 rather than `prepend' and add an interesting comment.
386 (tex-math-face, tex-font-lock-syntactic-face-function):
387 New face and function to use it.
388 (tex-define-common-keys, tex-mode-map): Use menu-item rather
389 than `menu-enable' symbol property.
390 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
391 (tex-mode): Add some latex-mode commands for auto-selection.
392 Use tex-font-lock-syntactic-face-function.
393 (tex-insert-quote): Simplify.
394 (tex-shell): New mode.
395 (tex-start-shell): Use it.
396 (tex-shell-proc, tex-shell-buf): New functions.
397 (tex-send-command): Use it.
398 (tex-main-file): Fix the meaning of the new arg REALFILE.
399 (tex-send-tex-command): New function split from `tex-start-tex'.
400 Set compilation-last-buffer and compilation-parsing-end.
402 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
403 when it follows non-comment text on the line.
405 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
406 Set font-lock-defaults.
407 (lisp-mode-shared-map): Init inside the defvar.
408 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
409 Use define-derived-mode.
411 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
413 * faces.el (header-line): Use `:box nil' for color/gs displays too.
415 2000-11-14 Gerd Moellmann <gerd@gnu.org>
417 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
418 recursively optimize body because that can lead to infinite
419 recursion; see comment there.
421 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
423 * faces.el (face-spec-set-match-display): Revert the change from
424 2000-10-24. Add a FIXME for after v21.1.
426 2000-11-13 Miles Bader <miles@gnu.org>
428 * textmodes/fill.el (skip-line-prefix): New function.
429 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
430 (fill-paragraph): Don't leave point inside the fill-prefix.
431 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
432 point inside the fill-prefix.
434 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
436 * calendar/calendar.el (generate-calendar-window): Use
437 `fit-window-to-buffer'.
439 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
441 * gud.el (gud-minor-mode): New var.
442 (gud-symbol, gud-val): New functions.
443 (gud-find-file): Copy gud-minor-mode to the new buffer.
444 (gud-menu-map): Include entries for commands that are not always
445 available, using :enable to (de)activate them.
446 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
447 (gud-mode-map): New map.
448 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
449 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
450 Don't set up gud's menu (it's done by the minor-mode).
451 (gud-minibuffer-local-map): New.
452 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
453 (gud-query-cmdline): New function.
454 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
455 (gud-mode): Use define-derived-mode.
456 Don't set up gud's menu (it's done by the minor-mode).
457 (gud-chop-words): Remove.
458 (gud-common-init): Use split-string instead.
459 (gud-new-keymap, gud-make-debug-menu): Eradicate.
461 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
462 Add keyword arg :name.
464 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
465 (diff-count-matches, diff-split-hunk): New functions.
466 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
468 * pcvs-info.el (cvs-fi-conflict-face): New var.
470 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
471 Make it into a simple syntax-table, shared among all submodes.
472 (sh-heredoc-face): Re-introduce.
473 (sh-font-lock-syntactic-face-function): New function.
474 (sh-mode): Use it. Also use define-derived-mode.
475 Remove old bogus setting of indent-region-function.
476 (sh-set-shell): Don't set the syntax-table any more.
477 (sh-mode-syntax-table) <defun>: Remove.
479 2000-11-12 Miles Bader <miles@gnu.org>
481 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
482 message if interactive.
484 2000-11-12 Dave Love <fx@gnu.org>
486 * mail/feedmail.el: Fix header,
487 (feedmail) <defgroup>: Add :link.
489 * view.el: Use local-map property, not keymap on mode-line string.
491 * scroll-all.el (scroll-all-mode): Customize variable. Add
492 autoload cookie to function.
494 * lazy-lock.el: Remove compatibility code.
496 * finder.el (finder-known-keywords): Add `files', remove `vms'.
497 (finder-help-echo): New variable.
498 (finder-mouse-face-on-line): Add help-echo stuff.
499 (finder-list-keywords, finder-list-matches): Use mapc.
501 * faces.el (face-font-registry-alternatives): Add :version.
503 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
506 * net/browse-url.el (browse-url-browser-function): Update :version.
508 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
509 (mail-mode): Use [:alnum:] in some regexps.
511 2000-11-10 Dave Love <fx@gnu.org>
513 * ediff.el (ediff-regions-internal, ediff-documentation):
514 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
517 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
518 buffer into fundamental mode.
519 (ediff-set-difference): Use copy-sequence if available.
521 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
522 ediff-patch-map non-nil.
523 (ediff-fixup-patch-map, ediff-fixup-patch-map)
524 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
525 buffer into fundamental mode.
527 * ediff-merg.el (state-or-merge): Defvar when compiling.
529 2000-11-10 Jason Rumney <jasonr@gnu.org>
531 * w32-fns.el (w32-add-charset-info): New function.
532 (w32-charset-info-alist): Use it.
534 2000-11-10 Gerd Moellmann <gerd@gnu.org>
536 * faces.el (face-font-registry-alternatives): New user-option.
538 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
540 * textmodes/texinfo.el (texinfo-block-default): New var.
541 (texinfo-insert-block): Use it. Insert a newline if needed.
543 * textmodes/fill.el (fill-indent-according-to-mode): New var.
544 (fill-region-as-paragraph): Use it.
546 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
547 (latex-mode): Tweak tex-*-(head|trail)er regexps.
548 Tweak paragraph regexps to allow a leading [ \t]*.
549 (tex-latex-block): Insert a newline if necessary.
550 (latex-insert-item): Only insert a newline if necessary.
551 (tex-guess-main-file): New function.
552 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
553 Set tex-main-file if TeX-master is provided.
554 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
556 2000-11-10 Gerd Moellmann <gerd@gnu.org>
558 * startup.el (command-line): Set the default tooltip-mode
559 to t for graphical displays which implement x-show-tip.
561 * tooltip.el (tooltip-mode): Add a comment about startup.el
562 setting the default value of this user-option.
564 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
566 * font-lock.el (font-lock-*-face) <defvar>: Move.
567 (font-lock-defaults-alist): Mark obsolete.
568 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
569 (font-lock-mode): Use define-minor-mode.
570 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
571 (font-lock-turn-off-thing-lock): Be more explicit.
572 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
573 (font-lock-syntactic-face-function): New var.
574 (font-lock-fontify-syntactically-region): Use it.
575 (font-lock-doc-face): New.
577 * pcvs.el (cvs-enabledp): Ignore errors.
578 (cvs-commit-filelist): Never query.
579 (cvs-mode-insert): Always add a terminating / in the initial prompt.
580 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
581 (cvs-do-removal): Use cvs-partition rather than delete-if.
582 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
585 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
586 Allow `next' to jump to after the end of the last match.
588 2000-11-09 Gerd Moellmann <gerd@gnu.org>
590 * simple.el (byte-compiling-files-p): New function.
592 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
595 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
598 * textmodes/ispell.el (ispell-library-path): Don't call
599 check-ispell-version when byte-compiling because that starts
600 an ispell process, and ispell might not be installed.
601 (toplevel): Don't set up a menu when byte-compiling.
603 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
604 it, so that a boundp test can be used to determine if we're
605 currently byte-compiling.
607 2000-11-09 Dave Love <fx@gnu.org>
609 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
612 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
614 * ps-print.el: Patch for variable initialization when spooling. Doc
616 (ps-output-list): Fun eliminated.
617 (ps-begin-file, ps-begin-job): Code fix.
619 2000-11-08 Dave Love <fx@gnu.org>
621 * ediff-wind.el (ediff-control-frame-parameters): Zero
624 2000-11-08 Gerd Moellmann <gerd@gnu.org>
626 * simple.el (shell-command, display-message-or-buffer)
627 (shell-command-on-region): Mention resize-mini-windows in the doc
629 (display-message-or-buffer): Take the value of resize-mini-windows
632 2000-11-07 Gerd Moellmann <gerd@gnu.org>
634 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
636 * dired.el (dired-between-files): Add `^. find' as an alternative
637 to the regular expression, for find-dired.
639 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
641 * textmodes/texnfo-upd.el: Require texinfo.
642 (defmacro, defgroup): Remove.
643 (texinfo-section-to-generic-alist): Remove.
644 Use texinfo-section-list instead (i.e. level is changed string->int).
645 (texinfo-filter): New function.
646 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
647 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
648 Use it. And use regexp-opt.
649 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
650 (texinfo-update-menu-region-beginning)
651 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
652 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
653 (texinfo-update-menu-same-level-regexps): Update.
654 (texinfo-update-node, texinfo-every-node-update)
655 (texinfo-sequential-node-update): Remove autoload cookie.
657 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
658 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
659 (texinfo-chapter-level-regexp): Remove.
660 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
662 2000-11-06 Dave Love <fx@gnu.org>
664 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
666 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
669 2000-11-06 Kenichi Handa <handa@etl.go.jp>
671 * composite.el (composition-function-table): Variable declaration
672 moved to src/composite.c.
673 (compose-chars-after): New optional arg object.
675 2000-11-06 Gerd Moellmann <gerd@gnu.org>
677 * bindings.el (mode-line-toggle-read-only)
678 (mode-line-toggle-modified, mode-line-widen)
679 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
680 (make-mode-line-mouse2-map): Rewritten.
681 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
682 functions so that C-h k can show something with a doc string.
684 * startup.el (fancy-splash-delay): Set to 10 seconds.
685 (fancy-splash-max-time): New user-option.
686 (fancy-splash-stop-time): New variable.
687 (fancy-splash-screens): Set it. Catch `stop-splashing'.
688 (fancy-splash-screens-1): Throw `stop-splashing' when current
689 time is greater than fancy-splash-stop-time.
691 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
693 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
695 * pcvs.el (cvs-mode-marked): New arg `noquery'.
696 Prompt user for a file rather than raising an error.
697 (cvs-enabledp): Fix call to cvs-mode-marked.
698 (cvs-insert-file): New function (extracted from cvs-mode-insert).
699 (cvs-mode-insert): Use it. Change the init prompt' value.
700 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
702 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
703 Don't pass default arg to ewoc-locate.
704 (ewoc-collect): Return result in the right order.
706 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
708 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
709 (cvs-status-get-tags): Fix regexp.
710 (cvs-status-trees, cvs-status-cvstrees):
711 Combine after change hooks and don't sit-for.
712 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
713 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
714 Use make-char rather than hard-coded cryptic data.
715 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
717 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
719 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
720 (cvs-insert-strings): New function.
722 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
724 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
725 `mwheel-scroll-amount'.
726 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
727 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
728 string-matching against the version string.
730 2000-11-06 Kenichi Handa <handa@etl.go.jp>
732 * language/thai.el ("Thai"): Set a lisp form that produces
733 composed string in `sample-text' language info.
735 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
736 composed string in `sample-text' language info.
738 * international/mule-cmds.el (describe-language-environment): Eval
739 `sample-text' data and insert the result.
741 * international/mule-conf.el (compound-text): Define this coding
742 system here. Make x-ctext and ctext aliases of it.
744 * language/european.el (compound-text, ctext): Moved to
745 international/mule-conf.el.
747 2000-11-05 Andrew Innes <andrewi@gnu.org>
749 * w32-fns.el (w32-version): New function.
751 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
753 * progmodes/awk-mode.el: Update copyright.
754 (awk-mode-abbrev-table): Remove.
755 (awk-font-lock-keywords): Use regexp-opt.
756 (awk-mode): Use define-derived-mode.
758 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
759 when extracting a suffix.
761 2000-11-04 Andre Spiegel <spiegel@gnu.org>
763 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
766 2000-11-04 Jason Rumney <jasonr@gnu.org>
768 * language/european.el (decode-mac-roman): Test against r1 not r0.
770 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
772 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
773 (icon-mode): Define indent-line-function.
774 (icon-comment-indent): Simplify.
775 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
777 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
779 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
780 Bind change-log-default-mode to defeat the caching done on it.
781 Don't bother saving excursion any more.
783 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
785 * frame.el (after-setting-font-hook): Rename hooks -> hook.
786 (set-frame-font): Use the new name (and the old for compatibility).
788 * toolbar/tool-bar.el (tool-bar-mode):
789 * time.el (display-time-mode):
790 * recentf.el (recentf-mode):
791 * paren.el (show-paren-mode):
792 * mwheel.el (mouse-wheel-mode):
794 * jka-compr.el (auto-compression-mode):
795 * image-file.el (auto-image-file-mode):
796 * hl-line.el (hl-line-mode):
797 * delsel.el (delete-selection-mode):
798 * autoinsert.el (auto-insert-mode):
799 * complete.el (partial-completion-mode): Drop unneeded positional args.
801 * info.el (Info-mode):
802 * comint.el (comint-mode): Don't both with make-local-hook.
804 * log-edit.el (log-edit-menu): New menu.
806 2000-11-03 Miles Bader <miles@gnu.org>
808 * wid-edit.el (widget-end-of-line): Reinstate, with a new
809 definition, so that trailing spaces are handled properly.
810 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
812 2000-11-03 Gerd Moellmann <gerd@gnu.org>
814 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
816 (fancy-splash-screens): Set tab-width to 20.
818 2000-11-03 Dave Love <fx@gnu.org>
820 * comint.el (comint-completion-addsuffix): Fix custom type.
822 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
824 * font-lock.el (font-lock-buffers): Remove.
825 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
826 (font-lock-change-major-mode): Remove.
827 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
828 (font-lock-default-fontify-region): Extend the multiline
829 fontification to whole lines.
830 (font-lock-fontify-anchored-keywords)
831 (font-lock-fontify-keywords-region): If matching just one
832 line (with \n) only mark the \n as multiline.
834 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
835 Correctly handle the case where several :group args are supplied.
837 (easy-mmode-define-global-mode): Allow :extra-args.
838 Correctly handle the case where several :group args are supplied.
840 2000-11-02 Miles Bader <miles@gnu.org>
842 * calendar/calendar.el (diary-face, calendar-today-face)
843 (holiday-face): Remove dependency on `window-system'.
845 2000-11-02 Ken Raeburn <raeburn@gnu.org>
847 * Makefile.in (emacs): Set EMACSLOADPATH always.
848 (update-authors, .el.elc, compile-files): Don't do it explicitly
850 (compile-files): Bomb out if compilation of a file fails.
852 2000-11-02 Dave Love <fx@gnu.org>
854 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
856 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
858 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
859 punctuation in the warning inserted into the *mail* buffer.
861 2000-11-02 Gerd Moellmann <gerd@gnu.org>
863 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
864 (authors-public-domain-p): New function.
865 (authors-print): Use it.
867 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
869 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
871 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
873 * ps-print.el: Extension for even/odd printing. Doc fix.
874 (ps-print-version): New version number (6.3.1).
875 (ps-even-or-odd-pages): Customization fix.
876 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
877 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
878 (ps-page-count): Var replaced by `ps-page-column'.
879 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
880 (ps-print-sheet-p): New fun.
882 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
884 * tooltip.el (tooltip-gud-tips-setup): New function.
885 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
886 (tooltip-mode): Call tooltip-gud-tips-setup.
887 (tooltip-gud-tips): Use `gud-basic-call' instead of
888 process-send-string, so the prompt gets frobbed appropriately.
889 Handle nil return value from `tooltip-gud-print-command'.
891 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
893 * comint.el (comint-add-to-input-history): New function.
894 (comint-send-input): Use `comint-add-to-input-history'.
896 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
898 * info.el (info-menu-header): New face.
899 (Info-fontify-menu-headers): New function.
900 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
902 * info.el (Info-insert-dir): Don't include blank lines at
903 beginning of additional dir files (one is added automatically).
905 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
907 * emacs-lisp/easy-mmode.el (define-minor-mode):
908 Revert the latest changes.
909 Allow the three positional arguments to be skipped and replaced
910 by keyword arguments.
911 Add a :toggle argument to determine whether a nil arg means toggle
912 or means turn-on. The default is unchanged.
913 Add a call to force-mode-line-update.
915 2000-11-01 Dave Love <fx@gnu.org>
917 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
920 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
922 * calendar/calendar.el (diary-face, holiday-face): Add
923 dark-background variants.
925 2000-10-31 Sam Steingold <sds@gnu.org>
927 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
928 `tex-main-file' does not have directory in it.
930 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
932 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
934 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
936 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
939 2000-10-31 Gerd Moellmann <gerd@gnu.org>
941 * files.el (find-file-noselect): When we expand a wildcard, return
942 a list of buffers, as we should do according to the doc string.
944 2000-10-31 Ken Raeburn <raeburn@gnu.org>
946 * loadup.el (top level): Adjust load path if program name is
947 "../src/bootstrap-emacs", in case it's not dumped and thus the
948 load path adjustment hasn't already been done.
950 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
952 * ps-print.el: Fix bug on selected pages for printing. Use
953 `color-values' for Emacs 21. Ensure fontification when jit-lock
954 is on. Try to avoid warning messages when compiling. Doc Fix.
955 (ps-print-version): New version number (6.3).
956 (ps-color-device): Use `color-values' to determine if device
958 (ps-color-values): Try to use `x-color-values' when using XEmacs.
959 (ps-print-page-p): Changed from defsubst to defun.
960 (ps-page-number): Changed from defmacro to defun.
961 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
963 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
964 (ps-end-file, ps-dummy-page): Funs eliminated.
965 (ps-print-color-scale): Changed default value.
966 (ps-page-n-up, ps-print-page-p): New internal vars.
967 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
968 (ps-plot-region, ps-generate, ps-end-job): Code fix.
970 * delim-col.el: Little programming improvement.
971 (delimit-columns-str): New macro.
972 (delimit-columns-region, delimit-columns-rectangle): Code fix.
974 2000-10-31 Kenichi Handa <handa@etl.go.jp>
976 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
977 Moved to european.el.
978 (ccl-encode-mac-roman-font, fontset-mac): Modified for
979 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
980 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
981 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
983 2000-10-30 Dave Love <fx@gnu.org>
985 * progmodes/cc-menus.el (imenu-generic-expression)
986 (imenu-progress-message): Only defvar when compiling.
988 * emacs-lisp/elp.el (elp-unload-hook): New function.
990 * loadhist.el (unload-feature): Call elp-restore-function,
991 checking for symbols; don't use elp-restore-all.
992 (loadhist-hook-functions): Doc fix.
994 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
996 * log-edit.el (log-edit-confirm): Fix the default.
998 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1000 * delim-col.el: Little fix: replace delimit-columns-align-columns by
1001 delimit-columns-format.
1002 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1004 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
1006 * comint.el (comint-replace-by-expanded-history): Don't use
1007 comint-get-old-input (we're not looking at *old* input).
1008 (comint-get-old-input-default): If using fields, signal an error
1009 when the point is not in an input field.
1011 2000-10-30 Kenichi Handa <handa@etl.go.jp>
1013 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
1014 and mule-unicode-e000-ffff.
1016 * international/mule.el (decode-char, encode-char): New functions.
1017 (make-coding-system): Accept a symbol of translation table as a
1018 value of property `safe-chars'.
1020 * international/mule-cmds.el (encode-coding-char): Check property
1021 safe-chars instead of safe-charsets.
1023 * international/fontset.el (fontset-default): Modified for
1024 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1025 (x-font-name-charset-alist): Likewise.
1026 (ccl-encode-unicode-font): New CCL program. Record it in
1027 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
1029 * language/european.el (mac-roman-decoder, mac-roman-encoder):
1030 New translation tables.
1031 (decode-mac-roman, encode-mac-roman): Definition of these CCL
1032 programs are modified and moved from mac-win.el.
1033 (mac-roman): Definition of this coding system is modified and
1034 moved from mac-win.el.
1036 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1038 * ediff-wind.el (ediff-setup-control-frame): Enclose
1039 face-attribute in condition-case to avoid errors in older emacsen.
1041 2000-10-29 Miles Bader <miles@gnu.org>
1043 * custom.el (custom-add-to-group): Allow multiple entries for a
1044 given value OPTION, as long as their widget types are different.
1045 * cus-edit.el (custom-face-value-create): If face name doesn't end
1046 with "face", add such here (similar to custom group widgets).
1048 * comint.el (comint-highlight-prompt): Add :type.
1050 2000-10-28 John Wiegley <johnw@gnu.org>
1052 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
1053 Changed this function to operate on a temporary buffer instead of
1054 the main buffer. This not only keeps flyspell from marking a
1055 buffer as changed that wasn't, but it solves the jumpy cursor
1056 problem when attempts are made to edit incorrect words.
1057 (flyspell-maybe-correct-doubling): Same change as for
1058 `flyspell-maybe-correct-transposition'.
1060 * calendar/timeclock.el (timeclock-log): Doc fix.
1061 (timeclock-last-event): Doc fix.
1062 (timeclock-log): Kill the timelog buffer after appending a new
1064 (timeclock-find-discrep): Use a temp buffer to read in the
1065 timelog, instead of visiting the file.
1066 (timeclock-log-data): A new function, along with a host of helper
1067 functions, for the purpose of making timelog data accessible to
1070 * eshell/esh-mode.el (window-height test): Make certain that
1071 `eshell-stringify-t' is non-nil.
1072 (eshell-password-prompt-regexp): Changed to a much simpler
1074 (eshell-send-input): If `eshell-invoke-directly' returns t,
1075 directly invoke the parsed command using `eval'. This improves
1076 turn-around time on simple commands by a factor of three or
1077 greater, such as cd, ls, pwd, etc. -- which get used very often.
1078 It also conserves thousands of cons cells per call (since
1079 `eshell-do-eval' consumes memory like a Cookie Monster set loose
1080 in the Pacific Cookie Company).
1082 * eshell/esh-test.el (eshell-test): Whitespace fix.
1084 * eshell/em-ls.el (eshell-ls-insert-directory): Make
1085 `eshell-ls-initial-args' nil when inserting directory contents.
1087 * eshell/em-script.el (eshell-script-initialize): Add names to
1088 `eshell-complex-commands, since `source' and `.' are complex.
1090 * eshell/esh-cmd.el (eshell-rewrite-for-command)
1091 (eshell-rewrite-while-command): Use `eshell-protect' instead of
1092 `eshell-copy-handles'.
1093 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
1095 (eshell-separate-commands): Whitespace fix.
1096 (eshell-complex-commands): Added a new list of names, for
1097 determining whether a given command is as simple as it looks.
1098 (eshell-invoke-directly): New function. Returns t if a command
1099 should be invoked directly (using `eval'), rather than indirectly
1100 using `eshell-do-eval'.
1101 (eshell-do-eval): Whitespace fix.
1103 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
1104 which provides an emulation of the DOS shell behavior of assuming
1105 that cp/mv/ln should copy/move/link to the current directory.
1106 (eshell-remove-entries): Added a doc string.
1107 (eshell-shuffle-files): Removed the check for `target' being null.
1108 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
1109 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
1110 it to do a smarter check of whether a destination was provided.
1111 (eshell/mv, eshell/cp): Enable `:preserve-args'.
1112 (eshell/ln): Enable `:preserve-args', and use
1113 `eshell-mvcpln-template' to implement the body of the function.
1114 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
1115 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
1116 list after flattening it. This makes it possible to cat files
1117 with numerical names.
1118 (eshell-unix-initialize): Added several names to
1119 `eshell-complex-commands.
1120 (eshell-unix-command-complex-p): Return t if a given command name
1121 may result in external processes being invoked.
1123 * eshell/em-glob.el (eshell-glob-show-progress): Make this
1124 variable nil by default, since it slows down glob processing by a
1125 factor of two or more, and increases memory consumption.
1127 * eshell/em-smart.el: Added a note about how memory consumptive
1128 smart display mode can be (at least this is true in Emacs 21).
1129 (eshell-smart-initialize): Whitespace fix.
1130 (eshell-refresh-windows): Use `if' instead of `when'.
1131 (eshell-smart-scroll-window): Calling `save-current-buffer' was
1133 (eshell-currently-handling-window): Added a missing global
1136 * eshell/em-ls.el (eshell-do-ls): Code simplification.
1137 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
1139 (eshell-ls-exclude-hidden): Added this variable in addition to
1140 `eshell-ls-exclude-regexp'. This one prevents files beginning
1141 with . from even being read, which can improve memory consumption
1143 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
1144 read file entries beginning with a dot. In home directories with
1145 lots of hidden files, fully two-thirds of the time spent in ls is
1146 used to read directory entries that are immediately thrown away.
1147 (eshell-ls-initial-args): Added back this configuration variable,
1148 for specifying default initial arguments to every call to ls.
1149 Much faster than using an alias to do the same thing.
1150 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
1151 (eshell-ls-dir): Whitespace change.
1153 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
1155 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
1157 (eshell-stringify-t): Added a customization variable, to indicate
1158 whether `t' should be rendered as a string at all. If not, one
1159 can still determine if the result of an expression is true using
1160 "file-exists-p FILE && echo true".
1161 (eshell-stringify): If `eshell-stringify-t' is nil, don't
1164 * eshell/esh-module.el: Whitespace fix.
1166 * eshell/em-alias.el (eshell-alias-initialize): Added
1167 `eshell-command-aliased-p' to `eshell-complex-commands'.
1168 (eshell-command-aliased-p): New function that returns t if a
1169 command name names an aliased.
1171 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1173 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
1174 redrawing the screen when changing cursor color.
1175 (viper-insert-state-pre-command-sentinel)
1176 (viper-replace-state-pre-command-sentinel)
1177 (viper-replace-state-post-command-sentinel):
1178 Use viper-preserve-cursor-color.
1179 Many functions changed to use viper= instead of = when comparing
1181 * viper-util.el (viper-memq-char,viper=): New functions for
1182 working with characters.
1183 (viper-change-cursor-color): Fixed buglet.
1184 Many functions changed to use viper= instead of = when comparing
1186 * viper.el (viper-insert-state-mode-list): Added eshell.
1188 * ediff-init.el (ediff-before-setup-hook): New hook.
1189 Several typos fixed in various docstrings.
1190 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
1191 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
1193 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
1194 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
1195 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
1196 (ediff-get-selected-buffers): New function.
1197 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
1198 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
1199 save-window-excursion.
1200 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
1201 termination check in while loop.
1202 * ediff.el (ediff-get-default-file-name): Better defaults when in
1204 (ediff-files,ediff-merge-files,ediff-files3)
1205 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
1207 2000-10-28 Dave Love <fx@gnu.org>
1209 * info.el (Info-fontify-node): Add help-echo for menu items.
1211 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
1213 * startup.el (normal-top-level): If the value of $TERM indicates
1214 we are running from xterm or one of its work-alikes, default to a
1215 light background mode.
1217 Support for -fg, -bg, and -rv command-line arguments for TTYs:
1218 * faces.el (tty-handle-reverse-video): New function.
1219 (tty-create-frame-with-faces): Call it.
1221 * frame.el (frame-notice-user-settings): Don't apply
1222 default-frame-alist and initial-frame-alist to MS-DOS frames.
1223 Call tty-handle-reverse-video, frame-set-background-mode, and
1224 face-set-after-frame-default for non-MS-DOS frames.
1226 * startup.el (tty-long-option-alist): New variable.
1227 (tty-handle-args): New function.
1228 (command-line): Call tty-handle-args.
1230 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
1231 startup.el now does that for all character-terminal frames.
1233 2000-10-28 Miles Bader <miles@gnu.org>
1235 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
1236 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
1237 global. If :global is followed by a non-nil but non-t value,
1238 make the mode buffer-local, but also generate a `global-MODE'
1239 version using `easy-mmode-define-global-mode'. Add
1240 :conditional-turn-on keyword argument.
1242 2000-10-28 Dave Love <fx@gnu.org>
1244 * international/latin1-disp.el (latin1-char-displayable-p): Don't
1247 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
1249 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1250 Don't call find-buffer-file-type-coding-system. Instead, just
1251 set eol-type to -unix if inhibit-eol-conversion is in effect, or
1252 if the file is on an untranslated filesystem.
1253 (add-untranslated-filesystem): Use "D" instead of "f" inside
1256 2000-10-27 Dave Love <fx@gnu.org>
1258 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
1259 (refill-mode): Use it.
1261 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
1263 * international/quail.el (quail-activate): Don't make-local-hook.
1265 2000-10-27 Andre Spiegel <spiegel@gnu.org>
1267 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
1268 manual backups and file.~<rev>.~ for automatic ones.
1269 (vc-make-version-backup): Don't do it on MS-DOS without long file
1272 * vc.el (vc-version-other-window): If an automatic backup of the
1273 desired version exists, rename it instead of copying it.
1275 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
1276 after command. If there's an unexpected error, signal it instead
1278 (vc-cvs-merge-news): Be prepared for no news at all.
1280 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
1282 * shell.el (shell): Add BUFFER argument.
1283 * comint.el (make-comint-in-buffer): New function.
1284 (make-comint): Use it.
1286 * faces.el (face-spec-choose): Change syntax so that the list of
1287 attribute-value pairs is now the cdr of each clause, not the cadr.
1288 Detect old-style entries, and handle them. Use pop.
1290 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
1292 * cus-edit.el (custom-mode-map): Use a sparse map.
1293 (custom-mode): Don't bother with make-local-hook.
1295 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
1297 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
1299 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1301 * ps-print.el: Avoid compilation gripes.
1302 (ps-print-version): New version number (6.2.1).
1304 2000-10-26 Dave Love <fx@gnu.org>
1306 * menu-bar.el: Modify some menu item help strings.
1307 (menu-bar-help-menu): Add link to MORE.STUFF.
1309 * cus-edit.el (custom-mode): Add `special' mode-class property.
1311 * wid-browse.el (widget-browse-mode): Likewise.
1313 * wid-edit.el (widget-specify-field): Revert to using local-map
1314 property, not keymap.
1316 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
1318 * wid-edit.el (widget-field-end): When checking for a `boundary'
1319 field, do so in the correct buffer.
1321 * simple.el (undo): Correctly distinguish between numeric and
1322 non-numeric prefix args in non-transient-mark-mode, as per the doc
1323 string. When in transient-mark-mode, treat all prefix-args as
1326 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1327 Position point on match. Handle N == 0 correctly.
1329 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1330 (comint-mode-map): Reverse order of `comint-write-output' and
1331 `comint-append-output-to-file'.
1332 (comint-append-output-to-file): Reinstate this function, for the
1333 benefit of the menu.
1335 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
1337 * vc.el (vc-version-other-window): Bind `file'.
1339 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1341 * Makefile.in (update-authors): New target for maintenance purposes.
1343 * emacs-lisp/authors.el (batch-update-authors): New function.
1344 (authors-fixed-entries): New defconst.
1345 (authors-add-fixed-entries): New function.
1346 (authors): Call it.: Don't process lispref/.
1348 2000-10-25 Jason Rumney <jasonr@gnu.org>
1350 * cus-edit.el (custom-button-face, custom-button-pressed-face):
1351 Merge x w32 and mac definitions.
1353 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1355 * menu-bar.el (menu-bar-options-menu): Add a help string for
1358 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
1360 * time-stamp.el (time-stamp-string-preprocess):
1361 Fix a wrong type argument error.
1363 2000-10-25 Miles Bader <miles@gnu.org>
1365 * recentf.el (recentf-mode): Variable removed.
1366 (recentf-mode): Use `define-minor-mode'.
1368 * mwheel.el (mouse-wheel-mode): New global minor mode.
1369 (mwheel-install): Use `mouse-wheel-mode'.
1371 2000-10-25 Dave Love <fx@gnu.org>
1373 * progmodes/cperl-mode.el (cperl-mode):
1374 Set normal-auto-fill-function correctly.
1376 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1377 inherit from global-map and don't nullify menu-bar and tool-bar
1380 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
1382 * wid-edit.el (widget-field-at): New function.
1383 (widget-at, widget-field-activate): Use it.
1384 (widget-tabable-at): Use `widget-at'.
1385 (widget-specify-field): If the terminating character of the widget
1386 field (which is read-only) is a newline, put it into a special
1387 `boundary' field so that C-n/C-p act more naturally.
1388 (widget-field-end): Also don't subtract one if a special
1389 `boundary' field has been added after the widget field.
1391 * comint.el (comint-output-filter, comint-send-input): Don't
1392 bother adding stickiness fields to overlays to fool the field
1393 code, since it should notice the overlay insertion-types now.
1395 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1396 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1397 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1399 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1401 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1402 (authors): Set file coding system to iso-2022-7bit. Add
1403 file-local variables to output buffer.
1405 * files.el (after-find-file): Don't print any warnings if
1408 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1410 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1412 * delim-col.el: Now there is a column formatting mechanism.
1413 Modified to customization mechanisms convention. Doc fix.
1414 (columns): New group for delim-col.
1415 (delimit-columns-before, delimit-columns-after)
1416 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1417 (delimit-columns-end): New vars.
1418 (delimit-columns-customize, delimit-columns-format): New funs.
1419 (delimit-columns-region, delimit-columns-rectangle)
1420 (delimit-columns-rectangle-line): Modified to support column
1423 2000-10-24 Dave Love <fx@gnu.org>
1425 * log-edit.el (log-edit): Add :version and a :group for vc.
1427 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1429 * files.el (after-find-file): Don't print a message ``New file''
1432 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1433 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1434 get duplicate tool-bar entries because we'll see the global ones
1435 on more than one path through keymaps.
1437 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1439 * progmodes/cmacexp.el: Change Francesco's email address.
1441 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1443 * window.el (fit-window-to-buffer): Adjust point of the window
1444 buffer, not that of the current buffer.
1446 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1448 * progmodes/cmacexp.el: Update the euthor's email address.
1450 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1452 * faces.el (face-spec-set-match-display): Add `graphic' display
1453 type (the inverse of `tty'). Use `display-graphic-p' instead of
1454 the window-system variable.
1456 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1458 * international/isearch-x.el (isearch-with-input-method): Call
1459 input-method-function with the first event in
1460 unread-command-events.
1462 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1464 * faces.el (face-default-spec, face-user-default-spec): Make
1467 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1469 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1472 * term/mac-win.el: Remove definitions of mac-roman-lower and
1473 mac-roman-upper, require dired, and define instead of set
1474 mac-ready-for-drag-n-drop to avoid compilation error.
1476 2000-10-23 Andrew Innes <andrewi@gnu.org>
1478 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1479 superfluous calls to subst-char-in-string; instead apply
1480 expand-file-name after convert-standard-filename to ensure
1481 expected directory separators are used.
1483 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1485 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1487 2000-10-23 Dave Love <fx@gnu.org>
1489 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1490 (tool-bar-add-item): Set foreground and background for XBM icons.
1492 * international/latin1-disp.el (latin1-char-displayable-p): New
1493 function (from Handa).
1494 (latin1-display-check-font): Use it.
1496 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1497 using :key-sequence, making it much more usable. Use nconc, not
1499 (imenu--create-keymap-1): Avoid append.
1501 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1503 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1505 [the following changes fix a bug where `define-minor-mode' didn't
1506 correctly generate :require clauses for defcustoms in compiled files]
1507 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1508 (byte-compile-log-file, byte-compile-log-1): Don't set
1509 `byte-compile-current-file' to nil. Instead set
1510 `byte-compile-last-logged-file' to it. Test whether
1511 byte-compile-current-file equals byte-compile-last-logged-file
1512 instead of whether its nil.
1513 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1515 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1517 * textmodes/refill.el: Fix var names in doc.
1518 (refill-mode): Don't bother with make-local-hook anymore.
1520 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1522 * faces.el (face-user-default-spec, face-default-spec): New functions.
1523 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1524 (frame-set-background-mode, face-set-after-frame-default):
1525 Use `face-user-default-spec'. Simplify code slightly.
1527 * woman.el (woman-italic-face, woman-bold-face)
1528 (woman-unknown-face): Add dark-background variants.
1529 (woman-default-faces): Renamed from `woman-colour-faces'.
1530 Set using the stored defaults, rather than using hard-wired colors.
1531 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1532 Just make the foreground `unspecified' rather than "black".
1533 (woman-menu): Rename menu entries accordingly.
1535 * faces.el (header-line): Make more reasonable on mono/grayscale
1538 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1540 * cus-edit.el (custom-button-face): Use 3D look for mac.
1541 (custom-button-pressed-face): Likewise.
1543 * faces.el (set-face-attributes-from-resources): Handle mac frames
1544 in the same way as x and w32 frames.
1545 (face-valid-attribute-values): Likewise.
1546 (read-face-attribute): Likewise.
1547 (defined-colors): Likewise.
1548 (color-defined-p): Likewise.
1549 (color-values): Likewise.
1550 (display-grayscale-p): Likewise.
1551 (face-set-after-frame-default): Likewise.
1552 (mode-line): Same default face as for x and w32.
1553 (tool-bar): Likewise.
1555 * frame.el: Remove call to frame-notice-user-settings at end of
1558 * info.el (Info-fontify-node): make underlines invisible for mac
1559 as for x, pc, and w32 frame types.
1561 * term/mac-win.el: New file.
1563 2000-10-22 Dave Love <fx@gnu.org>
1565 * textmodes/refill.el: New file.
1567 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1569 * vc-hooks.el (vc-version-backup-file-name): New optional args
1571 (vc-delete-automatic-version-backups, vc-make-version-backup):
1573 (vc-before-save): Use the latter.
1574 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1577 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1578 expected by vc[-hooks].el.
1580 * vc.el (vc-checkout): Added `-p' suffix in call to
1581 vc-make-version-backups-p; use vc-make-version-backup to actually
1583 (vc-version-other-window, vc-version-backup-file): Handle both
1584 automatic and manual backups.
1585 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1588 2000-10-22 Miles Bader <miles@gnu.org>
1590 * comint.el (comint-highlight-input, comint-highlight-prompt):
1591 Renamed, `-face' at end removed.
1592 (comint-send-input, comint-output-filter): Use renamed faces.
1594 * window.el (fit-window-to-buffer): Change defaulting of
1595 MAX-HEIGHT slightly.
1597 * faces.el (color-values, color-defined-p): Use `member', not
1598 `memq', because it works correctly for strings.
1599 (frame-set-background-mode): Actually, "unspecified-fg" and
1600 "unspecified-bg" *are* strings. Use `member', not `memq', and
1601 `equal', not `eq', when a string value is possible.
1603 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1605 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1607 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1609 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1610 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1611 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1612 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1613 (sh-font-lock-syntactic-keywords): Use them.
1614 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1615 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1616 (sh-mode): Don't override font-lock-unfontify-region-function.
1617 Use a copy of sh-font-lock-syntactic-keywords.
1618 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1619 Don't call sh-scan-buffer since font-lock does it on the fly.
1620 (sh-get-indent-info): Use `face' rather than `syntax-table'
1621 text-property to detect here-documents.
1622 Replace sh-special-syntax with sh-st-punc.
1623 (sh-prev-line): Use `face' rather than `syntax-table'
1624 text-property to skip over here-documents.
1625 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1626 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1627 (sh-electric-less, sh-set-here-doc-region)
1628 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1629 (sh-scan-buffer, sh-rescan-buffer): Remove.
1631 2000-10-21 Andrew Innes <andrewi@gnu.org>
1633 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1634 remote (ange-ftp) file names.
1636 2000-10-21 Miles Bader <miles@gnu.org>
1638 * window.el (fit-window-to-buffer): New function.
1639 (shrink-window-if-larger-than-buffer): Use it.
1640 (window-text-height): Don't expect minibuffers to have mode-lines.
1642 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1643 * international/quail.el (quail-update-guidance): Use
1644 `fit-window-to-buffer' instead of `set-window-text-height'.
1646 * international/quail.el (quail-show-guidance-buf): Make sure
1647 guidance window really has enough room.
1648 (quail-update-guidance): If quail-guidance-win is already shown,
1649 make sure its height is OK.
1651 * window.el (window-text-height, set-window-text-height):
1653 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1654 instead of `window-height' & `mode-line-window-height-fudge'.
1655 (mode-line-window-height-fudge): Add FACE parameter.
1656 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1657 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1659 2000-10-20 Miles Bader <miles@gnu.org>
1661 * window.el (height-affecting-face-attributes): Use `defconst'.
1663 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1664 New function, conditionally aliased to `mode-line-window-height-fudge'.
1665 (ispell-help): Use it.
1666 (ispell-choices-win-default-height): Don't include mode-line fudge.
1667 (ispell-choices-win-default-height): New function.
1668 (ispell-show-choices, ispell-command-loop): Use function
1669 `ispell-choices-win-default-height' instead of variable.
1671 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1673 * window.el (mode-line-window-height-fudge): New variable.
1674 (height-affecting-face-attributes): New variable.
1675 (mode-line-window-height-fudge): New function.
1676 (shrink-window-if-larger-than-buffer): Use it.
1677 * help.el (resize-temp-buffer-window): Likewise.
1679 * info.el (Info-fontify-node): Add support for @subsubsection
1680 titles, which use `Info-title-4-face'.
1681 (Info-title-4-face): New face.
1682 (Info-title-3-face): Inherit from Info-title-4-face instead of
1685 2000-10-19 Jason Rumney <jasonr@gnu.org>
1687 * dired.el (dired-insert-directory): Do not let errors signalled by
1688 attempt to run dired-free-space-program prevent dired from working.
1690 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1692 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1694 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1696 * dirtrack.el (dirtrack): Fix call to run-hooks.
1698 * cmuscheme.el (cmuscheme-program-name): Renamed from
1699 scheme-program-name because xscheme.el contains a defcustom with
1700 the same name. As a consequence, customizing group `cmuscheme'
1701 loaded `xscheme' which redefined run-scheme.
1702 (run-scheme): Use cmuscheme-program-name.
1704 * ps-print.el (ps-print-emacs-type): Move into the
1707 * play/doctor.el (doctor-death): Update the Samaritans'
1708 anonymous address, and add a website for Befrienders International.
1710 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1712 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1713 Avoid compilation gripes. Doc fix.
1714 (ps-print-version): New version number (6.2).
1715 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1716 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1717 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1718 (ps-x-extent-priority, ps-x-extent-start-position)
1719 (ps-x-face-font-instance, ps-x-find-coding-system)
1720 (ps-x-font-instance-properties, ps-x-make-color-instance)
1721 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1722 avoid compilation gripes without defining functions.
1723 (ps-e-find-composition): Alias for function find-composition, to have a
1724 suitable function depending on Emacs version.
1725 (ps-color-device, ps-color-values, ps-face-foreground-name)
1726 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1727 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1728 (ps-print-ensure-fontified): Function definitions surrounded by
1729 `eval-and-compile' to avoid compilation gripes.
1730 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1731 by symbol-value to avoid compilation gripes.
1732 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1733 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1735 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1737 * startup.el (normal-top-level): Call `frame-set-background-mode'
1738 after `frame-notice-user-settings' because the latter doesn't call
1739 the former on a tty.
1741 * faces.el (frame-set-background-mode): `unspecified' &c are
1742 symbols, not strings.
1744 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1746 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1747 why some "light*" colors are deliberately absent from the alist.
1749 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1750 Change colors for tty's, as suggested by Miles Bader.
1752 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1754 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1755 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1756 for ISO10646-1 fonts.
1757 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1759 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1761 * faces.el (frame-set-background-mode): If a tty frame defines a
1762 background color, use that to compute the background mode, instead
1763 of always defaulting to "dark".
1765 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1767 * comint.el (comint-write-output): New function.
1768 (comint-mode-map): Add it to the menu.
1769 Bind `C-c C-s' to comint-write-output.
1771 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1773 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1774 Use fancy-splash-delay.
1776 2000-10-18 Alex Schroeder <alex@gnu.org>
1778 * progmodes/sql.el (sql-sybase-options): New option.
1779 (sql-sybase): Use it. Add sql-database to the list of parameters
1780 provided for login. The options -w 2048 -n are not used any more.
1782 * comint.el (comint-read-input-ring): Bugfix such that the first
1783 and the last entry of the input ring file are not lost.
1785 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1787 * ps-print.el: Internal variable changes to defcustom,
1788 make-local-hook changes to defvar. Doc fix.
1789 (ps-print-version): New version number (6.1).
1790 (ps-setup, ps-do-despool): Code fix.
1791 (ps-printer-name): Customization fix.
1792 (ps-printer-name-option): Now is a defcustom instead of an
1794 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1795 (ps-print-begin-column-hook): Now are defvar instead of
1798 2000-10-18 Miles Bader <miles@gnu.org>
1800 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1801 (comint-kill-output): Changed into an alias for `comint-delete-output',
1803 (comint-mode-map): Rename references to comint-kill-output.
1805 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
1807 * diff-mode.el (diff-header-face, diff-file-header-face)
1808 (diff-changed-face): Add bold and italic attributes to tty faces.
1809 (diff-function-face): New face.
1810 (diff-font-lock-keywords): Use it.
1812 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
1814 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1815 Remove commented-out call to force-mode-line-update.
1816 (comint-kill-output): Use `forward-line 0' instead of
1817 beginning-of-line to make sure we get past the prompt.
1819 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
1821 * diff-mode.el (diff-header-face, diff-file-header-face):
1822 Add specific setting for dark background.
1823 (diff-context-face): Renamed from diff-comment-face.
1824 Set explicitly rather than inheriting from font-lock-comment-face.
1826 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1828 * startup.el (command-line): Move the code which sets the default
1829 TTY colors to before before-init-hook.
1831 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1833 * jit-lock.el (jit-lock-stealth-time): Doc fix.
1835 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1837 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1838 extensions, for MS-DOS.
1840 * diff-mode.el (diff-header-face, diff-file-header-face)
1841 (diff-changed-face): Define tty-specific colors.
1843 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1845 * startup.el (fancy-splash-text): Realign the text.
1847 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1849 * font-lock.el (font-lock-comment-face): Define a separate default
1850 for dark-background tty's.
1852 2000-10-17 Miles Bader <miles@gnu.org>
1854 * help.el (resize-temp-buffer-window): Add hack to avoid last line
1855 being obscured by whizzy mode-lines on graphics displays.
1857 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1859 * info.el (Info-title-1-face, Info-title-2-face)
1860 (Info-title-3-face): Define colors for tty's.
1861 (info-header-node): Remove unneeded tty-specific definition.
1863 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
1865 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1866 reverse from the frame parameters, and don't invert foreground and
1869 2000-10-16 Miles Bader <miles@gnu.org>
1871 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1872 string "*Info*". Call propertized-buffer-identification to spruce
1875 2000-10-16 Gerd Moellmann <gerd@gnu.org>
1877 * help.el: Provide `help' for the sake of define-minor-mode
1878 which generates defcustoms with requires.
1880 * jit-lock.el (jit-lock-after-change): If we're in text that
1881 matches a multi-line font-lock pattern, make sure the whole text
1882 will be redisplayed.
1884 * emacs-lisp/authors.el (authors-add): Don't add an entry if
1885 author's name is unknown.
1887 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1888 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1889 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1890 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1891 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1892 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1893 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1894 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1895 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1896 Add author information.
1898 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
1900 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1901 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1902 full-color version (using the Gimp) to eliminate dithering artifacts.
1904 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1906 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1908 * simple.el (syntax-flag-table, string-to-syntax): Remove.
1910 2000-10-15 Dave Love <fx@gnu.org>
1912 * progmodes/sh-script.el: Require skeleton and comint when
1915 * pcomplete.el (pcomplete) <defgroup>: Add :version.
1917 * whitespace.el: Doc fixes.
1918 (top-level): Don't add hooks here.
1919 (whitespace-running-emacs): Deleted.
1920 (timer): Don't require.
1921 (whitespace): Add back :version conditional on xemacs test.
1922 (whitespace-spacetab-regexp, whitespace-indent-regexp)
1923 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1924 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1925 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1926 Avoid specific xemacs test.
1927 (whitespace-global-mode): New option.
1928 (whitespace-global-mode): New command.
1929 (whitespace-unload-hook): New function.
1931 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1932 (Info-fontify-node, Info-goto-node, Info-mode-menu)
1933 (Info-fontify-node): `Goto' goes to `Go to'.
1934 (Info-fontify-node): Add help-echo to xref links.
1936 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
1938 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1940 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1942 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1943 Use plist-get and allow :inherit.
1945 * emacs-lisp/cl-macs.el (cl-do-arglist):
1946 Use plist-get and plist-member instead of memq.
1948 * emacs-lisp/ewoc.el (ewoc-location): New function.
1949 (ewoc-enter-after, ewoc-enter-before): Document return value.
1950 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1951 Don't need make-local-hook any more.
1952 (cvs-addto-collection): Return the new tin.
1953 (cvs-mode-insert): Jump to the new line.
1955 * jit-lock.el (jit-lock-fontify-buffer): Remove.
1957 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1959 * font-lock.el (font-lock-syntactically-fontified): New var.
1960 (font-lock-fontify-syntactic-keywords-region): Use it.
1961 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
1963 * diff-mode.el (diff-find-file-name): Fix regexp.
1965 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1966 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1968 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1969 (sh-mode-syntax-table): Add punctuation syntax for < and >.
1970 (sh-mode): Don't make all vars local here.
1972 (sh-set-shell): Use dolist. Don't set indent-region-function.
1973 (sh-mode-syntax-table): Use pop.
1974 (sh-remember-variable): Use push.
1975 (sh-help-string-for-variable): Use memq.
1976 (sh-safe-backward-sexp): Remove.
1977 (sh-safe-forward-sexp): Add ARG.
1978 (sh-get-indent-info, sh-prev-stmt): Use it.
1979 (sh-prev-line): Simplify by using forward-comment.
1980 (sh-this-is-a-continuation): Simplify.
1981 (sh-learn-buffer-indent): Use dolist.
1982 (sh-do-nothing): Remove.
1983 (sh-set-char-syntax, sh-set-here-doc-region):
1984 Use inhibit-modification-hooks.
1985 (sh-name-style): Use mapcar and push.
1986 (sh-load-style): Use dolist.
1987 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1988 (sh-case, sh-while-getopts): Use propertize directly rather
1989 than sh-electric-rparen.
1991 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
1993 * textmodes/tex-mode.el: Require CL when compiling.
1994 (tex-mode-syntax-table): Init immediately.
1995 (tex-mode-map): Bind M-RET to latex-insert-item.
1996 (latex-mode): Set indent-line-function to latex-indent.
1997 (tex-common-initialization): Don't setup the syntax-table any more.
1998 (latex-insert-item): New skeleton.
1999 (tex-next-unmatched-end): Fix copy/paste braino.
2000 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
2001 (latex-indent, latex-find-indent): New functions.
2002 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
2003 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
2004 (tex-compilation-parse-errors): Use with-syntax-table.
2006 2000-10-15 Miles Bader <miles@gnu.org>
2008 * font-lock.el (font-lock-comment-face): Change dark-background,
2009 color, non-tty, default to `chocolate1'.
2011 2000-10-13 John Wiegley <johnw@gnu.org>
2013 * eshell/esh-util.el (require): Added a missing `require' form,
2014 needed when compiling (for an ange-ftp macro definition).
2016 2000-10-13 Dave Love <fx@gnu.org>
2018 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
2020 2000-10-13 Gerd Moellmann <gerd@gnu.org>
2022 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
2025 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
2026 transparent -colors 8).
2028 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
2030 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
2031 that breaks with old list format timestamps.
2032 (time-stamp-warn-inactive, time-stamp-old-format-warn)
2033 (time-stamp-count, time-stamp-conversion-warn): Improved doc
2036 2000-10-13 John Wiegley <johnw@gnu.org>
2038 * align.el, pcomplete.el, calendar/timeclock.el,
2039 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
2041 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
2042 faulty math, where holiday hours were being computing as seconds.
2044 2000-10-13 John Wiegley <johnw@gnu.org>
2046 * desktop.el (desktop-buffer-modes-to-save): Added a global for
2047 specifying what "other" kinds of buffers should be saved. This
2048 used to be hard-coded.
2049 (desktop-buffer-misc-functions): A global for specifying how
2050 auxiliary data should be determined for special buffer types.
2051 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
2052 instead of hard-coding the special buffer types.
2053 (desktop-save): Run `desktop-buffer-misc-functions' to gather
2054 auxiliary data, instead of hard-coding for Info buffers and dired.
2055 (desktop-buffer-info-misc-data): Aux function for determining Info
2056 buffer auxiliary info.
2057 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
2058 (desktop-buffer-info): Changed this function to use the info
2060 (desktop-create-buffer): Be a little more careful about what
2061 `minor-mode' means before calling it. This is important for some
2064 2000-10-13 John Wiegley <johnw@gnu.org>
2066 * eshell/esh-util.el: Added a global form which declares an
2067 autoload for `parse-time-string', if that function is not already
2068 defined, and if parse-time.el is available on the user's system.
2070 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
2071 to be aware of ange-ftp user info.
2072 (eshell-do-ls): Bind `ange-cache'. Also, use
2073 `eshell-file-attributes'.
2074 (eshell-ls-annotate): Use `eshell-file-attributes'.
2075 (eshell-ls-file): Made the user-id printing code a bit smarter.
2077 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
2078 allow identification of alias user ids in remote directories.
2079 It's manual, but there's no other way to know when the current
2080 user on the local machine, is also the owning user on the remote
2082 (fboundp): Bind `ange-cache'.
2083 (eshell-directory-files-and-attributes): Re-organized the logic a
2084 bit to use `eshell-file-attributes' instead of `file-attributes'.
2085 The former is more sensitive to directories that are read via FTP,
2086 and knows how to use ange-ftp to determine full attribute
2087 information, instead of just the name and last modtime.
2088 (eshell-current-ange-uids): Return the current user id when in a
2090 (eshell-parse-ange-ls): Parse a full directory listing that has
2091 been returned by ange-ftp.
2092 (eshell-file-attributes): This beefed up version of
2093 `file-attributes' is only special if the user is currently in a
2094 remote directory, in which case it does a lot of work to find out
2095 what the real attributes of a file are, as they appear on the
2096 remote machine. This makes usage of remote directories (i.e.,
2097 ange-ftp pathnames) much more useful. You can now use Eshell as a
2098 full-fledged FTP client, with much more manipulation ability than
2101 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
2102 variable, which means that Eshell's du should always be preferred
2103 in remote directories.
2104 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
2105 just `file-attributes'.
2106 (eshell-mvcp-template): Bind `ange-cache', to improve performance
2107 when reading remote directories. This is an Eshell-specific
2108 variable (not part of ange-ftp).
2109 (eshell/ln): Bind `ange-cache'.
2110 (eshell/du): Added some extra logic for determining when to use
2111 Eshell's du (which is slow), and when to use the external version
2112 (which may or may not exist).
2114 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
2115 `eshell-interactive-process', rather than using
2116 `get-buffer-process', since backgrounded processes don't count in
2117 the context of this function's logic.
2119 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
2120 `forward-char', so that null strings are parsed correctly.
2122 2000-09-13 John Wiegley <johnw@gnu.org>
2124 * eshell/em-pred.el (eshell-pred-file-type,
2125 eshell-pred-file-links, eshell-pred-file-size): Use
2126 `eshell-file-attributes'. This is more correct over ange-ftp.
2128 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
2129 that remote file globbing is more efficient.
2131 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
2132 gathering the files and attributes within a directory.
2134 * eshell/em-unix.el (eshell/cat): If any of the files passed on
2135 the command line is a special file (not a regular file, directory
2136 or symlink), always attempt to call the external version of cat.
2138 2000-09-13 John Wiegley <johnw@gnu.org>
2140 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
2141 Eshell-friendly version of find-tag.
2143 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
2145 * image-file.el (image-file-name-extensions)
2146 (image-file-name-regexps): Add autoload cookies.
2148 2000-10-13 Kenichi Handa <handa@etl.go.jp>
2150 * international/mule-cmds.el (select-safe-coding-system): If FROM
2151 is string, show it in *Warning* buffer.
2153 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
2155 * startup.el (normal-top-level): Use display-popup-menus-p instead
2157 (command-line): Use display-graphic-p instead of window-system.
2158 (command-line-1): Use display-popup-menus-p and display-mouse-p
2159 instead of window-system.
2161 2000-10-12 Sam Steingold <sds@gnu.org>
2163 * tooltip.el (tooltip-use-echo-area): New user variable.
2164 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
2166 2000-10-12 Dave Love <fx@gnu.org>
2168 * recentf.el: Maintainer's checkdoc fixes.
2170 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
2171 character class, not ASCII when matching file names.
2172 (fancy-splash-head): Add trailing slash to URL.
2173 (command-line): Don't require XPM support for toolbar.
2175 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
2176 (cperl-invalid-face): Revert last change.
2177 (cperl-init-faces): Quote cperl-invalid-face.
2179 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2181 * startup.el (fancy-splash-text): Remove superfluous quote.
2183 2000-10-12 Gerd Moellmann <gerd@gnu.org>
2185 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
2186 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
2187 (command-line-1): Don't use fancy-splash-pending-command.
2188 (fancy-splash-screens-1): Goto point-min after inserting text.
2190 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
2192 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
2193 instead of shared-lisp-mode-map.
2195 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
2197 * faces.el (header-line): Change tty-variant to use underlining.
2199 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
2200 (isearch-highlight): Restore lazy-isearch face properties at old
2201 position, and suppress them at new position.
2202 (isearch-dehighlight): Restore lazy-isearch face properties.
2203 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
2204 over the real isearch overlay, but in that case, don't give it a
2205 face property. Use `push'.
2207 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2209 * man.el (Man-getpage-in-background): Fix previous change.
2210 Decode the process output only when we are in multibyte mode.
2212 2000-10-11 Dave Love <fx@gnu.org>
2214 * info.el (Info-mode-menu): Fix some help.
2215 (info-tool-bar-map): Add entry for Info-last.
2217 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
2218 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
2219 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
2220 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
2221 * toolbar/search-replace.xpm, toolbar/exit.xpm:
2222 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
2223 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
2224 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
2225 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
2226 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
2227 Reduce colour requirements to 25 overall. (Probably wants
2228 revisiting from the originals to reduce further.)
2230 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
2232 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
2233 buffer-file-coding-system, instead of raw-text.
2234 (dehexlify-buffer): Bind coding-system-for-read to
2235 buffer-file-coding-system, instead of raw-text.
2237 2000-10-11 Sam Steingold <sds@gnu.org>
2239 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
2240 `underline' - fixes the bug introduced on 2000-09-21.
2242 2000-10-11 Dave Love <fx@gnu.org>
2244 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
2246 (scheme-mode): Doc fix.
2247 (scheme-font-lock-keywords-1): Match `define-syntax'.
2249 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
2251 * faces.el (frame-set-background-mode): Pay attention to saved
2252 face specs as well as default ones. Only do anything if the
2253 bg-mode or display-type has actually changed. Use `dolist'.
2254 (region): Make dark-background `region' face less in-your-face.
2256 2000-10-10 Sam Steingold <sds@gnu.org>
2258 * chistory.el, ielm.el, ledit.el:
2259 * progmodes/inf-lisp.el, progmodes/scheme.el:
2260 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
2262 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
2264 * textmodes/texinfo.el: Update copyright and fix typo.
2266 * desktop.el (desktop-modes-not-to-save): New var.
2267 (desktop-save-buffer-p): Use it.
2268 Also, obey desktop-buffers-not-to-save even for non-file buffers.
2269 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
2271 2000-10-10 Dave Love <fx@gnu.org>
2273 * toolbar/tool-bar.el (tool-bar-add-item)
2274 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
2277 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
2278 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
2279 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
2280 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
2281 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
2282 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
2283 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
2284 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
2285 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
2286 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
2287 the .xpms; probably need retouching.
2289 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
2291 * subr.el (add-to-list): Add optional argument APPEND.
2292 * battery.el (display-battery): Use `add-to-list'.
2294 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
2296 * play/zone.el (zone-timer, zone-wc-tbl): Rework
2297 these vars as symbol properties.
2298 (zone, zone-when-idle, zone-leave-me-alone)
2299 (zone-pgm-whack-chars): Use new symbol properties.
2301 * battery.el (display-battery): Doc spelling fix.
2303 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
2306 2000-10-09 Dave Love <fx@gnu.org>
2308 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
2309 has been initialized before calling tool-bar-setup.
2310 (tool-bar-add-item-from-menu): Add autoload cookie.
2312 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
2314 * menu-bar.el (send-mail-item-name): New function.
2315 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
2316 of mail-user-agent in the menu. Don't display the "Send Mail"
2317 item if mail-user-agent is nil or its value is ignore.
2318 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
2319 if read-mail-command is nil or its value is ignore.
2321 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2323 2000-10-09 Miles Bader <miles@gnu.org>
2325 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2327 * toolbar/left_arrow.xpm: Correct image size.
2329 * jka-compr.el: Don't call `jka-compr-install' when loading (it
2330 will be done by the definition of `auto-compression-mode' if
2331 necessary. Move code to uninstall existing file-name handler
2332 before definition of `auto-compression-mode'.
2334 * image-file.el (auto-image-file-mode): Move to the end of the
2335 file, because `define-minor-mode' actually calls the mode-function
2336 if the associated variable is non-nil, which requires that all
2337 needed functions be already defined.
2339 * mouse.el (popup-menu): Balance parens.
2341 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
2343 * mouse.el (popup-menu): Move the command call outside the loop
2344 so that popup-menu returns whatever the command returns.
2346 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
2347 (initialize-new-tags-table): Use run-hook-with-args-until-success.
2348 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2349 (tags-table-format-functions): Renamed from tags-table-format-hooks.
2351 * vc.el (vc-version-diff): diff-switches can be a list.
2352 Use relative filenames for prettier output.
2354 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2355 (vc-post-command-functions): Remove old-VC compatibility code.
2357 * newcomment.el (comment-indent-default): Autoload.
2359 * font-lock.el (font-lock-defaults): Make buffer-local.
2360 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2361 (font-lock-choose-keywords):
2362 Ignore LEVEL unless KEYWORDS is a list of syms.
2363 (c-keywords, c++-keywords, objc-keywords, java-keywords):
2364 Don't wrap regexp-opt things in \(...\) unnecessarily.
2366 * jit-lock.el: Don't require font-lock any more.
2367 (jit-lock-functions): Make buffer-local.
2368 (jit-lock-saved-fontify-buffer-function): Remove.
2369 (jit-lock-mode): Remove autoload cookie.
2370 Remove font-lock specific code.
2371 (jit-lock-unregister): Don't bother handling complex hooks any more.
2372 (jit-lock-refontify): New function.
2373 (jit-lock-fontify-buffer): Use it.
2374 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2375 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2376 Add optional args START and END.
2377 Never call font-lock-fontify-region directly.
2378 (jit-lock-function, jit-lock-stealth-fontify): Use it.
2380 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2382 2000-10-08 Dave Love <fx@gnu.org>
2384 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2386 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2388 * play/studly.el (studlify-region, studlify-word): Add autoload
2391 * play/morse.el (morse-region, unmorse-region): Add autoload
2394 * play/spook.el (spook-phrases-file): Use expand-file-name, not
2397 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2398 insist on symbols starting with word syntax.
2399 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2400 (eval-defun-1): Doc fix.
2401 (indent-sexp): Use nconc to build up indent-stack.
2403 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2404 Gnus with little use.
2405 (mail-setup-hook): Add mail-abbrevs-setup to options.
2407 * recentf.el: Doc fixes.
2409 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2412 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2413 without timezone and (8) with timezone to enforce some whitespace.
2414 Simplify code somewhat.
2416 * options.el (list-options): Doc that you should use customize.
2418 * iswitchb.el (iswitchb-mode): Add :require.
2420 * info.el (Info-goto-node, Info-menu): Doc fix.
2421 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2422 (info-tool-bar-map): New variable.
2423 (Info-mode): Use it.
2424 (Info-edit-map): Define all in defvar.
2425 (speedbar-attached-frame): Avoid compiler warning.
2427 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2428 (global-map): Bind [tool-bar] to a filtered map.
2429 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2430 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2432 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2434 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2435 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2436 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2437 icons, except up_arrow, which is left-arrow rotated.
2439 * imenu.el (imenu-add-to-menubar): Fix last change.
2441 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2443 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2444 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2446 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2448 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2449 typos in doc strings.
2451 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2452 the doc strings how to customize Font Lock faces.
2454 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2455 computing growth when dragging the header line.
2457 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2459 * simple.el (kill-line): Doc fix.
2461 2000-10-08 Miles Bader <miles@gnu.org>
2463 * faces.el (secondary-selection): Make foreground visible on tty.
2465 * jka-compr.el (auto-compression-mode): Move to the end of the
2466 file, because `define-minor-mode' actually calls the mode-function
2467 if the associated variable is non-nil, which requires that all
2468 needed functions be already defined.
2469 (with-auto-compression-mode): Add autoload cookie.
2471 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2473 * files.el (find-backup-file-name) [ms-dos]: If support for long
2474 file names is not available, behave as if version-control were set
2477 2000-10-07 Dave Love <fx@gnu.org>
2479 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2480 (browse-url-gnome-moz): New function.
2481 (browse-url-browser-function): Use it.
2482 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2484 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2486 * indent.el (tab-always-indent): New var.
2487 (indent-for-tab-command): Use it.
2489 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2490 raise an error. This way it can still default to a sane value.
2492 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2494 * startup.el (fancy-splash-screens): Use local rather than global map.
2495 Don't use `update-menu-bindings' any more.
2496 Get rid of assumptions about keymap representation.
2498 2000-10-06 Dave Love <fx@gnu.org>
2500 * textmodes/fill.el (sentence-end-double-space)
2501 (sentence-end-without-period): Doc fix.
2502 (adaptive-fill-regexp): Purecopy.
2503 (unjustify-current-line): Use line-end-position.
2504 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2506 * net/eudc-vars.el (eudc): Add :version, :link.
2508 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2510 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2511 Fix for define-minor-mode.
2512 (function-at-point): Alias to function-called-at-point.
2514 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2516 * simple.el (backward-word): Doc fix.
2518 * image-file.el (image-file-name-regexp): image-file-regexps ->
2519 image-file-name-regexps.
2520 (image-file-name-extensions): Add pbm.
2522 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2524 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2525 and add filename to the names so that diff-mode can jump to source.
2527 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2528 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2529 (tex-font-lock-keywords-1): Remove.
2530 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2531 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2532 (font-lock-default-fontify-region):
2533 Expand beg..end correctly when just following a multiline region.
2534 (font-lock-fontify-anchored-keywords):
2535 Include the anchor text as part of the multiline.
2537 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2539 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2540 latter needs the autoloaded define-minor-mode macro during the
2543 * startup.el (command-line): For now, activate tool-bar-mode only
2544 if XPM images are supported.
2546 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2547 window by dragging a header-line at the top of the frame; that's
2548 confusing because the header-line doesn't move.
2549 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2550 of treating the event as a list. Some cleanup.
2552 2000-10-06 Miles Bader <miles@gnu.org>
2554 * simple.el (display-message-or-buffer): New function.
2555 (shell-command-on-region): Use `display-message-or-buffer'.
2557 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2560 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2561 (smbclient-prompt-regexp): Add usage note to doc string.
2562 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2563 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2564 Use add-hook for adding the comint filter function, and only do so
2565 if it's not already in the global hook list.
2566 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2567 to `make-local-variable'.
2568 (nslookup-font-lock-keywords): Remove prompt entry.
2569 (nslookup): Don't set the process-filter.
2570 (finger): Exit the loop correctly when the regexps list runs out.
2571 (ftp, smbclient, smbclient-list-shares):
2572 Set the real major mode immediately, not after execing.
2573 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2575 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2577 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2579 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2581 * which-func.el (which-func-format): Remove spurious space.
2582 (which-func-mode): Don't make it permanent-local.
2583 (which-func-ff-hook): Allow which-func-maxout to be nil.
2584 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2585 (which-func-mode): Simplify.
2586 Use post-command-idle-hook rather than post-command-hook.
2587 Go through all buffers and update their state.
2588 (which-function): Also try add-log-current-defun-function.
2590 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2591 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2592 Update call to with-vc-properties accordingly.
2593 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2594 (vc-revert-buffer): More careful about window selection and deletion.
2595 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2597 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2598 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2599 (cvs-dired-action): Change the default to quickdir.
2601 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2602 if comment-indent-function returns nil.
2603 (comment-indent-default): New function.
2604 (comment-indent-function): Use it and document the new semantics.
2606 * image-file.el: Docstring fixes.
2608 * help.el (help-xref-on-pp): Use match-string.
2609 (describe-variable): New arg BUFFER.
2610 Store the current buffer in the help-xref-stack.
2611 (temp-buffer-resize-mode): Use define-minor-mode.
2613 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2614 consistently with its docstring.
2615 Set jit-lock-first-unfontify-pos in an idempotent way.
2616 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2618 2000-10-05 Alex Schroeder <alex@gnu.org>
2620 * sql.el (sql-mysql-options): New variable.
2621 (sql-mysql): Use it.
2623 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2625 * image.el (image): New group.
2627 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2628 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2630 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2632 * net/net-utils.el (nslookup-font-lock-keywords)
2633 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2634 Ignore the value of wqindow-system; always define keywords
2636 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2638 * startup.el (fancy-splash-screens): Remove the code for
2639 debugging; `(trace-to-stderr "EXITTT\n")'.
2641 2000-10-05 Miles Bader <miles@gnu.org>
2643 * diff-mode.el (diff-goto-source): Update call to
2644 `diff-hunk-status-msg' to reflect new REV variable.
2646 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2648 * progmodes/icon.el (icon-mode):
2649 Don't gratuitously override the default for comment-column.
2651 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2653 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2654 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2655 (jit-lock-functions): New var.
2656 (jit-lock-function-1): Use it if non-nil.
2657 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2658 Set the `fontified' property before doing the fontification to avoid
2659 repeatedly going through the same error.
2660 Don't turn errors into messages.
2661 (jit-lock-register, jit-lock-unregister): New functions.
2663 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2664 Use with-current-buffer.
2666 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2667 Turn comment into docstring.
2669 * apropos.el (apropos-mode): Use define-derived-mode.
2671 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2673 * startup.el (fancy-splash-pending-command): New variable.
2674 (fancy-splash-pre-command): New function.
2675 (fancy-splash-screens): Rewritten.
2676 (command-line-1): If fancy-splash-pending-command is set, call it
2679 2000-10-04 Dave Love <fx@gnu.org>
2681 * toolbar/tool-bar.el (tool-bar-setup): New function.
2682 (tool-bar-mode): Use it.
2684 * subr.el (substitute-key-definition): Doc fix.
2685 (play-sound-file): New command.
2687 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2689 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2690 vc-version-backup-file-name): New functions.
2692 * files.el (basic-save-buffer): Call vc-before-save before saving.
2694 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2695 vc-cvs-stay-local-p.
2697 * vc.el (vc-revert-buffer): Handle empty diff properly.
2698 (vc-version-backup-file): New function.
2699 (vc-checkout): Create a version backup if necessary.
2700 (vc-checkin): If a version backup file exists, delete it.
2701 (vc-version-diff): Diff locally using version backups, if available.
2702 (vc-revert-file): If there's a version backup, revert locally.
2703 (vc-transfer-file): Use version backup for base version, if
2704 available. If not, ask for confirmation whether to get it from the
2705 server. Update mode line before check-in.
2707 2000-10-04 Dave Love <fx@gnu.org>
2709 * toolbar/tool-bar.el (tool-bar-setup): New function.
2710 (tool-bar-mode): Use it.
2712 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2714 * net/net-utils.el (nslookup-font-lock-keywords)
2715 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2716 Only set if window-system is non-nil
2717 (net-utils-run-program): Returns buffer.
2718 (network-connection-reconnect): Added this function.
2721 Incorporates extensive cleanup and docfixes by
2722 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2723 Uses cl compile-time macros.
2724 (generic-mode-name, generic-comment-list)
2725 (generic-keywords-list, generic-font-lock-expressions)
2726 (generic-mode-function-list, generic-mode-syntax-table):
2728 (generic-mode-alist): Renamed to generic-mode-list.
2729 (generic-find-file-regexp): Default changed to "^#".
2730 (generic-read-type): Uses completing read on generic-mode-list.
2731 (generic-mode-sanity-check): removed this function.
2732 (generic-add-to-auto-mode): Removed this function
2733 (generic-mode-internal): Bind mode-specific definitions
2734 into function instead of putting them in alist.
2735 (generic-mode-set-comments): Reworked extensively.
2736 (generic-mode-find-file-hook): Simplified regexp searching
2737 (generic-make-keywords-list): Omit extra pair of parens
2739 * find-lisp.el (find-lisp-find-files-internal):
2740 Make sure directory name ends with "/".
2742 * generic-x.el (apache-conf-generic-mode):
2743 Regexp now allows leading whitespace.
2744 (rc-generic-mode): Added eval-when-compile
2745 around generic-make-keywords-list.
2746 Deleted duplicate regexp
2747 (rul-generic-mode): Added eval-when-compile
2748 around generic-make-keywords-list.
2749 (etc-fstab-generic-mode): New generic mode.
2750 (rul-generic-mode): Removed one eval-when-compile
2751 which caused a max-specpdl-size exceeded error.
2753 2000-10-04 Miles Bader <miles@gnu.org>
2755 * simple.el (minibuffer-temporary-goal-position): New variable.
2756 (next-history-element): Try to keep the position of point in the
2757 input string constant.
2759 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2760 (dired-do-create-files): If there's only one file, pass it in as
2761 the DEFAULT arg to dired-mark-read-file-name.
2763 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2765 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2766 (diff-goto-source): Be smarter when choosing REVERSE or not.
2768 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2769 (texinfo-mode-menu): Add an explicit shortcut for update all.
2771 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2773 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2774 factorize backend-specific code cleanly (this was essentially
2775 conceived by Stefan Monnier).
2776 (vc-unregister): Function removed.
2777 (vc-revert-file): New function.
2778 (vc-revert-buffer): Delegate some of the work to it.
2780 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2781 default branch unconditionally.
2782 (vc-rcs-set-default-branch): New function.
2783 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2784 (vc-rcs-checkin): If an appropriate default branch has been set,
2785 force creation of that branch.
2786 (vc-rcs-receive-file): Rewritten to contain only backend-specific
2787 code (as suggested by Stefan Monnier).
2789 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2791 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2792 highlighting overlay with a different face over the overlay
2793 isearch uses to highlight the current match because that can lead
2794 to bad face combinations.
2796 * loadup.el (toplevel): Load faces before isearch.
2798 * isearch.el (isearch-faces): New custom group.
2799 (isearch): New defface; was already tested for in the code.
2800 (isearch-lazy-highlight-face): Changed to defface from defcustom.
2801 (isearch-highlight): Always use face `isearch'.
2803 2000-10-02 Dave Love <fx@gnu.org>
2805 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2806 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
2807 comparison of opcode with operand.
2809 2000-10-03 Miles Bader <miles@gnu.org>
2811 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2812 buffer, since the echo area will now grow to accommodate them.
2814 2000-10-02 Andre Spiegel <spiegel@gnu.org>
2816 * vc-hooks.el (vc-registered): If FILE used to be registered under
2817 a certain backend, try that one first.
2819 * vc.el (vc-responsible-backend): Undo the previous change in the
2820 argument list. Handle multiple backends correctly.
2821 (vc-find-new-backend): Function removed.
2822 (vc-register): Use vc-responsible-backend, as before.
2823 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2825 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2827 * startup.el (fancy-splash-head): Change message below the
2830 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
2832 * diff-mode.el (diff-goto-source): Emit a status message.
2833 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2834 (diff-test-hunk): Fix doc string.
2835 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2836 (diff-advance-after-apply-hunk): New variable.
2837 (diff-apply-hunk): Don't return a value.
2839 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
2841 * vc.el (vc-editable-p): Minor optimization.
2842 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2843 (vc-find-new-backend): New function split from vc-responsible-backend.
2844 (vc-register): Use it.
2845 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2846 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2847 (vc-default-unregister, vc-revert-buffer): Docstring fix.
2848 (vc-clear-headers): Don't use find-file.
2849 (vc-revert-buffer): Use `and' again (must have been a braino).
2850 (vc-switch-backend): Only prompt if requested.
2851 Short circuit if nothing is to be done.
2852 Don't use vc-resynch-buffer which could lose unsaved editing.
2853 (vc-default-receive-file): Update call to vc-unregister.
2854 (with-vc-file, vc-next-action-on-file):
2855 Use vc-backend rather than vc-registered.
2856 (vc-next-action-on-file): Use intern-soft.
2857 Deal with read-only *vc-diff* buffer.
2858 (vc-transfer-file): Docstring fix.
2860 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2861 (vc-rcs-receive-file): Avoid with-vc-properties.
2862 Update call to vc-unregister.
2863 Use constant `RCS' rather than (dynamically bound) var `backend'.
2865 2000-10-01 Andre Spiegel <spiegel@gnu.org>
2867 * vc.el (vc-next-action-on-file): Update mode line only if file
2869 (vc-start-entry): New argument initial-contents. Don't visit the file
2870 if it isn't already visited. Brought documentation up-to-date.
2871 (vc-next-action, vc-register): Updated calls to vc-start-entry.
2872 (vc-checkin): New optional arg initial-contents, which is passed to
2874 (vc-finish-logentry): Make sure to bury log buffer only if there
2875 really is one. Call `vc-resynch-buffer' on log-file, not
2877 (vc-default-comment-history, vc-default-wash-log): New functions.
2878 (vc-index-of): Removed.
2879 (vc-transfer-file): Make do without the above.
2880 (vc-default-receive-file): Call comment-history unconditionally. Pass
2881 the resulting string to vc-checkin, instead of inserting it into the
2884 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2885 unconditionally. Use the comments as initial contents of the log
2886 entry buffer. Document the trick to force branch creation with no
2889 2000-10-01 Miles Bader <miles@gnu.org>
2891 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2892 `recenter' with an arg to prevent redrawing the display.
2894 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
2896 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2898 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2900 * progmodes/c-mode.el (c-mode):
2901 Don't gratuitously override the default for comment-column.
2903 * textmodes/tex-mode.el (latex-metasection-list): New var.
2904 (latex-imenu-create-index): Use it.
2905 Move the regexp construction outside loops (and use push).
2906 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2907 (tex-font-lock-keywords): Moved from font-lock.el.
2908 (tex-comment-indent): Remove.
2909 (tex-common-initialization): Don't set comment-indent-function.
2910 (latex-block-default): New var.
2911 (tex-latex-block): Use it to provide a default choice.
2912 Add any unknown choice to latex-block-names.
2913 Insert [...] after {...}.
2914 (tex-last-unended-begin): Simplify regexp.
2915 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2916 (latex-forward-sexp-1, latex-forward-sexp): New functions.
2917 (latex-mode): Set forward-sexp-function.
2919 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2920 Add regexp for @ignore ... @end ignore.
2921 (texinfo-heading-face): New face.
2922 (texinfo-font-lock-keywords): Use it.
2923 (texinfo-mode-menu): New menu.
2924 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2926 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2927 (texinfo-section-types-regexp, texinfo-section-level-regexp)
2928 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2930 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2932 * delsel.el (delete-selection-mode): Use define-minor-mode.
2934 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2936 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2938 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2940 2000-09-30 Gerd Moellmann <gerd@gnu.org>
2942 * replace.el (keep-lines-read-args): New function.
2943 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2944 read arguments interactively. Add parameters RSTART and REND.
2945 Operate on the active region in Transient Mark mode.
2947 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2949 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2950 (authors-obsolete-files-regexps): New variable.
2951 (authors-add): Don't record changes in obsolete files.
2953 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2955 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2957 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2958 (comment-indent): Make sure there's a space between code and comment.
2959 Shift comments left to avoid going past fill-column.
2961 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2963 * startup.el (startup-echo-area-message): New function.
2964 (display-startup-echo-area-message): Use it.
2965 (fancy-splash-screens): Rewritten to use keymaps and a timer.
2966 (fancy-splash-default-action): New function.
2967 (fancy-splash-screens-1): New function.
2968 (fancy-splash-head): Put a help-echo and a keymap under the image.
2970 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2972 * diff-mode.el (diff-add-log-file-name): Remove.
2973 (diff-mode): Use add-log-buffer-file-name-function.
2975 * add-log.el (find-change-log): New arg BUFFER-FILE.
2976 (add-log-file-name): Obey add-log-file-name-function.
2977 (add-log-buffer-file-name-function): New var.
2978 (add-change-log-entry): Use it.
2980 2000-09-29 Miles Bader <miles@gnu.org>
2982 * image-file.el (image-file-name-extensions): New variable.
2983 (image-file-name-regexps): Renamed from `image-file-regexps'.
2984 New default value is nil. Call `auto-image-file-mode'.
2985 (image-file-name-regexp): New function.
2986 (auto-image-file-mode): New minor mode.
2987 (insert-image-file): Don't make conditional on the image-file
2988 handler being enabled.
2989 (image-file-handler): Make the call here conditional instead.
2990 (set-image-file-handler-enabled, enable-image-file-handler)
2991 (disable-image-file-handler): Functions removed.
2993 * emacs-lisp/authors.el (authors-print): Rephrase many-files
2996 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2998 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2999 it's a function from CL.
3000 (latex-imenu-create-index): Replace eval-when-compile with progn
3001 because latex-section-alist is not bound while compiling.
3003 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3005 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
3006 (outline-mode): Use define-derived-mode.
3008 * progmodes/perl-mode.el (perl-mode):
3009 * progmodes/awk-mode.el (awk-mode):
3010 * progmodes/asm-mode.el (asm-mode):
3011 Don't gratuitously override the default for comment-column.
3013 * emacs-lisp/lisp.el (lisp-complete-symbol):
3014 Distinguish the let-binding case from the funcall case.
3015 (forward-sexp-function): New variable.
3016 (forward-sexp): Use it.
3018 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
3019 (easy-mmode-defmap): Remove the now useless autoload.
3021 * time.el (display-time-mode): Use define-minor-mode.
3023 * subr.el (add-minor-mode): Don't eval NAME.
3024 Don't depend on the presence of TOGGLE-FUN for any special behavior.
3025 Use if rather than cond.
3027 * simple.el (read-expression-map): Define more properly.
3028 (comment-indent-hook): Remove.
3029 (string-to-syntax): Bug fix.
3031 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
3032 (cvs-ediff-diff): Fix typo.
3033 (cvs-revert-if-needed): Don't bother preserving read-only.
3035 * paren.el (show-paren-mode): Use define-minor-mode.
3037 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
3038 (toggle-auto-compression): Remove.
3039 (jka-compr-build-file-regexp): Remove useless grouping.
3041 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
3042 Avoid user-reserved bindings.
3043 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
3044 (diff-header-face): Revert to grey85.
3046 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
3048 * complete.el (partial-completion-mode) <defcustom>: Remove.
3049 (partial-completion-mode): Use define-minor-mode.
3050 (PC-do-completion): Understand `completion-auto-help = delay'
3051 to mean to popup the completion buffer only the second time.
3052 (PC-include-file-all-completions, PC-include-file-all-completions)
3053 (PC-include-file-all-completions): Don't quote lambda.
3055 * comint.el (comint-mode-hook): Docstring fix.
3056 (comint-mode): Use define-derived-mode.
3057 (comint-mode-map): Remove obsolete comment.
3058 (make-comint): Minor stylistic change.
3059 (comint-insert-clicked-input): Be more careful to find the overlay.
3060 Use this-command-keys rather than hardcoding mouse-2.
3062 * font-lock.el: Replace confusing (,@ with ,
3063 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
3064 Don't use regexp-opt-depth. Spice up the regexp for args.
3065 Don't distinguish between cmds that can take an opt arg or not.
3066 Use `append' and `prepend' rather than `keep'.
3068 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
3069 (latex-outline-regexp): New var.
3070 (latex-outline-level): New fun.
3071 (latex-section-alist): New var.
3072 (latex-imenu-create-index): Use it. Use `push' as well.
3073 (tex-shell-map): Initialize it properly.
3074 (tex-mode): Minor stylistic change.
3075 (plain-tex-mode): Use define-derived-mode.
3076 (latex-mode): Use define-derived-mode.
3077 Construct the paragraph regexps in a more readable way.
3078 Set the buffer-local outline-{level,regexp} vars.
3079 (slitex-mode): Derive from latex-mode.
3080 (tex-common-initialization): Don't kill-all-vars anymore.
3081 Add setting for comment-add and font-lock-defaults.
3082 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
3083 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
3084 (tex-start-tex): New arg DIR (and send a chdir command for it).
3085 Also display the shell buffer and save it in tex-last-buffer-texed.
3086 (tex-region): Use expand-file-name rather than concat.
3087 Remove code made useless by changes in tex-start-tex.
3088 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
3090 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
3092 2000-09-28 Dave Love <fx@gnu.org>
3094 * eshell/eshell.el (eshell) <defgroup>: Add :version.
3096 2000-09-28 Gerd Moellmann <gerd@gnu.org>
3098 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
3101 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3103 * info.el (Info-extract-pointer): Undo last change.
3104 Instead, fix the position of the `bound' arg to re-search-backward.
3106 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
3108 * info.el (Info-extract-pointer):
3109 Widen more carefully, to avoid finding pointers in other nodes.
3110 (Info-index): Use push.
3112 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3114 * frame.el (set-frame-font): Remove call to obsolete function
3116 (set-foreground-color, set-background-color): Likewise for
3117 frame-update-face-colors.
3119 2000-09-27 Miles Bader <miles@gnu.org>
3121 * image-file.el: New file.
3123 2000-09-27 Gerd Moellmann <gerd@gnu.org>
3125 * frame.el (frame-notice-user-settings): Don't call
3126 frame-update-faces, which is a no-op now.
3128 * ediff-wind.el (ediff-control-frame-parameters): Add zero
3131 2000-09-27 Dave Love <fx@gnu.org>
3133 * mouse.el: Fix last change.
3135 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
3137 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
3139 2000-09-22 Kenichi Handa <handa@etl.go.jp>
3141 * international/quail.el (quail-help): The output message is
3144 2000-09-26 Dave Love <fx@gnu.org>
3146 * mouse.el (popup-menu): If POSITION is nil, set it using
3149 2000-09-25 Sam Steingold <sds@gnu.org>
3151 * net/browse-url.el (browse-url-file-url): Check for null maps.
3153 2000-09-26 Gerd Moellmann <gerd@gnu.org>
3155 * frame.el (frame-notice-user-settings): Don't add a
3156 tool-bar-lines frame parameter to default-frame-alist in batch mode.
3158 * frame.el (frame-notice-user-settings):
3159 Make tool-bar-mode and default-frame-alist consistent.
3161 * toolbar/tool-bar.el (tool-bar-help): New function.
3163 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3165 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
3166 current-load-list in top-level forms. Else this leaks a cons cell
3167 every time a defun is called.
3169 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
3171 2000-09-25 Dave Love <fx@gnu.org>
3173 * startup.el (fancy-splash-head): Check XPM is available.
3175 * autoinsert.el (auto-insert): Doc fix.
3176 (auto-insert-alist): Following GNU notices, don't say `copyright
3177 _by_'. Use line-beginning-position.
3178 (auto-insert): Check buffer-file-name is non-nil before use.
3180 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3182 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
3183 starting with `@def' or `@multitable', in addition to ones
3184 specified by the user in auto-fill-inhibit-regexp.
3186 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
3188 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
3189 rmail-dont-reply-to-names matches the empty string.
3191 2000-09-25 Gerd Moellmann <gerd@gnu.org>
3193 * startup.el (command-line-1, fancy-splash-text): Change the
3194 text to sound more friendly.
3196 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
3198 * progmodes/hideshow.el: Update author email address.
3199 Generally, sync w/ maintainer version 5.22.
3200 (hs-hide-all-non-comment-function): New var.
3201 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
3202 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
3203 (hs-show-region): Delete this command.
3204 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
3206 2000-09-22 Dave Love <fx@gnu.org>
3208 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
3209 (hl-line-highlight): Specify buffer when moving overlay.
3211 * progmodes/fortran.el (fortran-mode): Locally set
3212 normal-auto-fill-function.
3213 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
3214 (fortran-mode-map): Adjust auto-fill menu entry.
3216 2000-09-22 Gerd Moellmann <gerd@gnu.org>
3218 * vc-rcs.el (toplevel): Require `vc' when compiling.
3220 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
3222 2000-09-22 Andre Spiegel <spiegel@gnu.org>
3224 * vc.el (vc-switch-backend): Signal an error if the file is not
3225 registered under the new backend.
3227 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
3228 without explicit revision number.
3230 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
3232 * diff-mode.el (diff-file-header-face): Reset to its previous value.
3233 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
3234 (diff-xor): New function.
3235 (diff-find-source-location): Use it. Fix a stupid name clash.
3236 (diff-hunk-status-msg): New function.
3237 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
3238 (diff-test-hunk): Use diff-find-source-location.
3239 (diff-goto-source): Favor the `reverse'.
3240 (diff-hunk-text): Properly handle one-sided context diffs.
3241 (diff-apply-hunk): When done, advance to the next hunk.
3243 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3245 * startup.el (command-line): If frame was created with a non-zero
3246 tool-bar-lines parameter, switch tool-bar-mode on.
3248 * add-log.el (change-log-date-face, change-log-name-face)
3249 (change-log-email-face, change-log-file-face)
3250 (change-log-list-face, change-log-conditionals-face)
3251 (change-log-function-face, change-log-acknowledgement-face):
3252 New faces, inheriting from font-lock faces.
3253 (change-log-font-lock-keywords): Use them.
3255 2000-09-21 Dave Love <fx@gnu.org>
3257 * progmodes/cperl-mode.el (top-level): Clean up
3258 `eval-when-compile's and assorted defvars.
3259 (cperl-invalid-face): Don't double-quote value. Change custom
3261 (cperl-mode): Set normal-auto-fill-function and don't zap
3263 (cperl-imenu--function-name-regexp-perl): Renamed from
3264 imenu-example--function-name-regexp-perl.
3265 (cperl-imenu--create-perl-index): Renamed from
3266 imenu-example--create-perl-index.
3267 (cperl-xsub-scan): Don't require cl.
3269 * msb.el (msb-mode-map): Use substitute-key-definition.
3270 (msb-mode): Use msb-mode-map.
3272 2000-09-21 Andre Spiegel <spiegel@gnu.org>
3274 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
3276 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
3277 (vc-switch-backend): New function.
3278 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
3279 (vc-register): Fix prompt.
3280 (vc-unregister, vc-default-unregister): New functions.
3281 (vc-version-diff): Handle empty buffer in sentinel.
3283 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
3284 (vc-rcs-state-heuristic): Use it to guess the state of files with
3286 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
3287 been set with -b, but not created yet.
3288 (vc-rcs-fetch-master-state): With non-strict locking, compare file
3289 contents in order to find the state.
3290 (vc-rcs-checkin): Allow creation of branches with no changes.
3291 (vc-rcs-unregister, vc-rcs-receive-file)
3292 (vc-rcs-set-non-strict-locking): New functions.
3294 * vc-hooks.el (vc-name): Force correct computation of the value
3295 in case it is missing.
3297 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3299 * startup.el (fancy-splash-tail): Use a different foreground
3300 color on a dark frame background.
3302 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
3304 * info.el: Use the correct capitalization when making Info-mode
3305 and Info-edit-mode `special' modes.
3307 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
3309 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
3310 (diff-mode): Add support for add-log.el.
3311 (diff-hunk-text): Use char offsets rather than line offsets.
3312 (diff-find-source-location): Replace LINE with line-offset (nil
3313 if not found) and always set POS to a meaningful position.
3314 Adapt to the new char-offsets.
3315 (diff-apply-hunk): Drop support for the unused `select' POPUP.
3316 Adapt to the new diff-find-source-location.
3317 (diff-goto-source): Adapt to the new diff-find-source-location.
3319 * add-log.el (add-log-file-name): New function (split out of
3320 add-change-log-entry).
3321 (add-change-log-entry): Use it.
3322 Call add-log-file-name-function with the changelog file name if
3323 the current buffer is not associated with any file.
3324 Avoid find-file if the selected window is dedicated.
3326 * diff-mode.el (diff-find-source-location):
3327 Move code from diff-apply-hunk. Return buffer rather than file.
3328 (diff-apply-hunk): Use the new result from diff-find-source-location.
3329 (diff-goto-source): Use the new diff-find-source-location.
3331 2000-09-20 Dave Love <fx@gnu.org>
3333 * iswitchb.el: Some doc fixes.
3334 (iswitchb-mode-map): Define completely initially. Inherit
3335 minibuffer-local-map.
3336 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3338 (iswitchb-global-map): New variable.
3339 (iswitchb-summaries-to-end): Amalgamate regexps.
3340 (iswitchb-mode): New.
3341 (iswitchb-mode-hook): New variable.
3342 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
3345 2000-09-20 Gerd Moellmann <gerd@gnu.org>
3347 * ehelp.el (electric-help): New defgroup.
3348 (electric-help-shrink-window): New user-option.
3349 (with-electric-help): Use it.
3351 * window.el (shrink-window-if-larger-than-buffer): If face
3352 `mode-line' has a :box, and we're on a graphical frame, add 1
3353 to the needed window height.
3355 * frame.el (frame-notice-user-settings): Add a last parameter nil
3356 to a call to `append', because the last list passed to `append' is
3357 not copied, and so subsequent calls to assq-delete-all will modify
3358 default-frame-alist.
3360 * startup.el (fancy-splash-image): Change :type.
3361 (fancy-splash-head): Use an XBM image if appropriate.
3362 (command-line-1): Show splash screens in more cases.
3364 * startup.el (fancy-splash-text): Don't quote faces.
3366 * dired.el (dired-font-lock-keywords): Undo last change.
3367 (dired-readin): Bind indent-tabs-mode to nil.
3369 * startup.el (fancy-splash-head): If frame's background mode
3370 is `dark', change the black background of the image to gray.
3371 (fancy-splash-screens): Display startup echo area message.
3372 (display-startup-echo-area-message): New function.
3374 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
3376 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3378 * info.el (info-header-node): Tweak for color ttys.
3380 * faces.el (face-valid-attribute-values): Make sure directories we
3381 search for stipples both exist and are readable before trying to
3384 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3385 in the dry-run case.
3387 * jka-compr.el (with-auto-compression-mode): New macro.
3389 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3390 (custom-group-tag-face, custom-variable-tag-face): Use relative
3391 :height and inherit from `variable-pitch' face instead of
3393 * hi-lock.el (hi-black-hb): Likewise.
3395 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3396 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3397 toolbar-add-item, if image doesn't have a mask add a `:mask
3400 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3402 * diff-mode.el: Docstring fixes.
3403 (diff-header-face, diff-comment-face): New faces.
3404 (diff-font-lock-keywords): Highlight a bit differently.
3405 (diff-find-source-location): Don't return SPAN any more.
3406 (diff-hunk-text): Don't bother erasing the temp buffer.
3407 (diff-find-text): Drop argument LINE.
3408 (diff-apply-hunk): Update calls to diff-find-text.
3409 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3411 * calendar/calendar.el: Docstring fixes.
3412 (calendar-make-alist): Don't quote lambda.
3413 (calendar-star-date): Use make-local-variable.
3415 2000-09-19 Dave Love <fx@gnu.org>
3417 * toolbar/tool-bar.el: Renamed from toolbar.el.
3418 Change `toolbar' to `tool-bar' generally in symbols.
3419 Make some items invisible in `special' major modes.
3420 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3423 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3425 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3427 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3429 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3431 * files.el (find-file-suppress-same-file-warnings): New user-option.
3432 (find-file-noselect): Use it.
3434 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3435 (fancy-splash-screen): Defgroup.
3437 * add-log.el (change-log-font-lock-keywords): Match names
3438 more exactly for the case that font-lock-constant-face is
3441 2000-09-19 Richard M. Stallman <rms@gnu.org>
3443 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3445 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3447 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3449 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3451 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3452 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3453 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3454 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3455 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3456 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3457 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3458 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3459 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3460 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3461 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3462 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3464 * startup.el (fancy-splash-text): New variable.
3465 (fancy-splash-delay, fancy-splash-image): New user-options.
3466 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3467 (fancy-splash-screens): New functions.
3468 (command-line-1): If display has a `display' frame parameter, has
3469 colors, and we have XPM support, show more fancy splash screens.
3471 2000-09-19 Dave Love <fx@gnu.org>
3473 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3474 with null `help'. Use modern backquote syntax.
3476 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3478 * font-lock.el (font-lock-mode): Change message telling the user
3479 that ``the buffer is too big''.
3481 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3482 for instance for the case that tab-width is 2.
3484 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3486 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3487 toolbar-add-item, if image doesn't have a mask add a `:mask
3490 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3492 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3493 and return a cons if it's non-nil.
3494 (diff-apply-hunk): Try to jump to the line in the source text
3495 corresponding to the position of point in the in the hunk.
3497 * info.el (Info-title-3-face, Info-title-2-face)
3498 (Info-title-1-face): Use face inheritance and relative sizes
3499 instead of hard-wiring things.
3501 * faces.el (secondary-selection): Make dark-background variant sane.
3503 2000-09-16 Andrew Innes <andrewi@gnu.org>
3505 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3506 read-only, since they aren't under VC now.
3508 2000-09-17 Dave Love <fx@gnu.org>
3510 * tmm.el: Replace mapcar with mapc in several places.
3512 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3515 * international/latin1-disp.el: New file.
3517 * calendar/cal-move.el (scroll-calendar-left)
3518 (scroll-calendar-right): Make arg optional (for active mode line).
3520 * calendar/calendar.el (calendar-mode-line-format): Make fields
3522 (calendar-read-date, calendar-read-date, calendar-window-list):
3524 (calendar-month-name): Use aref, not sref.
3526 * view.el (minor-mode-alist): Propertize the string.
3528 * international/characters.el (standard-case-table): Add entries
3531 2000-09-18 Miles Bader <miles@gnu.org>
3533 * info.el (info-node, info-xref): Add dark-background variants.
3535 * faces.el (header-line): Change defaults to be less confusing
3536 when mixed with mode-lines.
3538 * info.el (Info-fontify-node): Make a few cleanups.
3539 Add extra `help-echo' and `local-map' props to node xrefs.
3540 Use header-specific faces for node-names & xrefs.
3541 (Info-use-header-line): New variable.
3542 (info-header-xref, info-header-node): New faces.
3543 (Info-setup-header-line): New function.
3544 (Info-select-node): Call Info-setup-header-line when enabled.
3545 (Info-extract-pointer): Work even if the header line is hidden.
3546 (Info-header-line): New variable.
3548 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3550 * vms-patch.el (print-region-function): Don't quote lambda.
3552 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3554 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3555 (lm-get-header-re): Allow spaces between the header and the colon.
3556 (lm-header): Allow $ in non-RCS headers.
3557 (lm-header-multiline): Put the strings back into order.
3558 Stop at an empty line. Don't require two space chars if the
3559 line is clearly not another header line.
3561 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3562 (popup-menu-popup): Remove.
3564 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3566 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3567 specification if or if not tool-bar item contains an `:enabled'
3570 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3571 current buffer has no file name.
3573 2000-09-15 Dave Love <fx@gnu.org>
3575 * strokes.el: Sync with maintainer's current version with changes
3576 for Emacs, but avoid runtime cl and levents.
3577 (toplevel): Change autoloads and compilation requires.
3578 (strokes-version, strokes-bug-address, strokes-lift): Values
3580 (strokes-xpm-header, strokes-insinuated): New variable.
3581 (strokes): Add :link.
3582 (strokes-mode): Customized.
3583 (strokes-while-inhibiting-garbage-collector): New macro.
3584 (strokes-remassoc): Avoid remove-if.
3585 (strokes-fix-button2-command): Don't use ad-do-it.
3586 (strokes-insinuate): New function.
3587 (strokes-button-press-event-p, strokes-button-release-event-p):
3588 New functions, used instead of non-`strokes-' versions..
3589 (strokes-mouse-event-p): Rewritten.
3590 (strokes-event-closest-point): Avoid event-point.
3591 (strokes-get-grid-position): Avoid cdadr, caadr
3592 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3594 (strokes-help): Use with-output-to-temp-buffer.
3595 (strokes-window-configuration-changed-p): New function.
3596 (strokes-update-window-configuration): Use buffer-live-p,
3597 strokes-window-configuration-changed-p.
3598 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3599 (strokes-char-face): New face.
3600 (strokes-char-table, strokes-base64-chars): New variable.
3601 (strokes-xpm-for-stroke, strokes-list-strokes)
3602 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3603 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3604 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3605 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3606 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3609 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3611 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3613 * image.el (create-image): Doc fix.
3615 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3616 instead of `:heuristic-mask t'.
3618 2000-09-14 Andrew Innes <andrewi@gnu.org>
3620 * makefile.w32-in: Revert to Unix line endings.
3622 2000-09-14 Andrew Innes <andrewi@gnu.org>
3624 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3627 * makefile.nt (DONTCOMPILE): Fix typo.
3629 * shell.el (shell-write-history-on-exit): New function.
3630 (shell-dumb-shell-regexp): New custom variable.
3631 (shell-mode): Make shell-write-history-on-exit the process
3632 sentinel if shell name matches shell-dumb-shell-regexp.
3634 * w32-fns.el: Comment out before-init-hook function which resets
3635 source-directory based; this breaks bootstrap.
3637 2000-09-14 Dave Love <fx@gnu.org>
3639 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3640 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3641 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3642 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3643 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3644 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3645 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3646 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3647 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3649 * toolbar/toolbar.el: New.
3651 * subdirs.el: Add toolbar.
3653 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3655 * indent.el (indent-for-tab-command): Doc fix.
3657 2000-09-14 Alex Schroeder <alex@gnu.org>
3659 * ansi-color.el (ansi-colors): Doc change.
3660 (ansi-color-get-face): Simplified regexp.
3661 (ansi-color-faces-vector): Added more faces, doc change.
3662 (ansi-color-names-vector): Doc change.
3663 (ansi-color-regexp): Simplified regexp.
3664 (ansi-color-parameter-regexp): New regexp.
3665 (ansi-color-filter-apply): Doc change.
3666 (ansi-color-filter-region): Doc change.
3667 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3668 deal with zero length parameters.
3669 (ansi-color-apply-on-region): Doc change.
3670 (ansi-color-map): Doc change.
3671 (ansi-color-map-update): Removed debugging message.
3672 (ansi-color-get-face-1): Added condition-case to trap
3673 args-out-of-range errors.
3674 (ansi-color-get-face): Doc change.
3675 (ansi-color-make-face): Removed.
3676 (ansi-color-for-shell-mode): New option.
3678 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3680 * international/quail.el (quail-start-translation): Translate KEY
3681 if necessary even if it doesn't have any mapping in the current
3683 (quail-start-conversion): Likewise.
3684 (quail-help): The output message is improved.
3686 2000-09-13 Miles Bader <miles@gnu.org>
3688 * comint.el (comint-output-filter): Revert to using
3689 `insert-before-markers'. Add bletcherous hack to undo damage
3690 caused by `insert-before-markers'. Put `front-sticky' property on
3691 overlays created here so that the field code understands how the
3692 overlay works. Use a let when making comint-last-prompt-overlay,
3693 so that the code is easier to read.
3695 2000-09-13 Dave Love <fx@gnu.org>
3697 * wid-edit.el (widget-default-format-handler): DTRT when
3698 doc-property is a function.
3700 2000-09-12 Francesco Potorti` <pot@gnu.org>
3702 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3703 filed name if it's not there.
3705 2000-09-12 Dave Love <fx@gnu.org>
3707 * simple.el (read-mail-command): Doc fix.
3708 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3710 * vc.el (vc-dired-listing-switches): Fix :version.
3712 * vc-hooks.el: Doc fixes.
3714 * subr.el (add-minor-mode): Use toggle-fun arg.
3716 * speedbar.el: Add :version to several defcustoms.
3718 * imenu.el (imenu--truncate-items, imenu--cleanup)
3719 (imenu--generic-function): Avoid mapcar.
3720 (imenu--replace-spaces): Function removed.
3721 (imenu--completion-buffer): Use subst-char-in-string.
3722 (imenu-add-to-menubar): Use keymap inheritance.
3724 2000-09-12 Miles Bader <miles@gnu.org>
3726 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3727 (diff-mode-map): Bind `diff-test-hunk'.
3728 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3730 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3732 * bytecomp.el (byte-compile-defvar): Undo last change
3733 because it breaks '(make-variable-buffer-local (defvar ...)'
3734 which is used at least in dired.
3736 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3738 * international/quail.el (quail-define-package): Docstring
3741 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3743 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3744 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3745 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3746 docstring of "chinese-py".
3748 * international/quail.el (quail-translation-docstring): New
3750 (quail-show-keyboard-layout): Docstring modified.
3751 (quail-select-current): Likewise.
3752 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3753 infinite recursive call.
3754 (quail-help): Check quail-translation-docstring. Format of the
3756 (quail-help-insert-keymap-description): Adjusted for the above
3759 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3761 * bytecomp.el (byte-compile-defvar): Only cons onto
3762 current-load-list in top-level forms. Else this leaks a cons cell
3763 every time a defun is called.
3765 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3767 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3768 Now understands non-unified diffs. Some functionality moved into
3769 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3770 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3771 modify anything. Only reposition point in the patched file if the
3772 patch succeeds. Only pop up another window if POPUP is true.
3773 Emit a message describing what happened if successful, and at what
3774 line-offset. Automatically detect reversed hunks and do something
3776 (diff-hunk-text, diff-find-text): New functions.
3777 (diff-filter-lines): Function removed.
3778 (diff-test-hunk): New function.
3779 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3781 2000-09-10 Dave Love <fx@gnu.org>
3783 * textmodes/tildify.el: Minor doc/commentary fixes.
3784 (tildify) <defgroup>: Add :version.
3786 * faces.el (face-x-resources): Make custom type more specific.
3787 (frame-background-mode): Use mapc.
3788 (region) <defcustom>: Add :version.
3790 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
3792 * vc-sccs.el (vc-sccs-register):
3793 * vc-rcs.el (vc-rcs-register):
3794 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3795 * vc.el (vc-register): Clear file's properties.
3797 2000-09-08 Gerd Moellmann <gerd@gnu.org>
3799 * faces.el (face-spec-set): Only face-spec-reset-face when
3802 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3804 * help.el (help-insert-xref-button): Fix a typo in doc string.
3806 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
3808 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3809 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3812 * menu-bar.el (read-mail-item-name): New function.
3813 (menu-bar-tools-menu): Use it to compute and display the package
3815 (menu-bar-tools-menu): Fix typo in GUD's help string.
3817 2000-09-07 Dave Love <fx@gnu.org>
3819 * diff-mode.el (diff-mouse-goto-source): New function.
3821 * vc-sccs.el: Doc fixes.
3822 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3824 * vc-rcs.el: Doc fixes.
3825 (vc-rcs-register-switches, vc-rcs-checkin-switches)
3826 (vc-rcs-checkout-switches, vc-rcs-header)
3827 (vc-rcs-master-templates): Add or change :version.
3829 * vc-cvs.el: Doc fixes.
3830 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3831 (vc-cvs-stay-local): Add :version.
3833 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3835 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3837 * international/quail.el (quail-help): Fix previous change.
3839 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3841 * faces.el (color-values): Doc fix.
3843 * faces.el (frame-set-background-mode): Use frame-parameter
3844 instead of frame-parameters.
3846 * frame.el (filtered-frame-list): Reduce consing.
3847 (frames-on-display-list): Call frame-parameter instead of
3850 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3852 * language/devan-util.el (devanagari-to-indian-region): In the
3853 loop, change the following char, not preceding char.
3855 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3857 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3858 instead of frame-parameters.
3860 * faces.el (set-face-attribute): Simplify by calling
3861 internal-set-lisp-face-attribute with FRAME being 0.
3863 * vc.el: Remove `Id' version control keyword.
3865 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3867 * help.el (help-make-xrefs): Adjusted for the change of
3868 help-xref-mule-regexp.
3869 (help-insert-xref-button): New function.
3871 * international/mule-cmds.el (help-xref-mule-regexp-template):
3872 Include the pattern for character set.
3875 * international/quail.el: Don't require face.
3877 (quail-other-command): Dummy command to make quail-help work better.
3878 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3879 (quail-keyboard-layout-substitution): New variable.
3880 (quail-update-keyboard-layout): New function.
3881 (quail-keyboard-layout-type): New customizable variable.
3882 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3883 (quail-keyboard-translate): Pay attention to
3884 quail-keyboard-layout-substitution.
3885 (quail-insert-kbd-layout): New function.
3886 (quail-show-keyboard-layout): New function.
3887 (quail-get-translation): If the definition is a vector of length
3888 1, and the element is a string of length 1, return the character
3890 (quail-update-current-translations): Fix the case of
3891 relative-index out of range.
3892 (quail-build-decode-map, quail-insert-decode-map): New Functions.
3893 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3894 Show key sequences for all available characters.
3895 (quail-help-insert-keymap-description): Don't show such verbose
3896 key bindings as quail-self-insert-command.
3898 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3899 Format changed, and each element now have extra documentations.
3900 (tit-process-header): Delete invalid characters from TIT-PROMPT.
3901 Adjusted for the change of quail-cxterm-package-ext-info.
3903 2000-09-06 Gerd Moellmann <gerd@gnu.org>
3905 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3906 requiring it leads to a recursive loading of vc.el and vc-hooks.el
3909 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3911 * vc.el: (toplevel): Don't require `dired' at run-time.
3912 (vc-dired-resynch-file): Remove autoload cookie.
3914 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3916 * vc.el: Made several backend functions optional.
3917 (vc-default-responsible-p): New function.
3918 (vc-merge): Use RET for first version to trigger merge-news, not
3920 (vc-annotate): Handle backends that do not support annotation.
3921 (vc-default-merge-news): Removed. The existence of a merge-news
3922 implementation is now checked on caller sites.
3924 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3927 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3928 special case that has been removed from the default in vc-hooks.el.
3930 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3932 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3934 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3936 * vc-hooks.el: Require vc during compilation.
3937 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3938 macro `with-vc-properties' in vc.el.
3939 (vc-file-getprop): Doc fix.
3940 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3942 * vc.el: Require dired-aux during compilation.
3943 (vc-name-assoc-file): Moved to vc-sccs.el.
3944 (with-vc-properties): New macro.
3945 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3946 vc-finish-steal): Use it.
3947 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
3948 to the backend-specific function is now supposed to do the checkout,
3950 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3952 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3953 set file properties; that gets done in the generic code now.
3955 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3956 Changed parameter list, added code from vc.el that does the
3957 checkout, possibly with a double-take.
3959 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3960 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3961 the above under the new name.
3962 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
3963 parameter list, added checkout command.
3964 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3965 properties; that gets done in the generic code now.
3967 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3969 * vc.el: Docstring fixes (courtesy of checkdoc).
3971 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3973 * vc.el (vc-checkout-writable-buffer-hook)
3974 (vc-checkout-writable-buffer): Remove.
3975 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3976 (vc-log-mode): Make it into a clean derived major mode.
3977 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3978 vc-log-mode if log-edit is not available.
3979 (vc-dired-mode-map): Don't set-keymap-parent yet.
3980 (vc-dired-mode): Do set-keymap-parent here.
3981 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3983 2000-09-05 Gerd Moellmann <gerd@gnu.org>
3985 * faces.el (set-face-attribute, face-spec-reset-face)
3986 (face-spec-set): Avoid consing by removing calls to `apply'.
3988 * frame.el (frame-parameter): Move to C code.
3990 2000-09-05 Dave Love <fx@gnu.org>
3992 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3993 insert-before-markers-and-inherit. Now checked systematically!
3995 2000-09-05 Alex Schroeder <alex@gnu.org>
3997 * sql.el (sql-postgres): Use sql-postgres-options.
3998 (sql-postgres-options): New variable.
4000 2000-09-05 Alex Schroeder <alex@gnu.org>
4002 * sql.el (sql-mode-menu): Work around missing variable mark-active
4004 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
4005 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
4008 2000-09-04 Gerd Moellmann <gerd@gnu.org>
4010 * vc.el (vc-dired-resynch-file): Add autoload cookie.
4012 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
4014 * Makefile.in (DONTCOMPILE): Fix typo in file name.
4016 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4018 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
4019 don't support anything else under SCCS yet.
4021 * vc-hooks.el: Minor doc fixes.
4023 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4025 * vc.el (vc-next-action-on-file): Do not visit the file if it's
4026 not necessary. If verbose in state `needs-patch', do the same as
4027 under `up-to-date'. When NOT verbose and `needs-patch', check out
4028 latest version instead of `merge-news'.
4029 (vc-next-action-dired): Don't mess with default-directory here; it
4030 breaks other parts of dired. It is the job of the
4031 backend-specific functions to adjust it temporarily if they need it.
4032 (vc-next-action): Remove a special CVS case.
4033 (vc-clear-headers): New optional arg FILE.
4034 (vc-checkin, vc-checkout): Set properties vc-state and
4035 vc-checkout-time properly.
4036 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
4037 (vc-print-log): Use new backend function `show-log-entry'.
4038 (vc-cancel-version): Do the checks in a different order. Added a
4039 FIXME concerning RCS-only code.
4041 * vc-rcs.el (vc-rcs-show-log-entry): New function.
4042 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
4044 * vc-cvs.el (vc-cvs-show-log-entry): New function.
4046 * vc-hooks.el (vc-default-mode-line-string): Show state
4047 `needs-patch' as a `-' too.
4049 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4051 * vc.el (vc-responsible-backend): New optional arg REGISTER.
4052 (vc-default-could-register): New function.
4053 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
4054 (vc-resynch-buffer): Call vc-dired-resynch-file.
4055 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
4056 vc-resynch-buffer instead of vc-resynch-window.
4057 (vc-next-action-dired): Don't redisplay here, that gets done as a
4058 result of the individual file operations.
4059 (vc-retrieve-snapshot): Corrected prompt order.
4061 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
4063 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
4065 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
4066 hostname regexps. Updated all callers.
4067 (vc-cvs-responsible-p): Handle directories as well.
4068 (vc-cvs-could-register): New function.
4069 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
4070 properties up-to-date.
4072 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
4073 user whether to create one.
4075 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4077 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
4078 check out a non-existing file.
4080 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
4081 workfile does not exist.
4083 * vc.el (vc-version-diff): Use `require' to check for existence of
4086 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4088 * vc-cvs.el (vc-cvs-registered): Use new function
4089 vc-cvs-parse-entry to do the actual work.
4091 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4093 * vc-hooks.el (vc-find-backend-function): If function doesn't
4094 exist, return nil instead of error.
4095 (vc-call-backend): Doc fix.
4097 * vc.el (vc-do-command): Doc fix.
4098 (vc-finish-logentry): When checking in from vc-dired, choose the
4099 right backend for logentry check.
4100 (vc-dired-mode-map): Inherit from dired-mode-map.
4101 (vc-dired-mode): Local value of dired-move-to-filename-regexp
4103 (vc-dired-state-info): Removed, updated caller.
4104 (vc-default-dired-state-info): Use parentheses instead of hyphens.
4105 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
4106 (vc-dired-listing-switches): New variable.
4107 (vc-directory): Use it, instead of dired-listing-switches.
4109 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
4110 (vc-cvs-dir-state): New function.
4111 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
4112 (vc-cvs-parse-entry): New function, also to be used in
4115 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4117 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
4118 *or* single-window-frames.
4120 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4122 * vc.el (vc-update-changelog): Split into generic part and default
4123 implementation. Doc string adapted.
4124 (vc-default-update-changelog): New function. Call the `rcs2log'
4125 script in exec-directory, to fix a long-standing nuisance.
4127 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
4128 simply signals an error.
4130 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4132 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
4133 control-flow more clear and to avoid running `cvs' twice.
4135 * vc.el (vc-next-action-on-file): Doc fix.
4136 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
4137 (vc-print-log): Eval `file' before constructing the continuation.
4139 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4141 * vc.el (vc-next-action-on-file): Corrected several messages.
4142 (vc-merge): Add prefix arg `merge-news'; handle it.
4144 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
4145 is not reached. It is.
4146 (vc-cvs-merge): Set state to 'edited after merge.
4147 (vc-cvs-merge-news): Set workfile version to nil if not known.
4148 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
4150 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
4151 via stdout. (Merge from main line.)
4153 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4155 * vc.el (vc-finish-logentry): Thinko in the "same comment"
4158 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4160 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
4161 against kill-all-local-variables.
4162 (vc-log-edit): Don't save vc-parent-buffer any more.
4163 (vc-last-comment-match): Initialize to an empty string.
4164 (vc-post-command-functions): New hook.
4165 (vc-do-command): Run it.
4166 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
4167 (vc-finish-logentry): Only add the comment to the ring if it's
4168 different from the last comment entered.
4169 (vc-new-comment-index): New function.
4170 (vc-previous-comment): Use it. Make the minibuffer message
4171 slightly less terse.
4172 (vc-comment-search-reverse): Make it work forward as well. Don't
4173 set vc-comment-ring-index if no match is found. Use
4174 vc-new-comment-index.
4175 (vc-comment-search-forward): Use vc-comment-search-reverse.
4176 (vc-dired-mode-map): Don't inherit from dired-mode-map since
4177 define-derived-mode will do it for us. Bind `v' to a keymap that
4178 inherits from vc-prefix-map so that we can bind `vt' without
4180 (vc-retrieve-snapshot): Parenthesis typo.
4182 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
4183 to 1. Make sure to switch to *vc* before looking for an error
4184 message. Use vc-parse-buffer.
4186 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4188 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
4190 (vc-retrieve-snapshot): Split into two parts.
4191 (vc-default-retrieve-snapshot): New function.
4193 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
4194 (vc-cvs-retrieve-snapshot): New function (untested).
4195 (vc-cvs-stay-local): Default to t.
4196 (vc-cvs-remote-p): New function and property.
4197 (vc-cvs-state): Stay local only if the above is t.
4198 (vc-handle-cvs): Removed.
4199 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
4200 done via vc-handled-backends now.
4201 (vc-cvs-header): Escape Id.
4203 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4205 * vc.el (vc-do-command): Remove unused commands.
4206 (vc-version-diff): Make sure default-directory ends with a slash.
4207 Move the window commands into a vc-exec-after.
4208 (vc-print-log): Move more of the code into the `vc-exec-after'.
4210 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4212 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
4213 (vc-print-log): Search current revision from beginning of buffer.
4214 (vc-revert-buffer): Clear echo area after the diff is finished.
4215 (vc-prefix-map): Removed definition of "t" for terse display in vc
4217 (vc-dired-mode-map): Inherit from dired-mode-map. Added
4218 definition of "vt" for terse display.
4219 (vc-dired-mode): Fix dired-move-to-filename-regexp.
4221 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4223 * vc.el (vc-exec-after): Avoid caddr.
4225 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4227 * vc.el (vc-exec-after): New function.
4228 (vc-do-command): Use it to add a termination message for async
4230 (vc-checkout): Try to handle a missing-backend situation.
4231 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
4232 of a directory with a backend using async diffs.
4233 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
4236 * vc-sccs.el (vc-sccs-state-heuristic): Use
4237 file-ownership-preserved-p.
4239 * vc-rcs.el (vc-rcs-state-heuristic): Use
4240 file-ownership-preserved-p.
4241 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
4243 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4245 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
4248 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
4249 when there are no changes.
4251 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4253 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
4255 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
4257 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4259 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
4261 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
4262 the `fset' outside of the defvar so that it works even if
4263 vc-prefix-map was already defined.
4264 (vc-setup-buffer): New function, split out of vc-do-command.
4265 (vc-do-command): Allow BUFFER to be t to mean `just use the
4266 current buffer without any fuss'.
4267 (vc-version-diff): Change the `diff' backend operation to just put
4268 the diff in the current buffer without erasing it. Always use
4269 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
4270 shrink-window-if-larger-than-buffer.
4271 (vc-print-log): Change the `print-log' backend operation to just
4272 put the log in the current buffer without erasing it. Protect
4273 shrink-window-if-larger-than-buffer.
4274 (vc-update-change-log): Fix setd typo.
4276 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
4277 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
4279 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
4280 (vc-rcs-diff): Insert in the current buffer and remove unused arg
4283 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
4284 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
4285 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
4287 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4289 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
4290 not possible, use vc-BACKEND-workfile-unchanged-p.
4291 (vc-default-workfile-unchanged-p): New function. Delegates to a
4292 full vc-BACKEND-diff.
4294 * vc-hooks.el (vc-simple-command): Removed.
4296 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
4297 instead of vc-simple-command.
4298 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
4299 avoid doing a diff when opening a file.
4300 (vc-rcs-state): Added check for unlocked-changes.
4301 (vc-rcs-header): Escape Id.
4302 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
4303 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
4306 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
4307 (vc-sccs-diff): Remove optional arg CMP.
4308 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
4309 SCCS-specific function.
4311 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
4314 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4316 * vc.el (vc-editable-p): Renamed from vc-writable-p.
4317 (with-vc-file, vc-merge): Use vc-editable-p.
4318 (vc-do-command): Remove unused var vc-file and fix the
4319 doubly-defined `status' var. Add a user message when starting an
4321 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4322 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4323 Use with-current-buffer.
4324 (vc-buffer-sync): Use unless.
4325 (vc-next-action-on-file): If the file is 'edited by read-only,
4326 make it read-write instead of trying to commit.
4327 (vc-version-diff, vc-update-change-log): Use `setq
4328 default-directory' rather than `cd'.
4329 (vc-log-edit): Don't forget to set default-directory in the
4332 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4333 (vc-sccs-state-heuristic): Use file-writable-p instead of
4335 (vc-sccs-checkout): Use `unless'.
4337 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4338 of comparing userids.
4339 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4340 Simplify the logic by eliminating unreachable code.
4341 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4342 just do a recursive call if we need to retry.
4343 (vc-rcs-checkout): Handle the case where rcs is missing by making
4344 the buffer read-write if requested and re-signalling the error.
4346 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4348 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4350 * vc-hooks.el (vc-handled-backends): Docstring change.
4351 (vc-ignore-vc-files): Mark obsolete.
4352 (vc-registered): Check vc-ignore-vc-files.
4353 (vc-find-file-hook, vc-file-not-found-hook): Don't check
4356 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4358 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4360 * vc.el (vc-checkout): Don't do anything special for ange-ftp
4361 files since ange-ftp already has vc-registered return nil.
4363 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4364 (vc-sccs-workfile-version): Use with-temp-buffer and new
4365 vc-parse-buffer and don't bother setting the property.
4366 (vc-sccs-add-triple): Use with-current-buffer and
4368 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4370 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
4371 derives from the old vc-parse-buffer but uses the revision number
4372 rather than the date (much easier to compare robustly).
4373 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
4374 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
4375 locking-user more directly. Check strict locking and set
4376 checkout-model appropriately.
4377 (vc-rcs-parse-locks): Remove.
4378 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4379 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4380 (vc-rcs-system-release): Use with-current-buffer and
4382 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4384 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4385 (vc-simple-command): Docstring fix.
4386 (vc-registered): Align the way the file-handler is called with the
4387 way the function itself works.
4388 (vc-file-owner): Remove.
4390 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
4391 extraction of fields and call to file-attributes because of a
4392 temporary bug in rcp.el.
4393 (vc-cvs-fetch-status): Use with-current-buffer.
4395 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4397 * vc.el (vc-do-command): Use file-relative-name.
4398 (vc-responsible-backend): Use vc-backend if possible.
4399 (vc-create-snapshot): Improve the `interactive' spec. Add support
4400 for branches and dispatch to backend-specific `create-snapshot'.
4401 (vc-default-create-snapshot): New function, containing the bulk of
4402 the old vc-create-snapshot.
4403 (vc-retrieve-snapshot): Improve the interactive spec.
4405 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4406 (vc-backend-hook-functions): Remove.
4407 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4408 (vc-backend): Reintroduce the test for `file = nil' now that I
4409 know why it was there (and added a comment to better remember).
4411 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4412 code from vc-sccs-hooks.el.
4413 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4415 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4416 and file-directory-p instead of file-exists-p.
4417 (vc-sccs-check-headers): Simplify the regexp.
4419 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4420 from vc-rcs-hooks.el. Don't require 'vc anymore.
4421 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4422 file-directory-p instead of file-exists-p.
4424 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4425 from vc-cvs-hooks.el.
4426 (proto vc-cvs-registered): Require 'vc-cvs instead of
4427 'vc-cvs-hooks. Don't require 'vc anymore.
4428 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4429 file-directory-p instead of file-exists-p.
4430 (vc-cvs-create-snapshot): New function, replacing
4432 (vc-cvs-assign-name): Remove.
4434 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4436 * vc-cvs.el (vc-cvs-header): New var.
4438 * vc-rcs.el (vc-rcs-exists): Remove.
4439 (vc-rcs-header): New var.
4441 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4442 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4443 (vc-sccs-header): New var.
4445 * vc.el (vc-do-command): Get rid of the `last' argument.
4446 (vc-header-alist): Remove, replaced by vc-X-header.
4447 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4448 (vc-dired-hook): Use expand-file-name instead of concat.
4449 (vc-directory): Use file-name-as-directory.
4450 (vc-snapshot-precondition, vc-create-snapshot)
4451 (vc-retrieve-snapshot): Allow the command to operate on any
4454 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4455 just removing the 'WORKFILE argument or by removing the 'MASTER
4456 argument and replacing `file' with (vc-name file).
4458 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4460 * vc.el: Update Copyright and add a crude list of backend funs.
4461 (vc-writable-p): New function.
4462 (with-vc-file): Use vc-writable-p.
4463 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4464 (vc-register): Avoid vc-name.
4465 (vc-locking-user): Remove.
4466 (vc-steal-lock): Make the `owner' arg non-optional.
4467 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4469 (vc-default-dired-state-info): Use vc-state instead of
4470 vc-locking-user and return special strings for special states.
4471 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4472 and get rid of one of the special CVS cases.
4473 (vc-cancel-version): prettify error message with \\[...].
4474 (vc-rename-master): New function.
4475 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4476 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4477 the CVS special case generic.
4478 (vc-default-record-rename): Remove.
4479 (vc-file-tree-walk-internal): Only call FUNC for files that are
4480 under control of some VC backend and replace `concat' with
4482 (vc-file-tree-walk): Update docstring.
4483 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4484 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4486 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4487 vc-sccs-record-rename. Use `find-file-noselect' rather than
4488 `find-file' and call `vc-rename-master' to do the actual move.
4489 (vc-sccs-diff): Remove unused `backend' variable.
4491 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4492 to delay loading of vc-sccs until it is really used.
4493 (vc-sccs-master-templates): Preload.
4494 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4495 (vc-sccs-project-dir): Remove (merged into
4496 vc-sccs-search-project-dir).
4497 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4498 rather than `concat', make sure it is preloaded and don't bother
4499 to check that the file actually exists.
4500 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4501 `locks' argument (use buffer's content instead) and eliminate n^2
4504 * vc-rcs.el: Update Copyright.
4505 (vc-rcs-rename-file): New function.
4506 (vc-rcs-diff): Remove unused `backend' variable.
4508 * vc-hooks.el: Update Copyright.
4509 (vc-backend): Don't accept a nil argument any more.
4510 (vc-up-to-date-p): Turn into a defsubst.
4511 (vc-possible-master): New function.
4512 (vc-check-master-templates): Use `vc-possible-master' and allow
4513 funs in vc-X-master-templates to return a non-existent file.
4515 * vc-cvs.el: Update Copyright.
4516 (vc-cvs-diff): Remove unused `backend' variable.
4517 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4519 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4521 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4523 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4524 since it can be called from vc-rcs.el.
4525 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4527 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4529 * vc.el (vc-version-diff): Expand file name read from the
4530 minibuffer. Handle the case when a previous version number can't
4531 be guessed. Give suitable messages when there were no differences
4533 (vc-clear-headers): Call backend-specific implementation, if one
4535 (vc-cancel-version): Made error checks generic. When done, clear
4536 headers generically, too.
4538 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4539 from vc-clear-headers in vc.el.
4541 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4543 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4544 optional. Handle the case when it's not there.
4546 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4548 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4550 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4552 * vc-hooks.el (vc-loadup): Remove.
4553 (vc-find-backend-function): Use `require'. Also, handle the case
4554 where vc-BACKEND-hooks.el doesn't exist.
4555 (vc-call-backend): Cleanup.
4557 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4559 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4560 vc-rcs-grab-templates)
4561 (vc-rcs-registered): Remove. The default function works as well.
4562 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4563 vc-sccs-grab-templates)
4564 (vc-sccs-registered): Remove. The default function works as well.
4566 * vc.el (vc-version-diff): Left out a vc- in call to
4568 (vc-default-dired-state-info, vc-default-record-rename)
4569 (vc-default-merge-news): Update for the new backend argument.
4571 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4572 using the default function.
4573 (vc-call-backend): If calling the default function, pass it the
4574 backend as first argument. Update the docstring accordingly.
4575 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4576 for the new backend argument.
4577 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4578 (vc-find-backend-function): Use the new name.
4579 (vc-default-registered): New function.
4581 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4583 * vc.el (vc-merge): Use vc-find-backend-function.
4585 * vc-hooks.el (vc-backend-functions): Remove.
4586 (vc-loadup): Don't setup 'vc-functions.
4587 (vc-find-backend-function): New function.
4588 (vc-call-backend): Use above fun and populate 'vc-functions
4590 (vc-backend-defines): Remove.
4592 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4594 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4595 Call vc-call-backend without the leading vc-.
4596 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4597 (vc-check-headers): Call vc-call-backend without the leading vc-.
4598 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4599 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4600 Call vc-call-backend without the leading vc-.
4602 * vc-cvs.el (tail): Provide vc-cvs.
4603 * vc-sccs.el (tail): Provide vc-sccs.
4604 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4606 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4607 (vc-make-backend-function, vc-call): Pass names without leading
4608 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4609 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4610 (vc-call-backend): Always try to load vc-X-hooks.
4611 (vc-registered): Remove vc- in call to vc-call-backend.
4613 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4615 * vc.el (vc-process-filter): New function.
4616 (vc-do-command): Setup `vc-process-filter' for the async process.
4617 (vc-maybe-resolve-conflicts): New function to reduce
4618 code-duplication. Additionally, it puts the buffer in
4619 `smerge-mode' if applicable.
4620 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4621 calling `merge-news'.
4622 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4623 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4624 interfacing to log-edit.el.
4625 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4626 log-edit is available.
4627 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4629 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4631 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4632 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4633 defvar and the initialization.
4634 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4636 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4637 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4639 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4641 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4643 * vc.el (vc-file-clear-masterprops): Removed.
4644 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4645 (vc-version-diff): Use buffer-size without argument.
4646 (vc-register): Heed vc-initial-comment.
4648 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4651 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4652 file name and workfile version.
4653 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4655 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4656 vc-file-clear-masterprops.
4658 * vc-sccs.el (vc-sccs-checkout): Removed call to
4659 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4660 rather than user login name.
4663 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4665 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4666 `want-differences-if-changed' and simplify.
4667 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4668 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4669 output (which is invalid for async vc-diff) to decide whether to
4670 do the revert silently or not.
4672 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4674 * vc-hooks.el (vc-loadup): Load files quietly.
4675 (vc-call-backend): Oops, brain fart.
4677 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4679 * vc-cvs.el (vc-cvs-state): Typo.
4680 (vc-cvs-merge-news): Return the status code rather than the error msg.
4682 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4684 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4685 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4686 vc-state or vc-up-to-date-p.
4687 (vc-merge): Use vc-backend-defines to check whether merging is
4688 possible. Set state to 'edited after successful merge.
4690 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4691 return that name. Redocumented.
4693 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4695 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4696 new `vc-state' semantics.
4697 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4698 'vc-locking-user to the current user.
4699 (vc-merge): Inline vc-backend-merge. Comment out code that I
4700 don't understand and hence can't adapt to the new `vc-state' and
4701 `vc-locking-user' semantics.
4702 (vc-backend-merge): Remove.
4704 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4705 rather than 'vc-locking-user.
4707 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4709 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4710 (vc-state): Don't use 'reserved any more. Just use the same
4711 convention as the one used for vc-<backend>-state where the
4712 locking user (as a string) is returned.
4713 (vc-locking-user): Update, based on the above convention. The
4714 'vc-locking-user property has disappeared.
4715 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4717 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4718 with a heuristic one.
4719 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4720 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4721 error. That allows us to get to 'needs-merge even in the
4722 stay-local case. There's still no way to detect 'needs-patch in
4723 such a setup (or to force an update for that matter).
4724 (vc-cvs-logentry-check): Remove, the default works as well.
4726 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4728 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4730 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4731 major-mode in which the buffer might have been put earlier. Use
4732 `remove' and `when'. Allow `okstatus' to be `async' and use
4733 `start-process' in this case.
4734 (vc-version-diff): Handle the case where the diff looks empty
4735 because of the use of an async process.
4737 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4739 * vc.el (vc-next-action-on-file): Removed optional parameter
4740 `simple'. Recompute state unconditionally.
4741 (vc-default-toggle-read-only): Removed.
4743 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4744 (vc-toggle-read-only): Undid prev change.
4746 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4747 vc-cvs-simple-toggle. Redocumented.
4748 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4749 (vc-cvs-toggle-read-only): Removed.
4751 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4753 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4754 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4755 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4756 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4757 still is. So maybe it should be removed.
4758 (vc-head-version, vc-find-binary): Remove.
4759 (vc-recompute-state): Move from vc-hooks.el.
4760 (vc-next-action-on-file): Add a `simple' argument to allow
4761 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4762 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4763 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4764 (vc-dired-mode-map): Properly defvar it.
4765 (vc-print-log): Call log-view-mode if available.
4766 (small-temporary-file-directory): defvar instead of use boundp.
4767 (vc-merge-news): Moved to vc-cvs.el.
4768 (vc-default-merge-news): New function.
4770 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4771 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4772 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4773 unknown `vc-latest-version' function. It should probably refer to
4774 vc-workfile-version or somesuch, but it's very unclear to me and I
4775 don't have SCCS to test things.
4777 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4778 (vc-sccs-state-heuristic): Fix typo.
4779 (vc-sccs-workfile-unchanged-p): Add missing argument.
4781 * vc-rcs.el: Require vc and vc-rcs-hooks.
4782 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4783 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4784 (vc-release-greater-or-equal-p): Move from vc.
4785 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4786 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4787 (vc-rcs-checkout): Add a missing `new-version' argument in the
4788 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
4790 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4791 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4792 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4793 than the apparently unbound `workfile-version'.
4795 * vc-hooks.el (vc-master-templates): Def the obsolete var.
4796 (vc-file-prop-obarray): Use `make-vector'.
4797 (vc-backend-functions): Add new hookable functions
4798 vc-toggle-read-only, vc-record-rename and vc-merge-news.
4799 (vc-loadup): If neither backend nor default functions exist, use
4800 the backend function rather than nil.
4801 (vc-call-backend): If the function if not bound yet, try to load
4802 the non-hook file to see if it provides it.
4803 (vc-call): New macro plus use it wherever possible.
4804 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4805 nor `vc-find-binary' since it's only called from
4806 vc-mistrust-permission which is only used once the backend is known.
4807 (vc-checkout-model): Fix parenthesis.
4808 (vc-recompute-state, vc-prefix-map): Move to vc.el.
4810 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4811 (vc-cvs-release, vc-cvs-system-release): Remove.
4812 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4813 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4815 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4816 (vc-cvs-toggle-read-only): First cut at a function to allow a
4817 cvs-status-free vc-toggle-read-only.
4818 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4819 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4820 vc-cvs-status. Also set vc-state rather than vc-locking-user.
4821 (vc-cvs-checkout): Modify access rights directly if the user
4822 requested not to use `cvs edit'. And refresh the mode line.
4824 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4825 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4827 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4829 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
4830 workfile' that got lost when the code was extracted from vc.el.
4831 And merged the tail with the rest of the code (not possible in the
4832 old vc.el where the tail was shared among all backends). And
4833 explicitly set the state to 'edited if `writable' is set.
4835 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4836 (vc-cvs-state): Be careful to return the value from
4838 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
4839 property but return it instead. Also be careful to handle a nil
4840 or "" `rev' when workfile is non-nil (it was handled properly when
4843 * vc.el: Removed those pesky unnecessary `(function' quotes.
4844 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4845 directly in the defvar.
4846 (vc-do-command): Bind inhibit-read-only so as to properly handle
4847 the case where the destination buffer has been made read-only.
4848 (vc-diff): Delegate to vc-version-diff in all cases.
4849 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4850 (vc-annotate-mode-variables): Removed (code moved partly to
4851 defvars and partly to vc-annotate-add-menu).
4852 (vc-annotate-mode): Turned into a derived-mode.
4853 (vc-annotate-add-menu): Moved in code in
4854 vc-annotate-mode-variables.
4855 (vc-update-change-log): Use make-temp-file if available.
4857 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
4859 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4860 `vc-checkout-model' updated to `vc-cvs-update-model'.
4862 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4864 * vc.el (vc-next-action-on-file): Added handling of state
4866 (vc-checkout-carefully): Is now practically obsolete, unless the
4867 above is too slow to be enabled unconditionally.
4868 (vc-update-change-log): Fixed typo.
4870 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4872 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4873 Now handles state `unlocked-changes'.
4874 (vc-sccs-workfile-unchanged-p): New function, to support the above.
4876 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4878 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4879 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
4881 (vc-rcs-workfile-unchanged-p): Renamed from
4882 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
4883 function yet, but supposed to become one soon.
4885 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4887 (vc-call-backend): Changed error message.
4888 (vc-state): Added description of state `unlocked-changes'.
4890 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4892 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4893 always return t in CVS-controlled directories.
4895 * vc.el (vc-responsible-backend): New function.
4896 (vc-register): Largely rewritten.
4897 (vc-admin): Removed (implementation moved into vc-register).
4898 (vc-checkin): Redocumented.
4899 (vc-finish-logentry): If no backend defined yet (because we are in
4900 the process of registering), use the responsible backend.
4902 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4903 Updated function lists.
4904 (vc-call-backend): Fixed typo.
4906 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4908 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4909 Removed query option. Redocumented.
4911 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4913 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4915 * vc.el: Updated callers of `vc-checkout-required' to use
4916 `vc-checkout-model'.
4918 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4920 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
4921 stuff updated to reference this function instead of the old
4922 `vc-backend-release-p'.
4924 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4926 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4927 vc-checkout-model. Return appropriate values. Updated callers.
4929 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4931 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4932 (vc-backend-revert): Function moved into `vc-revert';
4933 `vc-next-action' must be updated to accomodate this change.
4934 (vc-backend-steal): Function moved into `vc-finish-steal'.
4935 (vc-backend-logentry-check): Function moved into
4936 `vc-finish-logentry'.
4937 (vc-backend-printlog): Function moved into `vc-print-log'.
4938 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4939 (vc-backend-assign-name): Function moved into
4940 `vc-create-snapshot'.
4942 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4944 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4945 Rename to vc-checkout-model. Return appropriate values.
4948 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4949 to vc-checkout-model.
4950 (vc-checkout-required): Rename to vc-checkout-model.
4951 Re-implement and re-comment.
4952 (vc-after-save): Use vc-checkout-model.
4954 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4956 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4957 Update to use the vc-BACKEND-diff functions instead.
4958 `vc-diff' is now working.
4960 * vc-rcs.el (vc-rcs-logentry-check): New function.
4962 * vc-cvs.el (vc-cvs-logentry-check): New function.
4964 * vc-sccs.el (vc-sccs-diff): Function changed name from
4965 `vc-backend-diff'. This makes `vc-diff' work.
4967 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4968 of functions possibly implemented in a vc-BACKEND library.
4969 (vc-checkout-required): Fix bug that caused an error to be
4970 signaled during `vc-after-save'.
4973 This checkin is made with our new VC code base for the very first time.
4974 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4976 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4977 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4979 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4980 updated to `vc-uses-locking'.
4981 (vc-checkout-required): Call to backend function.
4982 `vc-checkout-required' updated to `vc-uses-locking' instead.
4984 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4985 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4987 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4988 to match the split into various backends.
4989 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
4990 (vc-retrieve-snapshot): Bug fix.
4992 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4994 * vc-sccs.el (vc-sccs-release): Doc fix.
4996 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4998 * vc.el (vc-next-action-on-file): Bug found and fixed.
4999 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
5000 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
5002 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
5003 (vc-rcs-checkout): Name space cleaned up. No more revision number
5004 crunching function names that are not prefixed with vc-rcs.
5005 (vc-rcs-checkout-model): Function added. References to
5006 `vc-checkout-model' replaced.
5008 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5010 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
5011 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
5012 still need to be split, and implemented for RCS).
5014 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5016 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
5018 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
5019 required by the vc.el file.
5021 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
5022 required by the vc.el file.
5023 (vc-rcs-exists): Function added.
5025 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
5026 required by the vc.el file.
5028 * vc.el (vc-admin): Updated to handle selection of appropriate
5029 backend. Current implementation is crufty and need re-thinking.
5031 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
5033 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5035 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
5036 beginning of annotate buffers correctly.
5038 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
5039 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
5040 functionality updated quite a lot to support multiple backends.
5041 Variables `vc-annotate-mode', `vc-annotate-buffers',
5042 `vc-annotate-backend' added.
5044 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
5045 `vc-annotate-difference' added to supported backend functions.
5047 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5049 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
5050 Use with-temp-file instead of /bin/sh. Merged from mainline
5052 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5054 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
5056 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
5058 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
5060 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5062 * vc-hooks.el: vc-state-heuristic added to
5063 vc-backend-hook-functions.
5065 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
5067 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
5069 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
5070 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
5071 state to `reserved'.
5073 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
5074 `vc-checkout-required'. Rename the `locked' state to `reserved'.
5076 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5078 * vc-rcs-hooks.el: Implement new state model. Hardly anything
5081 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
5083 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
5084 if defined. (Merged from main line, slightly adapted.)
5086 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
5087 millenium problem (merged from mainline).
5089 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5091 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
5092 part and moved the non-BACKEND stuff to vc.el.
5094 * vc.el: Split the annotate feature into a BACKEND specific part
5095 and moved it from the vc-cvs.el file to this one.
5097 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5099 * vc-hooks.el: Implement new state model.
5100 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
5101 (vc-locking-user): Simplify. Now only needed if the file is
5102 locked by somebody else.
5103 (vc-lock-from-permissions): Remove. Functionality is in
5104 vc-sccs-hooks.el and vc-rcs-hooks.el now.
5105 (vc-mode-line-string): New name for former vc-status. Adapted.
5106 (vc-mode-line): Adapt to use the above. Remove optional parameter.
5108 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
5109 Various simplifications and adaptations all over the place.
5111 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
5112 Simplify and adapt the rest.
5114 * vc.el (vc-resynch-window): Add TODO comment: check for
5115 interaction with view mode according to recent RCS change.
5116 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
5118 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5120 * vc.el: Convert the remaining function comments to docstrings.
5122 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5124 * vc.el (vc-backend-release, vc-release-greater-or-equal)
5125 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
5126 (vc-minor-part, vc-previous-version): Functions that operate and
5127 compare revision numbers got proper documentation. Comments added
5128 about their possible removal.
5130 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5132 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
5133 the vc-backend.el files.
5135 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
5137 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
5138 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
5139 (vc-rcs-previous-version): Functions added.
5141 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
5143 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
5145 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5147 * vc-hooks.el (vc-master-templates): Is really obsolete.
5148 Comment out the definition for now. What is the right procedure
5150 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
5152 (vc-default-registered): Remove.
5153 (vc-check-master-templates): New function; does mostly what the
5155 (vc-locking-user): Don't rely on the backend to set the property.
5157 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
5158 Rewrite documentation.
5159 (vc-rcs-templates-grabbed): New variable.
5160 (vc-rcs-grab-templates): New function.
5161 (vc-rcs-registered): Rewrite to use above mechanism.
5163 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
5164 Rewrite documentation.
5165 (vc-sccs-templates-grabbed): New variable.
5166 (vc-sccs-grab-templates): New function.
5167 (vc-sccs-registered): Rewrite to use above mechanism.
5168 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
5169 Don't throw the result, simply return it.
5171 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
5172 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
5173 (vc-cvs-registered): Does the check itself now. Simplify.
5175 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
5178 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5180 * vc-cvs.el (vc-cvs-diff): New function.
5182 * vc-sccs.el (vc-sccs-diff): New function.
5184 * vc-rcs.el (vc-rcs-diff): New function.
5185 (vc-rcs-checkout): Bug (typo) found and fixed.
5186 (vc-rcs-register-switches): New variable.
5188 * vc.el (vc-backend-diff): Function removed and placed in the
5191 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5193 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
5195 * vc.el (vc-backend-checkout): Function removed and replaced in
5196 the vc-backend.el files.
5198 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
5200 * vc.el (vc-backend-admin): Removed and replaced in the
5201 vc-backend.el files.
5203 * vc.el (Martin): Removed all the annotate functionality since it
5204 is CVS backend specific.
5206 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5208 * spec.txt: Added specification of vc-state.
5210 * vc-sccs-hooks.el (vc-sccs-master-properties):
5211 Remove handling of vc-latest-version and
5212 vc-your-latest-version. What used to be vc-latest-version, is now
5213 returned as vc-workfile-version.
5214 (vc-sccs-workfile-version): Adapt.
5216 2000-09-04 Dave Love <fx@gnu.org>
5218 * vc.el: [Merged from mainline.]
5219 (vc-dired-mode): Make the dired-move-to-filename-regexp
5220 regexp match the date, to avoid treating date as file size.
5221 Add YYYY S option to WESTERN/
5223 2000-09-04 Dave Love <fx@gnu.org>
5225 * vc.el: Require `compile' when compiling.
5226 (vc-logentry-check-hook): New option.
5227 (vc-steal-lock): Use compose-mail.
5228 (vc-dired-mode-map): Defvar when compiling.
5229 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
5230 vc-sccs.el and renamed. Callers changed.
5231 (vc-backend-checkout, vc-backend-logentry-check)
5232 (vc-backend-merge-news): Doc fix.
5233 (vc-default-logentry-check): New function.
5234 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
5235 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
5236 (vc-backend-merge): Doc fix. Use backend functions.
5237 (vc-check-headers): Use backend functions.
5239 * vc-cvs.el: Require vc when compiling.
5240 (vc-cvs-register-switches): Doc fix.
5241 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
5242 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
5243 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
5244 New functions (code from vc.el).
5245 (vc-annotate-display-default): Fix interactive spec.
5246 (vc-annotate-time-span): Doc fix.
5248 * vc-rcs.el: Require vc when compiling.
5249 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
5250 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
5251 (vc-rcs-checkin): New functions (code from vc.el).
5252 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
5254 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
5256 * vc-sccs.el: Require vc when compiling.
5257 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
5258 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
5260 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
5262 (vc-sccs-add-triple, vc-sccs-record-rename)
5263 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
5264 (vc-sccs-admin): Doc fix.
5266 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5268 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
5269 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
5270 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
5273 * vc-sccs.el (vc-admin-sccs): Added from vc.el
5275 * vc-cvs.el: Moved the annotate functionality from vc.el.
5276 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
5278 2000-09-04 Dave Love <fx@gnu.org>
5280 * vc.el (vc-backend-release): Call vc-system-release.
5282 * vc-sccs.el (vc-sccs-system-release):
5283 Renamed from vc-sccs-backend-release.
5285 * vc-rcs.el (vc-rcs-system-release):
5286 Renamed from vc-rcs-backend-release.
5288 * vc-cvs.el (vc-cvs-system-release):
5289 Renamed from vc-cvs-backend-release.
5291 2000-09-04 Dave Love <fx@gnu.org>
5293 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
5295 (vc-backend-release): Dispatch to backend functions.
5296 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
5297 probably needs attention.]
5299 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
5300 (vc-sccs-backend-release): New function.
5302 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
5303 (vc-cvs-backend-release): New function.
5305 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
5307 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
5308 (vc-default-dired-state-info): New function.
5309 (vc-dired-state-info): Dispatch to backends.
5310 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
5312 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
5313 from vc.el and renamed.
5315 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5317 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
5318 (vc-version-other-window, vc-backend-assign-name): Removed
5319 references to vc-latest-version; sometimes changed into
5320 vc-workfile-version.
5322 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5323 vc-rcs-master-workfile-version.
5324 (vc-rcs-workfile-version): Use the above. Don't call
5325 vc-latest-version (that was unreachable code, anyway).
5326 (vc-rcs-fetch-master-properties): Doc fix.
5328 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5329 (vc-backend-hook-functions): Removed them from this list, too.
5330 (vc-fetch-properties): Removed.
5331 (vc-workfile-version): Doc fix.
5333 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5334 (vc-rcs-workfile-version, vc-rcs-locking-user)
5335 (vc-rcs-uses-locking): Use it.
5337 * vc-hooks.el (vc-consult-rcs-headers):
5338 Moved into vc-rcs-hooks.el, under the name
5339 vc-rcs-consult-headers.
5341 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5343 (vc-cvs-find-master): Use this name only; correct different
5344 versions of the name.
5346 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5348 (vc-sccs-locking-user): Use the latter.
5350 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5353 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5355 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
5356 functions are implementation details of those two backends.
5358 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5360 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5361 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5363 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5364 (vc-sccs-parse-locks): SCCS-specific code moved here from
5367 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5368 code moved here from vc-hooks.
5370 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5371 into back-end specific parts and removed. Callers not updated
5372 yet; because I guess these callers will disappear into back-end
5373 specific files anyway.
5375 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5377 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5378 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5381 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5382 Store yes/no in the property, and return t/nil. Updated all
5385 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5386 vc-sccs-uses-locking. Don't set property.
5387 (vc-sccs-locking-user): Don't set property.
5389 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5390 vc-cvs-uses-locking. Don't set property here; leave that to
5392 (vc-cvs-locking-user): Reflect above change. Streamlined.
5394 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5395 vc-rcs-uses-locking.
5396 (vc-rcs-locking-user): Reflect above change.
5398 2000-09-04 Dave Love <fx@gnu.org>
5400 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5402 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5404 * vc-hooks.el (vc-checkout-model): Punt to backends.
5406 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5408 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5410 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5413 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5416 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5417 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5419 * vc-hooks.el (vc-default-locking-user): New function.
5420 (vc-locking-user, vc-workfile-version): Punt to backends.
5422 2000-09-04 Dave Love <fx@gnu.org>
5424 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5425 (vc-master-workfile-version): Moved from vc-hooks.
5427 * vc-rcs-hooks.el: Fix duplicate code in last change.
5429 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5430 (vc-rcs-master-templates): Improve :type.
5431 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5432 vc-master-workfile-version): Moved from vc-hooks.
5434 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5435 (vc-sccs-master-templates): Improve :type.
5436 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5438 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5440 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5441 (vc-cvs-master-templates): Improve :type. Use
5442 vc-cvs-find-cvs-master.
5443 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5445 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5447 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5448 Moved to vc-cvs-hooks.
5450 * vc-hooks.el: Add doc strings in various places. Simplify the
5452 (vc-handled-backends): New user variable.
5453 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5456 2000-09-04 Dave Love <fx@gnu.org>
5458 * vc.el: Some doc fixes for autoloaded and interactive functions.
5459 Fix compilation warnings from ediff stuff.
5460 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5462 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5464 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5466 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5468 2000-09-04 Dave Love <fx@gnu.org>
5470 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5472 (vc-make-backend-function, vc-loadup, vc-call-backend)
5473 (vc-backend-defines): New functions.
5475 * vc-hooks.el: Various doc fixes.
5476 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5477 (vc-match-substring): Function removed. Callers changed to use
5479 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5482 2000-09-04 Dave Love <fx@gnu.org>
5484 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5486 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5487 (vc-sccs-registered): Doc fix.
5489 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5490 (vc-cvs-registered): Doc fix.
5492 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5493 (vc-rcs-registered): Doc fix.
5495 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5497 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5499 * vc-hooks.el: vc-registered has been renamed
5500 vc-default-registered. Some functions have been moved to the
5501 backend specific files. they all support the
5502 vc-BACKEND-registered functions.
5504 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5506 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5508 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5510 2000-09-04 Dave Love <fx@gnu.org>
5512 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5513 menu-bar-update-hook.
5515 * help.el (help-manyarg-func-alist): Add
5516 find-operation-coding-system.
5518 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5520 * custom.el (custom-set-variables): Print message about errors in
5523 2000-09-03 Andrew Innes <andrewi@gnu.org>
5525 * makefile.w32-in: Change to DOS line endings.
5527 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5529 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5530 minor-mode keymaps, if they don't have one.
5532 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5534 * eshell/esh-module.el (eval-when-compile): Don't lose if
5535 esh-module.el's file name is truncated to DOS 8+3 limits.
5537 2000-09-01 John Wiegley <johnw@gnu.org>
5539 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5540 predicate, which caused entries in the completion list to be
5543 2000-08-30 John Wiegley <johnw@gnu.org>
5545 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5546 sending to subprocesses. Also, hook pre-command-hook if
5547 `eshell-send-direct-to-subprocesses' is non-nil.
5548 (eshell-send-direct-to-subprocesses): New config variable. If t,
5549 subprocess input is send immediately.
5550 (eshell-toggle-direct-send): New function.
5551 (eshell-self-insert-command): New function.
5552 (eshell-intercept-commands): New function.
5553 (eshell-send-input): If direct subprocess sending is enabled,
5554 don't echo any input to the Eshell buffer. Let the subprocess
5555 handle that. This requires "stty echo" in bash, for example.
5557 2000-08-28 John Wiegley <johnw@gnu.org>
5559 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5560 completion function for Eshell's implementation of `unset'.
5562 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5564 * info.el (Info-directory-list): Doc fix.
5566 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5568 * filecache.el (file-cache-add-directory-using-find): Don't quote
5569 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5571 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5573 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5576 2000-08-30 Andrew Innes <andrewi@gnu.org>
5578 * timer.el (run-with-idle-timer): Undo last change, so that timer
5579 is not activated immediately if Emacs is already idle. Some
5580 existing code relies on this behaviour.
5582 2000-08-30 Miles Bader <miles@gnu.org>
5584 * frame.el (set-frame-font): Do completion of font-name for
5587 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5589 * international/quail.el (quail-start-translation): Bind locally
5590 last-command-event, last-command, and this-command.
5591 (quail-start-conversion): Likewise.
5592 (quail-self-insert-command): Fix docstring.
5594 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5596 * progmodes/executable.el
5597 (executable-make-buffer-file-executable-if-script-p): Check that
5598 buffer contains at least 2 characters.
5600 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5602 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5604 2000-08-29 Dave Love <fx@gnu.org>
5606 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5607 (diff-mode-shared-map): Bind mouse-2.
5608 (diff-imenu-generic-expression): New variable.
5609 (diff-mode): Use it.
5611 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5612 (mouse-popup-menubar): Add minor mode menus.
5613 (popup-menu): Check for lookup-key returning number.
5615 2000-08-29 Miles Bader <miles@gnu.org>
5617 * comint.el (comint-send-input): Create overlays using the proper
5618 front/read-advance arguments.
5620 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5622 * ps-print.el: Even/odd pages printing. Doc fix.
5623 (ps-print-version): New version number (6.0).
5624 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5625 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5626 (ps-print-duplex-feature): Variable eliminated.
5627 (ps-even-or-odd-pages): New variable.
5629 * progmodes/ebnf2ps.el: Doc fix.
5630 (ebnf-version): New version (3.3).
5631 (ebnf-user-arrow): Change variable customization to sexp.
5632 (ebnf-user-arrow): Function eliminated.
5633 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5635 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5637 * help.el (help-xref-mule-regexp): New variable.
5638 (help-make-xrefs): Handle help-xref-mule-regexp.
5640 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5642 (describe-input-method): Temporarily activate the specfied input
5643 method to display the information.
5644 (describe-language-environment): Hyperlinks to mule related items.
5646 * international/mule-diag.el (charset-multibyte-form-string): New
5648 (list-character-sets-1): Use charset-multibyte-form-string.
5649 (describe-character-set): New function.
5650 (describe-coding-system): Hyperlinks to safe character sets.
5652 * international/quail.el (quail-help): New arg PACKAGE.
5653 Hyperlinks to mule related items.
5654 (quail-help-insert-keymap-description): Use
5655 substitute-command-keys instead of describe-bindings.
5656 (quail-translation-help): Hyperlinks to mule related items.
5658 2000-08-28 John Wiegley <johnw@gnu.org>
5660 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5661 have a defsubst call itself. Made `eshell-flatten-list' back into
5664 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5665 catch, in case re-centering point at bottom messes up the display.
5666 This happens frequently in Emacs 21, due I believe to variable
5669 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5670 to call `find-tag-interactive'.
5672 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5673 the list of remember directories.
5675 2000-08-28 John Wiegley <johnw@gnu.org>
5677 * align.el: Test align-region-separate to see if it's a symbol.
5679 2000-08-28 John Wiegley <johnw@gnu.org>
5681 * eshell/esh-util.el (eshell-flatten-list): Made this function
5682 into a defsubst form. It gets used very frequently, although
5683 calls don't occur all that often.
5685 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5688 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5689 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5691 (eshell-copy-handles): Created a new macro for duplicating the
5692 current set of open handles. This is needed by the looping
5694 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5695 is not incorrectly stomped on.
5697 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5698 declaration for pcomplete-use-paring.
5699 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5700 value of eshell-cmpl-use-paring.
5701 * pcomplete.el (pcomplete-use-paring): New config variable, to
5702 indicate whether paring should be used.
5703 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5704 completion alternatives that have already been used.
5706 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5707 bound to C-c C-y, which will repeat the previous N arguments
5708 (based on prefix argument).
5709 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5711 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5712 if there is no *Help* buffer. This is for XEmacs, which renames
5713 its help buffers uniquely. TODO: Find out what the current buffer
5716 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5717 first entry that correlates to a passwd/group number. Later
5718 entries (used for group/user name aliasing to multiple IDs) are
5721 * eshell/em-xtra.el (eshell/expr):
5722 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5723 (eshell-grep, eshell/diff, eshell/locate):
5724 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5725 argument list, before passing it to the system command.
5727 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5728 `find-tag' for use at final position in Eshell buffers (which
5729 otherwise triggers an error on Emacs 21).
5730 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5731 buffer, if it is currently bound to `find-tag'.
5733 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5734 in the list of matched Makefile names.
5735 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5736 directory, prefer its contents to Makefile.
5738 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5739 directory parts (like "cd old new", or "cd =regexp"), are now case
5740 sensitive on non-Windows/DOS platforms.
5742 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5743 types RET after an open delimiter (like "), display a message
5744 indicating that Eshell is waiting for the closing delimiter.
5746 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5747 environment variables.
5749 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5750 gracefully if the user enters incorrect arguments.
5752 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5755 * eshell/esh-var.el (eshell-interpolate-variable):
5756 * eshell/esh-mode.el (eshell-move-argument):
5757 * eshell/em-unix.el (eshell-du-sum-directory):
5758 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5759 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5762 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5763 to ensure the `preserve' flag gets propagated when doing recursive
5766 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5768 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5769 Don't convert \n into \0177 in memory.
5770 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5771 and back again, when reading and writing.
5773 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5775 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5776 testing of `fboundp' on `processp'.
5778 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5779 (eshell/jobs): Don't call process-list if it is not bound.
5780 (eshell-gather-process-output): Support systems where async
5781 subprocesses aren't supported.
5782 (eshell-scratch-buffer, eshell-last-sync-output-start): New
5785 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5786 eshell-do-eval returns t.
5787 (eshell-do-pipelines-synchronously): New defmacro.
5788 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5789 when async subprocesses aren't supported.
5790 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
5791 if async subprocesses aren't supported.
5792 (eshell-resume-command): Don't assume STATUS is a string.
5794 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5796 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5797 (eshell-close-target, eshell-get-target): Use eshell-processp.
5798 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5800 (eshell-get-target, eshell-create-handles): Doc fix.
5802 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
5804 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5805 criterion to include commands that output something, as long as it
5806 leaves both the command and the end-of-buffer visible when the
5808 (eshell-review-quick-commands): Adjust the help doc string
5811 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
5813 * locate.el (locate): Cleaned up locate command's interactive prompting
5814 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5816 * filecache.el (file-cache-case-fold-search): New variable
5817 (file-cache-assoc-function): New variable
5818 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5819 Use file-cache-case-fold-search variable
5820 (file-cache-add-file): Use file-cache-assoc-function
5821 (file-cache-delete-file): likewise
5822 (file-cache-directory-name): likewise
5823 (file-cache-debug-read-from-minibuffer): likewise
5825 2000-08-28 Gerd Moellmann <gerd@gnu.org>
5827 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5828 (abbrev-table-name): New function.
5829 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5830 If non-nil list local abbrev, only.
5832 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
5834 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5835 from Gnus support code, and use special article copy buffer
5836 `(gnus-original-article-buffer)' instead. This allows to get rid
5837 of article-hide-headers usage (which breaks in the latest Gnus
5838 version). Thanks to Detlev Zundel.
5840 2000-08-28 Kenichi Handa <handa@etl.go.jp>
5842 * international/quail.el (quail-use-package): Hide "... loaded"
5844 (quail-start-translation, quail-start-conversion): Likewise.
5846 * international/kkc.el (kkc-region): Hide "... loaded" message.
5848 2000-08-27 Dave Love <fx@gnu.org>
5850 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5852 2000-08-27 Miles Bader <miles@gnu.org>
5854 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5856 2000-08-27 Kenichi Handa <handa@etl.go.jp>
5858 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5859 'ja-dic-cnv), not (require 'skkdic-cnv).
5861 2000-08-26 Miles Bader <miles@gnu.org>
5863 * faces.el (face-x-resources): Add entry for :inherit.
5864 * cus-face.el (custom-face-attributes): Add support for :inherit
5865 attribute. Add support for relative face heights.
5866 (custom-face-attributes-get): Treat `nil' as being a default value
5867 for :inherit (as well as `unspecified').
5869 * faces.el (set-face-attribute): Update doc string.
5870 (face-attribute-name-alist): Add :inherit.
5871 (face-valid-attribute-values): Handle :inherit.
5872 (face-read-string): Rephrase prompt to be less confusing.
5873 Assume that DEFAULT is a string, since we must return a string.
5874 (face-read-integer): Use `format' to turn DEFAULT into an
5875 acceptable default for face-read-string. Match NEW-VALUE against
5876 the string "unspecified", not the symbol `unspecified', since
5877 that's what face-read-string returns.
5878 (read-face-attribute): Lookup a name for old-value in valid, and
5879 use it as a default if we find one. Treat all values from
5880 face-read-string as strings. If the default is used, don't do any
5881 more processing on the value, just use the old value directly.
5882 (read-face-and-attribute, modify-face): Tweak prompt.
5883 (read-face-name): Don't assume prompt ends with a space.
5885 * faces.el (describe-face): Add support for :inherit attribute.
5887 2000-08-25 Kenichi Handa <handa@etl.go.jp>
5889 * terminal.el (terminal-emulator): Fix args to `concat'. Now
5890 concat doesn't accept interger.
5892 * international/kkc.el: Remove SKK from Keywords. Require
5893 ja-dic-utl instead of skkdic-utl.
5895 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5896 Provide ja-dic-cnv instead of skkdic-cnv.
5897 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
5898 (iso-2022-7bit-short): Add safe-charsets property.
5899 (skkdic-convert-postfix): Search Japanese chou-on character in
5900 addition to Hiragana character.
5901 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5902 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5903 (batch-skkdic-convert): Likewise.
5905 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5906 Provide ja-dic-utl instead of skkdic-utl.
5907 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5909 2000-08-24 Dave Love <fx@gnu.org>
5911 * disp-table.el (standard-display-default): Make the test of `l'
5914 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5917 * international/iso-ascii.el: Make pilcrow convenient string
5918 consistent with section.
5919 (iso-ascii-display): Set up multibyte characters as well as
5922 2000-08-24 Kenichi Handa <handa@etl.go.jp>
5924 * international/mule-cmds.el (reset-language-environment): Set
5925 default-process-coding-system to '(undecided . iso-latin-1), which
5926 makes process I/O almost consistent with file I/O. Call this
5927 function when mule-cmds.el[c] is loaded.
5929 2000-08-22 Andrew Innes <andrewi@gnu.org>
5931 * makefile.w32-in: New file.
5933 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
5935 * comint.el (comint-output-filter): Compare end of
5936 comint-last-output-overlay with the start of the newly inserted
5937 text, not the end, when deciding whether to extend it.
5938 Set saved-point's insertion type to advance after insertion.
5940 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5941 since this is now done independently of font-lock mode.
5943 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5945 * server.el (server-kill-new-buffers): New user option.
5946 (server-existing-buffer): New buffer-local variable.
5947 (server-visit-files): When using an existing buffer, set
5948 server-existing-buffer to t.
5949 (server-buffer-done): If server-kill-new-buffers is t, kill the
5950 buffer, unless it was already present before visiting it with
5953 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
5955 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5956 even if the display doesn't support colors: some displays will
5957 support bold/underline faces.
5959 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5961 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5963 * startup.el (command-line): If user's init file had an error,
5964 add explanatory text to *Messages*.
5966 2000-08-21 Kenichi Handa <handa@etl.go.jp>
5968 * man.el (Man-getpage-in-background): Decode the process output by
5969 the system locale coding system.
5971 2000-08-20 Dave Love <fx@gnu.org>
5973 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5974 Don't test x-popup-menu.
5975 (function) <complete-function>: Complete only fbound symbols.
5976 <validate, value>: New.
5977 (variable) <complete-function>: Complete only bound symbols.
5978 (coding-system): Add :base-only, :complete-function, :validate,
5979 :value, :prompt-match.
5980 (widget-coding-system-prompt-value): Use read-coding-system and
5982 (editable-field): Add :help-echo.
5983 (widget-push-button-gui, widget-push-button-cache)
5984 (widget-gui-action, widget-editable-list-gui): COmment out, along
5986 (widget-at): Make arg optional.
5987 (widget-echo-help): Adjust for current help-echo calling sequence.
5988 (widget-specify-field, widget-specify-button)
5989 (widget-specify-insert, widget-get-sibling, widget-image-find)
5990 (widget-convert, widget-insert, widget-leave-text)
5991 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5992 (widget-setup, widget-field-find, widget-before-change)
5993 (widget-after-change, widget-default-complete)
5994 (widget-default-create, widget-default-delete)
5995 (widget-push-button-value-create, editable-field)
5996 (widget-field-prompt-value, widget-field-validate)
5997 (widget-choice-value-create, widget-choice-action)
5998 (widget-choice-validate, widget-checklist-add-item)
5999 (widget-radio-add-item, widget-radio-chosen)
6000 (widget-radio-value-inline, widget-editable-list-value-create)
6001 (widget-editable-list-entry-create)
6002 (widget-documentation-link-add)
6003 (widget-documentation-string-value-create)
6004 (widget-regexp-validate, widget-file-complete)
6005 (widget-sexp-validate, widget-plist-convert-widget)
6006 (widget-plist-convert-widget, widget-alist-convert-widget)
6007 (widget-alist-convert-widget, widget-color-complete): Simplify,
6008 particularly to avoid bindings which aren't optimized out.
6010 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
6012 (down-list, backward-up-list, up-list, kill-sexp)
6013 (backward-kill-sexp, mark-sexp): Make arg optional.
6014 (lisp-complete-symbol): Add optional arg PREDICATE.
6016 * cus-start.el: Add display-buffer-reuse-frames,
6017 file-coding-system-alist.
6019 2000-08-20 Gerd Moellmann <gerd@gnu.org>
6021 * startup.el (command-line): Clear realized faces after
6022 modifying TTY color mappings.
6024 2000-08-20 Miles Bader <miles@gnu.org>
6026 * faces.el (face-attr-match-p): Don't return true if ATTRS are
6027 merely a subset of FACE's attributes.
6029 2000-08-19 Miles Bader <miles@gnu.org>
6031 * comint.el (comint-output-filter): Save the point with a marker,
6032 not just a buffer position.
6034 * international/mule.el (set-buffer-process-coding-system): Make
6035 interactive prompt less confusing.
6037 2000-08-19 Gerd Moellmann <gerd@gnu.org>
6039 * hilit-chg.el: General cleanup of doc strings, comments and
6042 2000-08-19 Miles Bader <miles@gnu.org>
6044 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
6045 Compiler macro removed; beginning-of-line is no longer always
6046 equivalent to forward-line, in the presence of fields.
6048 * comint.el (comint-output-filter): Remove ad-hoc saving of
6049 restriction, and just use save-restriction, now that it works
6050 correctly. Don't adjust comint-last-input-start to account for
6051 our insertion; it shouldn't have moved because we don't use
6052 insert-before-markers anymore. Comment out call to
6053 `force-mode-line-update'; why is it here?
6055 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
6056 while checking for prompt to delete. Use `forward-line 0'
6057 instead of beginning-of-line.
6058 (gud-filter): Temporarily widen gud comint buffer while
6061 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
6063 * progmodes/sh-script.el: Big bag of typos.
6065 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
6066 check since ispell-process is not bound when ispell is not yet loaded.
6068 2000-08-18 Dave Love <fx@gnu.org>
6070 * image.el (find-image): Copy `spec' before using plist-put.
6072 2000-08-18 Gerd Moellmann <gerd@gnu.org>
6074 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
6077 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
6078 backward-kill-sexp, analogous to kill-sexp.
6080 * progmodes/icon.el (icon-indent-line)
6081 (icon-is-continuation-line): Handle comments specially.
6083 2000-08-17 Ken Stevens <k.stevens@ieee.org>
6085 * ispell.el: Set to standard author/maintainer/keyword fields.
6086 Fine tuning to menu map appearance and operation, and added help.
6087 Remove `start' and `end' error messages when compiling.
6088 (ispell-choices-win-default-height): Fixed comment string.
6089 (ispell-dictionary-alist-1): Fixed regexp in castellano and
6090 castellano8 dictionaries.
6091 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
6092 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
6093 dictionary, added italiano dictionary.
6094 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
6096 (ispell-tex-skip-alists): Added psfig support.
6097 (ispell-skip-html): Renamed from ispell-skip-sgml.
6098 (ispell-begin-skip-region-regexp, ispell-skip-region)
6099 (ispell-minor-check): Improved html skipping support to skip across
6100 code, and recognize `&' commands without propper `;' syntax;
6101 (ispell-process-line): Fix alignment error when manually
6102 correcting spelling.
6103 (ispell): Fix comment string.
6104 (ispell-add-per-file-word-list): Always put word list on new line.
6106 2000-08-17 Gerd Moellmann <gerd@gnu.org>
6108 * format.el (format-encode-run-method): Fix error message to say
6109 `encode' instead of `decode'. Use save-window-excursion around
6110 shell-command-on-region as in format-decode-run-method because
6111 shell-command-on-region can display a buffer with error output.
6112 (format-decode): Don't record undo information for the decoding.
6113 (format-annotate-function): Add parameter FORMAT-COUNT. Make
6114 that number part of the temporary buffer name so that more than
6115 one decoding using a temporary buffer can happen safely.
6117 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
6118 of `A-z' in the regexp.
6120 * hilit-chg.el: Fix typos in commentary.
6122 * help.el (view-emacs-news): Rewritten for new naming scheme
6125 * startup.el (command-line): Pop to *Messages* in case an error
6126 is signaled while loading user-init-file.
6128 2000-08-17 Andreas Schwab <schwab@suse.de>
6130 * files.el (insert-directory): Don't lose original file name,
6131 undoing an undocumented change.
6133 2000-08-17 Alex Schroeder <alex@gnu.org>
6135 * sql.el (sql-magic-go): Use comint-bol.
6136 (sql-copy-column): Use comint-line-beginning-position.
6137 (comint-line-beginning-position): Define a replacement for
6138 comint-line-beginning-position if it is not fboundp.
6140 2000-08-17 Alex Schroeder <alex@gnu.org>
6142 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
6143 it didn't have any effect anyway.
6145 2000-08-17 Alex Schroeder <alex@gnu.org>
6147 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
6148 --pset and pager=off instead of sending \\o|cat at the beginning
6151 2000-08-17 Miles Bader <miles@gnu.org>
6153 * progmodes/octave-inf.el: Add compatibility definition of
6154 comint-line-beginning-position.
6156 2000-08-17 Kenichi Handa <handa@etl.go.jp>
6158 * startup.el (normal-top-level): Look in each dir in load-path for
6159 a leim-list.el file too. This assures of loading leim-list.el
6160 that is created at Emacs installation time even if a user have his
6163 2000-08-17 Miles Bader <miles@gnu.org>
6165 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
6166 foreground color to black if the background is dark.
6168 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
6170 * loadhist.el (unload-feature): Typo.
6172 * finder.el (finder-compile-keywords):
6173 * cus-dep.el (custom-make-dependencies): Add local-variable settings
6174 to the generated file.
6176 * mail/mh-e.el (mh-make-local-vars):
6177 Replace make-variable-buffer-local with make-local-variable.
6180 * options.el (Edit-options-{set,toggle,t,nil}):
6181 * mail/mailabbrev.el (mail-abbrevs-mode):
6182 * textmodes/tex-mode.el (tex-expand-files):
6183 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
6185 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
6187 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
6188 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
6189 Allow going past the last element.
6190 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
6191 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
6192 (cvs-mouse-toggle-mark): Don't move point.
6193 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
6195 * progmodes/compile.el (grep): Provide a default set of files.
6196 (next-error): Docstring fix.
6197 (compilation-find-file): Avoid find-file (fails in a dedicated window).
6199 * emacs-lisp/easy-mmode.el (define-minor-mode):
6200 Use `symbol-value' to keep the byte-compiler quiet.
6202 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
6203 (diff-find-source-location): New fun, extracted from diff-goto-source.
6204 (diff-goto-source): Use it.
6205 (diff-next-complex-hunk, diff-filter-lines): New function.
6206 (diff-apply-hunk): New command.
6208 * smerge-mode.el (smerge-mode-menu): Doc fix.
6210 * msb.el (msb-mode): Define it in terms of define-minor-mode.
6212 2000-08-16 Dave Love <fx@gnu.org>
6214 * windmove.el (windmove) <defgroup>: Add :version.
6216 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
6217 (goto-address-fontify-p, goto-address-highlight-p)
6218 (goto-address-url-face, goto-address-url-mouse-face)
6219 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
6220 (goto-address-url-regexp): Use thing-at-point-url-regexp.
6221 (goto-address-fontify, goto-address-at-mouse): Simplify,
6222 (goto-address-at-point): browse-url-url-at-point,
6223 goto-address-find-address-at-point can return nil.
6224 (goto-address-find-address-at-point): Return nil on failure.
6226 * align.el (align) <defgroup>: Add :version.
6228 * calculator.el (calculator): Add :version.
6229 (calculator): Use two lines for calculator window if `modeline'
6232 * play/5x5.el: Doc fixes.
6233 (5x5) <defgroup>: Add :version.
6235 * play/fortune.el (fortune) <defgroup>: Add :version.
6236 (fortune-append): Fix error message.
6237 (fortune-from-region): Doc fix.
6239 * play/pong.el (pong): Doc fix.
6241 * play/morse.el: Keywords, commentary, autoloads.
6243 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
6245 * desktop.el (desktop-save): Don't look at symbol-value of a
6246 member of minor-mode-alist, unless it is boundp.
6248 2000-08-16 Sam Steingold <sds@gnu.org>
6250 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
6251 `while'; use `with-current-buffer' instead of `save-excursion'.
6252 Removed unnecessary kludges now that "*Buffer List*" is excluded.
6254 2000-08-16 Kenichi Handa <handa@etl.go.jp>
6256 * international/ccl.el (declare-ccl-program): Docstring modified.
6257 (ccl-execute-with-args): Likewise.
6259 2000-08-16 Miles Bader <miles@gnu.org>
6261 * progmodes/sql.el: Add compatibility definition of
6262 comint-line-beginning-position.
6264 2000-08-15 Gerd Moellmann <gerd@gnu.org>
6266 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
6267 'buffer-menu' property.
6268 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
6270 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
6271 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
6274 * buff-menu.el (list-buffers-noselect): Don't display the
6275 *Buffer List* buffer.
6277 * font-lock.el: Require jit-lock to prevent a very late
6278 `Loading jit-lock' message.
6280 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
6281 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
6284 2000-08-15 Miles Bader <miles@gnu.org>
6286 * textmodes/ispell.el (ispell-graphic-p): New constant.
6287 (ispell-choices-win-default-height, ispell-help): Use
6288 `ispell-graphic-p' instead of `xemacsp'.
6290 2000-08-15 Dave Love <fx@gnu.org>
6292 * simple.el: Autoload widget-convert when compiling.
6293 (mail-user-agent): Doc fix.
6295 * help.el (function-called-at-point, variable-at-point): Use
6297 (help-manyarg-func-alist): Add insert-and-inherit.
6299 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
6301 * delsel.el (delsel-unload-hook): New function.
6303 * find-file.el: Doc fixes. Move provide to end.
6304 (ff) <defgroup>: Add :link.
6305 (ff-goto-click): Deleted.
6306 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
6307 Use mouse-set-point.
6309 * textmodes/tildify.el: Doc fixes.
6310 (tildify) <defgroup>: Add:version.
6312 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
6313 (glasses-custom-set): Use set-default, not set.
6314 (minor-mode-alist): Propertize the lighter.
6315 (glasses-mode): Provide optional arg.
6317 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
6318 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
6319 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6320 option. Provide :type.
6321 (cwarn-configuration): Provide :type.
6322 (cwarn-mode): Doc fix.
6324 * add-log.el (change-log-merge): Doc fix.
6325 (change-log-redate): New command.
6327 * net/browse-url.el (browse-url-filename-alist): Add a clause for
6329 (browse-url): Use dolist, not mapcar.
6330 (browse-url-at-point): Check for null url.
6331 (browse-url-event-buffer, browse-url-event-point): Functions
6333 (browse-url-at-mouse, browse-url-netscape): Simplify.
6335 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6337 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6338 Fix previous change to mapcan.
6339 (msb--init-file-alist, msb--add-separators)
6340 (msb--make-keymap-menu): Simplify.
6341 (msb--choose-file-menu): Use copy-sequence.
6342 (msb-mode-map): Add title to keymap.
6343 (msb-unload-hook): New function.
6345 * bs.el: Fix indentation.
6346 (bs) <defgroup>: Add :links.
6348 (bs-apply-sort-faces): Don't use window-system.
6349 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6351 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
6353 * calendar/timeclock.el (timeclock-file): Run .timelog through
6354 convert-standard-filename.
6356 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6358 * emacs-lisp/authors.el: New file.
6360 * paren.el (show-paren-priority): New user option.
6361 (show-paren-function): Set overlay priorities to
6362 show-paren-priority.
6364 2000-08-14 Miles Bader <miles@gnu.org>
6366 * comint.el (comint-bol): Use `forward-line 0' instead of calling
6367 beginning-of-line with inhibit-field-text-motion bound.
6369 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6371 * calendar/timeclock.el: New file.
6373 2000-08-14 David Ponce <david@dponce.com>
6375 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6376 `widget-button-click'. so that one can use left mouse button to
6377 click on dialog buttons.
6379 2000-08-14 Emmanuel Briot <briot@gnat.com>
6381 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6382 identifiers, since XML is case sensitive
6384 2000-08-12 Miles Bader <miles@gnu.org>
6386 * comint.el (comint-output-filter): Don't bother frobbing
6387 window-start, it doesn't seem to be necessary.
6389 * comint.el (comint-send-string, comint-send-region): Make into
6390 real functions. Snapshot the prompt before sending.
6392 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6394 * info.el (Info-find-emacs-command-nodes): Rewrite to use
6395 technique similar to Info-index, instead of relying on specific
6396 names of relevant Index nodes.
6397 (Info-goto-emacs-command-node): Bind Info-history to nil when
6398 going to the first node found by Info-find-emacs-command-nodes.
6400 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6402 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6404 2000-08-10 Miles Bader <miles@gnu.org>
6406 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6408 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6410 * info.el (Info-file-list-for-emacs): More elements for the
6411 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6414 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6416 * comint.el (comint-send-input): Make the newline boundary overlay
6417 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6418 (comint-output-filter): Use `insert' instead of
6419 `insert-before-markers'. Extend comint-last-output-overlay when
6420 necessary since we can't rely on insert-before-markers to do it.
6421 * gud.el (gud-filter): Use `with-current-buffer' instead of
6422 save-excursion when inserting the output, so that point gets
6423 updated correctly; the old method relied on a rather dodgy
6424 side-effect of comint-output-filter to avoid the effect of
6427 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6429 * files.el (recover-file): Call insert-directory instead of
6430 invoking `ls' directly.
6432 2000-08-10 Miles Bader <miles@gnu.org>
6434 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6435 (comint-last-prompt-overlay): New variables.
6436 (comint-output-filter): Implement prompt highlighting.
6437 (comint-snapshot-last-prompt): New function.
6438 (comint-send-input): Snapshot the last prompt.
6439 Use comint-highlight-input-face.
6440 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6441 Use defface instead of defcustom.
6442 (send-invisible, comint-send-eof): Snapshot the last prompt.
6443 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6444 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6446 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6448 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6449 (regexp-opt-group): Use a list of chars for `letters'.
6450 (regexp-opt-charset): `chars' is now a list of chars.
6451 Use a char-table rather than a vector so it works for multibyte chars.
6453 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6454 Set cvs-minor-current-files to the selected fileinfo.
6455 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6456 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6458 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6460 * files.el (insert-directory): Don't call access-file on
6461 directories on DOS and Windows.
6463 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6465 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6466 longer if necessary.
6467 (ccl-embed-code): Call ccl-embed-data to store CODE in
6470 2000-08-09 Miles Bader <miles@gnu.org>
6472 * comint.el (comint-output-filter): Properly handle the case where
6473 the text surrounded by comint-last-output-overlay was deleted.
6475 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6477 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6479 (Info-file-list-for-emacs): Remove "info" from the list because
6480 that leads to trying to use the documentation from file `info'
6481 in various situations where it isn't appropriate, for instance
6484 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6485 DIR and/or STRING are nil.
6487 * progmodes/compile.el (compilation-setup): Make variable
6488 compilation-error-screen-columns buffer-local, as some comment
6489 in the code suggests it should be.
6491 * files.el (auto-mode-interpreter-regexp): New variable.
6492 (set-auto-mode): Use it.
6494 * indent.el (indent-for-tab-command): Doc fix.
6496 * mouse-sel.el (mouse-sel-mode): Doc fix.
6498 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6501 * help.el (print-help-return-message): When
6502 display-buffer-reuse-frames is set, let the help window been quit,
6503 instead of deleting it, which might delete a reused frame.
6505 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6507 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6508 rename a directory to a name that differs only by its letter case.
6510 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6512 * international/quail.el (quail-define-rules): Handle Quail decode
6513 map correctly. Add code for supporting annotations.
6514 (quail-install-decode-map): New function.
6515 (quail-defrule-internal): New optional arguments decode-map and
6517 (quail-advice): New function.
6519 2000-08-07 Sam Steingold <sds@gnu.org>
6521 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6522 `defconst', `define-condition', `with-slots'.
6523 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6525 2000-08-03 Miles Bader <miles@gnu.org>
6527 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6529 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6530 comint-use-prompt-regexp-instead-of-fields.
6531 (comint-send-input): Add `input' field property to stuff we send to
6532 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6533 (comint-output-filter): Add `output' field property to process
6534 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6535 (comint-replace-by-expanded-history)
6536 (comint-get-old-input-default, comint-show-output)
6537 (comint-backward-matching-input, comint-forward-matching-input)
6538 (comint-next-prompt, comint-previous-prompt): Use field
6539 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6540 (comint-line-beginning-position): New function.
6541 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6542 (comint-replace-by-expanded-history-before-point): Use
6543 comint-line-beginning-position and line-end-position.
6544 (comint-last-output-overlay): New variable.
6545 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6547 * shell.el (shell-prompt-pattern): Doc change.
6548 (shell-backward-command): Use line-beginning-position.
6550 * gud.el (gud-gdb-complete-command): Use
6551 comint-line-beginning-position.
6553 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6554 comint-bol doesn't actually go to the beginning of the line.
6556 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6557 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6558 (try-expand-line-all-buffers): Likewise.
6560 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6561 explicitly matching comint-prompt-regexp.
6562 (sql-copy-column): Use comint-line-beginning-position instead of
6563 explicitly matching comint-prompt-regexp.
6565 * progmodes/octave-inf.el (inferior-octave-complete): Use
6566 comint-line-beginning-position.
6568 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6570 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6571 looking for a prompt, use `forward-line 0' instead of
6572 `beginning-of-line', to avoid getting caught by an input field.
6574 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6576 * files.el (shell-quote-wildcard-pattern): Make sure to return
6577 PATTERN, in the Unix case.
6579 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6581 * play/zone.el (zone): Discard any pending input before running
6582 the randomly-chosen pgm.
6584 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6586 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6587 checking the existence of any multibyte characters.
6589 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6591 * help.el (describe-mode): Test minor-mode symbol for being
6592 bound before testing its value for being nil.
6594 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6595 `first', `second', and `third'.
6597 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6598 (second): Make it an alias for `cadr'.
6600 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6602 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6603 types of display support faces now.
6605 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6607 * pcvs.el (require): Require `cl' during compilation, only.
6609 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6610 (toplevel): Remove `remq' and `remove' from autoloads.
6611 (cl-fake-autoloads): New variable. If set, arrange for an error
6612 when CL functions etc. are autoloaded.
6614 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6616 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6618 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6619 popped up, but the user clicks outside the menu, return an empty
6620 regexp (that causes unhighlight-regexp to have no effect).
6622 * menu-bar.el (menu-bar-games-menu): Add Zone.
6624 * hi-lock.el (toplevel): Require font-lock.
6626 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6628 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6629 (ebnf-8-bit-chars): New var for bug fix.
6630 (ebnf-string): Bug fix.
6632 2000-08-03 Sam Steingold <sds@gnu.org>
6634 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6635 instead of `buffer-string'.
6636 (require 'cl): Always, not just when compiling.
6637 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6640 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6642 * international/mule-cmds.el (select-safe-coding-system): Make
6643 the message text about selecting a safe coding system more clear.
6645 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6647 * hi-lock.el: New file.
6649 * play/zone.el: New file.
6651 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6652 value of tab-width in the original buffer. Choose a line number
6653 format that's a multiple of the original buffer's tab width, so
6654 that lines appear right.
6656 * textmodes/ispell.el (ispell): New function, replacing an alias.
6657 Spell-check active region if in transient-mark-mode and mark
6658 is active; otherwise spell-check buffer.
6660 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6662 * ps-mule.el: Fix a customization problem on
6663 ps-mule-font-info-database-default.
6665 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6667 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6668 display-mouse-p instead of window-system.
6669 (ebrowse-member-mode-map): Ditto.
6671 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6673 * progmodes/ebnf2ps.el: Update ps-print functions call.
6674 Indentation fix. Doc fix.
6675 (ebnf-version): New version number (3.2).
6676 (ebnf-format-color, ebnf-begin-job): Code fix.
6678 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6680 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6681 font lock support on window-system.
6682 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6684 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6685 display-color-p, if fboundp, instead of window-system.
6687 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6689 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6690 instead of window-system.
6692 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6694 (widget-choice-mouse-down-action): Use display-popup-menus-p
6695 instead of window-system.
6697 * strokes.el (strokes-file): Run the file name through
6698 convert-standard-filename.
6699 (strokes-mode): Call display-mouse-p instead of looking at
6700 window-system. Change the error message accordingly.
6702 * progmodes/cpp.el (toplevel): Support faces on tty's.
6704 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6705 (lm-plot-square, lm-init-display): Don't use window-system.
6707 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6708 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6710 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6711 instead of looking at window-system.
6713 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6715 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6716 of testing if iswitchb-prepost-hooks is bound, because the
6717 latter will always be true when invoking a recursive minibuffer
6718 from an active Iswitchb buffer.
6720 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6722 * files.el (shell-quote-wildcard-pattern): New function.
6723 (insert-directory): Call it. Only prepend "\" to command on Unix
6724 and GNU/Linux systems.
6726 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6728 * eshell/esh-groups.el: Change custom :link file names
6729 from `eshell.info' to `eshell'.
6731 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6733 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6734 correctly in recursive ange-ftp listings.
6736 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6738 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6739 ps-header-font-size-internal and
6740 ps-header-title-font-size-internal variables are not set,
6741 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6742 face text property is (foreground-color . COLOR) or
6743 `(background-color . COLOR)', ps-print crashes. Doc fix.
6744 (ps-print-version): New version number (5.2.4).
6745 (ps-plot-region): Code fix.
6746 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6747 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6750 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6752 * glasses.el (glasses-make-readable): Fix uncapitalization of
6753 identifiers like `myXMLDocument'.
6755 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6757 * mail/mail-hist.el (mail-hist-previous-input)
6758 (mail-hist-next-input): Do the obvious code factorization.
6759 (mail-hist-retrieve-and-insert): New func, contains common
6761 If inserting a message body, leave point at top.
6763 2000-07-28 Sam Steingold <sds@gnu.org>
6765 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6766 Use `<=', not `<' to compare times!
6767 (ange-ftp-ls): Remove.
6769 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6771 * play/cookie1.el: Add explanation of how to make cookie.el
6772 compatible with strfile(1) to comment.
6774 * subr.el (remove, remq): New functions.
6776 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6777 escape `*' in regexps.
6778 (midnight-find): Reverse order of arguments in the funcall of
6781 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6784 * play/meese.el: Add Commentary section.
6786 2000-07-27 Alex Schroeder <alex@gnu.org>
6788 * sql.el (sql-ms): Added autoload cookie.
6789 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6790 (sql-oracle): Ditto.
6791 (sql-help): Doc change.
6793 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6794 types and exceptions.
6796 2000-07-27 Alex Schroeder <alex@gnu.org>
6798 * sql.el (sql-placeholder-history): New variable.
6799 (sql-query-placeholders-and-send): New function that will query
6800 the user and replace placeholders with user input.
6801 (sql-oracle): If running on NT, set comint-input-sender to
6802 sql-query-placeholders-and-send.
6804 (sql-stop): If in the SQLi buffer, insert stop notification, else
6805 present it as a message.
6807 2000-07-27 Alex Schroeder <alex@gnu.org>
6809 * sql.el (sql-input-ring-separator): Doc change.
6810 (sql-input-ring-file-name): Doc change.
6811 (sql-interactive-mode): Use `sql-input-ring-separator' and
6812 `sql-input-ring-file-name' to set the comint-mode equivalents
6813 without making them local variables.
6814 (sql-stop): Don't bind `sql-input-ring-separator' and
6815 `sql-input-ring-file-name' dynamically to their comint-mode
6818 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6820 * international/mule.el (register-char-codings): New function.
6821 (make-coding-system): Handle `safe-chars' specification in the arg
6824 * international/mule-cmds.el
6825 (find-coding-systems-region-subset-p): This function deleted.
6826 (sort-coding-systems-predicate): New variable.
6827 (sort-coding-systems): New function.
6828 (find-coding-systems-region): Use
6829 find-coding-systems-region-internal.
6830 (find-coding-systems-string): Use find-coding-systems-region.
6831 (find-coding-systems-for-charsets): Check
6832 char-coding-system-table.
6833 (select-safe-coding-system-accept-default-p): New variable.
6834 (select-safe-coding-system): Mostly rewritten. New argument
6836 (select-message-coding-system): Call select-safe-coding-system
6837 with ACCEPT-DEFAULT-P arg.
6838 (reset-language-environment): Reset default-sendmail-coding-system
6839 to the default value iso-latin-1.
6840 (set-language-environment): Don't set the obsolete variable
6841 charset-origin-alist.
6843 * international/codepage.el (cp-coding-system-for-codepage-1):
6844 Give `safe-chars' property to make-coding-system.
6846 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6847 calling select-message-coding-system twice.
6849 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6850 instead of `safe-charsets'.
6851 (cyrillic-alternativnyj): Likewise.
6852 (ccl-encode-alternativnyj): Don't check the charset
6855 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6857 * composite.el (compose-chars-after): Preserve match data.
6859 2000-07-26 Sam Steingold <sds@gnu.org>
6861 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6862 (ange-ftp-real-file-newer-than-file-p): New function.
6863 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6864 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6866 * tooltip.el (tooltip-float-time): Removed (use `float-time').
6867 * midnight.el (midnight-float-time): Ditto.
6869 2000-07-26 Andreas Schwab <schwab@suse.de>
6871 * files.el (normal-backup-enable-predicate): Correct
6872 interpretation of the return value of compare-strings.
6874 2000-07-26 Gerd Moellmann <gerd@gnu.org>
6876 * isearch.el (isearch-resume): New function.
6877 (isearch-done): Add something to command-history to resume
6879 (isearch-yank-line, isearch-yank-word): Use
6880 buffer-substring-no-properties instead of buffer-substring.
6882 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6883 of flyspell-mouse-map.
6885 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6886 duplicate definition.
6887 (makefile-mode): Remove duplicate setting of local-abbrev-table.
6889 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6890 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6892 2000-07-25 Sam Steingold <sds@gnu.org>
6894 * net/ange-ftp.el: Get modtime over the net.
6895 (ange-ftp-file-modtime): New function.
6896 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6897 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6899 (ange-ftp-dot-to-slash): New function.
6900 (ange-ftp-fix-name-for-vms): Use it.
6902 * midnight.el (midnight-buffer-display-time): Use
6903 `with-current-buffer'.
6905 2000-07-25 Gerd Moellmann <gerd@gnu.org>
6907 * find-dired.el: Update copyright notice.
6908 (find-dired): Offer to kill a running `find'.
6910 * enriched.el (enriched-face-ans): For a `foreground-color'
6911 property, return '(("x-color" COLOR))' so that COLOR will be
6912 output as a parameter of the x-color annotation. Likewise for the
6913 `background-color' property. In the case of normal face
6914 properties, don't return annotations for unspecified foreground
6915 and background face attributes.
6917 2000-07-25 Kenichi Handa <handa@etl.go.jp>
6919 * language/japan-util.el (japanese-katakana-region): Fix handling
6922 2000-07-25 Miles Bader <miles@gnu.org>
6924 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6925 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
6928 2000-07-24 Andrew Innes <andrewi@gnu.org>
6930 * timer.el (timer-activate-when-idle): Add optional parameter
6931 DONT-WAIT. Update docstring.
6932 (run-with-idle-timer): Specify extra parameter to
6933 timer-activate-when-idle, so that timer will be activated
6934 immediately if Emacs is already idle.
6936 * w32-fns.el (w32-using-nt): Fix docstring.
6938 2000-07-24 Dave Love <fx@gnu.org>
6940 * mouse.el (popup-menu): Set last-command-event.
6941 (mouse-major-mode-menu-prefix): Declare.
6943 2000-07-24 Gerd Moellmann <gerd@gnu.org>
6945 * textmodes/flyspell.el: Update to author's version 1.5d.
6947 * progmodes/hideshow.el: Update copyright notice.
6949 * vcursor.el: Set maintainer to FSF, since author cannot
6952 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
6954 * info.el (Info-goto-emacs-key-command-node): Leave a space after
6957 * mouse.el (popup-menu): Run the keymap through indirect-function,
6958 in case it was defined with define-prefix-key. If the menu is a
6959 list of keymaps, look up the binding of user's choice in each one
6961 (mouse-popup-menubar): If the global and local menu-bar keymaps
6962 don't have a prompt string, create one and insert it into the
6963 keymap. Don't barf if current-local-map returns nil.
6965 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
6967 * dired.el (dired-sort-R-check): Added to allow recursive listing
6969 (dired-sort-other): Use it.
6971 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6973 * Release of cc-mode 5.27
6975 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6977 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6978 c-beginning-of-statement-1 that caused a bad case of recursion
6979 which could consume a lot of CPU in large classes in languages
6980 that have in-expression classes (i.e. Java and Pike).
6982 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6983 statements before top level constructs (i.e. case 6 is moved
6984 before case 5 and is now case 4) to catch in-expression
6985 classes in top level expressions correctly.
6987 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6989 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6990 objc-method-intro. Case 4 removed and case 5I added.
6992 * cc-langs.el (c-append-paragraph-start): New variable used by
6993 c-common-init to get paragraph-start correct.
6994 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6995 initialize paragraph-start to make it correct both with and
6996 without the javadoc special case.
6998 * cc-mode.el (java-mode): Use c-append-paragraph-start to
6999 initialize paragraph-start for javadoc markup.
7001 * cc-vars.el (c-style-variables-are-local-p): Incompatible
7002 change by defaulting this to t. It's motivated by the
7003 confusing behavior that otherwise arise from the style system
7004 when editing both java and non-java files at the same time
7005 (see the comments about style setting in c-common-init).
7007 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7009 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
7010 similar to the one in c-fill-paragraph to check the fill
7011 prefix from the adaptive fill function for sanity.
7013 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7015 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
7018 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7020 * cc-mode.texi Documented the change of cpp-macro.
7022 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7024 * cc-align.el (c-lineup-multi-inher): Handle lines with
7025 leading comma nicely. Extended to handle member initializers
7028 * cc-engine.el: (c-beginning-of-inheritance-list,
7029 c-guess-basic-syntax): Fixed recognition of inheritance lists
7030 when the lines begins with a comma.
7032 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
7034 * cc-vars.el (c-offsets-alist): Changed default for
7035 member-init-cont to c-lineup-multi-inher since it now handles
7036 member initializers and indents better for leading commas.
7038 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7040 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
7041 handling that caused class open lines to be recognized as
7042 statement-conts in some cases.
7044 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
7045 guessed by the adaptive fill function unless point is on the
7046 first line of a block comment.
7048 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
7049 when the buffer ends with a macro continuation char.
7051 * cc-engine.el (c-guess-basic-syntax): Added support for
7052 function definitions as statements in Pike. The first
7053 statement in a lambda block is now labeled defun-block-intro
7054 instead of statement-block-intro.
7056 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
7057 so that the class surrounding point is selected, not the one
7058 innermost in the state.
7060 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
7061 recognition of switch labels having hanging multiline
7064 * cc-engine.el (c-beginning-of-member-init-list): Broke out
7065 some code in c-guess-basic-syntax to a separate function.
7066 * cc-engine.el (c-just-after-func-arglist-p): Fixed
7067 recognition of member inits with multiple line arglists.
7068 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
7069 member-init-cont when the commas are in funny places.
7071 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7073 * cc-defs.el (c-auto-newline): Removed this macro since it's
7076 * cc-engine.el (c-looking-at-bos): New helper function.
7077 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
7078 inexpr and toplevel classes apart in Pike.
7080 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
7083 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
7084 constant, since "class" can introduce an in-expression class
7087 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7089 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
7090 indentation on cpp-macro lines.
7092 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
7093 a syntax modifier like comment-intro, to make it possible to
7094 get syntactic indentation for preprocessor directives. It's
7095 incompatible wrt to lineup functions on cpp-macro, but it has
7096 no observable effect in the 99.9% common case where cpp-macro
7099 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7101 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
7102 member-init-cont when the preceding arglist is several lines.
7104 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7106 * cc-styles.el (c-style-alist): The basic offset for the BSD
7107 style corrected to 8.
7109 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7111 * cc-styles.el (c-style-alist): Adjusted the indentation of
7112 brace list openers in the gnu style.
7114 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7116 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
7118 * cc-cmds.el (c-electric-brace, c-electric-slash,
7119 c-electric-star, c-electric-semi&comma, c-electric-colon,
7120 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
7121 when c-syntactic-indentation is nil.
7123 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
7124 we were left at comments preceding the first statement when
7125 reaching the beginning of the buffer.
7127 * cc-vars.el (c-syntactic-indentation): New variable to turn
7128 off all syntactic indentation.
7130 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7132 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
7133 between the text and the block comment ender when it hangs,
7134 depending on how many there are before the fill.
7136 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7138 * cc-engine.el (c-beginning-of-closest-statement): New helper
7139 function to go back to the closest preceding statement start,
7140 which could be inside a conditional statement.
7141 * cc-engine.el (c-guess-basic-syntax): Use
7142 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
7144 * cc-engine.el (c-guess-basic-syntax): Better handling of
7145 arglist-intro, arglist-cont-nonempty and arglist-close when
7146 the arglist is nested inside parens. Cases 7A, 7C and 7F
7149 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
7150 up-to-date with javadoc 1.2.
7152 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7154 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
7155 multiline Pike type decls.
7157 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7159 * cc-cmds.el (c-indent-new-comment-line): Always break
7160 multiline comments in multiline mode, regardless of
7163 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7165 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
7166 fully::qualified::names in C++ member init lists. Preamble in
7169 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7171 * cc-langs.el (c-common-init): Handling of obsolete variables
7172 moved to c-initialize-cc-mode. More compatible style override
7173 when using global style variables.
7174 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
7175 variables moved here.
7177 * cc-mode.texi: Documented the special behavior of
7178 c-special-indent-hook as a style variable. Don't talk about
7179 doing (c-make-styles-buffer-local t) in a mode hook, since
7180 that's already too late to work right.
7182 * cc-styles.el (c-make-styles-buffer-local): Flag style
7183 variable localness in c-style-variables-are-local-p to make
7184 the compatibility measure in c-common-init work well.
7186 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
7187 longer contain set-from-style.
7188 * cc-styles.el (c-initialize-builtin-style): Don't check for
7189 set-from-style on c-special-indent-hook.
7190 * cc-styles.el (c-copy-tree): Obsolete. The standard function
7191 copy-alist is sufficient now.
7193 * cc-styles.el (c-set-style, c-set-style-1,
7194 c-get-style-variables): Fixes to variable initialization so
7195 that duplicate entries in styles have the same effect
7196 regardless of DONT-OVERRIDE.
7198 * cc-styles.el (c-set-style-2): Fixed bug where the
7199 initialization of inheriting styles failed when the
7200 dont-override flag is set.
7202 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
7205 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7207 * cc-defs.el (c-forward-comment): Removed the workaround
7208 introduced in 5.38 since it had worse side-effects. If a line
7209 contains the string "//\"", it regarded the // as a comment
7210 start since the \ temporarily doesn't have escape syntax.
7212 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
7214 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
7215 ada-xref.el before ada-prj.el, so that the Project menu is created
7216 when ada-prj tries to add to it.
7217 (ada-activate-keys-for-case): Suppress the characters that are not
7218 part of the Ada syntax. Better compatibility with else-mode
7219 (ada-adjust-case-interactive): When auto-casing is not active,
7220 correctly insert newlines (used to insert only ^M). Prevent the
7221 syntax table from being changed in case of an error
7222 (or '_' becomes part of a word and some commands are confused).
7223 Do nothing if ada-auto-case is nil.
7224 (ada-after-keyword-p): Ignore keywords that are also attributes
7225 (ada-batch-reformat): Update usage comment
7226 (ada-call-from-contextual-menu): New function
7227 (ada-case-read-exceptions): Reinitialize the casing exception list
7228 first to nil first, so that the casing exception file can be
7230 (ada-check-defun-name): Handles "configure" keyword for gnatdist
7232 (ada-compile-goto-error): Fix regexp used to detect a file:line
7233 anywhere in the error message
7234 (ada-contextual-menu-last-point): New variable
7235 (ada-create-keymap): If the variable delete-key-deletes-forward is
7236 t on XEmacs, it means that DEL should delete one character
7238 (ada-create-menu): Use :included instead of :visible for XEmacs.
7239 New submenu "Options".
7240 (ada-end-stmt-re): Correctly indent "select ... then abort"
7242 (ada-fill-comment-paragraph): Correctly delete all leading '--'
7243 even if they don't match ada-fill-comment-prefix Fix handling of
7244 paragraphs on the first or last line of a file.
7245 (ada-format-paramlist): Fix handling of default parameter values.
7246 (ada-get-body-name): New function.
7247 (ada-get-current-indent): Optimized by searchling directly for an
7248 existing generic part or a statement outside of it. Handle
7249 ada-indent-align-comments when indenting comments Replaced some
7250 regexps by testing directly the next character. This results in a
7251 huge speedup on some files. New indentation scheme for renames
7252 statements. Stop looking for the 'while' or 'for' associated with
7253 a 'loop' at the first semicolon encountered. A "return" can also
7254 match an anonymous access subprogram declaration.
7255 (ada-get-indent-noindent): Ignore strings and comments when
7256 looking for the keywords "record" and "private".
7257 (ada-goto-matching-decl-start): When matching "if", make sure we
7258 are not in fact seeing "end if". Ignore "when" statements except
7259 when initial keyword was "begin". Fix handling of nested
7260 procedures. Add a recursive call to this function to skip over
7261 other 'end' statmts. Fix indentation for "when .. => begin"
7262 (ada-in-open-paren-p): Fix indentation for complex boolean
7263 expressions, where 'and then', 'or else' and parenthesis
7264 statements are mixed up.
7265 (ada-in-paramlist-p): Skip comments while searching for the
7266 beginning Fix handling of operator declarations.
7267 (ada-indent-align-comments): New variable
7268 (ada-indent-current): Change the syntax table only in the
7269 protected section, so that we are sure it is restored correctly.
7270 (ada-indent-on-previous-lines): Use ada-use-indent and
7271 ada-with-indent Correctly indent "select ... then"
7272 (ada-indent-region): Slight speedup.
7273 (ada-indent-renames): New variable.
7274 (ada-last-which-function-subprog, ada-last-which-function-line):
7276 (ada-looking-at-semi-private): Correctly indent the 'private'
7277 keyword when it is the first word in a package declaration.
7278 (ada-loose-case-word): Stop searching if at the end of the buffer.
7279 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
7280 even if point is not initially at the end of the word.
7281 (ada-matching-decl-start-re): Add "when".
7282 (ada-mode): Add support for abbrev-mode, outline-mode and
7283 which-func-mode Override the old find-file.el entry in
7284 ff-special-constructs since it is using the obsolete
7285 ada-spec-suffix variable
7286 (ada-no-auto-case): New function
7287 (ada-scan-paramlist): When parsing the argument type, accept
7288 spaces (as in "X 'Class", generated by Rational Rose).
7289 (ada-other-file-name): No longer loads the other file.
7290 (ada-popup-menu): Save and restore the current buffer and cursor
7291 position before and after displaying the menu.
7292 (ada-search-ignore-complex-boolean): New function.
7293 (ada-uncomment-region): Emacs21 already knows how to delete
7294 comments not starting in the first column.
7295 (ada-use-indent): New variable
7296 (ada-which-function): New function.
7297 (ada-with-indent): New variable
7298 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
7299 can be batch-compiled from the command line.
7301 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
7302 Add to the menu when the file is loaded, not in ada-mode-hook.
7303 Add -toolbar to the default ddd command Switches moved from
7304 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
7305 ada-prj-default-comp-opt
7306 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
7307 Reference Manual to the menu
7308 (ada-check-current): rewritten as a call to ada-compile-current
7309 (ada-compile): Removed.
7310 (ada-compile-application, ada-compile-current, ada-check-current):
7311 Set the compilation-search-path so that compile.el automatically
7312 finds the sources in src_dir. Automatic scrollong of the
7313 compilation buffer. C-uC-cC-c asks for confirmation before
7315 (ada-compile-current): New parameter, prj-field
7316 (ada-complete-identifier): Load the .ali file before doing
7318 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
7319 conform to gnatmake's behavior.
7320 (ada-find-file-in-dir): New function
7321 (ada-find-references): Set the environment variables for gnatfind
7322 (ada-find-src-file-in-dir): New function.
7323 (ada-first-non-nil): Removed
7324 (ada-gdb-application): Add support for jdb, the java debugger.
7325 (ada-get-ada-file-name): Load the original-file first if not done
7327 (ada-get-all-references): Handles the new ali syntax (parent types
7328 are found between <>).
7329 (ada-initialize-runtime-library): New function
7330 (ada-mode-hook): Always load a project file when a file is opened,
7331 so that the casing exceptions are correctly read.
7332 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7333 (ada-parse-prj-file): Use find-file-noselect instead of find-file
7334 to open the project file, since the latter does not work with
7335 speedbar Get default values before loading the prj file, or the
7336 default executable file name is wrong. Use the absolute value of
7337 src_dir to initialize ada-search-directories and
7338 compilation-search-path,... Add the standard runtime library to
7339 the search path for find-file.
7340 (ada-prj-default-debugger): Was missing an opening '{'
7341 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7343 (ada-prj-default-gnatmake-opt): New variable
7344 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7345 buffers, the project file is the default one Save the windows
7346 configuration before displaying the menu.
7347 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7348 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7349 ...) regexp-quote identifiers names to support operators +,
7351 (ada-remote): New function.
7352 (ada-run-application): Erase the output buffer before starting the
7353 run Support remote execution of the application. Use
7354 call-process, or the arguments are incorrectly parsed
7355 (ada-set-default-project-file): Reread the content of the active
7356 project file, not the one from the current buffer When a project
7357 file is set as the default project, all directories are
7358 automatically associated with it.
7359 (ada-set-environment): New function
7360 (ada-treat-cmd-string): New special variable ${current}
7361 (ada-treat-cmd-string): Revised. The substitution is now done for
7362 any ${...} substring
7363 (ada-xref-current): If no body was found, compiles the spec
7364 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7365 compiler to get rid of command line length limitations.
7366 (ada-xref-get-project-field): New function
7367 (ada-xref-project-files): New variable
7368 (ada-xref-runtime-library-specs-path)
7369 (ada-xref-runtime-library-ali-path): New variables
7370 (ada-xref-set-default-prj-values): Default run command now does a
7371 cd to the build directory. New field: main_unit Provide a default
7372 file name even if the current buffer has no prj file.
7375 Rewritten to show a tabbed-dialog.
7376 (ada-prj-add-ada-menu): Remove the map and name parameters.
7377 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7379 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7380 (ada-prj-load-from-file): New function
7381 (ada-prj-save): Always save fields that depend on the current buffer
7382 (ada-prj-show-value): New function
7384 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7385 Ada mode. This will allow us to display the Ada menu in any buffer
7386 we want (for project items).
7387 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7388 number of spaces in the header.
7390 2000-07-24 Dave Love <fx@gnu.org>
7392 * ediff-init.el (ediff-region-help-echo): Bind face-help.
7394 2000-07-23 Noah Friedman <friedman@splode.com>
7396 * type-break.el (type-break): perform autosave.
7397 Suggested by Stephen Gildea <gildea@intouchsys.com>.
7398 (type-break-do-query): Cancel query schedule while performing
7399 actual query, to avoid possibility of a second query being made
7400 while first one is already in progress.
7401 (type-break-time-stamp-format): New variable.
7402 (type-break-time-stamp): New function.
7403 (type-break-time-warning): Use it.
7404 (type-break-keystroke-warning): Use it.
7405 (type-break-noninteractive-query): Use it.
7407 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7409 Use add-minor-mode to set minor-mode-alist, if available.
7410 (eldoc-echo-area-use-multiline-p): New user option.
7411 (eldoc-echo-area-multiline-supported-p): New variable.
7412 (eldoc-docstring-format-sym-doc): Use them.
7413 (eldoc-mode): If not using idle timers, append to local post and
7414 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7415 (eldoc-display-message-no-interference-p): Don't interfere with
7417 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7418 (eldoc-function-arglist): New function.
7419 (eldoc-function-argstring): Use it.
7421 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7422 auto save directory exists before calling directory-files.
7424 2000-07-23 Dave Love <fx@gnu.org>
7426 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7429 2000-07-21 Dave Love <fx@gnu.org>
7431 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7432 now passed to the function. It now works properly.
7434 * smerge-mode.el (smerge-mode-menu): Fill it out.
7436 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7438 * info-look.el (info-lookup): If *info* is shown in another frame
7439 on the same display, select that frame, instead of switching to
7440 the Info buffer in another window of the selected frame.
7442 * simple.el (universal-argument-map): Bind numeric keypad keys
7443 kp-0 to kp-9 and kp-subtract.
7444 (digit-argument): Handle these keys.
7446 2000-07-20 Dave Love <fx@gnu.org>
7448 * net/goto-addr.el (goto-address-fontify): Don't bother with
7449 buffer-modified and read-only stuff -- irrelevant with overlays.
7450 Put an extra property on the overlays and use it to clean up in
7451 case goto-address is re-run.
7453 2000-07-19 Richard M. Stallman <rms@gnu.org>
7455 * timer.el (run-with-idle-timer): Doc fix.
7457 * mail/mail-utils.el (mail-strip-quoted-names):
7458 Handle case where <...> appears inside "...".
7459 Use replace-match to edit the string more simply.
7460 (rmail-dont-reply-to): Cope with an unmatched ".
7462 2000-07-19 Dave Love <fx@gnu.org>
7464 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7467 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7468 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7469 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7471 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7473 * textmodes/refer.el: Correct maintainer's email address.
7475 * progmodes/hideif.el: Correct author's email address.
7476 Fix typo in comment.
7480 * mail/mailheader.el: Correct author's mail address.
7482 * gnus/parse-time.el: Correct author's mail address.
7484 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7486 * comint.el (comint-highlight-input, comint-highlight-face):
7488 (comint-input-ring-file-name): Change custom type.
7489 (comint-mode-map): Bind mouse-2.
7490 (comint-insert-clicked-input): New function.
7491 (comint-send-input): Handle input highlighting.
7493 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7495 * mouse.el (popup-menu): New function.
7496 (mouse-major-mode-menu): Use it.
7498 2000-07-18 Dave Love <fx@gnu.org>
7500 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7503 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7505 * faces.el (face-font-selection-order)
7506 (face-font-family-alternatives): Add custom type.
7508 2000-07-18 Dave Love <fx@gnu.org>
7510 * cus-edit.el (custom-variable-reset-saved)
7511 (custom-variable-reset-standard): Remove unused bindings.
7513 * rect.el (open-rectangle-line): Remove unused let.
7515 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7517 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7519 * cdl.el: Fix `Maintainer' keyword.
7521 * play/pong.el: Add author's email address.
7523 2000-07-17 Sam Steingold <sds@gnu.org>
7525 * files.el (insert-directory): Call `split-string' instead of
7528 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7530 * mail/vms-pmail.el: Change maintainer to FSF.
7532 * net/goto-addr.el: Change maintainer to FSF.
7534 * recentf.el: Update from author.
7536 * info.el (Info-title-face-alist): Removed.
7538 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7540 * eshell/eshell.el (eshell): Replace links to eshell.info with
7541 links to eshell, to avoid problems on systems where the manual is
7542 installed as `eshell'.
7543 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7544 * eshell/em-smart.el (eshell-smart): Ditto.
7545 * eshell/em-banner.el (eshell-banner): Ditto.
7546 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7548 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7549 same-file check in the MS-DOS version (it does support inodes).
7551 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7553 * eshell/eshell.el (eshell-directory-name):
7554 Run default directory name through convert-standard-filename.
7556 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7558 * international/mule-cmds.el (select-safe-coding-system):
7559 Fix typo in the comment.
7561 * language/european.el (compound-text):
7562 Force katakana-jisx0201 to be designated to G1.
7564 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7565 Don't translate some national variant characters of latin-jisx0201.
7566 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7568 * international/kkc.el (kkc-after-update-conversion-functions):
7570 (kkc-update-conversion): Run functions in it at the tail.
7572 2000-07-16 John Wiegley <johnw@gnu.org>
7574 * lisp/align.el (align-newline-and-indent):
7575 Adding new function. for auto-aligning blocks of code on RET.
7576 (align-region): Fixed badly formatted minibuffer message.
7578 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7580 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7581 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7582 the conversion list at first if appropriate.
7583 (kkc-next): Don't update kkc-next-count here.
7584 (kkc-prev): Don't update kkc-prev-count here.
7585 (kkc-show-conversion-list-update): Fix setting up of conversion
7588 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7590 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7592 2000-07-16 Dave Love <fx@gnu.org>
7594 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7595 function to be more specific.
7597 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7598 non-string help-echo.
7599 (widget-types-convert-widget): Defsubst it.
7600 (widget-echo-help): Try to cope with a help-echo function of two
7603 2000-07-15 Jason Rumney <jasonr@gnu.org>
7605 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7606 Declare as obsolete.
7608 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7610 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7612 * hilit-chg.el: Fix typo.
7614 2000-07-14 Dave Love <fx@gnu.org>
7616 * info.el (Info-mode-menu): Fix use of :help, :enable.
7618 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7620 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7622 2000-07-13 Dave Love <fx@gnu.org>
7624 * emacs-lisp/easymenu.el: Doc fixes.
7625 (easy-menu-remove): Defalias to ignore.
7627 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7628 Call throw correctly.
7630 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7632 * faces.el (frame-background-mode): Doc fix.
7634 * simple.el (eval-expression-print-length): Change custom type to
7635 allow entering nil as value.
7637 2000-07-13 Dave Love <fx@gnu.org>
7639 * progmodes/fortran.el (fortran-imenu-generic-expression):
7640 Change definition layout.
7641 (fortran-mode-menu): Reinstate customize entries.
7643 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7644 Use :filter, per old XEmacs code.
7646 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7648 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7649 event when deciding what to send to the terminal.
7651 2000-07-12 Dave Love <fx@gnu.org>
7653 * cus-start.el: Add optional version as 4th element of specs and
7654 use it for several things new in v21. Remove load-path. Fix type
7655 of line-number-display-limit.
7657 2000-07-11 Dave Love <fx@gnu.org>
7659 * progmodes/fortran.el: Don't require easymenu.
7660 Use repeat counts in various regexps.
7661 (fortran-mode-syntax-table): Defvar directly.
7662 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7663 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7664 Use defvar, not defconst.
7665 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7666 (fortran-mode): Set fortran-comment-line-start-skip,
7667 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7668 (fortran-comment-indent): Use defsubst.
7669 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7670 Use fortran-comment-indent, not fortran-comment-indent-function.
7671 (fortran-comment-region, fortran-electric-line-number): Simplify.
7672 (fortran-auto-fill): New function.
7673 (fortran-do-auto-fill): Deleted.
7674 (fortran-find-comment-start-skip):
7675 Check for non-null comment-start-skip.
7676 (fortran-auto-fill-mode, fortran-fill-statement):
7677 Use fortran-auto-fill.
7678 (fortran-fill): Use fortran-auto-fill. Check for null
7679 comment-start-skip. Simplify final clause and use end-of-line finally.
7681 * widget.el (widget-plist-member): New alias.
7683 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7685 * eshell/esh-module.el (toplevel): Reference
7686 byte-compile-current-file only if it is bound.
7688 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7690 * dired.el: Don't require `dired-aux'.
7692 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7694 * dired-aux.el (dired-show-file-type): New function.
7695 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7696 (dired-show-file-type): Add autoload.
7698 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7700 * international/mule-diag.el (describe-font): Adjusted for the
7701 change of fontset-info.
7702 (print-fontset): Likewise.
7704 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7706 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7708 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7710 * bindings.el: Bind `[delete]' to delete-char.
7712 * dired.el (dired-find-alternate-file): New function.
7713 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7714 (toplevel): Require dired-aux when compiling.
7715 (dired-buffers): Move defvar within file to avoid compiler warning.
7717 * info.el (Info-last-search): Variable removed.
7718 (Info-search-history): New variable.
7719 (Info-search): New Info-search-history.
7721 * battery.el, info-look.el: Change author's mail address.
7723 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7725 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7726 if rmail-ignored-headers is nil.
7727 (rmail-retry-failure): Bind rmail-ignored-headers and
7728 rmail-displayed-headers to nil.
7730 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7732 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7733 (print-region-1): Don't hard code `-h' here.
7735 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7737 2000-07-01 Francesco Potorti` <pot@gnu.org>
7739 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7740 exim can use "your message" instead of "the message".
7742 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7744 * facemenu.el: Docstrings fixes.
7745 (facemenu-get-face): Don't use internal-find-face.
7746 (facemenu-iterate): Rename arg to match the docstring.
7748 * newcomment.el (uncomment-region): Be more careful when skipping
7749 backwards over `=' not to bump into BOBP.
7751 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7753 * ediff-diff.el (ediff-wordify): Use syntax table.
7754 * ediff-init.el (ediff-has-face-support-p): Use
7755 ediff-color-display-p.
7756 (ediff-color-display-p): Use display-color-p, changed to defun
7758 Got rid of special cases for NeXT and OS/2.
7759 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7762 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7764 * emacs-lisp/lucid.el: Require CL.
7765 (copy-tree, remprop): Remove, it's provided by CL.
7766 (map-keymap): Define in terms of cl-map-keymap.
7767 (extent-property, set-extent-end-glyph): New functions.
7769 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7771 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7773 * Makefile.in (DONTCOMPILE): Add comment that the name may
7774 not be changed without changing the make-dist script.
7776 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7777 (cl-mapc): Use mapc instead of cl-old-mapc.
7779 2000-07-05 Andrew Innes <andrewi@gnu.org>
7781 * makefile.nt: Add support for `bootstrap' and related targets.
7783 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7785 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7786 (easy-menu-do-define): Use `menu-item' format.
7787 Handle case where easy-menu-create-menu returns a symbol.
7788 Manually call the potential top-level filter in the function binding.
7789 (easy-menu-filter-return): New arg NAME.
7790 Convert to a keymap if MENU is an XEmacs menu.
7791 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
7792 (easy-menu-converted-items-table, easy-menu-convert-item):
7793 New var and fun to memoize easy-menu-convert-item-1.
7794 (easy-menu-do-add-item): Use it.
7795 (easy-menu-create-menu): Use easy-menu-convert-item.
7796 Wrap easy-menu-filter-return around any :filter specification.
7797 Don't convert the menu if a filter was specified.
7798 Tell easy-menu-make-symbol not to check for MENU being an expression.
7799 (easy-menu-make-symbol): New arg NOEXP.
7801 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7803 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7804 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7805 (eval-defun): If called with prefix arg, instrument code for
7808 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7809 similar to that of eval-defun.
7811 2000-07-04 Dave Love <fx@gnu.org>
7813 * hl-line.el (hl-line-overlay): Make it permanent-local.
7815 * calendar/todo-mode.el: Replaced with a working version, based on
7816 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7818 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
7820 * paths.el (prune-directory-list): New function.
7821 (Info-default-directory-list): Rewritten to more methodically
7822 enumerate a big list of possible info directories (based on the
7823 list used by the standalone info reader).
7825 * info.el (info-initialize): Use prune-directory-list to remove
7826 non-existent directories from Info-directory-list.
7828 * paths.el (Info-default-directory-list): Try a list of possible
7829 info-directories instead of a single one. Add the possible
7830 info directory "/usr/share/info".
7832 * woman.el (woman-man.conf-path): Explicitly include the debian
7833 man-db config file "/etc/manpath.config".
7834 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7835 are present in `manpath.config'.
7836 (woman-manpath): Include "/usr/share/man".
7838 2000-07-03 Gerd Moellmann <gerd@gnu.org>
7840 * frame.el (blink-cursor-mode): Don't hide cursor initially.
7842 * startup.el (command-line): Initialize blink-cursor based
7845 * frame.el (blink-cursor): Default to nil if not running under
7848 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7849 (face-x-resources): Remove duplicate entry for :font.
7851 * textmodes/refer.el (refer-find-entry-internal): Use some-window
7852 instead of cycling through windows with next-window.
7854 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7855 of cycling through windows with next-window.
7857 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7858 of cycling through windows with next-window.
7860 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7861 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7862 instead of cycling through windows with next-window.
7864 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7865 instead of cycling through windows with next-window.
7867 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7868 of cycling through windows with next-window.
7870 * terminal.el (te-process-output): Use walk-windows instead of
7871 cycling through windows with next-window.
7873 * server.el (server-switch-buffer): Use some-window instead of
7874 cycling through windows with next-window.
7876 * window.el (some-window): New function.
7877 (walk-windows): Remove reference to walk-windows-start.
7879 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7881 2000-07-03 Richard Stallman <rms@gnu.org>
7883 * window.el (walk-windows): Guarantee termination by keeping a list
7884 of all the windows already handled.
7886 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7888 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7891 * man.el (Man-notify-when-ready): Don't use window-system. If
7892 Man-notify-method is newframe, and the display is not
7893 multi-frame, select the frame created for the man page.
7894 (Man-init-defvars): Doc fix.
7896 2000-06-28 Gerd Moellmann <gerd@gnu.org>
7898 * faces.el (region): Change background color for light background.
7900 * ediff-wind.el (ediff-setup-control-frame): Remove :box
7901 attribute from mode-line face of Ediff control frame.
7903 * replace.el (query-replace-map): Bind `e' like `E'.
7905 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7907 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7908 Change name to "Select All".
7910 * dos-fns.el (convert-standard-filename): Fix last change.
7912 2000-06-27 Gerd Moellmann <gerd@gnu.org>
7914 * help.el (describe-variable): Don't insert a second `'s' in front
7915 of the string `value is shown below'. Since the syntax-table is
7916 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7917 an existing `'s', so that this won't be deleted.
7919 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7920 * pcmpl-unix.el: New files.
7922 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
7924 * wid-edit.el (widget-member): Use the new plist-member.
7926 2000-06-26 Gerd Moellmann <gerd@gnu.org>
7928 * replace.el (perform-replace): Undo change of 2000-04-04.
7929 Instead, move backward 1 character at the end of the loop when
7932 * faces.el (fringe): Change face for different backgrounds.
7934 * eshell/esh-module.el (toplevel): Load defgroup's differently;
7937 * eshell/*.el: Change spelling of the Free Software Foundation.
7939 * eshell/esh-toggle.el: Removed.
7941 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7943 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7946 2000-06-26 Alex Schroeder <alex@gnu.org>
7948 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7949 `define-key'; instead of checking `(emacs-version)' check for
7950 `set-keymap-parent' and `set-keymap-name' directly. Add entries
7951 for `;' and `o' which might be electric.
7953 (sql-electric-stuff): New user option.
7954 (sql-magic-go): New function which uses `sql-electric-stuff'.
7955 (sql-magic-semicolon): New function which uses
7956 `sql-electric-stuff'.
7958 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7961 (sql-oracle-options): New variable.
7962 (sql-oracle): Use it.
7964 (sql-imenu-generic-expression): Doc change.
7965 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7968 (sql-informix): Added command line parameter "-" to force
7969 sql-informix-program to use stdout.
7971 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
7973 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7974 (cp864-decode-table): Doc fix.
7975 (cp720-decode-table): New variable, supports the Arabic OEM
7976 codepage used by Windows.
7977 (cp737-decode-table): New, Greek OEM codepage used by Windows.
7979 2000-06-23 Dave Love <fx@gnu.org>
7981 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7982 (font-lock-fontify-anchored-keywords): Use
7983 line-beginning-position.
7984 (global-font-lock-mode): Use mapc.
7986 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
7988 * eshell/esh-module.el: Require CL when compiling.
7990 2000-06-23 Gerd Moellmann <gerd@gnu.org>
7992 * comint.el (comint-substitute-in-file-name): Call replace-match
7993 with second and third arg t.
7995 * cus-edit.el (custom-button-face, custom-button-pressed-face):
7996 Specify foreground color.
7998 * faces.el (tool-bar, mode-line, header-line): Specify foreground
8001 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
8003 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
8004 cddr instead of cdddr.
8006 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
8007 instead of copy-list.
8009 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
8012 * subdirs.el: Add eshell subdirectory.
8014 * eshell: New subdirectory containing the Eshell package.
8016 * pcomplete.el: New file.
8018 2000-06-23 Paul Eggert <eggert@twinsun.com>
8020 * mail/mailpost.el (post-mail-send-it): Make sure file has
8021 proper permissions from birth.
8023 * files.el (basic-save-buffer-2): When temporarily setting
8024 file modes, set them to current modes plus 0200, not to 0777.
8026 * emerge.el (emerge-make-temp-file): Make sure file has proper
8027 permissions from birth.
8029 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
8031 * files.el (make-backup-file-name-1): On DOS/Windows, run the
8032 backup file name through convert-standard-filename.
8034 * dos-fns.el (convert-standard-filename): Convert leading
8035 directories as well. When long file names are supported, convert
8036 characters that are invalid in Windows file names.
8038 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8040 * ps-print.el: Fix bug: if ^L is the very first buffer character,
8041 ps-print crashes. New feature: page selection for printing. Create
8042 raw-text-unix coding system for XEmacs. Doc fix.
8043 (ps-print-version): New version number (5.2.3).
8044 (ps-plot-region): Bug fix.
8045 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
8046 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
8047 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
8049 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
8050 (ps-last-page): New vars.
8052 2000-06-21 Gerd Moellmann <gerd@gnu.org>
8054 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
8055 empty option string.
8057 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
8059 * man.el (man): Doc fix.
8061 2000-06-21 Kenichi Handa <handa@etl.go.jp>
8063 * international/mule-cmds.el (set-language-info-alist): Docstring
8066 2000-06-20 Gerd Moellmann <gerd@gnu.org>
8068 * version.el (emacs-version): Use ISO date format.
8070 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
8071 instead of `M-backspace'.
8073 * simple.el (turn-off-auto-fill): New function.
8075 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
8077 * jit-lock.el (with-buffer-prepared-for-jit-lock):
8078 Renamed from with-buffer-prepared-for-font-lock and use
8079 inhibit-modification-hooks rather than setting *-change-functions.
8080 Update all functions to use the new name.
8081 (jit-lock-first-unfontify-pos): New semantics (and doc).
8082 (jit-lock-mode): Make non-interactive.
8083 Don't automatically turn on font-lock.
8084 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
8085 Always use jit-lock-after-change.
8086 Remove and restore font-lock-after-change-function.
8087 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
8088 (jit-lock-after-unfontify-buffer): Remove.
8089 (jit-lock-stealth-fontify):
8090 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
8091 (jit-lock-after-change): Set the `fontified' text-prop to nil.
8093 2000-06-20 Sam Steingold <sds@gnu.org>
8095 * emacs-lisp/cl-indent.el (toplevel): Indent
8096 `print-unreadable-object' properly. Untabify.
8098 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8100 * textmodes/reftex.el (reftex-find-citation-regexp-format):
8101 Support for bibentry.
8102 (reftex-compile-variables): Fixed problem with end of section-re.
8104 * texmodes/reftex-dcr.el (reftex-view-crossref,
8105 reftex-view-crossref-from-bibtex):
8106 Deal with changed `reftex-find-citation-regexp-format'.
8107 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
8108 Replaced `remprop' with `put'.
8109 (reftex-view-crossref, reftex-view-crossref-when-idle):
8110 Support for bibentry.
8112 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
8113 New entry for bibentry package.
8115 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
8116 Regexp also matches "\nobibliography".
8118 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
8119 Call `reftex-ensure-write-access' before doing anything.
8120 (reftex-ensure-write-access): New function.
8122 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
8124 * progmodes/idlwave.el: File re-installed (update to version 4.2)
8126 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
8128 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
8130 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
8133 2000-06-20 Dave Love <fx@gnu.org>
8135 * faces.el (frame-background-mode): Use set-default, not set, in
8137 (frame-update-faces, frame-update-face-colors): Define with
8140 * enriched.el (enriched-decode-foreground)
8141 (enriched-decode-background): Don't use internal-find-face.
8143 * apropos.el: Doc fixes.
8145 * cus-edit.el (customize-changed-options): Check arg.
8146 (customize-version-lessp): Don't require decimal point.
8148 * custom.el (defcustom, defgroup): Doc fix.
8150 * newcomment.el (comment) <defgroup>: Add :version.
8151 (comment-multi-line): Doc fix.
8153 * emulation/mlsupport.el (define-hooked-local-abbrev,
8154 define-hooked-global-abbrev): Fix, using define-abbrev.
8156 2000-06-19 Gerd Moellmann <gerd@gnu.org>
8158 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
8161 2000-06-19 Dave Love <fx@gnu.org>
8163 * menu-bar.el (menu-bar-options-save): New function.
8164 (menu-bar-options-menu): Use it.
8165 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
8168 2000-06-19 Andreas Schwab <schwab@suse.de>
8170 * progmodes/etags.el (tags-query-replace): Put new parameters
8171 START and END at the end, for backward compatibility.
8173 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8175 * international/codepage.el:
8176 (cp-coding-system-for-codepage-1): Delete special codes for
8177 generating xxx-dos coding system because now a CCL based coding
8178 system can handle EOL conversion by default.
8180 * international/mule.el (make-coding-system): Generate subsidiary
8181 coding systems for EOL handling variants even for a CCL based
8184 2000-06-19 Kenichi Handa <handa@etl.go.jp>
8186 * international/isearch-x.el (isearch-minibuffer-input-method)
8187 (isearch-minibuffer-input-method-function): These variables
8189 (isearch-with-input-method): Don't use the above variables.
8190 (isearch-process-search-multibyte-characters): Likewise. Call
8191 read-string with the arg INHERIT-INPUT-METHOD t.
8193 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
8195 * font-lock.el (font-lock-after-fontify-buffer)
8196 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
8198 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
8199 Use consistent make-local-variable style for font-lock-fontified.
8200 (jit-lock-fontify-buffer):
8201 Don't bother checking for font-lock-mode and jit-lock-mode.
8203 * time.el: Remove trailing ^M that prevent CVS-merging.
8205 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8207 * Makefile.in (distclean): New target.
8209 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
8211 * Makefile.in (srcdir): Define for update-subdirs.
8213 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8215 * find-lisp.el: New file.
8217 2000-06-16 Andrew Innes <andrewi@gnu.org>
8219 * time.el (display-time-mail-function): New variable, to allow
8220 external packages to indicate when new mail is available.
8221 (display-time-update): Use it.
8223 2000-06-16 Kenichi Handa <handa@etl.go.jp>
8225 * international/mule.el (mule-version): Change version name to
8226 SAKAKI. AOI has already been used by Meadow.
8228 * international/quail.el (quail-show-guidance-buf): To find the
8229 bottom window (but minibuffer), pay attention to the height of
8232 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
8234 * arc-mode.el (archive-mode-map): Use the new menu-item format for
8235 menu-bar menus. Add help strings. Don't remove the Edit menu
8236 from the menu bar, as the menu bar has enough space now.
8238 * Makefile.in (SHELL): Make sure /bin/sh is used.
8240 * woman.el (woman-man-buffer): Fix bold and underlined CJK
8241 characters, which use series of two ^H characters instead of one.
8243 2000-06-15 Gerd Moellmann <gerd@gnu.org>
8245 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
8246 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
8248 (Info-find-node-2): Try a case-sensitive search first, then
8249 do a case-insensitive search.
8251 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
8254 * complete.el (PC-env-vars-alist): New variable.
8255 (PC-complete-as-file-name): New function.
8256 (partial-completion-mode): Initialize PC-env-vars-alist from
8257 process-environment.
8258 (PC-do-completion): Handle completion of env vars.
8260 * info.el (Info-set-mode-line): Show file name in mode line,
8261 use `*Info*' instead of `Info:'.
8263 * startup.el (command-line-1): Change copyright messages to year
8266 2000-06-15 Dave Love <fx@gnu.org>
8268 * net/goto-addr.el (goto-address-fontify): Use keymap property,
8271 2000-06-15 Kenichi Handa <handa@etl.go.jp>
8273 * international/mule.el (set-buffer-file-coding-system): Almost
8274 rewritten to handle `undecided' as no-op.
8276 2000-06-14 Gerd Moellmann <gerd@gnu.org>
8278 * Makefile.in: New file.
8280 * Makefile: Removed.
8282 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
8283 (goto-address-highlight-keymap): Bind C-c RET.
8285 2000-06-14 Kenichi Handa <handa@etl.go.jp>
8287 * mail/sendmail.el (sendmail-send-it): The temporary buffer
8288 inherits buffer-file-coding-system of the current buffer.
8290 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
8291 0. Give correct argument to set-auto-coding-function.
8292 (tar-expunge): For goto-char, use (point-min), not 0.
8293 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
8294 (tar-subfile-save-buffer): Likewize.
8296 * international/mule.el
8297 (after-insert-file-set-buffer-file-coding-system): Call
8298 set-buffer-file-coding-system with the arg FORCE t.
8300 2000-06-13 Gerd Moellmann <gerd@gnu.org>
8302 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
8303 nil. Contemporary sendmails issue an X-Authentication-Warning if
8304 the sender is set with `-f'.
8306 2000-06-13 Dave Love <fx@gnu.org>
8308 * help.el (describe-function-1): Kluge around cases of functions
8309 fset to subrs whose doc doesn't match their symbol-name.
8311 * image.el (insert-image): Default STRING to a space.
8313 * info.el Doc fixes.
8314 (Info-build-node-completions): Match Ref tags.
8316 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
8318 * frame.el (display-multi-frame-p, display-multi-font-p): New
8319 defaliases for display-graphic-p.
8321 * hl-line.el: Fixed a typo in commentary.
8323 2000-06-13 Kenichi Handa <handa@etl.go.jp>
8325 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8328 2000-06-12 Dave Love <fx@gnu.org>
8330 * image.el (insert-image): Save a little consing.
8332 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8334 * language/tibet-util.el: Convert all tibetan-1-column characters
8335 to the corresponding tibetan characters.
8336 (tibetan-add-components): Delete code for the special treatment of
8339 * language/tibetan.el (tibetan-composable-pattern): Fix previous
8341 (tibetan-vowel-transcription-alist): More rules added.
8342 (tibetan-composite-vowel-alist): New variable.
8343 (tibetan-precomposition-rule-alist): More rules added.
8345 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
8347 * startup.el (command-line): Only call menu-bar-mode if interactive.
8349 * thingatpt.el (toplevel symbol-properties):
8350 * textmodes/makeinfo.el (makeinfo-compile):
8351 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8352 * progmodes/hideif.el (hif-compress-define-list)
8353 (hide-ifdef-use-define-alist):
8354 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8355 (ange-ftp-vms-add-file-entry):
8356 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8357 * man.el (Man-build-man-command):
8358 * mail/rnewspost.el (news-reply-header-hook):
8359 * info.el (Info-insert-dir):
8360 * emulation/mlconvert.el (backward-word, forward-word, setq):
8361 * emacs-lisp/gulp.el (gulp-send-requests):
8362 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8363 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8364 (byte-optimize-apply, end of file):
8365 * emacs-lisp/advice.el (ad-advice-class-completion-table)
8366 (ad-make-freeze-definition):
8367 * startup.el (command-line, command-line-1): Don't quote lambdas.
8369 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8370 (cvs-cleanup-removed): New function.
8371 (cvs-cleanup-functions): New var.
8372 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8373 some flexibility in specifying additional entries to auto-cleanup.
8374 (cvs-quickdir): New function.
8375 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8376 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8377 (cvs-mode-find-file): Check that we are on a filename or dirname
8378 when invoked through a mouse-click.
8379 (cvs-full-path): Remove.
8380 (cvs-dired-action): Re-introduced.
8381 (cvs-dired-noselect): Use it.
8382 (vc-post-command-functions): use this new hook if available.
8384 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8385 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8386 (cvs-filename-map, cvs-dirname-map): Remove.
8387 (cvs-default-action): Remove.
8388 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8389 if the arg is really a keymap.
8390 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8391 Don't hardcode the mapping from state (aka type) to face, but check
8392 the var cvs-fi-<type>-face instead.
8393 (cvs-fileinfo-from-entries): New function.
8395 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8397 (cvs-find-file-and-jump): Change default to be safer.
8398 (cvs-mode-diff-map): Define it as a function as well.
8399 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8400 Bind mouse-2 in this global map rather than with text-properties.
8402 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8403 file to resolve the ambiguity between C(conflict) and C(need-merge).
8405 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8407 * international/mule.el (set-buffer-file-coding-system): If
8408 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8411 2000-06-12 Dave Love <fx@gnu.org>
8413 * wid-edit.el (widget-specify-button): Really suppress the face if
8416 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8418 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8420 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8422 * imenu.el (imenu-generic-expression): Docstring fix.
8424 * composite.el (composition-function-table): Move the `put'
8425 below the autoload cookie so we can load the file before loaddefs.
8427 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8429 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8430 Handle easy-mmode-define-global-mode.
8431 For complex macros like define-minor-mode that can generate
8432 several autoload entries, try to autoload entries in the
8435 * emacs-lisp/easy-mmode.el (define-minor-mode):
8436 If KEYMAP is a symbol, just use it.
8437 Use byte-compile-current-file and load-file-name to infer the
8438 proper :require to pass to defcustom.
8439 Wrap the hook var into `progn' so as not to autoload it.
8440 Add a :autoload-end cookie.
8441 Be more careful about the evaluation of KEYMAP.
8442 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8443 (define-derived-mode): Move define-abbrev-table outside of defvar.
8445 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8447 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8448 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8449 (backup-compiled-files): Ignore errors during `tar'.
8450 (bootstrap): Make autoloads before elc files.
8452 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8454 * international/mule.el (set-buffer-file-coding-system): If one of
8455 undecided-XXX is specified, change only EOL conversion.
8457 * international/mule-conf.el (unix): New alias for the coding
8458 system undecided-unix.
8460 2000-06-09 Dave Love <fx@gnu.org>
8462 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8464 * progmodes/executable.el: Byte compile dynamic.
8465 (executable-insert): Change custom type.
8466 (executable-find): Add autoload cookie.
8467 (executable-make-buffer-file-executable-if-script-p): New
8468 function. After Noah Friedman.
8470 * files.el (after-save-hook): Customize, with
8471 executable-make-buffer-file-executable-if-script-p as an option.
8473 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8475 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8476 "tib24p-mule.bdf" for Tibetan.
8478 * composite.el (decompose-composite-char): Declare it as obsolete.
8480 * man.el (Man-fontify-manpage): Pay attention to underline and
8481 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8483 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8485 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8486 Set maintainer to FSF since author isn't reachable.
8488 2000-06-08 Dave Love <fx@gnu.org>
8490 * international/mule-cmds.el (select-safe-coding-system): If
8491 DEFAULT-CODING-SYSTEM is not specified, also check the most
8492 preferred coding-system if buffer-file-coding-system is
8493 `undecided'. From Handa.
8495 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8497 * international/mule.el
8498 (after-insert-file-set-buffer-file-coding-system): If the buffer
8499 size is greater than INSERTED, judget that we are not visiting.
8501 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8503 * whitespace.el (defgroup whitespace): Comment out `:version'.
8504 XEmacs 20.4 has problems defining the group with this present.
8505 We'll have this commented out till get resolve the problem.
8507 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8509 * align.el: Update from author.
8511 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8513 * apropos.el (apropos-mode-hook): New user variable.
8514 (apropos-mode): Run apropos-mode-hook.
8516 2000-06-07 David Ponce <david@dponce.com>
8518 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8519 commands. Require `wid-edit' at run-time.
8521 2000-06-07 David Ponce <david@dponce.com>
8523 * recentf.el: Added some "Commentary".
8524 (recentf-open-more-files, recentf-edit-list): Minor changes to
8525 move the point at the top of the file list. This behaviour is
8526 consistent with the menu one when the list contains a lot of
8528 (recentf-cleanup): Now displays the number of items removed from
8530 (recentf-relative-filter) New menu filter to show filenames
8531 relative to `default-directory'.
8533 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8535 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8536 with/without giving an error if PostScript printer doesn't have this
8537 kind of page size. Zebra Stripe continues or restarts on next page.
8538 Manual/automatic paper feeding. Switch or not the header.
8539 (ps-print-version): New version number (5.2.2).
8540 (ps-windows-system): Include emx as a Windows system.
8541 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8542 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8543 (ps-background-text): Code fix.
8544 (ps-error-handler-message, ps-user-defined-prologue)
8545 (ps-print-prologue-header, ps-printer-name)
8546 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8547 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8548 (ps-use-face-background): Customization fix.
8549 (ps-n-up-database): Data fix.
8550 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8551 (ps-switch-header): New vars.
8552 (ps-xemacs-color-name, ps-face-foreground-name)
8553 (ps-face-background-name, ps-boolean-constant): New funs.
8555 2000-06-07 Dave Love <fx@gnu.org>
8557 * allout.el: New version from Manheimer.
8559 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8561 * textmodes/fill.el (fill-find-break-point): Check the validity of
8564 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8566 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8567 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8568 Call display-color-p and display-mouse-p instead of looking at
8571 2000-06-06 Dave Love <fx@gnu.org>
8573 * image.el (find-image): Doc fix. Return nil if image not found.
8574 (put-image, insert-image): Make STRING arg optional.
8576 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8578 * language/vietnamese.el: Remove eval-when-compile.
8579 (viet-viscii-nonascii-translation-table): Define it as a
8580 translation table made from viet-viscii-decode-table.
8581 (viet-viscii-encode-table): Define it as a translation table made
8582 from the reverse map of above.
8583 (viet-vscii-nonascii-translation-table): Define it as a
8584 translation table made from viet-vscii-decode-table.
8585 (viet-vscii-encode-table): Define it as a translation table made
8586 from the reverse map of above.
8587 (ccl-decode-viscii): Use translate-character.
8588 (ccl-encode-viscii, ccl-encode-viscii-font)
8589 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8592 * language/cyrillic.el: Remove eval-when-compile.
8593 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8594 translation table made from cyrillic-koi8-r-decode-table.
8595 (cyrillic-koi8-r-encode-table): Define it as a translation table
8596 made from the reverse map of above.
8597 (ccl-decode-koi8): Use translate-character.
8598 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8599 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8600 a translation table made from cyrillic-alternativnyj-decode-table.
8601 (cyrillic-alternativnyj-encode-table): Define it as a translation
8602 table made from the reverse map of above.
8603 (ccl-decode-alternativnyj): Use translate-character.
8604 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8607 * international/mule-diag.el (non-iso-charset-alist): Specify
8608 translation table symbol instead of translation table itself.
8609 (list-block-of-chars): CHARSET may be a translation table symbol.
8611 * international/mule.el (make-coding-system): If CODING-SYSTEM
8612 already exists, override it.
8614 * international/fontset.el: Use family `proportional' for Tibetan
8617 * international/ccl.el (ccl-compile-translate-character): Don't
8618 check if Rrr has property translation-table.
8619 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8621 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8623 * info.el: Bind case-fold-search to t when searching in case
8624 a user sets it to nil in a hook.
8626 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8628 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8629 * hl-line.el (hl-line-mode): Use the new :global key argument.
8631 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8632 (tar-clip-time-string): Prepend a space.
8633 (tar-grind-file-mode): Construct a string rather than modifying one.
8634 (tar-header-block-summarize): Fix docstring.
8635 Use `format' rather than an error-prone set of copy-loops.
8637 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8638 (diff-goto-source, diff-unified->context, diff-context->unified)
8639 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8640 understand the format output by the `-p' argument to diff.
8642 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8643 (sh-re-done): Use defconst.
8644 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8645 (sh-help-string-for-variable, sh-guess-basic-offset):
8646 Don't quote lambdas.
8647 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8648 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8650 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8651 (mh-letter-mode): Derive from text-mode.
8652 This implicitly means that it now calls kill-all-local-variables.
8653 Also remove the Emacs-18 compatibility code.
8655 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8656 Make use of symbol-property doc-string-elt.
8657 Use memq rather than a sequence of eq.
8658 (doc-string-elt): Fix the wrong or missing previously unused values.
8659 (autoload-print-form): New function extracted from
8660 generate-file-autoloads to allow recursion when handling progn
8661 so that defvar's and defun's docstrings are properly printed.
8662 (generate-file-autoloads): Use it.
8664 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8665 Use find-file-hooks in the minor-mode function.
8666 Be careful not to loop indefinitely in the post-command-hook function.
8668 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8670 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8672 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8673 differences whenever appropriate.
8674 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8675 * viper.el (find-file, find-file-other-window): Get viper to do
8678 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8680 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8681 (jit-lock-fontify-buffer): New function for JIT refontification.
8682 (jit-lock-mode): Fix docstring.
8683 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8684 Remove jit-lock-after-change from the _local_ hook.
8685 (jit-lock-function-1): Fix docstring.
8687 * info.el (Info-on-current-buffer): Initialize info.
8689 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8691 * progmodes/tcl.el (tcl-indent-for-comment):
8692 Ignore comment-indent-hook.
8694 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8695 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8696 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8697 and improve to use the lighter to guess the capitalization.
8698 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8699 Add keyword arguments to specify global-ness or the custom group.
8700 Add local-map and help-echo properties to the lighter.
8701 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8702 (easy-mmode-define-global-mode): New macro.
8704 2000-06-02 Dave Love <fx@gnu.org>
8706 * wid-edit.el: byte-compile-dynamic since we typically don't use
8707 all the widgets. Don't require cl or widget. Remove
8708 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8709 (widget-read-event): Removed. Callers changed to use read-event.
8710 (widget-button-release-event-p): Renamed from
8711 button-release-event-p.
8712 (widget-field-add-space, widget-field-use-before-change):
8714 (widget-specify-field): Use keymap property, not local-map.
8715 (widget-specify-button): Obey :suppress-face.
8716 (widget-specify-insert): Use modern backquote syntax.
8717 (widget-image-directory): Renamed from widget-glyph-directory.
8718 (widget-image-enable): Renamed from widget-glyph-enable.
8719 (widget-image-find): Replaces widget-glyph-find.
8720 (widget-button-pressed-face): Move defvar.
8721 (widget-image-insert): Replaces widget-glyph-insert.
8722 (widget-convert): Use keywordp.
8723 (widget-leave-text, widget-children-value-delete): Use mapc.
8724 (widget-keymap): Remove XEmacs stuff.
8725 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8726 (widget-button-click): Don't set point at the click, but re-centre
8727 if we scroll out of window. Rewritten for images v. glyphs &c.
8728 (widget-tabable-at): Use POS arg, not point.
8729 (widget-beginning-of-line, widget-end-of-line)
8730 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8731 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8732 (widget-default-create): Use widget-image-insert; some rewriting.
8733 (widget-visibility-value-create)
8734 (widget-push-button-value-create, widget-toggle-value-create): Use
8735 widget-image-insert.
8736 (checkbox): Create on and off images dynamically.
8737 (documentation-link): Change :help-echo.
8738 (widget-documentation-link-echo-help): Remove.
8740 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8742 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8744 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8745 (easy-mmode-define-toggle, define-minor-mode): Use it.
8746 (easy-mmode-define-keymap): Docstring fix.
8747 (define-derived-mode): Default PARENT to fundamental-mode.
8748 Add the derived-mode-parent symbol-property.
8749 (easy-mmode-derived-mode-p): New function.
8751 2000-06-02 Dave Love <fx@gnu.org>
8753 * files.el (convert-standard-filename): Doc fix.
8754 (normal-backup-enable-predicate): New function.
8755 (backup-enable-predicate): Use it to replace the lambda form.
8757 * calendar/todo-mode.el: [This needs more work on the outline
8759 (todo) <defgroup>: Add :version.
8760 (todo-add-category): Don't use pushnew.
8761 (todo-cmd-raise): Fix typo.
8762 (todo-top-priorities): Change temp buffer name.
8763 (todo-category-alist): Avoid redundant lambda.
8764 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8765 Use outline-next-heading.
8767 * autoarg.el: Rewritten to use define-minor-mode.
8768 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8769 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8771 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8773 * isearch.el (isearch-other-meta-char): Fix previous change.
8775 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8777 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8778 (log-edit-done): Only add the comment to the ring if it's different
8779 from the last comment entered.
8781 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8783 2000-06-01 Dave Love <fx@gnu.org>
8785 * hl-line.el: Rewritten using define-minor-mode.
8787 * help.el (describe-function-1): Distinguish special form from
8788 builtin function. Sanity-check presence of arglist for builtins.
8790 2000-06-01 Kenichi Handa <handa@etl.go.jp>
8792 * international/characters.el: Fix syntax/category setting of
8795 * language/tibet-util.el (tibetan-add-components): Fixes for new
8796 encoding of Tibetan characters.
8797 (tibetan-decompose-precomposition-alist): New variable.
8798 (tibetan-decompose-region): Convert precomposed characters to
8799 non-precomposed characters.
8800 (tibetan-decompose-string): Likewise.
8801 (tibetan-composition-function): Fix args to
8802 thibetan-compose-string.
8804 * language/tibetan.el (tibetan-composable-pattern): More
8805 characters included.
8806 (tibetan-consonant-transcription-alist): Rule for "R" added.
8807 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8809 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8811 * language/lao-util.el (lao-composition-function): Fix args to
8814 * language/thai-util.el (thai-composition-function): Fix args to
8817 * isearch.el (isearch-update): Set disable-point-adjustment to t
8818 to prevent the point moving to the end of a composition when a
8819 part of a composition is searched.
8820 (isearch-other-meta-char): If the key invoking this command can be
8821 mapped by function-key-map to a printing char, call
8822 isearch-process-search-char directly.
8824 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8826 * emacs-lisp/bytecomp.el:
8828 * international/mule-cmds.el:
8829 * international/mule-util.el:
8830 * international/mule.el:
8833 * faces.el: Update calls to make-obsolete with a WHEN argument.
8835 * byte-run.el (make-obsolete, make-obsolete-variable):
8836 Add an optional WHEN argument and change the format of the
8837 symbol-property information.
8838 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8839 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8840 new obsolete-symbol-property format and print WHEN if it is provided.
8842 2000-05-31 Dave Love <fx@gnu.org>
8844 * loadhist.el (loadhist-hook-functions): Remove
8845 before-change-function, after-change-function.
8846 (unload-feature): Deal with symbols which are both bound and
8849 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8850 before-change-function, after-change-function.
8852 * simple.el (newline): Don't bind before-change-function,
8853 after-change-function.
8855 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
8857 * whitespace.el (whitespace-rescan-timer-time): Update interval
8858 set to 600 seconds (10 minutes) instead of 60 seconds since
8859 a large number of whitespace buffers causes emacs to `freeze'
8860 for a considerable amount of time.
8862 * whitespace.el: Updated email address
8864 2000-05-31 Dave Love <fx@gnu.org>
8866 * add-log.el (change-log-font-lock-keywords) <function>: Add
8867 pattern for function of change.
8868 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8869 acknowledgements patterns.
8871 2000-05-31 Kenichi Handa <handa@etl.go.jp>
8873 * isearch.el (isearch-printing-char): If keyboard coding system is
8874 being used, call isearch-process-search-multibyte-characters.
8876 * international/isearch-x.el: Mostly rewritten.
8878 * international/quail.el (quail-start-conversion): Don't include
8879 unhandled events in the returned events, but set them in
8880 unread-command-events. Exit if all inputs are deleted.
8882 2000-05-30 Jason Rumney <jasonr@gnu.org>
8884 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8886 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8887 Reenable code to create initial fontsets.
8888 Use set-fontset-font in place of put-charset-property.
8890 2000-05-30 Gerd Moellmann <gerd@gnu.org>
8892 * progmodes/perl-mode.el (perl-indent-line): When looking for a
8893 label, ensure that the first colon isn't followed by another.
8895 * paths.el (Info-default-directory-list): Doc fix.
8897 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8898 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8899 send a query containing USER only, not USER@HOST.
8901 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8902 and rmail-msgend to compute the restriction at the end, instead of
8905 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8907 * dabbrev.el (dabbrev-expand): Don't display messages in the
8908 echo area if the minibuffer window is active.
8910 * jit-lock.el (jit-lock-mode): Add after change function to
8913 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
8915 * antlr-mode.el: New commands: hide/unhide actions,
8916 upcase/downcase literals.
8917 (antlr-tiny-action-length): New user option.
8918 (antlr-hide-actions): New command. Suggested by
8919 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8920 (antlr-mode-map): New binding [C-c C-v].
8921 (antlr-mode-menu): New entries.
8922 (antlr-downcase-literals): New command.
8923 (antlr-upcase-literals): Ditto.
8925 * antlr-mode.el: Minor changes: indendation, mode-name.
8926 (antlr-indent-line): Indent cpp directive at column 0.
8927 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8929 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8930 (antlr-font-lock-additional-keywords): Workaround for intentional
8931 bug in XEmacs version of font-lock.
8932 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
8933 be used by a smarter version of `buffers-menu-grouping-function'.
8935 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8937 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8938 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8940 2000-05-29 Kenichi Handa <handa@etl.go.jp>
8942 * international/encoded-kb.el
8943 (encoded-kbd-iso2022-designation-map): Pay attention to that
8944 charset-iso-final-char return -1 for eight-bit-control and
8947 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8949 * speedbar.el (speedbar-use-images, speedbar-update-flag)
8950 (speedbar-easymenu-definition-base): Use display-graphic-p where
8951 available, instead of window-system.
8953 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8955 * international/codepage.el (cp-coding-system-for-codepage-1): Add
8956 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8959 2000-05-26 Dave Love <fx@gnu.org>
8961 * disp-table.el (standard-display-underline): Don't use
8964 * mail/reporter.el: Maintainer change. Doc fixes.
8965 (reporter-version): Deleted.
8967 * emacs-lisp/elp.el: Maintainer change.
8968 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8970 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
8972 * add-log.el (add-change-log-entry): Merge the current entry with the
8973 previous one if the previous one is empty.
8975 2000-05-26 Dave Love <fx@gnu.org>
8977 * loadhist.el (unload-feature): Fix interactive spec [from
8978 lijnzaad@ebi.ac.uk].
8980 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8981 subr-arity to check primitives.
8982 (byte-compile-flush-pending, byte-compile-file-form-progn)
8983 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8984 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8987 2000-05-26 Kenichi Handa <handa@etl.go.jp>
8989 * international/fontset.el: Set family names of non-latin charsets
8990 in default fontset to "*".
8992 * international/mule-diag.el (print-fontset): Combine family part
8993 and registry part of the fontname by "-*-" instead of "-".
8995 * international/mule-cmds.el (encode-coding-char): Make strings
8996 multibyte before calling encode-coding-string.
8998 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
9000 * derived.el: Fix keywords.
9001 (define-derived-mode): Only define if needed.
9003 * simple.el (fill-comment, comment-column, comment-start)
9004 (comment-start-skip, comment-end, comment-indent-function)
9005 (block-comment-start, block-comment-end, indent-for-comment)
9006 (set-comment-column, kill-comment, comment-padding, comment-region)
9007 (comment-multi-line, indent-new-comment-line): Remove.
9009 * bindings.el (esc-map): Change ; to comment-dwim and use the new
9010 function names for comment operations.
9012 * newcomment.el: Add abundant autoload cookies.
9013 (comment-style): Don't depend on runtime data at compile-time.
9014 (comment-indent-hook): Remove.
9015 (comment-indent): Check if comment-indent-hook is bound.
9016 (comment-region): Docstring fix.
9018 2000-05-25 Dave Love <fx@gnu.org>
9020 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
9021 byte-code-function-p.
9023 * mail/rmailsum.el: Add provide.
9025 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
9027 * smerge-mode.el (smerge-diff-switches): Don't use list* in
9030 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
9032 * ediff-diff.el (ediff-exec-process): delete --binary option from
9033 non-buffer ediff jobs.
9035 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9037 * hilit-chg.el (highlight-changes-mode): Ask about color or
9038 grayscale support, not about window-system.
9040 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
9042 (ffap-highlight): Always default to t.
9044 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
9045 display-popup-menus-p instead of looking at window-system.
9047 * disp-table.el (standard-display-g1, standard-display-graphic):
9048 Only refuse to use string glyphs on X and MS-Windows.
9050 * avoid.el: Remove window-system from commentary, suggest to use
9051 display-*-p instead.
9053 * apropos.el (apropos-print): Use display-mouse-p instead of
9056 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9058 * international/codepage.el (cp-decoding-vector-for-codepage):
9059 Fill up unsupported characters with their own codes. From Kenichi
9062 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9064 * international/mule-diag.el (describe-char-after): Use
9065 display-graphic-p instead of window-system, so that this function
9068 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9070 * international/codepage.el (cp-make-coding-systems-for-codepage):
9071 Remove the eight-bit-graphic and eight-bit-control charsets from
9072 the list of charsets which we convert into `?'.
9074 2000-05-25 Kenichi Handa <handa@etl.go.jp>
9076 * international/mule-conf.el: Specify CHARSET-ID explicitely for
9078 (mule-unicode-0100-24ff, japanese-jisx0213-1,
9079 japanese-jisx0213-2): New charsets.
9081 * international/fontset.el: Setup default fontset for new charsets.
9083 2000-05-24 Dave Love <fx@gnu.org>
9085 * info.el (Info-find-node-2): Restructure [following "Vadim
9086 S. Solomin" <sovs@uic.nnov.ru>].
9088 * icomplete.el: Fix header for Finder.
9090 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
9092 * rmailout.el (rmail-output-to-rmail-file): Added optional param
9095 * rmail.el (rmail-automatic-folder-directives): New user variable.
9096 (rmail-show-message): Add call to `rmail-auto-file' during
9098 (rmail-auto-file): New function.
9100 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9102 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
9104 (ediff-test-utility,ediff-diff-mandatory-option)
9105 (ediff-reset-diff-options): Utilities for proper initialization of
9106 ediff-diff-options and ediff-diff3-options on Windows.
9108 * ediff-init.el (ediff-merge-filename-prefix): New customizable
9111 * ediff-mult.el (ediff-filegroup-action): Use
9112 ediff-merge-filename-prefix.
9114 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
9116 * viper-ex.el (ex-write): Set selective display to nil.
9118 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9120 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
9121 aliases for hebrew-iso-8bit.
9123 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
9125 * woman.el: New version from Francis J. Wright
9126 <F.J.Wright@Maths.QMW.ac.uk>.
9127 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
9128 names in environment variables regardless of the path separator.
9129 (woman-topic-all-completions-1): Don't call file-name-directory-p
9130 on all files, since woman-file-regexp already filters out any
9133 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9135 * international/quail.el (quail-start-translation): Don't change
9136 modified-p of the current buffer.
9137 (quail-start-conversion): Likewise.
9139 * international/kkc.el (kkc-region): Don't change modified-p of
9142 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
9144 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
9146 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
9148 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
9149 (speedbar-insert-button): Invisible text property fix.
9150 (speedbar-directory-plus): Renamed from speedbar-directory-+
9151 (speedbar-directory-minus): Renamed from speedbar-directory--
9152 (speedbar-page-plus): Renamed from speedbar-file-+
9153 (speedbar-page-minus): Renamed from speedbar-file--
9154 (speedbar-page): Renamed from speedbar-file-
9155 (speedbar-tag): Renamed from speedbar-tag-
9156 (speedbar-tag-plus): Renamed from speedbar-tag-+
9157 (speedbar-tag-minus): Renamed from speedbar-tag--
9158 (speedbar-expand-image-button-alist): Use above renames.
9160 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
9161 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
9162 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
9163 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
9164 * sb-pg.xpm: Renamed from sb-file.xpm
9165 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
9166 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
9168 2000-05-24 Kenichi Handa <handa@etl.go.jp>
9170 * international/quail.el (quail-show-guidance-buf): Set
9171 current-input-method of the guidance buffer to the name of the
9172 curren input method.
9174 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
9176 * progmodes/compile.el (compile-internal): Style typo.
9178 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
9179 quote vars and functions in the docstring.
9181 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
9183 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
9184 Don't quote lambdas.
9186 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
9188 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9190 * startup.el (command-line): Determine source file of compiled
9191 user init file differently. Warn if compiled user init file
9192 is older than its source file.
9194 * ffap.el (ffap-url-regexp): Add `https'.
9196 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
9198 * files.el (make-backup-file-name-1): Replace slashes with `!'
9199 rather than `|' (which is not allowed on Windows). Replace the
9200 drive letters with a string "drive_X".
9202 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9204 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
9206 * files.el (interpreter-mode-alist): Add `bash2'.
9208 2000-05-22 Dave Love <fx@gnu.org>
9210 * loadhist.el (feature-symbols, file-provides, file-requires): Use
9212 (feature-file): Avoid calling symbol-name. Doc fix.
9213 (file-set-intersect, file-dependents): Use dolist, not mapcar.
9214 (loadhist-hook-functions): Add mouse-position-function.
9215 (unload-feature): Change uses of mapcar.
9217 * files.el (parse-colon-path): Doc fix.
9218 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
9219 (set-auto-mode): Use mapc.
9221 * complete.el (PC-look-for-include-file): Use :alnum: character
9223 (partial-completion-mode): Add autoload cookie.
9225 2000-05-22 Sam Steingold <sds@gnu.org>
9227 * info.el (Info-fontify-node): Fixed the call to
9228 `add-text-properties' (bug introduced on 2000-05-18).
9230 2000-05-22 Dave Love <fx@gnu.org>
9232 * bindings.el: Remove debug-ignored-errors set in other files.
9234 * progmodes/etags.el: Add to debug-ignored-errors.
9235 (visit-tags-table-buffer): Clear out buffers holding old tables
9236 when making a new list.
9237 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
9240 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
9242 (cmpl-string-case-type): Use character classes.
9245 * textmodes/ispell.el:
9248 * progmodes/compile.el: Add to debug-ignored-errors.
9250 * dabbrev.el: Add to debug-ignored-errors.
9251 (dabbrev-completion): Use mapc.
9253 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
9255 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
9256 (woman-mapcan, woman-parse-man.conf)
9257 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
9258 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
9259 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
9261 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
9262 (woman-manpath): Call woman-parse-man.conf.
9263 (woman-emulation): New defcustom, defaults to nroff.
9264 (woman-font-support): New defconst.
9265 (woman-use-symbol-font): New defcustom.
9266 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
9268 Many functions: Doc fix.
9270 2000-05-22 Kenichi Handa <handa@etl.go.jp>
9272 * international/quail.el (quail-simple-translation-keymap): Map
9273 128..255 to quail-self-insert-command.
9274 (quail-keyboard-layout-alist): Add definition for "pc102-de".
9276 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
9278 * help.el (help-manyarg-func-alist): Typo.
9280 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
9281 intervals which makes it heaps simpler.
9283 * newcomment.el (comment-region-internal): Go back to BEG after quoting
9284 the nested comment markers.
9286 * subr.el (remove-hook): Don't turn the hook's value into a list.
9288 2000-05-21 Dave Love <fx@gnu.org>
9290 * edmacro.el (edmacro-parse-keys): Return vector if any elements
9291 are invalid characters.
9293 * international/mule-util.el (detect-coding-with-priority): Use
9294 mapc. Remove redundant lambda.
9296 * international/mule-diag.el (list-non-iso-charset-chars)
9297 (describe-fontset): Remove redundant lambda.
9299 * emulation/crisp.el (brief-mode): New alias.
9301 * emacs-lisp/ring.el (ring-elements): New function.
9303 * emacs-lisp/easymenu.el (easy-menu-create-menu)
9304 (easy-menu-do-add-item): Use keywordp.
9306 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
9308 * replace.el: Doc and error message fixes.
9309 (replace-highlight): Use facep, not internal-find-face.
9311 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
9313 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
9315 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
9316 (log-edit-insert-changelog): Drop `:' as well.
9318 * log-view.el: Fix file description.
9319 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9321 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9322 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9324 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9325 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9326 Print a status message if the toggle is called interactively.
9327 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9328 for global minor modes and use `defcustom' for them.
9330 (easy-mmode-define-derived-mode): Remove.
9331 (define-derived-mode): Fancier default docstring.
9332 (easy-mmode-define-navigation): Signal an error rather than (ding).
9334 * newcomment.el (comment-styles): New `box-multi'.
9335 (comment-normalize-vars): Better default for comment-continue to
9336 avoid whitespace-only continuations.
9337 (comment-search-forward): Always move even in the no-syntax case.
9338 (comment-padright): Only obey N if it's only obeyed for padleft.
9339 (comment-make-extra-lines): Better handling of empty continuations.
9340 Use `=' for the filler if comment-start has only one character.
9341 (uncomment-region): Try handling the special `=' filler.
9342 (comment-region): Allow LINES even if MULTI is nil.
9343 (comment-box): Choose box style based on comment-style.
9345 2000-05-20 Kenichi Handa <handa@etl.go.jp>
9347 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9348 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9350 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
9352 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9353 and insert, not subst-char-in-region.
9355 * international/mule-diag.el (list-character-sets-1): Handle
9356 charsets eight-bit-control and eight-bit-graphic.
9357 (list-iso-charset-chars): Likewise.
9358 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9359 charactes as is. Use indent-to to align characters.
9361 * international/mule-cmds.el (find-multibyte-characters): Never
9362 exclude charsets eight-bit-control and eight-bit-graphic.
9364 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9366 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9367 Don't quote lambdas.
9369 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9371 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9373 * gud.el (gud-jdb-directories): Doc fix.
9375 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9377 * newcomment.el: New file.
9379 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9381 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9383 2000-05-18 Andreas Schwab <schwab@suse.de>
9385 * dired.el (dired-between-files): Also skip lines beginning with
9388 2000-05-18 Gerd Moellmann <gerd@gnu.org>
9390 * msb.el (msb-menu-cond): Add choice `user'.
9392 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9394 * ps-print.el: Compatibility, customization and doc fix.
9395 (ps-printer-name-option): Replace defconst by defvar.
9396 (ps-postscript-code-directory): XEmacs compatibility.
9397 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9399 (ps-user-defined-prologue, ps-print-prologue-header)
9400 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9401 compatibility and code fix.
9402 (ps-print-background-image, ps-print-background-text):
9404 (ps-line-number-start, ps-n-up-on): New vars.
9406 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9408 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9409 the indent-comment function to just return the appropriate indent.
9411 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9413 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9414 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9415 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9417 2000-05-18 Dave Love <fx@gnu.org>
9419 * info.el (Info-fontify-node): Add intangible property as well as
9422 * calendar/appt.el (appt-make-list): Match all lines of entry.
9423 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9425 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9427 * international/mule-diag.el (describe-char-after): Call
9428 internal-char-font, not char-font. If internal-char-font returns
9429 nil, display "-- none --".
9431 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9433 * image.el (image-type-available-p): Don't reference image-types
9436 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9438 * autoarg.el (autoarg-mode): Typo in the :set argument.
9440 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9442 * startup.el (command-line-1): Don't signal an error if the
9443 directory for auto-save-list files does not yet exist.
9445 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9447 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9449 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9451 * subr.el (remove-hook): `setq' hook-value, not `set'.
9453 2000-05-16 Sam Steingold <sds@gnu.org>
9455 * info.el (debug-ignored-errors): More errors to ignore.
9457 2000-05-16 Dave Love <fx@gnu.org>
9459 * cus-edit.el: Don't require cl or easymenu.
9460 (custom-variable-prompt): Test standard-value property, not
9463 2000-05-16 Sam Steingold <sds@gnu.org>
9465 * subr.el (add-hook): `setq' hook-value, not `set'.
9467 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9469 * startup.el (command-line-1): Mention the FAQ in the startup
9472 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9474 * progmodes/compile.el (compilation-parse-errors): Collect
9475 `nomessage' regexps last.
9477 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9479 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9480 to the function name.
9482 2000-05-15 Dave Love <fx@gnu.org>
9484 * speedbar.el (speedbar-recenter): Typo.
9485 (speedbar-expand-line): Make arg optional.
9486 (speedbar-mode): Avoid a compiler warning.
9488 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9490 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9491 user-specified option string is empty.
9493 * mouse.el (mouse-yank-at-click): Doc fix.
9495 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9497 * term/internal.el (IT-character-translations): More updates of
9498 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9501 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9503 * env.el (getenv): New function, interactively callable.
9504 (setenv, getenv): Remove autoload cookies.
9506 * loadup.el: Load `env'.
9508 * progmodes/f90.el: Change author's mail address.
9510 2000-05-14 Dave Love <fx@gnu.org>
9512 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9513 goto-addr as an option.
9515 * help.el (help-xref-stack): Doc fix.
9516 (help-xref-following): New variable.
9517 (help-make-xrefs): Use it.
9518 (help-xref-go-back): Use position information from stack element.
9519 (help-follow): Make position in stack element a pair. Use
9520 help-xref-following.
9522 * autoarg.el: New file.
9524 * faces.el: Declare more functions obsolete.
9526 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9527 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9528 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9529 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9530 Remove all the setup-...-environment functions.
9532 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9534 * speedbar.el: Updated the commentary section. xemacs20p now uses
9535 >= when detecting. Require `defimage' safely.
9536 (speedbar-easymenu-definition-base): Add toggle for images.
9537 (speedbar-easymenu-definition-special): Add flush cache & expand.
9538 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9539 (speedbar-reconfigure-keymaps-hook): New variable.
9540 (speedbar-frame-parameters): Updated documentation.
9541 (speedbar-use-imenu-flag): Updated custom tag
9542 (speedbar-dynamic-tags-function-list): New variable.
9543 (speedbar-tag-hierarchy-method): Updated doc & custom.
9544 (speedbar-indentation-width, speedbar-indentation-width) New
9546 (speedbar-hide-button-brackets-flag): Customizable.
9547 (speedbar-vc-indicator): Doc update.
9548 (speedbar-ignored-path-expressions): Updated default value.
9549 (speedbar-supported-extension-expressions): Updated default value.
9550 (speedbar-syntax-table): Remove {} paren status.
9551 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9552 as "+". Added overlay aliases.
9553 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9554 `force-mode-line-update'.
9555 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9556 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9558 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9559 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9560 of arbitrary text, and new helper functions.
9561 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9563 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9564 (speedbar-directory-buttons): Update path search/expansion.
9565 (speedbar-make-tag-line): Pay attention to
9566 `speedbar-indentation-width'. Use more care w/ invisible
9568 (speedbar-change-expand-button-char): Call
9569 `speedbar-insert-image-button-maybe'.
9570 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9571 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9572 (speedbar-trim-words-tag-hierarchy)
9573 (speedbar-simple-group-tag-hierarchy): New functions
9574 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9575 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9577 (speedbar-mouse-set-point): New function
9578 (speedbar-power-click): Updated documentation.
9579 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9581 (speedbar-expand-line, speedbar-contract-line): Make more robust
9583 (speedbar-expand-line): Takes universal argument to flush the
9585 (speedbar-flush-expand-line): New function.
9586 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9587 Use new generator insertion method.
9588 (speedbar-fetch-dynamic-tags): New function.
9589 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9590 `speedbar-fetch-dynamic-imenu'.
9591 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9592 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9593 "Revert Buffer" menu items.
9594 (speedbar-buffer-buttons-engine): Be smarter when creating a
9595 filename tag (for expansion purposes.).
9596 (speedbar-highlight-one-tag-line,
9597 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9598 (speedbar-recenter): New functions.
9599 (defimage-speedbar): Image loading abstraction.
9600 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9601 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9602 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9603 (speedbar-tag-type, speedbar-tag-mail): New images.
9604 (speedbar-expand-image-button-alist): New variable.
9605 (speedbar-insert-image-button-maybe): Insert an image over some
9608 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9610 * international/mule-cmds.el (encode-coding-char): An ASCII
9611 character is always encodable.
9613 * international/mule-conf.el: Add more information in descriptions
9616 * international/mule-diag.el (describe-char-after): New function.
9617 (describe-font-internal): Adjusted for the change of font-info.
9618 (describe-font): Likewise.
9619 (print-fontset): Rewritten for the new fontset implementation.
9620 (describe-fontset): Include fontset alias names in completion.
9621 (list-fontsets): Adjusted for the change of print-fontset.
9623 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9624 describe-char-after instead of displaying the detail in the echo
9626 (syntax-code-table): Format changed.
9627 (string-to-syntax): Adjusted for the above change.
9629 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9631 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9633 2000-05-12 Dave Love <fx@gnu.org>
9635 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9636 dependence. Use line-{beginning,end}-position, not
9637 point-at{b,e}ol. Some doc fixes.
9638 (todo-position): New function. Fix callers of position to use it.
9639 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9641 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9643 * time.el (display-time-mail-icon): Use `:ascent center'.
9645 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9646 handling FTP security extensions.
9648 2000-05-11 Dave Love <fx@gnu.org>
9650 * calendar/todo-mode.el: New file.
9652 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9654 * comint.el (comint-read-input-ring): Move reference to
9655 comint-input-ring-size outside of the save-excursion. It was
9656 causing the default value to be the only one ever seen.
9658 * font-lock.el: Update copyright. Remove Simon Marshall's email
9659 address on request from him.
9661 * subr.el (substitute-key-definition): Add comment describing
9662 the meaning of PREFIX.
9664 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9666 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9668 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9669 (add-minor-mode): Don't make the variable buffer-local and add a
9670 reference to define-minor-mode in the docstring.
9672 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9673 HEADER/FOOTER and fix bug with trailing empty directory.
9674 (cvs-append-to-ignore): Use vc-editable-p if available.
9675 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9676 (vc-do-command): Tweak advice to handle the new VC.
9678 * log-view.el (log-view-goto-rev): New function for the new VC.
9679 (log-view-minor-wrap): Use mark-active.
9681 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9682 (log-edit-changelog-full-paragraphs): New var.
9683 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9684 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9685 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9686 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9687 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9688 Replace the `cvs' prefix with `log-edit'.
9690 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9692 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9693 (diff-font-lock-defaults): Explicitly turn off multiline.
9694 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9695 (diff-ediff-patch): Fix call to ediff-patch-file.
9696 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9699 * frame.el (automatic-hscrolling): Typo.
9701 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9703 2000-05-09 Sam Steingold <sds@goems.com>
9705 * apropos.el (apropos-print): use `describe-face' instead of
9706 `customize-face-other-window'.
9708 2000-05-09 Dave Love <fx@gnu.org>
9710 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9712 * help.el (describe-variable): Have customize button pop the
9713 help-xref stack when invoked.
9714 (help-xref-symbol-regexp): Add `face'.
9715 (help-make-xrefs): Check for quoted face names and adapt regexp
9716 submatch numbers to cope.
9717 (help-xref-interned): Maybe insert face doc too. Separate
9718 sections with a line of hyphens.
9720 * faces.el: Some doc fixes. Declare some functions obsolete.
9721 (describe-face): Add customize button. Return the help
9724 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9726 * term/internal.el (IT-character-translations): Fix last change.
9728 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9730 * woman.el: New file
9731 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9733 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9735 * term/internal.el (IT-character-translations): Update ASCII
9736 simulations for greek-iso8859-7, add latin-iso8859-14 and
9739 * international/mule-cmds.el (set-language-info-alist): Call
9740 define-prefix-command with 3 arguments, to make the map suitable
9743 2000-05-07 Dave Love <fx@gnu.org>
9745 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9747 2000-05-05 Dave Love <fx@gnu.org>
9749 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9750 list in doc string. Don't quote keyword symbols.
9751 * emacs-lisp/cl.el: Likewise
9752 * emacs-lisp/cl-seq.el: Likewise
9754 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9756 * abbrev.el (abbrev-mode): Make ARG optional.
9758 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9760 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9762 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9764 * subr.el (substitute-key-definition): Clarify documentation.
9766 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9768 * glasses.el (glasses-convert-to-unreadable): Use
9769 `glasses-separator' instead of the hard-wired "_".
9770 (glasses-mode): Call `glasses-make-unreadable' only in a single
9773 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9775 * term/internal.el (cjk-codepages-alist): Add associations for
9776 Chinese and Korean codepages. Remove FIXME comment.
9778 2000-05-03 Dave Love <fx@gnu.org>
9780 * time.el (display-time-mail-face, display-time-use-mail-icon):
9782 (display-time-mail-icon): New variable.
9783 (display-time-string-forms): Use the above. Fix the local-map.
9785 2000-05-03 Gerd Moellmann <gerd@gnu.org>
9787 * replace.el (query-replace-map): Add binding for `E'.
9788 (query-replace-help): Extend help text.
9789 (perform-replace): Allow editing the replacement string.
9791 * make-mode.el (makefile-mode-abbrev-table): New variable.
9792 (makefile-mode): Set local abbrev table to
9793 makefile-mode-abbrev-table.
9794 (makefile-font-lock-keywords): Fontify includes and conditionals.
9796 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9799 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9800 mail-interactive-insert-alias.
9801 (mail-abbrev-complete-alias): New command.
9802 (mail-mode-map): Bind it to `M-TAB'.
9804 2000-05-03 Kenichi Handa <handa@etl.go.jp>
9806 * language/lao-util.el (lao-compose-region): New function.
9808 2000-05-02 Gerd Moellmann <gerd@gnu.org>
9810 * files.el (recover-session): Make directories as necessary
9811 if they don't exist yet.
9813 * calendar/cal-french.el
9814 (french-calendar-multibyte-special-days-array)
9815 (french-calendar-special-days-array): Change French text.
9816 (calendar-french-date-string): Change output.
9817 (calendar-goto-french-date): Likewise.
9819 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
9821 * wid-edit.el (widget-default-active): Obey `:always-active'.
9822 (widget-documentation-string-value-create): Set `:always-active'.
9824 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9826 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9827 default prefix to `~/_emacs.d/auto-save.list/_s'.
9828 (normal-top-level): Create the directory for auto-save files, if
9829 it doesn't already exist (in the ms-dos case only).
9831 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9833 * international/mule-cmds.el (set-language-environment): Don't
9834 concat an integer (dos-codepage), use format instead.
9836 2000-05-02 Dave Love <fx@gnu.org>
9838 * help.el (help-xref-on-pp): Check for constant symbols.
9840 2000-04-29 Gerd Moellmann <gerd@gnu.org>
9842 * startup.el (normal-top-level): Put a condition-case around
9843 the code loading subdirs.el.
9845 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9847 * ps-print.el: Upside-down and face background color printing,
9848 line number step, doc fix.
9849 (ps-print-version): New version number (5.2).
9850 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9851 (ps-face-attribute-list, ps-plot-with-face): Code fix.
9852 (ps-spool-config): Var fix.
9853 (ps-printer-name-option): Const fix.
9854 (ps-print-upside-down, ps-use-face-background)
9855 (ps-line-number-step): New vars.
9856 (ps-window-system, ps-lp-system): New consts.
9857 (ps-face-background): New fun.
9859 2000-04-28 Richard Stallman <rms@gnu.org>
9861 * files.el (make-auto-save-file-name):
9862 Apply auto-save-file-name-transforms to visited file name
9863 before generating auto save file name.
9864 (auto-save-file-name-transforms): New variable.
9866 * files.el (backup-enable-predicate):
9867 Correctly test for a file under a temporary directory.
9869 2000-04-28 Gerd Moellmann <gerd@gnu.org>
9871 * subr.el (add-minor-mode): Rewritten.
9873 2000-04-28 Kenichi Handa <handa@etl.go.jp>
9875 * mail/sendmail.el (sendmail-send-it): Set
9876 buffer-file-coding-system to the selected coding system for MIME
9879 2000-04-27 Gerd Moellmann <gerd@gnu.org>
9881 * dired.el (dired-move-to-filename-regexp): Allow format where
9882 YYYY is followed by two spaces.
9884 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9885 in the second character class of the regexp.
9887 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9890 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9893 * subr.el (add-minor-mode): Use `set' instead of `setq'.
9895 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9898 2000-04-27 Sen Nagata <sen@eccosys.com>
9900 * emacs-lisp/crm.el (crm-completion-table): New variable.
9901 (crm-collection-fn, crm-test-completion)
9902 (completing-read-multiple): Use it.
9904 2000-04-27 Dave Love <fx@gnu.org>
9906 * help.el (locate-library): Use mapc.
9907 (help-manyarg-func-alist): Add call-process-region.
9909 2000-04-26 Gerd Moellmann <gerd@gnu.org>
9911 * subr.el (add-minor-mode): Make argument MAP optional.
9913 * desktop.el (desktop-save): Save list of minor modes.
9914 (desktop-create-buffer): Restore minor modes.
9915 (desktop-minor-mode-table): New user-option.
9917 * subr.el (add-minor-mode): New function.
9919 * image.el (find-image): New function.
9920 (defimage): Rewritten to find image at load time.
9922 * startup.el (normal-top-level-add-to-load-path): Handle
9923 case that the default directory is not in load-path.
9925 * help.el: Old patch from Stefan Monnier.
9926 (help-xref-on-pp): New function.
9927 (describe-variable): Use it to display xrefs in a symbol's value.
9929 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
9931 * cus-edit.el (custom-face): Fix parenthesis.
9933 2000-04-26 Kenichi Handa <handa@etl.go.jp>
9935 * mail/rmail.el (rmail-expunge): When there are no deleted
9936 messages, do nothing.
9938 2000-04-26 Dave Love <fx@gnu.org>
9940 * international/mule-cmds.el (locale-translation-file-name):
9942 (set-locale-environment): Set it here (at runtime).
9944 2000-04-25 Gerd Moellmann <gerd@gnu.org>
9946 * replace.el (perform-replace): Add parameters START and END. Use
9947 them instead of the check for a region in Transient Mark mode.
9948 (query-replace-read-args): Return two more list elements for the
9949 start and end of the region in Transient Mark mode.
9950 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9951 (map-query-replace-regexp, replace-string, replace-regexp): Add
9952 optional last arguments START and END and pass them to
9955 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9956 form with additional arguments for perform-replace.
9958 * progmodes/etags.el (tags-query-replace): Add parameters START
9959 and END. Construct a form with additional arguments for
9962 * simple.el (shell-command): Set default directory for "*Shell
9963 Command Output" buffer.
9965 * language/european.el (iso-latin-4): Fix typo.
9967 * emacs-lisp/crm.el: New file.
9969 2000-04-24 Dave Love <fx@gnu.org>
9971 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9972 (Custom-reset-saved, Custom-reset-standard)
9973 (custom-group-value-create, custom-group-set, custom-group-save)
9974 (custom-group-reset-current, custom-group-reset-saved)
9975 (custom-group-reset-standard): Use mapc.
9976 (custom-buffer-create-internal): Disable undo when creating items.
9978 (custom-face): Avoid redundant lambda.
9980 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9982 * startup.el (auto-save-list-file-prefix): Set default to
9983 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9985 2000-04-24 Sam Steingold <sds@gnu.org>
9987 * time-stamp.el (time-stamp-string-preprocess): Always convert
9988 `field-result' to a string.
9990 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9992 * frame.el (scrolling): New group.
9993 (automatic-hscrolling): New user-option.
9995 * startup.el (command-line-x-option-alist): Add `-lsp' and
9998 2000-04-19 Dave Love <fx@gnu.org>
10000 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
10001 (cl-mapc): Rename from mapc. Fix the funcall.
10003 2000-04-19 Gerd Moellmann <gerd@gnu.org>
10005 * simple.el (clone-indirect-buffer-other-window): New command.
10006 (clone-indirect-buffer): Add optional arg NORECROD.
10007 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
10009 * help.el (resize-temp-buffer-window): Use count-screen-lines.
10011 * window.el (count-screen-lines): New function.
10012 (shrink-window-if-larger-than-buffer): Use count-screen-lines
10013 instead of window-buffer-height.
10015 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
10016 non-existing variable comint-input-sentinel.
10017 (inferior-lisp-args-to-list): Removed.
10018 (inferior-lisp): Use split-string instead of
10019 inferior-lisp-args-to-list.
10021 * hexl.el (hexl-insert-hex-string): New command.
10023 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
10026 2000-04-18 Gerd Moellmann <gerd@gnu.org>
10028 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
10029 at the start of an existing but empty folder.
10031 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10033 * ps-mule.el: Customization fix, doc fix.
10034 (ps-multibyte-buffer): Customization fix.
10036 2000-04-17 Richard M. Stallman <rms@gnu.org>
10038 * subr.el (read-passwd): Use read-char-exclusive.
10040 2000-04-17 Gerd Moellmann <gerd@gnu.org>
10042 * textmodes/texinfo.el (texinfo-insert-@email)
10043 (texinfo-insert-@emph, texinfo-insert-@quotation)
10044 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
10045 (texinfo-mode-map): Add key bindings for them.
10047 * files.el (basic-save-buffer-2): Use a template with `$'
10048 instead of `#' for VMS.
10050 * simple.el (clone-indirect-buffer): New function.
10052 2000-04-16 Stephen Eglen <stephen@gnu.org>
10054 * iswitchb.el (iswitchb-case): New function. If the user input
10055 contains any upper-case characters, the search is made
10058 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
10060 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
10062 (texinfo-font-lock-syntactic-keywords): New var.
10063 (texinfo-font-lock-keywords): Remove comment regexp.
10064 (texinfo-insert-block): New function.
10065 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
10066 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
10067 and font-lock-defaults. Use regexp-opt for outline-regexp.
10068 (texinfo-environments): New var.
10069 (texinfo-environment-regexp): Use regexp-opt and
10070 texinfo-environments.
10072 * textmodes/ispell.el (ispell-menu-map-needed): Check that
10073 ispell-process is bound since this might be eval'd before ispell
10075 (ispell-message): Use a tiny bit less magic and a bit more hard
10076 data to figure out what kind of sc-cite-regexp to use.
10078 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
10080 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
10081 (insert-cyclic-diary-entry): Unquote the lambda.
10083 * gud.el (gud-jdb-build-source-files-list): Fix typo.
10085 * files.el (backup-enable-predicate): Unquote the lambda.
10087 * cus-edit.el (custom-face, face): Unquote the lambda.
10089 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10091 * ps-print.el: Check for line-beginning-position definition.
10093 * ps-print.el: Fix counting lines in a region.
10094 (ps-print-version): New version number (5.1.5).
10095 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
10096 (ps-printing-region): Fun code fix.
10098 2000-04-15 Gerd Moellmann <gerd@gnu.org>
10100 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
10101 to file-directory-p.
10103 2000-04-14 Gerd Moellmann <gerd@gnu.org>
10105 * gud.el (gud-jdb-build-source-files-list): Check that directory
10106 exists before calling directory-files.
10108 2000-04-13 Dave Love <fx@gnu.org>
10110 * emacs-lisp/trace.el: Change maintainer. Use new backquote
10113 * emacs-lisp/cl-specs.el: Remove when, unless.
10115 * emacs-lisp/cl-extra.el: Don't quote keywords.
10116 (cl-old-mapc): New variable.
10118 (cl-map-intervals): Use with-current-buffer. Don't check for
10119 next-property-change.
10120 (cl-map-overlays): Use with-current-buffer.
10122 (copy-tree, remprop): Define unconditionally.
10124 * emacs-lisp/cl-compat.el (keywordp): Remove.
10126 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
10128 (edebug-spec): Enable keywordp.
10130 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
10133 * cus-start.el: Use keywordp.
10135 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10137 * diary-lib.el (include-other-diary-files): Fix the fix of
10138 2000-02-18 by doing a save-excursion.
10140 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10142 * ps-print.el: Customization fix, doc fix.
10143 (ps-print-version): New version number (5.1.4).
10144 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
10145 (ps-print-preprint): Adjust code.
10146 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
10147 (ps-print-prologue-header, ps-print-control-characters)
10148 (ps-spool-config): Customization fix.
10150 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
10152 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
10153 converted to the new menu-item format, names silightly changed,
10154 help strings added.
10156 Support for spelling without async subprocesses:
10158 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
10159 (ispell-session-buffer): New variables.
10160 (ispell-start-process, ispell-process-status,
10161 ispell-accept-output, ispell-send-string): New functions, for
10162 Ispell invocation when async subprocesses aren't supported.
10163 (ispell-word, ispell-pdict-save, ispell-command-loop,
10164 ispell-process-line, ispell-buffer-local-parsing): Replace calls
10165 to process-send-string with calls to ispell-send-string, and
10166 accept-process-output with ispell-accept-output.
10167 (ispell-init-process): Call ispell-process-status instead of
10168 process-status with.
10169 (ispell-init-process): Call ispell-start-process. Call
10170 ispell-accept-output and ispell-send-string. Don't call
10171 process-kill-without-query and kill-process if they are unbound.
10172 (ispell-async-processp): New function.
10174 2000-04-12 Dave Love <fx@gnu.org>
10176 * info.el: Add debug-ignored-errors.
10177 (Info-mode-menu): Add some items.
10178 (Info-directory): Add autoload cookie.
10180 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
10181 Modify `truncate-lines'. Make `describe-language-environment'
10182 always visible and add help. Modify `describe-key' help. Invoke
10183 Info-directory from `info'. New entry `emacs-manual'.
10185 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10187 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
10188 propertized-buffer-identification.
10189 (ebrowse-update-member-buffer-mode-line): Likewise.
10190 (ebrowse--mode-strings): Removed.
10191 (ebrowse--mode-line-props): Removed.
10193 * files.el (auto-mode-alist): Add `EBROWSE'.
10195 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
10196 space before testing for end of buffer.
10197 (ebrowse-load): Removed.
10198 (ebrowse-revert-tree-buffer-from-file): Rewritten.
10199 (ebrowse-create-tree-buffer): Rewritten.
10200 (ebrowse-tree-mode): Read tree from buffer.
10202 * progmodes/ebrowse-ffh.el: Removed.
10204 2000-04-10 Kenichi Handa <handa@etl.go.jp>
10206 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
10208 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10210 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
10211 at the wrong place.
10213 2000-04-09 Dave Love <fx@gnu.org>
10215 * files.el (backup-enable-predicate): Use
10216 temporary-file-directory, small-temporary-file-directory.
10217 (make-backup-file-name-function, backup-directory-alist): New
10219 (make-backup-file-name-1): New function.
10220 (make-backup-file-name): Use it.
10221 (find-backup-file-name): Likewise. Use format for clarity, not
10223 (file-newest-backup): Use make-backup-file-name.
10225 2000-04-09 Gerd Moellmann <gerd@gnu.org>
10227 * progmodes/ebrowse-ffh.el: New file.
10229 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
10231 (ebrowse-load): Add autoload.
10233 * finder.el (finder-commentary): Add autoload cookie.
10235 * mail/rfc2368.el: Correct author's email address.
10237 * progmodes/ebrowse.el: New file.
10239 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
10241 (easy-menu-do-add-item): Ditto.
10242 (easy-menu-define): Extend doc string.
10244 * jit-lock.el (with-buffer-unmodified): Use
10245 restore-buffer-modified-p.
10246 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
10247 (jit-lock-function, jit-lock-stealth-fontify): Don't use
10248 with-buffer-unmodified.
10250 2000-04-08 Dave Love <fx@gnu.org>
10252 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
10255 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
10257 * viper-util.el (viper-put-on-search-overlay): New subroutine.
10258 (viper-flash-search-pattern): No operation when using Emacs
10259 doesn't support face.
10260 Use `viper-put-on-search-overlay'.
10262 2000-04-04 Gerd Moellmann <gerd@gnu.org>
10264 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
10267 * progmodes/make-mode.el: Some doc fixes.
10268 (makefile-mode-abbrev-table): New variable.
10269 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
10270 (makefile-font-lock-keywords): Fontify includes and conditionals.
10271 (toplevel): Require `dabbrev' and `add-log' when compiling.
10273 * replace.el (perform-replace): Don't move forward one char
10274 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
10275 to do that because it leaves point 1 position after the last
10276 replacement, after everything has been replaced.
10278 * jit-lock.el (with-buffer-unmodified): New macro.
10279 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
10281 (jit-lock-function-1): Extracted from jit-lock-function; not
10282 preserving buffer's modified state.
10283 (jit-lock-function, jit-lock-stealth-fontify): Call
10284 jit-lock-function-1.
10286 * mail/rfc2368.el: Remove supernumerary copyright line.
10288 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
10290 * glasses.el: Provide facilities for inserting space before left
10291 parentheses and uncapitalization of identifiers.
10292 (glasses-mode): Try to remove old overlays in all cases.
10294 2000-04-03 Gerd Moellmann <gerd@gnu.org>
10296 * progmodes/compile.el (compile-internal): Display the compilation
10297 buffer in a different frame, if it's already displayed there.
10299 * mail/rfc2368.el: New file.
10301 * simple.el (sendmail-user-agent-compose): Recognize a `body'
10302 header and insert its value as mail body.
10304 * subr.el (member-ignore-case): New function.
10306 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
10307 (dabbrev--find-expansion): Ignore buffers matching a regexp
10308 from dabbrev-ignored-regexps.
10310 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
10311 to extensions handled by gzip.
10313 2000-04-03 Richard M. Stallman <rms@gnu.org>
10315 * files.el (insert-directory): List the total free space
10316 along with the used space.
10318 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
10319 line is followed by one that matches CITATION-REGEXP, end the
10322 2000-04-03 Markus Rost <rost@delysid.gnu.org>
10324 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10325 (rmail-make-basic-summary-line): Use that option.
10327 2000-04-03 Kenichi Handa <handa@etl.go.jp>
10329 * international/mule-cmds.el (encoded-string-description):
10330 Rewritten. Try pretty description for ISO 2022 escape sequences
10331 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
10332 for hexadecimal format.
10334 2000-04-01 Dave Love <fx@gnu.org>
10336 * cpp.el: Change customization group to `c' from `C'.
10338 * vcursor.el (vcursor-move): Use display-color-p.
10340 * international/mule-util.el: Provide mule-utils.
10341 (string-to-sequence): Simplify and speed up.
10343 * international/mule.el (make-coding-system): Purecopy doc-string.
10345 * international/mule-cmds.el: Various menu changes.
10346 (describe-specified-language-support): Handle `Default'.
10347 (set-language-info): Purecopy `info'.
10349 2000-03-31 Andrew Innes <andrewi@gnu.org>
10351 * vc.el (vc-backend-diff): Return the correct status if we had to
10352 retry the rcsdiff command without the --brief option.
10354 2000-03-31 Dave Love <fx@gnu.org>
10356 * help.el (help-manyarg-func-alist): Correct several omissions.
10358 * add-log.el: Don't require cl, fortran.
10359 (add-log-current-defun-function): Doc fix.
10360 (change-log-version-number-regexp-list): Remove SCCS part. Doc
10362 (change-log-version-rcs): Function deleted.
10363 (change-log-version-number-search): Doc fix. Use
10364 vc-workfile-version. Avoid CL dolist.
10365 (add-change-log-entry): Just call add-log-current-defun to get
10366 defun. Simplify somewhat.
10367 (change-log-get-method-definition-1): Likewise.
10368 (add-log-current-defun): Return nil if calling
10369 add-log-current-defun-function does so. Move Fortran stuff to
10370 fortran.el. Return string without properties.
10372 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10373 and :alpha: char classes.
10375 * mail/supercite.el: Defvar curline when compiling.
10376 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10377 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10378 rather than a-zA-Z0-9 to allow non-ASCII characters.
10380 2000-03-31 Gerd Moellmann <gerd@gnu.org>
10382 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10384 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10385 Re-enable new code.
10387 * lpr.el (print-region-1): Use -d to specify printer name for
10388 systems `usg-unix-v*, `dgux', `hpux', `irix'.
10390 2000-03-31 Dave Love <fx@gnu.org>
10392 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10393 for function definition in symbol's function value slot first
10394 instead of first consulting byte-compile-function-environment.
10396 2000-03-31 Kenichi Handa <handa@etl.go.jp>
10398 * language/european.el ("Polish"): New language environment.
10399 (setup-polish-environment): New function.
10401 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10403 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10406 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10407 trying to `load' the symbol of an autoload instead of the file
10408 recorded in the autoload. Fix error messages.
10410 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10412 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10413 (ps-print-version): New version number (5.1.3).
10414 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10415 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10416 (ps-generate-postscript-with-faces): Code fix.
10417 (ps-color-values): XEmacs compatibility.
10418 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10419 (ps-default-fg, ps-default-bg): Adjust customization.
10420 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10421 (ps-color-scale): Renaming old ps-color-value fun.
10422 (ps-print-headers): Replace ps-print-header group to avoid conflict
10423 with ps-print-header variable.
10424 (ps-print-miscellany): New group.
10425 (ps-format-color, ps-rgb-color): New funs.
10426 (ps-default-foreground): New var.
10427 (ps-printer-name-option): New const.
10429 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10431 * net/net-utils.el:
10432 (network-connection-host, network-connection-service): New variables
10433 (network-connection-mode): New mode, derived from comint-mode
10434 (network-connection-mode-setup): New function, saves host and
10435 service information in local variables.
10438 (locate-word-at-point): Added this function
10439 (locate): Default to using locate-word-at-point as input
10440 Run dired-mode-hook
10442 2000-03-29 Dave Love <fx@gnu.org>
10444 * calendar/appt.el: Doc fixes.
10445 (appt-check): Convert min-to-app to a string before passing to
10446 appt-disp-window-function or concat.
10447 (appt-delete-window): Remove test for frame-root-window.
10448 (appt-select-lowest-window, appt-convert-time): Simplify.
10450 * emacs-lisp/bytecomp.el: Doc fixes.
10451 (byte-compile-file-form-autoload): Update
10452 byte-compile-function-environment.
10454 2000-03-29 Andreas Schwab <schwab@suse.de>
10456 * emacs-lisp/autoload.el: Also print defsubst doc string
10459 * dired.el (dired-insert-directory): If dired-free-space-program
10460 failed just delete its output.
10462 2000-03-29 Dave Love <fx@gnu.org>
10464 * international/iso-cvt.el: Move provide to end. Doc fixes.
10465 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10466 (iso-iso2sgml, iso-sgml2iso): New functions.
10467 (iso-cvt-define-menu): Fix some entries and use backquote for
10470 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10472 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10474 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10475 ISO-DATE. If non-nil, return date in ISO 8601 format.
10477 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10479 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10480 if it ever becomes used.
10481 (log-edit-mode-hook): Default to vc-log-mode-hook.
10482 (log-edit-mode): Fix the docstring.
10484 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10487 2000-03-26 Dave Love <fx@gnu.org>
10489 * net/browse-url.el (browse-url): Re-fix case of
10490 browse-url-browser-function being an alist.
10491 (browse-url): Add :link to defgroup.
10493 * files.el: Doc fixes.
10494 (file-truename): Include `[' in wildcard characters.
10495 (automount-dir-prefix): Customize.
10496 (find-file-wildcards): Add :version.
10497 (find-file-noselect): Simplify a mapcar call.
10499 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10500 compatible with inf-lisp version.
10501 (eval-defun-1): Fix custom-declare-variable case.
10503 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10505 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10507 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10509 * Makefile (COMPILE_FIRST): New macro.
10510 (compile-files): Compile files from COMPILE_FIRST first.
10512 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10515 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10516 matching open parenthesis in column 0 to defun-prompt-regexp
10517 only if open-paren-in-column-0-is-defun-start is set.
10519 * sun-curs.el: Require CL at compile-time only.
10521 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10522 instead of copy-list which is a function from CL.
10523 (msb--choose-menu, msb--mode-menu-cond)
10524 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10525 (msb--init-file-alist): Use mapcar instead of mapcan.
10526 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10527 `(' in column 0 in doc string.
10528 (msb--add-separators): Use mapcar instead of mapcan.
10530 * cus-dep.el: Require CL at compile-time only.
10532 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10534 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10535 (byte-compile-warnings): New warning `noruntime'.
10536 (byte-compile-constants, byte-compile-variables): Fix docstring.
10537 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10538 execute `eval-whenc-compile's body.
10539 (byte-compile-unresolved-functions): Fix docstring.
10540 (byte-compile-eval): New function.
10541 (byte-compile-callargs-warn): Check if the function will be available
10542 at runtime (via property `byte-compile-noruntime').
10543 (byte-compile-print-syms): New function.
10544 (byte-compile-warn-about-unresolved-functions): Also warn about
10545 `noruntime' functions (and use `byte-compile-print-syms').
10546 (byte-compile-file): Capitalize the message.
10548 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10550 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10551 (rmail-expunge): Ask for confirmation depending on the setting
10552 of rmail-confirm-expunge.
10554 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10556 * Makefile (bootstrap-clean): If $(emacs) exists, build
10557 loaddefs.el first. A loaddefs.el that's not up-to-date might
10558 cause a bootstrap failure because things don't autoload as
10561 2000-03-23 Dave Love <fx@gnu.org>
10563 * net/browse-url.el: Restore previous use of
10564 browse-url-maybe-new-window.
10566 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10568 * ps-print.el: Skip banner page fix.
10569 (ps-print-version): New version number (5.1.2).
10570 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10572 2000-03-23 Dave Pearson <davep@davep.org>
10574 * net/quickurl.el Changed the type of parameter passed to the
10575 function defined by `quickurl-format-function'. Before only the
10576 text of the URL was passed. Now the whole URL structure is passed
10577 and the function is responsible for extracting the parts it
10578 requires. Changed the default of `quickurl-format-function'
10580 (quickurl-insert): Changed the `funcall' of
10581 `quickurl-format-function' to match the above change.
10582 (quickurl-list-insert): Changed the `url' case so that it makes
10583 use of `quickurl-format-function', previous to this the format was
10586 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10588 * startup.el: Change some spellings for the X Window System.
10590 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10592 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10593 up the code and the regexp and make sure the cursor is temporarily
10594 moved to the suspicious line while querying the user.
10596 2000-03-22 Jason Rumney <jasonr@gnu.org>
10598 * w32-fns.el (w32-charset-info-alist): Initialize.
10600 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10602 * ps-print.el: N-up last page fix.
10603 (ps-print-version): New version number (5.1.1).
10604 (ps-end-file, ps-end-job, ps-generate): Code fix.
10606 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10608 * files.el (find-file-run-dired): Update docstring.
10609 (find-directory-functions): New hook.
10610 (find-file-noselect): Run find-directory-functions rather than
10611 calling dired directly.
10613 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10615 * pcvs.el: Add a minimal leading commentary.
10616 (cvs-make-cvs-buffer): Change the header part by removing the startup
10617 message and adding a `Module' entry. Also replace the FOOTER and
10618 HEADER special fileinfos with the new support in ewoc for updating
10619 its own footer and header.
10620 (cvs-update-header): Update to use the header/footer of the ewoc.
10621 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10622 (cvs-is-within-p): New function.
10623 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10624 to only examine some subset of the buffers.
10626 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10627 `format' instead of our own ad-hoc functions.
10628 Remove HEADER and FOOTER cases, now handled in the EWOC.
10629 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10631 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10632 output to avoid scaring the user.
10633 (cvs-parse-table): Catch message for non-up-to-date commits.
10635 * pcvs-defs.el (cvs-startup-message): Remove.
10636 (cvs-global-menu): New autoloaded menu.
10638 * pcvs-util.el (cvs-string-fill): Remove.
10640 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10641 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10642 PP part of it and also make it work for footers and headers.
10643 (ewoc-create): Drop POS and BUFFER arguments.
10644 Use the DLL's dummy node to store the end-of-footer position.
10645 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10646 (ewoc-refresh): Remove unused `header' variable.
10647 (ewoc-(get|set)-hf): New functions.
10649 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10650 log-view-*-(message|file) and use easy-mmode-define-navigation.
10651 (log-view-message-re): Match SCCS format as well.
10652 And match the revision line rather than the dashed separator line.
10653 (log-view-mode): Use the new define-derived-mode.
10654 (log-view-current-tag): Fill in with an actual implementation.
10656 * cvs-status.el (cvs-status-(prev|next)): Rename from
10657 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10658 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10659 to let the output "breathe" a little more (more readable).
10660 (cvs-status-mode): Use the new define-derived-mode.
10662 * smerge-mode.el (smerge-auto-leave): New function and variable.
10663 (smerge-basic-map): Rename from smerge-basic-keymap.
10664 Change the bindings for smerge-diff-*.
10665 (smerge-*-map): Use easy-mmode-defmap.
10666 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10667 (smerge-keep-*): Use smerge-auto-leave.
10669 2000-03-21 Jason Rumney <jasonr@gnu.org>
10671 * cus-edit.el (custom-button-face): Use 3D look for w32.
10672 (custom-button-pressed-face): Likewise.
10674 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10676 * progmodes/etags.el (tags-case-fold-search): New user-option.
10677 (tags-loop-eval): New function. Bind case-fold-search around eval
10678 depending on the value of tags-case-fold-search.
10679 (tags-loop-continue): Use tags-loop-eval.
10680 (find-tag-in-order): Bind case-fold-search depending on the value
10681 of tags-case-fold-search.
10683 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10685 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10686 (diff-end-of-hunk): Return the end position for use in
10687 `easy-mmode-define-navigation'.
10688 (diff-recenter): Remove.
10689 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10690 of `easy-mmode-define-navigation'.
10691 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10692 previous renaming) and fix to use new names.
10693 (diff-merge-strings): Use \n as separator: simpler, faster.
10694 (diff-mode): Use `define-derived-mode'.
10696 * derived.el (define-derived-mode): Don't autoload anymore.
10697 Prefer the macro-only version provided by easy-mmode.el.
10699 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10700 `easy-mmode-define-derived-mode'.
10701 Use `combine-run-hooks'.
10702 (easy-mmode-define-navigation): New macro.
10704 * subr.el (combine-run-hooks): New function.
10706 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10708 * term/x-win.el: Fontsets related initialization is simplified.
10710 * international/mule-diag.el (describe-font): Don't refer to
10711 global-fontset-alist, instead call font-list.
10712 (describe-fontset, list-fontsets, mule-diag): Likewise.
10713 (print-fontset): Adjusted for the change of fontset
10716 * international/fontset.el (x-charset-registries): Variable
10717 removed, instead the corresponding data is stored in the default
10719 (register-alternate-fontnames): Function removed.
10720 (resolved-ascii-font): Variable removed.
10721 (x-compose-font-name): Ignore the second argument REDOCE.
10722 (x-complement-fontset-spec): Complement only an ASCII font and
10723 element for those charsets than can use that ASCII font.
10724 (generate-fontset-menu): Don't refer to global-fontset-alist,
10725 instead call fontset-list.
10726 (uninstantiated-fontset-alist): Variable removed.
10727 (x-style-funcs-alist): Likewise.
10728 (fontset-default-styles): Likewise.
10729 (x-modify-font-name): Function removed.
10730 (create-fontset-from-fontset-spec): Ignore the argument
10732 (create-fontset-from-ascii-font): Docsting adjusted for the above
10734 (instantiate-fontset, resolve-fontset-name): Functions removed.
10735 (fontset-list): Now implemented by C code.
10737 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10738 (describe-face): Include `font' attribute in the description.
10740 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10742 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10744 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10746 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10747 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10748 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10750 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10751 about behavior of set-buffer-modified-p wrt redisplay.
10753 2000-03-19 Richard M. Stallman <rms@gnu.org>
10755 * view.el (view-mode-disable): Kill local binding of view-read-only.
10757 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10759 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10760 is a string, convert it to a syntax cell using string-to-syntax.
10762 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10763 (string-to-syntax): New function.
10765 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10766 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10767 try to use passive ftp mode.
10769 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10771 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10773 * simple.el (append-to-buffer): Update point of windows after
10776 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10777 forward then moving backward. Reindent.
10779 * frame.el (other-frame): Call x-focus-frame only if
10780 focus-follows-mouse is off.
10782 2000-03-17 Dave Love <fx@gnu.org>
10784 * pcvs-util.el (cvs-strings->string): Rename
10785 replace-regexps-in-string.
10787 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
10789 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10790 regexp for labels cannot span several lines.
10792 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10793 `(setq :<key> ':<key>)' to the macro expansion.
10795 2000-03-16 Dave Love <fx@gnu.org>
10797 * progmodes/f90.el (f90): Put custom group under `languages', not
10799 (f90-mode-hook): Customize.
10800 (f90-mode): Set add-log-current-defun-function.
10801 (f90-current-defun): New function.
10803 2000-03-16 Gerd Moellmann <gerd@gnu.org>
10805 * cus-edit.el (custom-variable-tag-face): Handle case that
10806 default face's height is not a number.
10807 (custom-face-tag-face, custom-group-tag-face-1)
10808 (custom-group-tag-face): Ditto.
10809 (custom-group-tag-face-1): Add :group.
10811 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10813 2000-03-15 Gerd Moellmann <gerd@gnu.org>
10815 * pcvs-defs.el (toplevel): Remove autoload cookie for form
10816 requiring easymenu.
10818 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10820 * ps-print.el: PostScript user-defined prologue, PostScript error
10822 (ps-print-version): New version number (5.1).
10823 (ps-user-defined-prologue, ps-error-handler-message)
10824 (ps-print-prologue-0, ps-error-handler-alist): New vars.
10825 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10826 (ps-insert-string): New function.
10828 2000-03-15 Kenichi Handa <handa@etl.go.jp>
10830 * international/ccl.el (ccl-compile-expression): Don't generate
10831 invalid self-assignment code.
10833 2000-03-14 Dave Love <fx@gnu.org>
10835 * subr.el (replace-regexp-in-string): Renamed from
10836 replace-regexps-in-string. Doc fix.
10838 2000-03-12 Dave Love <fx@gnu.org>
10840 * cus-edit.el: Doc fixes.
10841 (customize-set-variable, customize-save-variable): Rename args for
10843 (custom-variable-tag-face, custom-face-tag-face)
10844 (custom-group-tag-face-1, custom-group-tag-face): Modify from
10845 style which user identify as hyperlink.
10846 (hook): Don't add undefined functions to the hook.
10847 (debug-ignored-errors): Transfer message from bindings.el.
10849 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10851 * recentf.el (recentf-keep-non-readable-files-p): Remove
10852 double/nested definition.
10854 2000-03-12 Dave Love <fx@gnu.org>
10856 * facemenu.el (facemenu-get-face): Use display-color-p.
10857 * enriched.el (enriched-decode-foreground): Likewise.
10858 (enriched-decode-background): Likewise.
10859 * isearch.el (isearch-highlight): Likewise.
10860 * info-look.el (info-lookup): Likewise.
10861 * simple.el (completion-setup-function): Likewise.
10863 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10866 * bindings.el (mode-line-format): Fix line-number and
10867 column-number items. Add help-echo for the background.
10868 (mode-line-mule-info): Modify help-echo.
10870 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10873 * files.el (load-file): Allow completion to .elc.
10875 * man.el: Doc fixes.
10876 (Man-init-defvars): Use display-color-p to set fontification.
10878 * play/hanoi.el (hanoi-internal): Don't use oddp.
10880 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10882 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10884 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10886 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10888 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10891 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
10893 * font-lock.el (font-lock-keywords): Fix the doc now that
10894 regexp-opt-depth is unnecessary.
10895 (save-buffer-state): Set an edebug spec.
10896 (font-lock-fontify-anchored-keywords): Properly handle the case when
10897 the matcher goes past the limit.
10899 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10900 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10902 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
10903 dll.el and cookie.el (from Elib) with heavy renaming and other
10906 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10907 Autoload the functions used.
10908 (easy-mmode-define-syntax): Fix CL typo.
10909 (easy-mmode-define-derived-mode): Improve the docstring generation.
10911 2000-03-10 Gerd Moellmann <gerd@gnu.org>
10913 * textmodes/texinfo.el (texinfo-version): Variable and function
10916 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
10918 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10919 allow more flexibility.
10920 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10922 (easy-mmode-defmap, easy-mmode-defsyntax)
10923 (easy-mmode-define-derived-mode): New macros.
10925 2000-03-09 Didier Verna <didier@xemacs.org>
10927 * rect.el (replace-rectangle): New function.
10929 2000-03-09 Dave Love <fx@gnu.org>
10931 * progmodes/fortran.el (fortran-comment-line-start): Define as
10933 (fortran-comment-line-start-skip): Don't match cpp stuff.
10934 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
10935 (fortran-mode-map): Remove over-eager custom-menu-create for now.
10936 (fortran-mode): Don't set fortran-comment-line-start-skip,
10937 fortran-comment-line-start here. Set comment-start,
10938 add-log-current-defun.
10939 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10940 (fortran-current-defun): New function.
10942 2000-03-09 Gerd Moellmann <gerd@gnu.org>
10944 * emacs-lisp/re-builder.el: New file.
10946 * mouse.el (mouse-drag-region): Don't run up-event handler
10947 if hscroll has changed.
10949 * octave-mod.el (octave-font-lock-keywords): To font-lock the
10950 builtin operators, use `font-lock-builtin-face' for Emacs and
10951 `font-lock-preprocessor-face' otherwise.
10953 * font-lock.el (lisp-font-lock-keywords-1): Highlight
10954 `(defun (setf foo)' differently.
10956 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
10958 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10959 (regexp-opt): Update comment and adapt the code the new meaning of
10960 the `paren' argument of regex-opt-group for shy-groups.
10961 (regexp-opt-depth): Handle shy groups as well as backslashed
10963 (regexp-opt-group): Turn the leading comment into a docstring.
10964 Allow `paren' to be a string (the string to use to open a group).
10965 Remove open-presuf and close-presuf. Instead of checking for `all
10966 one-char' and then later on check for `several one-char', handle
10967 both cases close together. Also apply a more generic algorithm
10968 for suffixes (the mirror image of the algorithm used for
10969 prefixes). Use shy-groups. Use nreverse rather than reverse.
10970 (regexp-opt-try-suffix): Removed.
10972 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10973 from comint-mode-map, so we can just inherit from it. Also, move
10974 the initialization into the `defvar' since there's no docstring
10975 anyway and it's fairly short.
10976 (inferior-scheme-mode): Define it as derived-mode: the code is
10977 shorter and this way we inherit from comint-mode-map rather than
10980 * subr.el (replace-regexps-in-string): Properly handle the case
10981 where we match an empty string.
10983 * comint.el (comint-exec-1): Add the current-dir to the exec-path
10984 when the command has a directory component (such as "./testml").
10985 Also fix a typo in the comment.
10987 2000-03-08 Gerd Moellmann <gerd@gnu.org>
10989 * Makefile (compile-files): Compile files one by one because
10990 that's the only way to ensure a clean compilation environment for
10991 each individual file.
10993 * frame.el (other-frame): Call x-focus-frame.
10995 2000-03-07 Dave Love <fx@gnu.org>
10997 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10998 :require to defcustom.
11000 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
11003 * files.el (auto-mode-alist): Add configure.in.
11005 * progmodes/autoconf.el: New file.
11007 2000-03-07 Gerd Moellmann <gerd@gnu.org>
11009 * mail/mh-e.el: Change maintainer to `none'.
11011 * recentf.el (recentf-keep-non-readable-files-p): Quote args
11012 to remove-hook and add-hook.
11014 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11016 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
11018 (mail-send): Test mail-send-nonascii also for the new `mime' value.
11019 (sendmail-send-it): Conditionally add MIME headers specifying the
11020 used character set.
11022 2000-03-07 Dave Love <fx@gnu.org>
11024 * winner.el: Fix keywords, autoload cookies. Split
11025 eval-when-compile form to avoid compilation failure.
11027 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
11029 * international/mule.el: Modify comment about coding system
11030 property `coding-category'.
11031 (make-coding-system): New argument EOL-TYPE. Pay attention to
11032 coding-category property of PROPERTIES.
11034 * international/mule-conf.el (coding-category-utf-8,
11035 coding-category-utf-16-be, coding-category-utf-16-le): New coding
11036 categories. Include them in the argument for set-coding-priority.
11038 * international/mule-cmds.el (reset-language-environment): Include
11039 coding-category-utf-8, coding-category-utf-16-be, and
11040 coding-category-utf-16-le in the argument for set-coding-priority.
11041 (reset-language-environment): Initialize coding-category-utf-8,
11042 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
11044 2000-03-06 Karl Fogel <kfogel@red-bean.com>
11046 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
11047 code abstracted out of `bookmark-jump-noselect'. Now tries info
11048 extensions as well as compression extensions.
11049 (bookmark-jump-noselect): Use above new func.
11051 2000-03-03 Gerd Moellmann <gerd@gnu.org>
11053 * strokes.el: Change maintainer's mail address.
11055 2000-03-03 Kenichi Handa <handa@etl.go.jp>
11057 * international/mule-diag.el (list-character-sets): Make help-echo
11058 string by substitute-command-keys.
11059 (list-character-sets): Likewise.
11060 (sort-listed-character-sets): Call help-setup-xref.
11062 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11064 * time.el (display-time-mail-file): Add `none' to the list of
11067 2000-03-01 Dave Love <fx@gnu.org>
11069 * help.el (help-xref-go-back): Don't try to set position.
11071 * international/mule-diag.el (list-character-sets): Call
11072 help-setup-xref. Add help-echo to xrefs.
11073 (list-character-sets-1): Add help-echo to xrefs.
11075 2000-03-02 Gerd Moellmann <gerd@gnu.org>
11077 * frame.el (blink-cursor-mode): Switch cursor on when turning
11080 * add-log.el (add-log-current-defun): Add support for
11083 * mail/rmail.el (rmail-quit-hook): New variable.
11085 2000-03-01 Dave Love <fx@gnu.org>
11087 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
11089 * help.el (help-xref-button): Add help-echo arg.
11090 (describe-function-1, describe-variable, help-make-xrefs): Use it.
11092 * faces.el (list-faces-display): Supply help-echo with
11095 * facemenu.el (list-text-properties-at): Set help-xref-stack to
11098 2000-03-01 Gerd Moellmann <gerd@gnu.org>
11100 * image.el (defimage): Look for image files in load-path.
11102 * frame.el (busy-cursor-delay-seconds): Change type to
11105 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11107 * recentf.el (recentf): Added version tag to the defgroup of
11110 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11112 * recentf.el (recentf-cleanup): Changed to remove excluded file
11114 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
11115 action to select/unselect a file.
11116 (recentf-edit-list): Code cleanup and improvement.
11117 (recentf-open-more-files-action): `recentf-open-more-files' button
11118 widget action to open a file.
11119 (recentf-open-more-files): No more use standard completion but
11121 (recentf-more-collection): Deleted.
11122 (recentf-more-history): Deleted.
11123 (recentf-setup-more-completion): Deleted.
11125 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
11127 * recentf.el (recentf-mode): No more needs that Emacs is running
11128 under a window-system.
11130 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11132 * recentf.el (recentf-edit-list): New command to edit the recent
11133 list which allow the user to remove files.
11134 (recentf-edit-selected-items): New global variable, used by
11135 `recentf-edit-list' to hold the list of files to be removed from
11137 (recentf-make-menu-items): Updated to display a "Edit list..."
11138 menu item. Minor code cleanup.
11140 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11142 * recentf.el (recentf-open-more-files): New command to open files
11143 that are not displayed in the menu.
11144 (recentf-more-collection): New global variable holding the set of
11145 permissible completions used by `recentf-open-more-files'.
11146 (recentf-more-history): New global variable holding the history list
11147 used by `recentf-open-more-files' completion.
11148 (recentf-setup-more-completion): New function to setup completion for
11149 `recentf-open-more-files'.
11150 (recentf-make-menu-items): Updated to display a "More..." menu item.
11152 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11154 * recentf.el (recentf-menu-action): Doc fixed.
11156 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
11158 * recentf.el (recentf-menu-filter): Doc updated.
11159 (recentf-update-menu-hook): Allow menu filters to force menu update.
11160 (recentf-make-menu-items): New menu filter handling.
11161 (recentf-make-menu-item): New helper function.
11162 (recentf-menu-elements): New menu handling function.
11163 (recentf-sort-ascending): Updated to new menu filter handling.
11164 (recentf-sort-descending): Updated to new menu filter handling.
11165 (recentf-sort-basenames-ascending): New menu filter function.
11166 (recentf-sort-basenames-descending): New menu filter function.
11167 (recentf-show-basenames): New menu filter function.
11168 (recentf-show-basenames-ascending): New menu filter function.
11169 (recentf-show-basenames-descending): New menu filter function.
11171 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11173 * diary-lib.el (list-diary-entries): Don't try to go forward at
11174 the end of the buffer.
11176 2000-02-29 Kenichi Handa <handa@etl.go.jp>
11178 * international/mule-diag.el (list-character-sets): Completely
11180 (sort-listed-character-sets): New function.
11181 (list-character-sets-1): Completely rewritten.
11182 (list-character-sets-2): New function.
11183 (non-iso-charset-alist): New variable.
11184 (decode-codepage-char): New function.
11185 (charset-history): New variable.
11186 (read-charset) (list-block-of-chars)
11187 (list-iso-charset-chars)
11188 (list-non-iso-charset-chars)
11189 (list-charset-chars): New functions.
11190 (mule-diag): Call list-character-sets-2, not
11191 list-character-sets-2.
11192 (dump-charsets): Likewise.
11194 2000-02-29 Gerd Moellmann <gerd@gnu.org>
11196 * dired-x.el (dired-filename-at-point): Add `@' to valid
11197 file name characters.
11198 (dired-filename-at-point): Handle ange-ftp file names.
11200 * frame.el (frame-notice-user-settings): Use assq-delete-all
11201 instead of assoc-delete-all.
11202 (frame-notice-user-settings): Ditto.
11204 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
11207 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
11209 * calculator.el (calculator-use-menu): New option.
11210 (calculator-initial-bindings): Changed some bindings to work as
11212 (calculator-forced-input): Removed.
11213 (calculator-restart-other-mode): New variable.
11214 (calculator-mode-map): Set up menu.
11216 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
11218 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
11221 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
11223 * viper-cmd.el (viper-envelop-ESC-key): added the option to
11224 translate all ESC key sequences.
11225 (viper-goto-mark-subr): restore markers for files for which
11227 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
11228 * viper-util.el (viper-set-replace-overlay-glyphs,
11229 viper-set-replace-overlay): always check if the replacement
11231 * viper.el (viper-vi-state-mode-list): added major modes.
11232 * ediff-wind.el: minor comment changes.
11233 * ediff.el: copyright notice date fix.
11235 2000-02-27 Jason Rumney <jasonr@gnu.org>
11237 * faces.el (face-font-family-alternatives): Add arial to helv.
11238 (mode-line, header-line, tool-bar): Same default as x for w32.
11239 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
11240 face-font-family-alternatives from working.
11241 * term/w32-win.el (mouse-set-font): Do not build fontset from
11244 2000-02-25 Sam Steingold <sds@goems.com>
11246 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
11249 2000-02-25 Richard M. Stallman <rms@gnu.org>
11251 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
11253 2000-02-25 Gerd Moellmann <gerd@gnu.org>
11255 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
11258 * frame.el (busy-cursor-delay-seconds): New option.
11260 2000-02-24 Gerd Moellmann <gerd@gnu.org>
11262 * frame.el (show-cursor-in-non-selected-windows): New option.
11264 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11266 * diary-lib.el (include-other-diary-files): Undo the selective
11267 display in any included file and don't kill it.
11269 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
11271 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
11272 bar. Menu items converted to (menu-item format, help strings
11274 [downcase, upcase]: Don't enable on MS-DOS.
11275 [symlink, symlinks]: Don't show if make-symbolic-link is not
11277 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
11279 2000-02-23 Dave Love <fx@gnu.org>
11281 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
11282 (backward-kill-word): Revert addition of * to interactive spec --
11285 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
11286 (backward-kill-sentence, kill-sentence): Likewise.
11288 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
11289 scratch buffer name.
11290 (gud-format-command): Use int-to-string in ?l case. Simplify
11293 * term/w32-win.el (internal-face-interactive): Update prompt for
11294 new read-face-name.
11296 * mail/footnote.el (footnote): Add :version to defgroup.
11297 (footnote-section-tag-regexp): Customize.
11298 (footnote-start-tag, footnote-end-tag): New option.
11299 (footnote-latin-regexp): New variable.
11300 (Footnote-latin): New function.
11301 (footnote-style-alist): Add element for latin style.
11302 (footnote-style): Moved.
11303 (Footnote-goto-footnote): Use eq to test arg.
11305 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
11307 * emacs-lisp/byte-opt.el: Change old backquote syntax.
11308 (byte-compile-trueconstp): Include keywords.
11309 (byte-optimize-quote, byte-optimize-lapcode): Use
11310 byte-compile-const-symbol-p.
11311 (byte-optimize-char-before): New optimization.
11313 * emacs-lisp/bytecomp.el: Change old backquote syntax.
11314 (byte-compile-const-symbol-p): New function.
11315 (byte-compile-constp, byte-compile-out-toplevel)
11316 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
11319 * subr.el (define-key-after): Default AFTER to t. Doc fix.
11321 2000-02-23 Kenichi Handa <handa@etl.go.jp>
11323 * international/encoded-kb.el: Be sure to update minor-mode-alist
11324 and minor-mode-map-alist.
11325 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11326 codes SS2 and SS3 correctly.
11327 (encoded-kbd-self-insert-ccl): New function.
11328 (encoded-kbd-setup-keymap): New function.
11329 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
11330 by calling encoded-kbd-setup-keymap.
11332 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11334 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11337 2000-02-22 Dave Love <fx@gnu.org>
11339 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11340 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11342 (lisp-mode-syntax-table): Set up for #|...|# comments.
11343 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
11344 classes. Match `defface'.
11345 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11346 (eval-defun-1): Fix for defcustom.
11347 (lisp-indent-region): Doc fix.
11349 * subr.el (when, unless, split-string): Doc fix.
11350 (read-passwd): Move call of clear-this-command-keys to the right
11352 (replace-regexps-in-string): New function.
11354 2000-02-22 Gerd Moellmann <gerd@gnu.org>
11356 * help.el (describe-variable): Set syntax table to
11357 emacs-lisp-mode-syntax-table when moving forward over the
11360 2000-02-22 Dave Love <fx@gnu.org>
11362 * xt-mouse.el: Doc fixes.
11363 (xterm-mouse-position-function): New function, replacing advice of
11365 (xterm-mouse-mode): Use it. Don't turn on under a window system.
11367 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11369 2000-02-21 Gerd Moellmann <gerd@gnu.org>
11371 * format.el (format-annotate-single-property-change): Handle
11372 properties.with dotted-list values.
11373 (format-proper-list-p): New function.
11375 * enriched.el (enriched-face-ans): Handle '(foreground-color
11376 . COLOR) and (background-color . COLOR).
11378 2000-02-20 Dave Love <fx@gnu.org>
11380 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11381 and assignments to it.
11382 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11384 (make-flyspell-overlay): Use it.
11385 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11387 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11388 (lm-get-header-re): Defun, not defsubst.
11389 (lm-get-package-name): Defun, not defsubst. Simplify.
11390 (lm-version): Doc fix. Simplify.
11391 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11392 (lm-crack-address, lm-last-modified-date, lm-commentary)
11393 (lm-verify, lm-synopsis): Simplify.
11394 (lm-report-bug): Require emacsbug. Use compose-mail.
11396 2000-02-20 Gerd Moellmann <gerd@gnu.org>
11398 * dired.el (dired-mode): Call propertized-buffer-identification
11399 to set mode-line-buffer-identification to something having
11400 the right text properties.
11402 * bindings.el (propertized-buffer-identification): New function.
11404 2000-02-20 Dave Love <fx@gnu.org>
11406 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11407 check for t-mouse too.
11409 * cus-start.el: Make echo-keystrokes `number'.
11411 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11413 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11414 Don't call ring-empty-p unless tags-location-ring is bound.
11415 From Noah Friedman <friedman@splode.com>.
11417 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11419 * progmodes/hideshow.el (hs-flag-region): No longer use
11420 `intangible' overlay property.
11422 (hs-toggle-hiding): New command.
11423 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11425 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11426 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11429 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11431 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11433 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11435 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11437 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11438 of `*' to handle `(* ... *)' comments.
11440 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11442 * faces.el (list-faces-display): Use display-mouse-p instead of
11445 * menu-bar.el (global-map): Menu-bar items converted to the new
11446 format (menu-item..., rearranged for better CUA compliance, and
11447 their names changed for better clarity. Help strings added.
11449 * international/mule-cmds.el (mule-menu-keymap)
11450 (describe-language-environment-map, set-coding-system-map)
11451 (setup-language-environment-map): Convert to new (menu-item...
11452 form, add help strings. Change names of menu items for better
11453 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11456 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11458 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11461 2000-02-16 Dave Love <fx@gnu.org>
11463 * faces.el: Don't require custom. Add more specific :groups to
11465 (set-face-attribute): Purecopy args.
11466 (read-face-name): Default to name at point and use it in prompt.
11467 Remove colon from arg in all callers.
11468 (list-faces-display): Hyperlink to face descriptions and customize
11471 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11473 * wid-edit.el (widget-match-inline): An atom never matches a
11476 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11478 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11479 at ':' characters by call to split-string.
11481 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11483 * textmodes/bibtex.el: Added RCS version identification.
11485 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11487 * textmodes/bibtex.el: Some temporary comments removed.
11488 (bibtex-field-name, bibtex-entry-type): Made the relationship
11490 (bibtex-field-const): Allow capital letters.
11491 (bibtex-start-of-string): Deleted because unused.
11493 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11494 use the term 'reference' to describe a bibtex entry as a whole.
11495 Further, reference keys are no longer called 'labels'.
11496 (bibtex-keys): Renamed to bibtex-reference-keys.
11497 (bibtex-reformat-previous-labels): Renamed to
11498 bibtex-reformat-previous-reference-keys.
11499 (bibtex-reference-type): Renamed to bibtex-entry-type.
11500 (bibtex-reference-head): Renamed to bibtex-entry-head.
11501 (bibtex-reference-maybe-empty-head): Renamed to
11502 bibtex-entry-maybe-empty-head.
11503 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11504 (bibtex-search-reference): Renamed to bibtex-search-entry.
11505 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11506 bibtex-enclosing-entry-maybe-empty-head.
11507 (bibtex-entry-field-alist, bibtex-entry-head,
11508 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11509 bibtex-map-entries, bibtex-search-entry,
11510 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11511 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11512 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11513 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11514 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11515 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11516 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11518 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11520 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11522 (bibtex-format-field-delimiters): New function, functionality
11523 extracted from bibtex-format-entry.
11524 (bibtex-autokey-get-yearfield-digits): New function, functionality
11525 extracted from bibtex-autokey-get-yearfield.
11527 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11528 entries in order to avoid stack overflow in the regexp matcher if
11529 field contents become large.
11530 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11531 bibtex-field-string-part-not-braced,
11532 bibtex-field-string-part-no-inner-braces,
11533 bibtex-field-string-part-1-inner-brace,
11534 bibtex-field-string-part-2-inner-braces,
11535 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11536 bibtex-field-string-quoted, bibtex-field-string,
11537 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11538 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11539 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11540 as parsing is now performed by the following functions.
11541 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11542 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11543 bibtex-parse-field-string, bibtex-search-forward-field-string,
11544 bibtex-parse-association, bibtex-field-name-for-parsing,
11545 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11546 bibtex-search-forward-field, bibtex-search-backward-field,
11547 bibtex-start-of-field, bibtex-end-of-field,
11548 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11549 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11550 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11551 bibtex-parse-string, bibtex-search-forward-string,
11552 bibtex-search-backward-string, bibtex-start-of-string,
11553 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11554 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11555 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11556 entries. Instead of reporting the results of the parsing by
11557 match-beginning or match-end, these functions return data structures
11558 that hold the corresponding positions.
11559 (bibtex-enclosing-field): Changed to also report field boundaries by
11560 return values rather than by match-beginning or match-end. The
11561 following functions have been adapted to use the new parsing
11563 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11564 bibtex-enclosing-field, bibtex-format-entry,
11565 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11566 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11567 bibtex-print-help-message, bibtex-end-of-entry,
11568 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11569 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11570 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11571 method for parsing.
11572 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11573 bibtex-map-entries, bibtex-flash-head,
11574 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11575 bibtex-autokey-change, bibtex-autokey-get-namefield,
11576 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11577 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11578 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11579 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11580 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11581 order to make the new binding of case-fold-search immediately
11584 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11586 * textmodes/bibtex.el: Copyright notice is up to date.
11587 Added constant 'bibtex-maintainer-salutation.
11589 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11590 than make-temp-name, use match-string-no-properties and eliminate
11591 a quadratic behavior when building bibtex-strings.
11593 * bibtex.el (bibtex-reference-key): Accept string entries whose
11594 reference key contains upper case letters.
11596 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11598 * bibtex.el (bibtex-reference-head): Allow entries to start with
11601 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11603 * bibtex.el: Hiding of entry bodies is not longer provided by
11604 bibtex.el directly. Instead the hideshow package can be used.
11605 Added a special bibtex entry to hs-special-modes-alist.
11606 (bibtex-hs-forward-sexp): Added for hideshow.el.
11608 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11610 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11611 at ':' characters by call to split-string.
11613 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11615 * textmodes/bibtex.el: Added RCS version identification.
11617 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11619 * textmodes/bibtex.el: Some temporary comments removed.
11620 (bibtex-field-name, bibtex-entry-type): Made the relationship
11622 (bibtex-field-const): Allow capital letters.
11623 (bibtex-start-of-string): Deleted because unused.
11625 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11626 use the term 'reference' to describe a bibtex entry as a whole.
11627 Further, reference keys are no longer called 'labels'.
11628 (bibtex-keys): Renamed to bibtex-reference-keys.
11629 (bibtex-reformat-previous-labels): Renamed to
11630 bibtex-reformat-previous-reference-keys.
11631 (bibtex-reference-type): Renamed to bibtex-entry-type.
11632 (bibtex-reference-head): Renamed to bibtex-entry-head.
11633 (bibtex-reference-maybe-empty-head): Renamed to
11634 bibtex-entry-maybe-empty-head.
11635 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11636 (bibtex-search-reference): Renamed to bibtex-search-entry.
11637 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11638 bibtex-enclosing-entry-maybe-empty-head.
11639 (bibtex-entry-field-alist, bibtex-entry-head,
11640 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11641 bibtex-map-entries, bibtex-search-entry,
11642 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11643 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11644 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11645 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11646 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11647 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11648 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11650 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11652 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11654 (bibtex-format-field-delimiters): New function, functionality
11655 extracted from bibtex-format-entry.
11656 (bibtex-autokey-get-yearfield-digits): New function, functionality
11657 extracted from bibtex-autokey-get-yearfield.
11659 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11660 entries in order to avoid stack overflow in the regexp matcher if
11661 field contents become large.
11662 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11663 bibtex-field-string-part-not-braced,
11664 bibtex-field-string-part-no-inner-braces,
11665 bibtex-field-string-part-1-inner-brace,
11666 bibtex-field-string-part-2-inner-braces,
11667 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11668 bibtex-field-string-quoted, bibtex-field-string,
11669 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11670 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11671 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11672 as parsing is now performed by the following functions.
11673 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11674 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11675 bibtex-parse-field-string, bibtex-search-forward-field-string,
11676 bibtex-parse-association, bibtex-field-name-for-parsing,
11677 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11678 bibtex-search-forward-field, bibtex-search-backward-field,
11679 bibtex-start-of-field, bibtex-end-of-field,
11680 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11681 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11682 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11683 bibtex-parse-string, bibtex-search-forward-string,
11684 bibtex-search-backward-string, bibtex-start-of-string,
11685 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11686 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11687 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11688 entries. Instead of reporting the results of the parsing by
11689 match-beginning or match-end, these functions return data structures
11690 that hold the corresponding positions.
11691 (bibtex-enclosing-field): Changed to also report field boundaries by
11692 return values rather than by match-beginning or match-end. The
11693 following functions have been adapted to use the new parsing
11695 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11696 bibtex-enclosing-field, bibtex-format-entry,
11697 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11698 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11699 bibtex-print-help-message, bibtex-end-of-entry,
11700 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11701 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11702 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11703 method for parsing.
11704 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11705 bibtex-map-entries, bibtex-flash-head,
11706 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11707 bibtex-autokey-change, bibtex-autokey-get-namefield,
11708 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11709 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11710 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11711 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11712 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11713 order to make the new binding of case-fold-search immediately
11716 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11718 * textmodes/bibtex.el: Copyright notice is up to date.
11719 Added constant 'bibtex-maintainer-salutation.
11721 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11722 than make-temp-name, use match-string-no-properties and eliminate
11723 a quadratic behavior when building bibtex-strings.
11725 * bibtex.el (bibtex-reference-key): Accept string entries whose
11726 reference key contains upper case letters.
11728 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11730 * bibtex.el (bibtex-reference-head): Allow entries to start with
11733 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11735 * bibtex.el: Hiding of entry bodies is not longer provided by
11736 bibtex.el directly. Instead the hideshow package can be used.
11737 Added a special bibtex entry to hs-special-modes-alist.
11738 (bibtex-hs-forward-sexp): Added for hideshow.el.
11740 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11742 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11743 proceedings entry type (for cross referencing). Thanks to Wagner
11744 Toledo Correa for the suggestion.
11746 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11748 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11750 * international/characters.el: Setup case table for Vietnamese.
11752 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11754 * uniquify.el (toplevel): Require CL at compile time.
11755 (uniquify-push): Removed.
11757 * shadowfile.el (shadow-when): Removed.
11759 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11760 (tempo-process-and-insert-string): Use dolist instead of
11763 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11764 regexp for paragraph-start.
11766 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11769 2000-02-10 Dave Love <fx@gnu.org>
11771 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11772 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11774 (widget-specify-field, widget-specify-button): Don't use
11775 widget-mouse-help as help-echo property.
11776 (default): Use #'ignore for :validate and :mouse-down-action.
11777 (checkbox): Add help-echo.
11778 (widget-sexp-validate): Rewritten to clarify error messages.
11779 (character): Use char-valid-p in :match function.
11780 (widget-color-complete): Use facemenu-color-alist.
11781 (widget-color-action): Use facemenu-read-color.
11783 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
11784 set up `caar' &c that we now have.
11786 2000-02-09 Ray Blaak <blaak@gnu.org>
11788 * delphi.el: Make resourcestring a declaration region, like const
11791 2000-02-09 Dave Love <fx@gnu.org>
11793 * bindings.el (mode-line-input-method-map): New variable.
11794 (mode-line-mule-info): Use it; fix last change.
11795 (mode-line-mode-menu): Move definition.
11796 (mode-line-mouse-sensitive-p): Deleted.
11797 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11798 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
11801 * startup.el (command-line-1): Don't call
11802 make-mode-line-mouse-sensitive.
11804 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11806 * mail/rmail.el (rmail-retry-failure): Use
11807 rmail-beginning-of-message before rmail-toggle-header, because the
11808 former toggles headers.
11810 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
11812 * diff-mode.el (diff-kill-junk): New interactive function.
11813 (diff-reverse-direction): Use delete-and-extract-region.
11814 (diff-post-command-hook): Restrict the area so that the hook also works
11815 outside of any diff hunk. This is necessary for the minor-mode.
11816 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11817 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11819 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11820 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11821 so that it can be used more easily in <foo>-mode-hook. Also make sure
11822 to avoid duplicate entries.
11823 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11824 (font-lock-remove-keywords): Just as was done for `add', allow it to
11825 work even if font-lock-mode is nil. Also make sure we don't modify
11826 any pre-existing list by forcing a copy-sequence. Finally rename
11827 `major-mode' to `mode'.
11828 (font-lock-fontify-syntactic-anchored-keywords)
11829 (font-lock-fontify-anchored-keywords)
11830 (font-lock-fontify-keywords-region): Use line-end-position.
11831 Don't make `font-lock-multiline' local (it's now done in
11832 font-lock-set-defaults).
11833 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
11834 move the `font-lock-fontified' creation to inside the `unless'.
11836 2000-02-06 Andrew Innes <andrewi@gnu.org>
11838 * term/w32-win.el (x-handle-args): Comment out call to message,
11839 which occurs before window system is initialized.
11841 * makefile.nt: Add support for recompiling lisp code.
11843 2000-02-04 Dave Love <fx@gnu.org>
11845 * bindings.el (mode-line-mule-info): Fix/extend last change.
11847 * completion.el: Replace completion-dolist with dolist.
11849 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11852 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
11854 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11855 environment names before they go into the section regexp.
11857 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11858 char class in regexp.
11860 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11861 `case-fold-search' to nil.
11863 * progmodes/idlwave.el (idlwave-template): Respect
11864 `idlwave-abbrev-change-case'.
11865 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11866 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11867 idlwave-while): respect `idlwave-reserved-word-upcase'.
11868 (idlwave-rw-case): New function.
11869 (idlwave-statement-match): Fixed problem with assignment regexp.
11870 (idlwave-font-lock-keywords): Improved regexp for keyword
11872 (idlwave-surround): New argument LENGTH to support padding of
11873 operators longer than 1 char.
11875 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11876 idlwave-shell-expression-overlay. Implemented printing of
11877 expressions on higher levels of the calling stack.
11878 (idlwave-shell-display-level-in-calling-stack): Restore stack
11880 (idlwave-retrieve-expression-from-level): New function.
11881 (idlwave-shell-last-calling-stack): Variable removed.
11882 (idlwave-shell-reset): Argument action reversed (`visible' to
11883 `hidden'). Also remove stop-line overlay.
11884 (idlwave-shell-calling-stack-routine): New variable.
11885 (idlwave-shell-parse-stack-and-display): Messages now display
11886 negative level numbers.
11887 (idlwave-shell-mode): Set `modeline-format'.
11888 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11889 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11891 (idlwave-shell-print-expression-function): New option.
11893 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11894 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11895 `tool-bar' instead of `toolbar'.
11897 2000-02-02 Dave Love <fx@gnu.org>
11899 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11900 emacs-lisp-mode-hook. Don't check for defalias being defined.
11902 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11903 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
11904 the new builtins directly.
11906 * whitespace.el (whitespace): Add :version to defgroup.
11908 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11911 * thingatpt.el (sexp-at-point, symbol-at-point)
11912 (number-at-point, list-at-point): Add autoload cookie.
11914 * recentf.el (recentf): Add :version to defgroup.
11916 * quickurl.el (quickurl): Add :version to defgroup.
11918 * elide-head.el (elide-head): Use point-marker more.
11920 * bs.el (bs): Add :version to defgroup.
11922 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11924 * progmodes/delphi.el (delphi): Add :version to defgroup.
11926 2000-02-02 Gerd Moellmann <gerd@gnu.org>
11928 * ange-ftp.el (ange-ftp-write-region): Handle case that
11929 succeeding process operation sets a different coding system.
11931 * calculator.el: New file.
11933 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
11935 * frame.el (frames-on-display-list, framep-on-display): New
11937 (display-mouse-p, display-popup-menus-p, display-graphic-p)
11938 (display-selections-p, display-screens, display-pixel-width)
11939 (display-pixel-height, display-mm-width, display-mm-height)
11940 (display-backing-store, display-save-under, display-planes)
11941 (display-color-cells, display-visual-class): New functions.
11943 * term/tty-colors.el (tty-color-gray-shades): New function.
11945 * faces.el (display-color-p): Use framep-on-display.
11946 (display-grayscale-p): New function.
11948 2000-01-31 Dave Love <fx@gnu.org>
11950 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11951 (create-fontset-from-x-resource): Don't concat integers.
11953 2000-01-31 Inge Frick <inge@nada.kth.se>
11955 * view.el: Some changes in documentation. Removed some trailing
11956 whitespace. Changed some parameter names to agree with
11958 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11959 window is not deleted. Modifies change 1998-04-26.
11961 2000-01-31 Gerd Moellmann <gerd@gnu.org>
11963 * windmove.el: New file.
11965 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11966 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11967 progmodes/ebnf-yac.el: Update copyright and license info.
11969 * jit-lock.el (jit-lock-function): Widen before calculating end
11971 (jit-lock-stealth-chunk-start): Rewritten.
11973 * info.el (Info-title-face-alist): Removed.
11974 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11976 (Info-fontify-node): Use these faces.
11978 2000-01-30 Gerd Moellmann <gerd@gnu.org>
11980 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11981 (cl-macro-list1): Recognize `&allow-other-keys' instead of
11982 `&allow-other-keywords'.
11984 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11985 the list of directories scanned heuristically.
11987 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11990 2000-01-30 Jason Rumney <jasonr@gnu.org>
11992 * w32-fns.el: Define w32-tty-standard-colors.
11994 * startup.el (command-line): Use w32-tty-standard-colors when in
11997 2000-01-30 Dave Love <fx@gnu.org>
11999 * jka-compr.el (jka-compr-load): Fix up load-history.
12001 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
12003 * emacs-lisp/cl-macs.el: Revert previous change.
12005 2000-01-29 Dave Love <fx@gnu.org>
12007 * facemenu.el: Purecopy various strings.
12009 * timezone.el (timezone-fix-time): Window against 69 for two-digit
12010 years. Deal with three-digit years.
12012 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
12013 defconst, purecopy.
12014 (help-back-label): Purecopy it.
12016 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12018 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
12019 variable. If non-nil, order the buffer list according to the
12020 currently selected frame.
12021 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
12022 non-nil, pass the selected frame to function buffer-list.
12024 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12026 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
12028 2000-01-28 Dave Love <fx@gnu.org>
12030 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
12032 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
12033 Don't use lisp-indent-hook property.
12036 * subr.el: Move out indent and edebug specs for when and unless.
12038 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
12041 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
12044 2000-01-28 Gerd Moellmann <gerd@gnu.org>
12046 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
12047 `collecting' as synonym for `collect'.
12049 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
12050 for the case it contains spaces.
12052 * simple.el (what-cursor-position): Change formatting of
12055 * frame.el (delete-other-frames): New function.
12056 (toplevel): Bind it to C-x 5 1.
12058 * sort.el (sort-numeric-base): New option.
12059 (sort-numeric-fields): If number starts with `0' or `0[xX[',
12060 interpret it as octal or hexadecimal. Use sort-numeric-base
12063 * progmodes/glasses.el: New file.
12065 2000-01-27 Gerd Moellmann <gerd@gnu.org>
12067 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
12068 userids differently.
12070 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12071 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12072 progmodes/ebnf-yac.el: New files.
12074 2000-01-26 Dave Love <fx@gnu.org>
12076 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
12077 on a function with an empty body. [From Eric Ludlam.]
12079 2000-01-25 Andre Spiegel <spiegel@gnu.org>
12081 * vc.el (vc-version-diff): Make sure file name is expanded.
12083 2000-01-25 Gerd Moellmann <gerd@gnu.org>
12085 * scroll-bar.el (scroll-bar-timer): Variable removed.
12086 (scroll-bar-toolkit-scroll): Don't use a timer.
12088 2000-01-25 Kenichi Handa <handa@etl.go.jp>
12090 * language/thai-util.el (thai-composition-function): Delete
12093 2000-01-24 Dave Love <fx@gnu.org>
12095 * fortran.el (fortran-mode): Use beginning-of-defun-function,
12096 end-of-defun-function.
12098 * font-lock.el (turn-on-font-lock): Don't depend on window-system
12101 2000-01-22 Jason Rumney <jasonr@gnu.org>
12103 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
12104 conflicts with new face support.
12106 2000-01-22 Richard M. Stallman <rms@gnu.org>
12108 * replace.el (query-replace): Rename last arg to DELIMITED.
12109 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
12110 (query-replace-regexp): Likewise.
12112 2000-01-20 Richard M. Stallman <rms@gnu.org>
12114 * subr.el (with-syntax-table): Use make-symbol, not gensym.
12116 * emacs-lisp/lisp.el (beginning-of-defun-function):
12117 Variable renamed from beginning-of-defun.
12118 Do not call make-variable-buffer-local.
12119 (beginning-of-defun-raw): Use new variable name; doc fix.
12120 (beginning-of-defun): Doc fix.
12121 (end-of-defun-function): Variable renamed from end-of-defun.
12122 Do not call make-variable-buffer-local.
12123 (end-of-defun): Use new variable name; doc fix.
12125 * subr.el (dolist, dotimes): Copied from cl-macs.el
12128 * mail/undigest.el (rmail-digest-end-regexps):
12129 Variable replaces rmail-digest-end-regexp.
12130 Allows multiple regexps for detecting the end line.
12131 (undigestify-rmail-message): Corresponding changes.
12133 2000-01-19 Dave Love <fx@gnu.org>
12135 * files.el (user-init-file): Don't declare here -- is primitive.
12137 * startup.el (command-line): Check for compiled user-init-file and
12138 set to uncompiled version if necessary.
12140 2000-01-18 Gerd Moellmann <gerd@gnu.org>
12142 * mail/undigest.el (rmail-digest-end-regexp): New user option.
12143 (undigestify-rmail-message): Use it.
12145 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
12147 2000-01-17 Gerd Moellmann <gerd@gnu.org>
12149 * tmm.el (tmm-goto-completions): Adapt to prompt being part
12152 2000-01-14 Gerd Moellmann <gerd@gnu.org>
12154 * emacs-lisp/copyright.el (copyright-update): Removed the
12155 requirement for a trailing space from `copyright-regexp', to
12156 support copyrights with owner specified on a separate line..
12158 * align.el: New file.
12160 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
12162 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
12164 2000-01-13 Dave Love <fx@gnu.org>
12166 * ph.el: Removed. (Obsoleted by EUDC.)
12168 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12170 * net/eudc.el (toplevel): Remove autoloaded code installing
12171 menu with easymenu, because that causes build problems.
12173 * frame.el (frame-notice-user-settings): New variable.
12174 (frame-notice-user-settings): Don't modify frame parameters
12175 if called a second time.
12177 2000-01-13 Richard M. Stallman <rms@gnu.org>
12179 * frame.el (frame-notice-user-settings):
12180 Notice default-frame-parameters even for non-window frames.
12182 2000-01-13 Gerd Moellmann <gerd@gnu.org>
12184 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
12186 (eudc-bob-can-display-inline-images): Extend for Emacs.
12187 (eudc-bob-toggle-inline-display): Ditto.
12188 (eudc-bob-display-jpeg): Ditto.
12190 2000-01-12 Gerd Moellmann <gerd@gnu.org>
12192 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
12193 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
12194 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
12196 * add-log.el (add-change-log-entry): Fix error trying an `(insert
12199 * subdirs.el: Add `net' directory.
12201 * net: New directory.
12203 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
12204 eval-last-sexp. Don't bind debug-on-error here.
12205 (eval-last-sexp): New function. Bind debug-on-error if
12206 eval-expression-debug-on-error is non-nil.
12207 (eval-defun-2, eval-defun): Likewise.
12209 * simple.el (eval-expression): Don't bind debug-on-error if
12210 eval-expression-debug-on-error is nil. Detect changed
12211 debug-on-error, and propagate new value to global binding, if
12212 eval-expression-debug-on-error is non-nil,
12213 (eval-expression-debug-on-error): Change doc string.
12215 2000-01-11 Richard M. Stallman <rms@gnu.org>
12217 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
12219 * emacs-lisp/lisp-mode.el (with-syntax-table):
12220 Set up lisp-indent-function property.
12222 * subr.el (with-syntax-table): Moved from simple.el.
12224 * simple.el (with-syntax-table): Moved to subr.el.
12226 2000-01-11 Gerd Moellmann <gerd@gnu.org>
12228 * tmm.el (tmm-shortcut): Delete region after prompt instead
12231 * textmodes/fill.el (fill-common-string-prefix): New function.
12232 (fill-context-prefix): Use the longest common prefix of first
12233 and second line fill prefix, if there is one.
12235 2000-01-11 Richard M. Stallman <rms@gnu.org>
12237 * array.el (array-mode): Don't use make-variable-buffer-local.
12238 Use make-local-variable for `truncate-lines'.
12240 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
12242 * add-log.el (add-log-current-defun): Handle user-defined
12243 add-log-current-function returning nil,
12245 * add-log.el (add-change-log-entry): Insert version number
12246 if having found a current function
12248 * add-log.el (add-log-current-defun): Call
12249 `add-log-current-defun-function'. Try matches at level 0 and
12250 level 1. Strip whitespace from defun found.
12252 2000-01-10 John Wiegley <johnw@gnu.org>
12254 * allout.el (isearch-done/outline-provisions): Added `edit'
12255 argument to correspond with the current definition of
12258 2000-01-10 Dave Love <fx@gnu.org>
12260 * elide-head.el (elide-head): Use point-marker, not point.
12262 2000-01-10 Gerd Moellmann <gerd@gnu.org>
12264 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
12265 before and after the year 2000.
12267 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
12268 Add ispell- prefix.
12270 2000-01-10 Ken Stevens <k.stevens@ieee.org>
12272 * ispell.el: Only define dictionaries in menus when they exist.
12273 (version18p): New variable.
12274 (version20p): New variable.
12275 (xemacsp): New variable.
12276 (ispell-choices-win-default-height): Fix for XEmacs visibility.
12277 (ispell-dictionary-alist1): Added Brasileiro dictionary.
12278 (ispell-dictionary-alist6): Russian command lines no longer accept
12279 run-together words.
12280 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
12281 (ispell-dictionary-alist): Add koi8-r to customize definition.
12282 (check-ispell-version): Added documentation string. Returns
12283 library path when called non-interactively.
12284 (ispell-menu-map-needed): Uses new variables.
12285 (ispell-library-path): New variable.
12286 (ispell-decode-string): XEmacs fix for bogus variable bindings.
12287 (ispell-word): Improved documentation string. Test for valid
12288 character mappings. Correctly check typed in word changes that can
12289 result in single words split into multiple words. Returns
12291 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
12292 replace in recursive query replace mode. Help message for
12293 recursive edit mode.
12294 (ispell-show-choices): Protect against bad framepop bindings.
12295 (ispell-help): Fix to work with XEmacs.
12296 (ispell-highlight-spelling-error): Use new variables.
12297 (ispell-overlay-window): Fix to work with XEmacs.
12298 (ispell-parse-output): Passed and returns location information
12299 tracking spelling corrections. Doesn't recheck same word on
12301 (ispell-init-process): Protect against bogus XEmacs variable binding.
12302 Fix call to single argument in sleep-for. Use new variables.
12303 (ispell-region): Passed and returns location information tracking
12304 spelling corrections. Doesn't check same word on current line.
12305 Improved documentation string. Doesn't resend a line already
12306 checked to the ispell process - fixes bug in LaTeX parsing.
12307 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
12308 (ispell-skip-region): No longer skips <TT> in SGML.
12309 (ispell-process-line): Tracks location information with spelling
12310 corrections. Added documentation string. Accounts for words
12311 already accepted on this line. Don't allow query-replace on line
12312 starting with math characters. Doesn't resend a line already sent
12313 to ispell process. Fixes alignment error bug.
12315 2000-01-10 Richard M. Stallman <rms@gnu.org>
12317 * dired-x.el (dired-guess-shell-alist-default):
12318 Suggest xloadimage, which is free, not xv, which isn't.
12320 * ange-ftp.el (ange-ftp-file-name-nondirectory):
12321 Don't ever include the host name or user name in the value.
12323 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12325 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12328 2000-01-09 Stephen Eglen <stephen@gnu.org>
12330 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12333 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
12335 * cus-edit.el (custom-hook-convert-widget): Fix comment.
12337 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12339 * progmodes/cperl-mode.el: Replace ^F with ^L.
12341 * sendmail.el (toplevel): Provide `sendmail' when compiling
12342 before `require'ing rmail and mailalias to prevent infinite
12345 2000-01-08 Dave Love <fx@gnu.org>
12347 * emacs-lisp/backquote.el: Remove inappropriate customization
12348 (allowing custom.el to use backquote).
12350 2000-01-07 Dave Love <fx@gnu.org>
12352 * add-log.el (add-log-debugging): Deleted.
12353 (add-change-log-entry): Treat a backup FILE-NAME as its parent
12354 file. Remove debugging code.
12355 (change-log-get-method-definition, change-log-name): Add doc.
12356 (change-log-sortable-date-at): New function.
12357 (change-log-merge): New command.
12359 * time.el (display-time-string-forms): Make the Mail string active.
12360 (display-time-update): Provide help-echo for load average.
12362 * bindings.el (make-mode-line-mouse2-map): New function.
12363 (mode-line-modified): Use it and simplify.
12364 (mode-line-mule-info): Provide help-echo info.
12365 (minor-mode-alist): Activate the strings.
12366 (make-mode-line-mouse-sensitive): Simplify for
12367 mode-line-buffer-identification.
12369 2000-01-07 Gerd Moellmann <gerd@gnu.org>
12371 * play/pong.el: New file.
12373 2000-01-06 Dave Love <fx@gnu.org>
12375 * array.el: Assorted cleanups for compiler warnings, doc strings,
12376 `array-' prefix for symbols.
12378 2000-01-05 Dave Love <fx@gnu.org>
12380 * textmodes/outline.el (outline-mode-menu-bar-map): Add
12381 outline-headers-as-kill.
12382 (outline-mode): Define imenu-generic-expression.
12383 (outline-headers-as-kill): New command.
12385 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12386 from paragraph-start.
12387 (paragraph-indent-minor-mode): New command.
12389 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12390 M-C-e, M-C-h, C-j, C-xnd, TAB.
12391 (fortran-mode): Set beginning-of-defun, end-of-defun.
12392 (fortran-column-ruler): Simplify.
12393 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12394 (fortran-with-subprogram-narrowing): Likewise.
12395 (fortran-indent-subprogram): Call mark-defun.
12396 (fortran-check-for-matching-do): Change narrowing.
12398 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12399 (cl-lucid-hash-tag): Delete.
12400 (cl-hash-table-p): Correct test for native table.
12401 (cl-hash-table-count): Use hash-table-count.
12403 * browse-url.el (browse-url): Fix case of
12404 browse-url-browser-function being an alist.
12406 2000-01-05 Carsten Dominik <cd@gnu.org>
12408 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12409 (reftex-index-phrase-file-extension): New options.
12411 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12412 Use new option `reftex-index-phrase-file-extension'.
12414 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12415 `reftex-parse-file-extension'.
12417 2000-01-05 Dave Love <fx@gnu.org>
12419 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12420 (beginning-of-defun-raw): Use it.
12421 (end-of-defun): New variable.
12422 (end-of-defun): Use it.
12423 (check-parens): New command.
12425 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12427 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12428 (hs-show-block): Don't use `mapcar' when not accumulating.
12430 Fix buglet in local variables initialization.
12432 2000-01-05 Andreas Schwab <schwab@suse.de>
12434 * hscroll.el (hscroll): Doc fix.
12436 2000-01-05 Carsten Dominik <cd@gnu.org>
12438 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12441 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12442 file idlw-rinfo.el.
12443 (idlwave-customize): load must read file idlw-shell.el.
12444 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12446 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12448 * progmodes/idlw-shell.el: Also provide idlwave-shell
12449 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12450 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12452 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12453 both reftex-dcr and reftex-vcr.
12455 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12457 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12459 * ps-print.el: PostScript code now is in separate files, doc fix.
12460 (ps-print-version): New version number (5.0.3).
12461 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12463 (ps-spool-config): Initialization fix.
12464 (ps-print-prologue-1, ps-print-prologue-2)
12465 (ps-print-duplex-feature): PostScript code moved to separated file.
12466 (ps-background-image): Little code reformating.
12467 (ps-begin-file, ps-begin-job): Fix code.
12468 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12469 (ps-prologue-file): New fun.
12471 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12473 * ps-vars.el: Eliminated.
12475 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12478 * ps-print.el: ps-vars eliminated, doc fix.
12479 (ps-print-version): New version number (5.0.2).
12480 (ps-spool-config): Initialization fix.
12481 (ps-print-customize): New fun.
12483 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12485 * autorevert.el (auto-revert-mode): Return value of
12488 2000-01-04 Dave Love <fx@gnu.org>
12490 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12493 2000-01-03 Dave Love <fx@gnu.org>
12495 * elide-head.el (elide-head) [defgroup]: Add :version.
12497 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12498 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12499 `cl-hash-table-p', not `hash-table-p'.
12500 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12502 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12504 * faces.el (face-read-integer, read-face-attribute)
12505 (color-defined-p, color-values): unspecified-{f,b}g are now
12508 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12510 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12511 at comment end, and re-insert them after filling.
12513 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12515 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12516 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12517 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12519 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12521 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12522 the new name of face-color-supported-p.
12524 * term/w32-win.el (xw-defined-colors): Likewise.
12526 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12528 * simple.el (completion-setup-function): Count completion-size
12529 from minibuffer-prompt-end, not from point-min.
12531 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12533 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12534 Pass the frame to tty-color-* functions.
12535 (display-color-p, frame-set-background-mode): Pass the frame to
12536 tty-display-color-p.
12538 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12540 (tty-color-alist, tty-modify-color-alist): New functions.
12541 (tty-color-define, tty-color-clear, tty-color-approximate)
12542 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12543 an optional parameter FRAME.
12545 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12547 * image.el (create-image, defimage): Don't assume image data is a
12550 * image.el (defimage): Handle specifications containing :data
12552 (image-type-from-data): New function.
12553 (image-type-from-file-header): Use it.
12554 (create-image): Add parameter DATA-P.
12556 See ChangeLog.8 for earlier changes.
12558 ;; Local Variables:
12559 ;; coding: iso-2022-7bit