1 2000-09-30 Gerd Moellmann <gerd@gnu.org>
3 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
5 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
6 (authors-obsolete-files-regexps): New variable.
7 (authors-add): Don't record changes in obsolete files.
9 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
11 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
13 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
14 (comment-indent): Make sure there's a space between code and comment.
15 Shift comments left to avoid going past fill-column.
17 2000-09-29 Gerd Moellmann <gerd@gnu.org>
19 * startup.el (startup-echo-area-message): New function.
20 (display-startup-echo-area-message): Use it.
21 (fancy-splash-screens): Rewritten to use keymaps and a timer.
22 (fancy-splash-default-action): New function.
23 (fancy-splash-screens-1): New function.
24 (fancy-splash-head): Put a help-echo and a keymap under the image.
26 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
28 * diff-mode.el (diff-add-log-file-name): Remove.
29 (diff-mode): Use add-log-buffer-file-name-function.
31 * add-log.el (find-change-log): New arg BUFFER-FILE.
32 (add-log-file-name): Obey add-log-file-name-function.
33 (add-log-buffer-file-name-function): New var.
34 (add-change-log-entry): Use it.
36 2000-09-29 Miles Bader <miles@gnu.org>
38 * image-file.el (image-file-name-extensions): New variable.
39 (image-file-name-regexps): Renamed from `image-file-regexps'.
40 New default value is nil. Call `auto-image-file-mode'.
41 (image-file-name-regexp): New function.
42 (auto-image-file-mode): New minor mode.
43 (insert-image-file): Don't make conditional on the image-file
44 handler being enabled.
45 (image-file-handler): Make the call here conditional instead.
46 (set-image-file-handler-enabled, enable-image-file-handler)
47 (disable-image-file-handler): Functions removed.
49 * emacs-lisp/authors.el (authors-print): Rephrase many-files
52 2000-09-29 Gerd Moellmann <gerd@gnu.org>
54 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
55 it's a function from CL.
56 (latex-imenu-create-index): Replace eval-when-compile with progn
57 because latex-section-alist is not bound while compiling.
59 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
61 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
62 (outline-mode): Use define-derived-mode.
64 * progmodes/perl-mode.el (perl-mode):
65 * progmodes/awk-mode.el (awk-mode):
66 * progmodes/asm-mode.el (asm-mode):
67 Don't gratuitously override the default for comment-column.
69 * emacs-lisp/lisp.el (lisp-complete-symbol):
70 Distinguish the let-binding case from the funcall case.
71 (forward-sexp-function): New variable.
72 (forward-sexp): Use it.
74 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
75 (easy-mmode-defmap): Remove the now useless autoload.
77 * time.el (display-time-mode): Use define-minor-mode.
79 * subr.el (add-minor-mode): Don't eval NAME.
80 Don't depend on the presence of TOGGLE-FUN for any special behavior.
81 Use if rather than cond.
83 * simple.el (read-expression-map): Define more properly.
84 (comment-indent-hook): Remove.
85 (string-to-syntax): Bug fix.
87 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
88 (cvs-ediff-diff): Fix typo.
89 (cvs-revert-if-needed): Don't bother preserving read-only.
91 * paren.el (show-paren-mode): Use define-minor-mode.
93 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
94 (toggle-auto-compression): Remove.
95 (jka-compr-build-file-regexp): Remove useless grouping.
97 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
98 Avoid user-reserved bindings.
99 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
100 (diff-header-face): Revert to grey85.
102 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
104 * complete.el (partial-completion-mode) <defcustom>: Remove.
105 (partial-completion-mode): Use define-minor-mode.
106 (PC-do-completion): Understand `completion-auto-help = delay'
107 to mean to popup the completion buffer only the second time.
108 (PC-include-file-all-completions, PC-include-file-all-completions)
109 (PC-include-file-all-completions): Don't quote lambda.
111 * comint.el (comint-mode-hook): Docstring fix.
112 (comint-mode): Use define-derived-mode.
113 (comint-mode-map): Remove obsolete comment.
114 (make-comint): Minor stylistic change.
115 (comint-insert-clicked-input): Be more careful to find the overlay.
116 Use this-command-keys rather than hardcoding mouse-2.
118 * font-lock.el: Replace confusing (,@ with ,
119 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
120 Don't use regexp-opt-depth. Spice up the regexp for args.
121 Don't distinguish between cmds that can take an opt arg or not.
122 Use `append' and `prepend' rather than `keep'.
124 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
125 (latex-outline-regexp): New var.
126 (latex-outline-level): New fun.
127 (latex-section-alist): New var.
128 (latex-imenu-create-index): Use it. Use `push' as well.
129 (tex-shell-map): Initialize it properly.
130 (tex-mode): Minor stylistic change.
131 (plain-tex-mode): Use define-derived-mode.
132 (latex-mode): Use define-derived-mode.
133 Construct the paragraph regexps in a more readable way.
134 Set the buffer-local outline-{level,regexp} vars.
135 (slitex-mode): Derive from latex-mode.
136 (tex-common-initialization): Don't kill-all-vars anymore.
137 Add setting for comment-add and font-lock-defaults.
138 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
139 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
140 (tex-start-tex): New arg DIR (and send a chdir command for it).
141 Also display the shell buffer and save it in tex-last-buffer-texed.
142 (tex-region): Use expand-file-name rather than concat.
143 Remove code made useless by changes in tex-start-tex.
144 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
146 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
148 2000-09-28 Dave Love <fx@gnu.org>
150 * eshell/eshell.el (eshell) <defgroup>: Add :version.
152 2000-09-28 Gerd Moellmann <gerd@gnu.org>
154 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
157 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
159 * info.el (Info-extract-pointer): Undo last change.
160 Instead, fix the position of the `bound' arg to re-search-backward.
162 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
164 * info.el (Info-extract-pointer):
165 Widen more carefully, to avoid finding pointers in other nodes.
166 (Info-index): Use push.
168 2000-09-27 Gerd Moellmann <gerd@gnu.org>
170 * frame.el (set-frame-font): Remove call to obsolete function
172 (set-foreground-color, set-background-color): Likewise for
173 frame-update-face-colors.
175 2000-09-27 Miles Bader <miles@gnu.org>
177 * image-file.el: New file.
179 2000-09-27 Gerd Moellmann <gerd@gnu.org>
181 * frame.el (frame-notice-user-settings): Don't call
182 frame-update-faces, which is a no-op now.
184 * ediff-wind.el (ediff-control-frame-parameters): Add zero
187 2000-09-27 Dave Love <fx@gnu.org>
189 * mouse.el: Fix last change.
191 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
193 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
195 2000-09-22 Kenichi Handa <handa@etl.go.jp>
197 * international/quail.el (quail-help): The output message is
200 2000-09-26 Dave Love <fx@gnu.org>
202 * mouse.el (popup-menu): If POSITION is nil, set it using
205 2000-09-25 Sam Steingold <sds@gnu.org>
207 * net/browse-url.el (browse-url-file-url): Check for null maps.
209 2000-09-26 Gerd Moellmann <gerd@gnu.org>
211 * frame.el (frame-notice-user-settings): Don't add a
212 tool-bar-lines frame parameter to default-frame-alist in batch mode.
214 * frame.el (frame-notice-user-settings):
215 Make tool-bar-mode and default-frame-alist consistent.
217 * toolbar/tool-bar.el (tool-bar-help): New function.
219 2000-09-25 Gerd Moellmann <gerd@gnu.org>
221 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
222 current-load-list in top-level forms. Else this leaks a cons cell
223 every time a defun is called.
225 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
227 2000-09-25 Dave Love <fx@gnu.org>
229 * startup.el (fancy-splash-head): Check XPM is available.
231 * autoinsert.el (auto-insert): Doc fix.
232 (auto-insert-alist): Following GNU notices, don't say `copyright
233 _by_'. Use line-beginning-position.
234 (auto-insert): Check buffer-file-name is non-nil before use.
236 2000-09-25 Gerd Moellmann <gerd@gnu.org>
238 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
239 starting with `@def' or `@multitable', in addition to ones
240 specified by the user in auto-fill-inhibit-regexp.
242 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
244 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
245 rmail-dont-reply-to-names matches the empty string.
247 2000-09-25 Gerd Moellmann <gerd@gnu.org>
249 * startup.el (command-line-1, fancy-splash-text): Change the
250 text to sound more friendly.
252 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
254 * progmodes/hideshow.el: Update author email address.
255 Generally, sync w/ maintainer version 5.22.
256 (hs-hide-all-non-comment-function): New var.
257 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
258 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
259 (hs-show-region): Delete this command.
260 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
262 2000-09-22 Dave Love <fx@gnu.org>
264 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
265 (hl-line-highlight): Specify buffer when moving overlay.
267 * progmodes/fortran.el (fortran-mode): Locally set
268 normal-auto-fill-function.
269 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
270 (fortran-mode-map): Adjust auto-fill menu entry.
272 2000-09-22 Gerd Moellmann <gerd@gnu.org>
274 * vc-rcs.el (toplevel): Require `vc' when compiling.
276 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
278 2000-09-22 Andre Spiegel <spiegel@gnu.org>
280 * vc.el (vc-switch-backend): Signal an error if the file is not
281 registered under the new backend.
283 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
284 without explicit revision number.
286 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
288 * diff-mode.el (diff-file-header-face): Reset to its previous value.
289 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
290 (diff-xor): New function.
291 (diff-find-source-location): Use it. Fix a stupid name clash.
292 (diff-hunk-status-msg): New function.
293 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
294 (diff-test-hunk): Use diff-find-source-location.
295 (diff-goto-source): Favor the `reverse'.
296 (diff-hunk-text): Properly handle one-sided context diffs.
297 (diff-apply-hunk): When done, advance to the next hunk.
299 2000-09-21 Gerd Moellmann <gerd@gnu.org>
301 * startup.el (command-line): If frame was created with a non-zero
302 tool-bar-lines parameter, switch tool-bar-mode on.
304 * add-log.el (change-log-date-face, change-log-name-face)
305 (change-log-email-face, change-log-file-face)
306 (change-log-list-face, change-log-conditionals-face)
307 (change-log-function-face, change-log-acknowledgement-face):
308 New faces, inheriting from font-lock faces.
309 (change-log-font-lock-keywords): Use them.
311 2000-09-21 Dave Love <fx@gnu.org>
313 * progmodes/cperl-mode.el (top-level): Clean up
314 `eval-when-compile's and assorted defvars.
315 (cperl-invalid-face): Don't double-quote value. Change custom
317 (cperl-mode): Set normal-auto-fill-function and don't zap
319 (cperl-imenu--function-name-regexp-perl): Renamed from
320 imenu-example--function-name-regexp-perl.
321 (cperl-imenu--create-perl-index): Renamed from
322 imenu-example--create-perl-index.
323 (cperl-xsub-scan): Don't require cl.
325 * msb.el (msb-mode-map): Use substitute-key-definition.
326 (msb-mode): Use msb-mode-map.
328 2000-09-21 Andre Spiegel <spiegel@gnu.org>
330 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
332 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
333 (vc-switch-backend): New function.
334 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
335 (vc-register): Fix prompt.
336 (vc-unregister, vc-default-unregister): New functions.
337 (vc-version-diff): Handle empty buffer in sentinel.
339 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
340 (vc-rcs-state-heuristic): Use it to guess the state of files with
342 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
343 been set with -b, but not created yet.
344 (vc-rcs-fetch-master-state): With non-strict locking, compare file
345 contents in order to find the state.
346 (vc-rcs-checkin): Allow creation of branches with no changes.
347 (vc-rcs-unregister, vc-rcs-receive-file)
348 (vc-rcs-set-non-strict-locking): New functions.
350 * vc-hooks.el (vc-name): Force correct computation of the value
351 in case it is missing.
353 2000-09-21 Gerd Moellmann <gerd@gnu.org>
355 * startup.el (fancy-splash-tail): Use a different foreground
356 color on a dark frame background.
358 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
360 * info.el: Use the correct capitalization when making Info-mode
361 and Info-edit-mode `special' modes.
363 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
365 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
366 (diff-mode): Add support for add-log.el.
367 (diff-hunk-text): Use char offsets rather than line offsets.
368 (diff-find-source-location): Replace LINE with line-offset (nil
369 if not found) and always set POS to a meaningful position.
370 Adapt to the new char-offsets.
371 (diff-apply-hunk): Drop support for the unused `select' POPUP.
372 Adapt to the new diff-find-source-location.
373 (diff-goto-source): Adapt to the new diff-find-source-location.
375 * add-log.el (add-log-file-name): New function (split out of
376 add-change-log-entry).
377 (add-change-log-entry): Use it.
378 Call add-log-file-name-function with the changelog file name if
379 the current buffer is not associated with any file.
380 Avoid find-file if the selected window is dedicated.
382 * diff-mode.el (diff-find-source-location):
383 Move code from diff-apply-hunk. Return buffer rather than file.
384 (diff-apply-hunk): Use the new result from diff-find-source-location.
385 (diff-goto-source): Use the new diff-find-source-location.
387 2000-09-20 Dave Love <fx@gnu.org>
389 * iswitchb.el: Some doc fixes.
390 (iswitchb-mode-map): Define completely initially. Inherit
391 minibuffer-local-map.
392 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
394 (iswitchb-global-map): New variable.
395 (iswitchb-summaries-to-end): Amalgamate regexps.
396 (iswitchb-mode): New.
397 (iswitchb-mode-hook): New variable.
398 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
401 2000-09-20 Gerd Moellmann <gerd@gnu.org>
403 * ehelp.el (electric-help): New defgroup.
404 (electric-help-shrink-window): New user-option.
405 (with-electric-help): Use it.
407 * window.el (shrink-window-if-larger-than-buffer): If face
408 `mode-line' has a :box, and we're on a graphical frame, add 1
409 to the needed window height.
411 * frame.el (frame-notice-user-settings): Add a last parameter nil
412 to a call to `append', because the last list passed to `append' is
413 not copied, and so subsequent calls to assq-delete-all will modify
416 * startup.el (fancy-splash-image): Change :type.
417 (fancy-splash-head): Use an XBM image if appropriate.
418 (command-line-1): Show splash screens in more cases.
420 * startup.el (fancy-splash-text): Don't quote faces.
422 * dired.el (dired-font-lock-keywords): Undo last change.
423 (dired-readin): Bind indent-tabs-mode to nil.
425 * startup.el (fancy-splash-head): If frame's background mode
426 is `dark', change the black background of the image to gray.
427 (fancy-splash-screens): Display startup echo area message.
428 (display-startup-echo-area-message): New function.
430 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
432 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
434 * info.el (info-header-node): Tweak for color ttys.
436 * faces.el (face-valid-attribute-values): Make sure directories we
437 search for stipples both exist and are readable before trying to
440 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
443 * jka-compr.el (with-auto-compression-mode): New macro.
445 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
446 (custom-group-tag-face, custom-variable-tag-face): Use relative
447 :height and inherit from `variable-pitch' face instead of
449 * hi-lock.el (hi-black-hb): Likewise.
451 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
452 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
453 toolbar-add-item, if image doesn't have a mask add a `:mask
456 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
458 * diff-mode.el: Docstring fixes.
459 (diff-header-face, diff-comment-face): New faces.
460 (diff-font-lock-keywords): Highlight a bit differently.
461 (diff-find-source-location): Don't return SPAN any more.
462 (diff-hunk-text): Don't bother erasing the temp buffer.
463 (diff-find-text): Drop argument LINE.
464 (diff-apply-hunk): Update calls to diff-find-text.
465 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
467 * calendar/calendar.el: Docstring fixes.
468 (calendar-make-alist): Don't quote lambda.
469 (calendar-star-date): Use make-local-variable.
471 2000-09-19 Dave Love <fx@gnu.org>
473 * toolbar/tool-bar.el: Renamed from toolbar.el.
474 Change `toolbar' to `tool-bar' generally in symbols.
475 Make some items invisible in `special' major modes.
476 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
479 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
481 (fancy-splash-delay, fancy-splash-image): Remove :version here.
483 2000-09-19 Gerd Moellmann <gerd@gnu.org>
485 * progmodes/sh-script.el (sh-search-word): Remove call to
488 * files.el (find-file-suppress-same-file-warnings): New
490 (find-file-noselect): Use it.
492 * startup.el (fancy-splash-delay, fancy-splash-image): Add
494 (fancy-splash-screen): Defgroup.
496 * add-log.el (change-log-font-lock-keywords): Match names
497 more exactly for the case that font-lock-constant-face is
500 2000-09-19 Richard M. Stallman <rms@gnu.org>
502 * progmodes/sh-script.el (sh-search-word): Rewritten for
505 2000-09-19 Andre Spiegel <spiegel@gnu.org>
507 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
509 2000-09-19 Gerd Moellmann <gerd@gnu.org>
511 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
512 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
513 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
514 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
515 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
516 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
517 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
518 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
519 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
520 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
521 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
522 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
524 * startup.el (fancy-splash-text): New variable.
525 (fancy-splash-delay, fancy-splash-image): New user-options.
526 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
527 (fancy-splash-screens): New functions.
528 (command-line-1): If display has a `display' frame parameter, has
529 colors, and we have XPM support, show more fancy splash screens.
531 2000-09-19 Dave Love <fx@gnu.org>
533 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
534 with null `help'. Use modern backquote syntax.
536 2000-09-19 Gerd Moellmann <gerd@gnu.org>
538 * font-lock.el (font-lock-mode): Change message telling the user
539 that ``the buffer is too big''.
541 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
542 for instance for the case that tab-width is 2.
544 2000-09-18 Gerd Moellmann <gerd@gnu.org>
546 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
547 toolbar-add-item, if image doesn't have a mask add a `:mask
550 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
552 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
553 and return a cons if it's non-nil.
554 (diff-apply-hunk): Try to jump to the line in the source text
555 corresponding to the position of point in the in the hunk.
557 * info.el (Info-title-3-face, Info-title-2-face)
558 (Info-title-1-face): Use face inheritance and relative sizes
559 instead of hard-wiring things.
561 * faces.el (secondary-selection): Make dark-background variant sane.
563 2000-09-16 Andrew Innes <andrewi@gnu.org>
565 * makefile.nt (compile-files): No need to make .elc files
566 read-only, since they aren't under VC now.
568 * makefile.w32-in (compile-files-CMD): No need to make .elc files
569 read-only, since they aren't under VC now.
571 2000-09-17 Dave Love <fx@gnu.org>
573 * tmm.el: Replace mapcar with mapc in several places.
575 * loadhist.el (unload-feature): Maybe call elp-restore-list and
578 * international/latin1-disp.el: New file.
580 * calendar/cal-move.el (scroll-calendar-left)
581 (scroll-calendar-right): Make arg optional (for active mode line).
583 * calendar/calendar.el (calendar-mode-line-format): Make fields
585 (calendar-read-date, calendar-read-date, calendar-window-list):
587 (calendar-month-name): Use aref, not sref.
589 * view.el (minor-mode-alist): Propertize the string.
591 * international/characters.el (standard-case-table): Add entries
594 2000-09-18 Miles Bader <miles@gnu.org>
596 * info.el (info-node, info-xref): Add dark-background variants.
598 * faces.el (header-line): Change defaults to be less confusing
599 when mixed with mode-lines.
601 * info.el (Info-fontify-node): Make a few cleanups.
602 Add extra `help-echo' and `local-map' props to node xrefs.
603 Use header-specific faces for node-names & xrefs.
604 (Info-use-header-line): New variable.
605 (info-header-xref, info-header-node): New faces.
606 (Info-setup-header-line): New function.
607 (Info-select-node): Call Info-setup-header-line when enabled.
608 (Info-extract-pointer): Work even if the header line is hidden.
609 (Info-header-line): New variable.
611 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
613 * vms-patch.el (print-region-function): Don't quote lambda.
615 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
617 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
618 (lm-get-header-re): Allow spaces between the header and the colon.
619 (lm-header): Allow $ in non-RCS headers.
620 (lm-header-multiline): Put the strings back into order.
621 Stop at an empty line. Don't require two space chars if the
622 line is clearly not another header line.
624 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
625 (popup-menu-popup): Remove.
627 2000-09-15 Gerd Moellmann <gerd@gnu.org>
629 * toolbar/toolbar.el (toolbar-add-item): Use the same image
630 specification if or if not tool-bar item contains an `:enabled'
633 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
634 current buffer has no file name.
636 2000-09-15 Dave Love <fx@gnu.org>
638 * strokes.el: Sync with maintainer's current version with changes
639 for Emacs, but avoid runtime cl and levents.
640 (toplevel): Change autoloads and compilation requires.
641 (strokes-version, strokes-bug-address, strokes-lift): Values
643 (strokes-xpm-header, strokes-insinuated): New variable.
644 (strokes): Add :link.
645 (strokes-mode): Customized.
646 (strokes-while-inhibiting-garbage-collector): New macro.
647 (strokes-remassoc): Avoid remove-if.
648 (strokes-fix-button2-command): Don't use ad-do-it.
649 (strokes-insinuate): New function.
650 (strokes-button-press-event-p, strokes-button-release-event-p):
651 New functions, used instead of non-`strokes-' versions..
652 (strokes-mouse-event-p): Rewritten.
653 (strokes-event-closest-point): Avoid event-point.
654 (strokes-get-grid-position): Avoid cdadr, caadr
655 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
657 (strokes-help): Use with-output-to-temp-buffer.
658 (strokes-window-configuration-changed-p): New function.
659 (strokes-update-window-configuration): Use buffer-live-p,
660 strokes-window-configuration-changed-p.
661 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
662 (strokes-char-face): New face.
663 (strokes-char-table, strokes-base64-chars): New variable.
664 (strokes-xpm-for-stroke, strokes-list-strokes)
665 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
666 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
667 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
668 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
669 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
672 2000-09-15 Gerd Moellmann <gerd@gnu.org>
674 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
676 * image.el (create-image): Doc fix.
678 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
679 instead of `:heuristic-mask t'.
681 2000-09-14 Andrew Innes <andrewi@gnu.org>
683 * makefile.w32-in: Revert to Unix line endings.
685 2000-09-14 Andrew Innes <andrewi@gnu.org>
687 * makefile.w32-in: Add bootstrap support. Also copy lisp source
690 * makefile.nt (DONTCOMPILE): Fix typo.
692 * shell.el (shell-write-history-on-exit): New function.
693 (shell-dumb-shell-regexp): New custom variable.
694 (shell-mode): Make shell-write-history-on-exit the process
695 sentinel if shell name matches shell-dumb-shell-regexp.
697 * w32-fns.el: Comment out before-init-hook function which resets
698 source-directory based; this breaks bootstrap.
700 2000-09-14 Dave Love <fx@gnu.org>
702 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
703 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
704 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
705 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
706 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
707 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
708 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
709 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
710 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
712 * toolbar/toolbar.el: New.
714 * subdirs.el: Add toolbar.
716 2000-09-14 Gerd Moellmann <gerd@gnu.org>
718 * indent.el (indent-for-tab-command): Doc fix.
720 2000-09-14 Alex Schroeder <alex@gnu.org>
722 * ansi-color.el (ansi-colors): Doc change.
723 (ansi-color-get-face): Simplified regexp.
724 (ansi-color-faces-vector): Added more faces, doc change.
725 (ansi-color-names-vector): Doc change.
726 (ansi-color-regexp): Simplified regexp.
727 (ansi-color-parameter-regexp): New regexp.
728 (ansi-color-filter-apply): Doc change.
729 (ansi-color-filter-region): Doc change.
730 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
731 deal with zero length parameters.
732 (ansi-color-apply-on-region): Doc change.
733 (ansi-color-map): Doc change.
734 (ansi-color-map-update): Removed debugging message.
735 (ansi-color-get-face-1): Added condition-case to trap
736 args-out-of-range errors.
737 (ansi-color-get-face): Doc change.
738 (ansi-color-make-face): Removed.
739 (ansi-color-for-shell-mode): New option.
741 2000-09-13 Kenichi Handa <handa@etl.go.jp>
743 * international/quail.el (quail-start-translation): Translate KEY
744 if necessary even if it doesn't have any mapping in the current
746 (quail-start-conversion): Likewise.
747 (quail-help): The output message is improved.
749 2000-09-13 Miles Bader <miles@gnu.org>
751 * comint.el (comint-output-filter): Revert to using
752 `insert-before-markers'. Add bletcherous hack to undo damage
753 caused by `insert-before-markers'. Put `front-sticky' property on
754 overlays created here so that the field code understands how the
755 overlay works. Use a let when making comint-last-prompt-overlay,
756 so that the code is easier to read.
758 2000-09-13 Dave Love <fx@gnu.org>
760 * wid-edit.el (widget-default-format-handler): DTRT when
761 doc-property is a function.
763 2000-09-12 Francesco Potorti` <pot@gnu.org>
765 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
766 filed name if it's not there.
768 2000-09-12 Dave Love <fx@gnu.org>
770 * simple.el (read-mail-command): Doc fix.
771 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
773 * vc.el (vc-dired-listing-switches): Fix :version.
775 * vc-hooks.el: Doc fixes.
777 * subr.el (add-minor-mode): Use toggle-fun arg.
779 * speedbar.el: Add :version to several defcustoms.
781 * imenu.el (imenu--truncate-items, imenu--cleanup)
782 (imenu--generic-function): Avoid mapcar.
783 (imenu--replace-spaces): Function removed.
784 (imenu--completion-buffer): Use subst-char-in-string.
785 (imenu-add-to-menubar): Use keymap inheritance.
787 2000-09-12 Miles Bader <miles@gnu.org>
789 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
790 (diff-mode-map): Bind `diff-test-hunk'.
791 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
793 2000-09-11 Gerd Moellmann <gerd@gnu.org>
795 * bytecomp.el (byte-compile-defvar): Undo last change
796 because it breaks '(make-variable-buffer-local (defvar ...)'
797 which is used at least in dired.
799 2000-09-12 Kenichi Handa <handa@etl.go.jp>
801 * international/quail.el (quail-define-package): Docstring
804 2000-09-12 Kenichi Handa <handa@etl.go.jp>
806 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
807 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
808 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
809 docstring of "chinese-py".
811 * international/quail.el (quail-translation-docstring): New
813 (quail-show-keyboard-layout): Docstring modified.
814 (quail-select-current): Likewise.
815 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
816 infinite recursive call.
817 (quail-help): Check quail-translation-docstring. Format of the
819 (quail-help-insert-keymap-description): Adjusted for the above
822 2000-09-11 Gerd Moellmann <gerd@gnu.org>
824 * bytecomp.el (byte-compile-defvar): Only cons onto
825 current-load-list in top-level forms. Else this leaks a cons cell
826 every time a defun is called.
828 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
830 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
831 Now understands non-unified diffs. Some functionality moved into
832 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
833 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
834 modify anything. Only reposition point in the patched file if the
835 patch succeeds. Only pop up another window if POPUP is true.
836 Emit a message describing what happened if successful, and at what
837 line-offset. Automatically detect reversed hunks and do something
839 (diff-hunk-text, diff-find-text): New functions.
840 (diff-filter-lines): Function removed.
841 (diff-test-hunk): New function.
842 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
844 2000-09-10 Dave Love <fx@gnu.org>
846 * textmodes/tildify.el: Minor doc/commentary fixes.
847 (tildify) <defgroup>: Add :version.
849 * faces.el (face-x-resources): Make custom type more specific.
850 (frame-background-mode): Use mapc.
851 (region) <defcustom>: Add :version.
853 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
855 * vc-sccs.el (vc-sccs-register):
856 * vc-rcs.el (vc-rcs-register):
857 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
858 * vc.el (vc-register): Clear file's properties.
860 2000-09-08 Gerd Moellmann <gerd@gnu.org>
862 * faces.el (face-spec-set): Only face-spec-reset-face when
865 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
867 * help.el (help-insert-xref-button): Fix a typo in doc string.
869 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
871 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
872 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
875 * menu-bar.el (read-mail-item-name): New function.
876 (menu-bar-tools-menu): Use it to compute and display the package
878 (menu-bar-tools-menu): Fix typo in GUD's help string.
880 2000-09-07 Dave Love <fx@gnu.org>
882 * diff-mode.el (diff-mouse-goto-source): New function.
884 * vc-sccs.el: Doc fixes.
885 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
887 * vc-rcs.el: Doc fixes.
888 (vc-rcs-register-switches, vc-rcs-checkin-switches)
889 (vc-rcs-checkout-switches, vc-rcs-header)
890 (vc-rcs-master-templates): Add or change :version.
892 * vc-cvs.el: Doc fixes.
893 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
894 (vc-cvs-stay-local): Add :version.
896 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
898 2000-09-07 Kenichi Handa <handa@etl.go.jp>
900 * international/quail.el (quail-help): Fix previous change.
902 2000-09-07 Gerd Moellmann <gerd@gnu.org>
904 * faces.el (color-values): Doc fix.
906 * faces.el (frame-set-background-mode): Use frame-parameter
907 instead of frame-parameters.
909 * frame.el (filtered-frame-list): Reduce consing.
910 (frames-on-display-list): Call frame-parameter instead of
913 2000-09-07 Kenichi Handa <handa@etl.go.jp>
915 * language/devan-util.el (devanagari-to-indian-region): In the
916 loop, change the following char, not preceding char.
918 2000-09-07 Gerd Moellmann <gerd@gnu.org>
920 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
921 instead of frame-parameters.
923 * faces.el (set-face-attribute): Simplify by calling
924 internal-set-lisp-face-attribute with FRAME being 0.
926 * vc.el: Remove `Id' version control keyword.
928 2000-09-07 Kenichi Handa <handa@etl.go.jp>
930 * help.el (help-make-xrefs): Adjusted for the change of
931 help-xref-mule-regexp.
932 (help-insert-xref-button): New function.
934 * international/mule-cmds.el (help-xref-mule-regexp-template):
935 Include the pattern for character set.
938 * international/quail.el: Don't require face.
940 (quail-other-command): Dummy command to make quail-help work better.
941 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
942 (quail-keyboard-layout-substitution): New variable.
943 (quail-update-keyboard-layout): New function.
944 (quail-keyboard-layout-type): New customizable variable.
945 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
946 (quail-keyboard-translate): Pay attention to
947 quail-keyboard-layout-substitution.
948 (quail-insert-kbd-layout): New function.
949 (quail-show-keyboard-layout): New function.
950 (quail-get-translation): If the definition is a vector of length
951 1, and the element is a string of length 1, return the character
953 (quail-update-current-translations): Fix the case of
954 relative-index out of range.
955 (quail-build-decode-map, quail-insert-decode-map): New Functions.
956 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
957 Show key sequences for all available characters.
958 (quail-help-insert-keymap-description): Don't show such verbose
959 key bindings as quail-self-insert-command.
961 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
962 Format changed, and each element now have extra documentations.
963 (tit-process-header): Delete invalid characters from TIT-PROMPT.
964 Adjusted for the change of quail-cxterm-package-ext-info.
966 2000-09-06 Gerd Moellmann <gerd@gnu.org>
968 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
969 requiring it leads to a recursive loading of vc.el and vc-hooks.el
972 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
974 * vc.el: (toplevel): Don't require `dired' at run-time.
975 (vc-dired-resynch-file): Remove autoload cookie.
977 2000-09-05 Andre Spiegel <spiegel@gnu.org>
979 * vc.el: Made several backend functions optional.
980 (vc-default-responsible-p): New function.
981 (vc-merge): Use RET for first version to trigger merge-news, not
983 (vc-annotate): Handle backends that do not support annotation.
984 (vc-default-merge-news): Removed. The existence of a merge-news
985 implementation is now checked on caller sites.
987 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
990 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
991 special case that has been removed from the default in vc-hooks.el.
993 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
995 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
997 2000-09-05 Andre Spiegel <spiegel@gnu.org>
999 * vc-hooks.el: Require vc during compilation.
1000 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
1001 macro `with-vc-properties' in vc.el.
1002 (vc-file-getprop): Doc fix.
1003 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
1005 * vc.el: Require dired-aux during compilation.
1006 (vc-name-assoc-file): Moved to vc-sccs.el.
1007 (with-vc-properties): New macro.
1008 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
1009 vc-finish-steal): Use it.
1010 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
1011 to the backend-specific function is now supposed to do the checkout,
1013 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
1015 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
1016 set file properties; that gets done in the generic code now.
1018 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
1019 Changed parameter list, added code from vc.el that does the
1020 checkout, possibly with a double-take.
1022 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
1023 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
1024 the above under the new name.
1025 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
1026 parameter list, added checkout command.
1027 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
1028 properties; that gets done in the generic code now.
1030 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1032 * vc.el: Docstring fixes (courtesy of checkdoc).
1034 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1036 * vc.el (vc-checkout-writable-buffer-hook)
1037 (vc-checkout-writable-buffer): Remove.
1038 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
1039 (vc-log-mode): Make it into a clean derived major mode.
1040 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
1041 vc-log-mode if log-edit is not available.
1042 (vc-dired-mode-map): Don't set-keymap-parent yet.
1043 (vc-dired-mode): Do set-keymap-parent here.
1044 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
1046 2000-09-05 Gerd Moellmann <gerd@gnu.org>
1048 * faces.el (set-face-attribute, face-spec-reset-face)
1049 (face-spec-set): Avoid consing by removing calls to `apply'.
1051 * frame.el (frame-parameter): Move to C code.
1053 2000-09-05 Dave Love <fx@gnu.org>
1055 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
1056 insert-before-markers-and-inherit. Now checked systematically!
1058 2000-09-05 Alex Schroeder <alex@gnu.org>
1060 * sql.el (sql-postgres): Use sql-postgres-options.
1061 (sql-postgres-options): New variable.
1063 2000-09-05 Alex Schroeder <alex@gnu.org>
1065 * sql.el (sql-mode-menu): Work around missing variable mark-active
1067 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1068 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1071 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1073 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1075 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1077 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1079 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1081 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1082 don't support anything else under SCCS yet.
1084 * vc-hooks.el: Minor doc fixes.
1086 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1088 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1089 not necessary. If verbose in state `needs-patch', do the same as
1090 under `up-to-date'. When NOT verbose and `needs-patch', check out
1091 latest version instead of `merge-news'.
1092 (vc-next-action-dired): Don't mess with default-directory here; it
1093 breaks other parts of dired. It is the job of the
1094 backend-specific functions to adjust it temporarily if they need it.
1095 (vc-next-action): Remove a special CVS case.
1096 (vc-clear-headers): New optional arg FILE.
1097 (vc-checkin, vc-checkout): Set properties vc-state and
1098 vc-checkout-time properly.
1099 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1100 (vc-print-log): Use new backend function `show-log-entry'.
1101 (vc-cancel-version): Do the checks in a different order. Added a
1102 FIXME concerning RCS-only code.
1104 * vc-rcs.el (vc-rcs-show-log-entry): New function.
1105 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
1107 * vc-cvs.el (vc-cvs-show-log-entry): New function.
1109 * vc-hooks.el (vc-default-mode-line-string): Show state
1110 `needs-patch' as a `-' too.
1112 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1114 * vc.el (vc-responsible-backend): New optional arg REGISTER.
1115 (vc-default-could-register): New function.
1116 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
1117 (vc-resynch-buffer): Call vc-dired-resynch-file.
1118 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
1119 vc-resynch-buffer instead of vc-resynch-window.
1120 (vc-next-action-dired): Don't redisplay here, that gets done as a
1121 result of the individual file operations.
1122 (vc-retrieve-snapshot): Corrected prompt order.
1124 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
1126 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
1128 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
1129 hostname regexps. Updated all callers.
1130 (vc-cvs-responsible-p): Handle directories as well.
1131 (vc-cvs-could-register): New function.
1132 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
1133 properties up-to-date.
1135 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
1136 user whether to create one.
1138 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1140 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
1141 check out a non-existing file.
1143 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
1144 workfile does not exist.
1146 * vc.el (vc-version-diff): Use `require' to check for existence of
1149 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1151 * vc-cvs.el (vc-cvs-registered): Use new function
1152 vc-cvs-parse-entry to do the actual work.
1154 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1156 * vc-hooks.el (vc-find-backend-function): If function doesn't
1157 exist, return nil instead of error.
1158 (vc-call-backend): Doc fix.
1160 * vc.el (vc-do-command): Doc fix.
1161 (vc-finish-logentry): When checking in from vc-dired, choose the
1162 right backend for logentry check.
1163 (vc-dired-mode-map): Inherit from dired-mode-map.
1164 (vc-dired-mode): Local value of dired-move-to-filename-regexp
1166 (vc-dired-state-info): Removed, updated caller.
1167 (vc-default-dired-state-info): Use parentheses instead of hyphens.
1168 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
1169 (vc-dired-listing-switches): New variable.
1170 (vc-directory): Use it, instead of dired-listing-switches.
1172 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
1173 (vc-cvs-dir-state): New function.
1174 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
1175 (vc-cvs-parse-entry): New function, also to be used in
1178 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1180 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
1181 *or* single-window-frames.
1183 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1185 * vc.el (vc-update-changelog): Split into generic part and default
1186 implementation. Doc string adapted.
1187 (vc-default-update-changelog): New function. Call the `rcs2log'
1188 script in exec-directory, to fix a long-standing nuisance.
1190 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
1191 simply signals an error.
1193 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1195 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
1196 control-flow more clear and to avoid running `cvs' twice.
1198 * vc.el (vc-next-action-on-file): Doc fix.
1199 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1200 (vc-print-log): Eval `file' before constructing the continuation.
1202 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1204 * vc.el (vc-next-action-on-file): Corrected several messages.
1205 (vc-merge): Add prefix arg `merge-news'; handle it.
1207 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1208 is not reached. It is.
1209 (vc-cvs-merge): Set state to 'edited after merge.
1210 (vc-cvs-merge-news): Set workfile version to nil if not known.
1211 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1213 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1214 via stdout. (Merge from main line.)
1216 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1218 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1221 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1223 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1224 against kill-all-local-variables.
1225 (vc-log-edit): Don't save vc-parent-buffer any more.
1226 (vc-last-comment-match): Initialize to an empty string.
1227 (vc-post-command-functions): New hook.
1228 (vc-do-command): Run it.
1229 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1230 (vc-finish-logentry): Only add the comment to the ring if it's
1231 different from the last comment entered.
1232 (vc-new-comment-index): New function.
1233 (vc-previous-comment): Use it. Make the minibuffer message
1234 slightly less terse.
1235 (vc-comment-search-reverse): Make it work forward as well. Don't
1236 set vc-comment-ring-index if no match is found. Use
1237 vc-new-comment-index.
1238 (vc-comment-search-forward): Use vc-comment-search-reverse.
1239 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1240 define-derived-mode will do it for us. Bind `v' to a keymap that
1241 inherits from vc-prefix-map so that we can bind `vt' without
1243 (vc-retrieve-snapshot): Parenthesis typo.
1245 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1246 to 1. Make sure to switch to *vc* before looking for an error
1247 message. Use vc-parse-buffer.
1249 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1251 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1253 (vc-retrieve-snapshot): Split into two parts.
1254 (vc-default-retrieve-snapshot): New function.
1256 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1257 (vc-cvs-retrieve-snapshot): New function (untested).
1258 (vc-cvs-stay-local): Default to t.
1259 (vc-cvs-remote-p): New function and property.
1260 (vc-cvs-state): Stay local only if the above is t.
1261 (vc-handle-cvs): Removed.
1262 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1263 done via vc-handled-backends now.
1264 (vc-cvs-header): Escape Id.
1266 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1268 * vc.el (vc-do-command): Remove unused commands.
1269 (vc-version-diff): Make sure default-directory ends with a slash.
1270 Move the window commands into a vc-exec-after.
1271 (vc-print-log): Move more of the code into the `vc-exec-after'.
1273 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1275 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1276 (vc-print-log): Search current revision from beginning of buffer.
1277 (vc-revert-buffer): Clear echo area after the diff is finished.
1278 (vc-prefix-map): Removed definition of "t" for terse display in vc
1280 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1281 definition of "vt" for terse display.
1282 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1284 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1286 * vc.el (vc-exec-after): Avoid caddr.
1288 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1290 * vc.el (vc-exec-after): New function.
1291 (vc-do-command): Use it to add a termination message for async
1293 (vc-checkout): Try to handle a missing-backend situation.
1294 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1295 of a directory with a backend using async diffs.
1296 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1299 * vc-sccs.el (vc-sccs-state-heuristic): Use
1300 file-ownership-preserved-p.
1302 * vc-rcs.el (vc-rcs-state-heuristic): Use
1303 file-ownership-preserved-p.
1304 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1306 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1308 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1311 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1312 when there are no changes.
1314 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1316 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1318 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1320 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1322 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1324 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1325 the `fset' outside of the defvar so that it works even if
1326 vc-prefix-map was already defined.
1327 (vc-setup-buffer): New function, split out of vc-do-command.
1328 (vc-do-command): Allow BUFFER to be t to mean `just use the
1329 current buffer without any fuss'.
1330 (vc-version-diff): Change the `diff' backend operation to just put
1331 the diff in the current buffer without erasing it. Always use
1332 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1333 shrink-window-if-larger-than-buffer.
1334 (vc-print-log): Change the `print-log' backend operation to just
1335 put the log in the current buffer without erasing it. Protect
1336 shrink-window-if-larger-than-buffer.
1337 (vc-update-change-log): Fix setd typo.
1339 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1340 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1342 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1343 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1346 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1347 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1348 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1350 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1352 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1353 not possible, use vc-BACKEND-workfile-unchanged-p.
1354 (vc-default-workfile-unchanged-p): New function. Delegates to a
1355 full vc-BACKEND-diff.
1357 * vc-hooks.el (vc-simple-command): Removed.
1359 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1360 instead of vc-simple-command.
1361 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1362 avoid doing a diff when opening a file.
1363 (vc-rcs-state): Added check for unlocked-changes.
1364 (vc-rcs-header): Escape Id.
1365 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1366 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1369 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1370 (vc-sccs-diff): Remove optional arg CMP.
1371 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1372 SCCS-specific function.
1374 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1377 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1379 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1380 (with-vc-file, vc-merge): Use vc-editable-p.
1381 (vc-do-command): Remove unused var vc-file and fix the
1382 doubly-defined `status' var. Add a user message when starting an
1384 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1385 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1386 Use with-current-buffer.
1387 (vc-buffer-sync): Use unless.
1388 (vc-next-action-on-file): If the file is 'edited by read-only,
1389 make it read-write instead of trying to commit.
1390 (vc-version-diff, vc-update-change-log): Use `setq
1391 default-directory' rather than `cd'.
1392 (vc-log-edit): Don't forget to set default-directory in the
1395 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1396 (vc-sccs-state-heuristic): Use file-writable-p instead of
1398 (vc-sccs-checkout): Use `unless'.
1400 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1401 of comparing userids.
1402 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1403 Simplify the logic by eliminating unreachable code.
1404 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1405 just do a recursive call if we need to retry.
1406 (vc-rcs-checkout): Handle the case where rcs is missing by making
1407 the buffer read-write if requested and re-signalling the error.
1409 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1411 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1413 * vc-hooks.el (vc-handled-backends): Docstring change.
1414 (vc-ignore-vc-files): Mark obsolete.
1415 (vc-registered): Check vc-ignore-vc-files.
1416 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1419 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1421 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1423 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1424 files since ange-ftp already has vc-registered return nil.
1426 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1427 (vc-sccs-workfile-version): Use with-temp-buffer and new
1428 vc-parse-buffer and don't bother setting the property.
1429 (vc-sccs-add-triple): Use with-current-buffer and
1431 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1433 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1434 derives from the old vc-parse-buffer but uses the revision number
1435 rather than the date (much easier to compare robustly).
1436 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1437 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1438 locking-user more directly. Check strict locking and set
1439 checkout-model appropriately.
1440 (vc-rcs-parse-locks): Remove.
1441 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
1442 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
1443 (vc-rcs-system-release): Use with-current-buffer and
1445 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
1447 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
1448 (vc-simple-command): Docstring fix.
1449 (vc-registered): Align the way the file-handler is called with the
1450 way the function itself works.
1451 (vc-file-owner): Remove.
1453 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
1454 extraction of fields and call to file-attributes because of a
1455 temporary bug in rcp.el.
1456 (vc-cvs-fetch-status): Use with-current-buffer.
1458 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1460 * vc.el (vc-do-command): Use file-relative-name.
1461 (vc-responsible-backend): Use vc-backend if possible.
1462 (vc-create-snapshot): Improve the `interactive' spec. Add support
1463 for branches and dispatch to backend-specific `create-snapshot'.
1464 (vc-default-create-snapshot): New function, containing the bulk of
1465 the old vc-create-snapshot.
1466 (vc-retrieve-snapshot): Improve the interactive spec.
1468 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
1469 (vc-backend-hook-functions): Remove.
1470 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
1471 (vc-backend): Reintroduce the test for `file = nil' now that I
1472 know why it was there (and added a comment to better remember).
1474 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
1475 code from vc-sccs-hooks.el.
1476 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
1478 (vc-sccs-responsible-p): Use expand-file-name instead of concat
1479 and file-directory-p instead of file-exists-p.
1480 (vc-sccs-check-headers): Simplify the regexp.
1482 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
1483 from vc-rcs-hooks.el. Don't require 'vc anymore.
1484 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
1485 file-directory-p instead of file-exists-p.
1487 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
1488 from vc-cvs-hooks.el.
1489 (proto vc-cvs-registered): Require 'vc-cvs instead of
1490 'vc-cvs-hooks. Don't require 'vc anymore.
1491 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
1492 file-directory-p instead of file-exists-p.
1493 (vc-cvs-create-snapshot): New function, replacing
1495 (vc-cvs-assign-name): Remove.
1497 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1499 * vc-cvs.el (vc-cvs-header): New var.
1501 * vc-rcs.el (vc-rcs-exists): Remove.
1502 (vc-rcs-header): New var.
1504 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
1505 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
1506 (vc-sccs-header): New var.
1508 * vc.el (vc-do-command): Get rid of the `last' argument.
1509 (vc-header-alist): Remove, replaced by vc-X-header.
1510 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
1511 (vc-dired-hook): Use expand-file-name instead of concat.
1512 (vc-directory): Use file-name-as-directory.
1513 (vc-snapshot-precondition, vc-create-snapshot)
1514 (vc-retrieve-snapshot): Allow the command to operate on any
1517 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
1518 just removing the 'WORKFILE argument or by removing the 'MASTER
1519 argument and replacing `file' with (vc-name file).
1521 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1523 * vc.el: Update Copyright and add a crude list of backend funs.
1524 (vc-writable-p): New function.
1525 (with-vc-file): Use vc-writable-p.
1526 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
1527 (vc-register): Avoid vc-name.
1528 (vc-locking-user): Remove.
1529 (vc-steal-lock): Make the `owner' arg non-optional.
1530 (vc-merge): Use vc-writable-p instead of vc-locking-user and
1532 (vc-default-dired-state-info): Use vc-state instead of
1533 vc-locking-user and return special strings for special states.
1534 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
1535 and get rid of one of the special CVS cases.
1536 (vc-cancel-version): prettify error message with \\[...].
1537 (vc-rename-master): New function.
1538 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
1539 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
1540 the CVS special case generic.
1541 (vc-default-record-rename): Remove.
1542 (vc-file-tree-walk-internal): Only call FUNC for files that are
1543 under control of some VC backend and replace `concat' with
1545 (vc-file-tree-walk): Update docstring.
1546 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
1547 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
1549 * vc-sccs.el (vc-sccs-rename-file): Renamed from
1550 vc-sccs-record-rename. Use `find-file-noselect' rather than
1551 `find-file' and call `vc-rename-master' to do the actual move.
1552 (vc-sccs-diff): Remove unused `backend' variable.
1554 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
1555 to delay loading of vc-sccs until it is really used.
1556 (vc-sccs-master-templates): Preload.
1557 (vc-sccs-state): Update call to vc-sccs-parse-locks.
1558 (vc-sccs-project-dir): Remove (merged into
1559 vc-sccs-search-project-dir).
1560 (vc-sccs-search-project-dir): Rewrite using file name handling ops
1561 rather than `concat', make sure it is preloaded and don't bother
1562 to check that the file actually exists.
1563 (vc-sccs-parse-locks): Remove unused `file' argument, remove
1564 `locks' argument (use buffer's content instead) and eliminate n^2
1567 * vc-rcs.el: Update Copyright.
1568 (vc-rcs-rename-file): New function.
1569 (vc-rcs-diff): Remove unused `backend' variable.
1571 * vc-hooks.el: Update Copyright.
1572 (vc-backend): Don't accept a nil argument any more.
1573 (vc-up-to-date-p): Turn into a defsubst.
1574 (vc-possible-master): New function.
1575 (vc-check-master-templates): Use `vc-possible-master' and allow
1576 funs in vc-X-master-templates to return a non-existent file.
1578 * vc-cvs.el: Update Copyright.
1579 (vc-cvs-diff): Remove unused `backend' variable.
1580 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
1582 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
1584 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1586 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
1587 since it can be called from vc-rcs.el.
1588 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
1590 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1592 * vc.el (vc-version-diff): Expand file name read from the
1593 minibuffer. Handle the case when a previous version number can't
1594 be guessed. Give suitable messages when there were no differences
1596 (vc-clear-headers): Call backend-specific implementation, if one
1598 (vc-cancel-version): Made error checks generic. When done, clear
1599 headers generically, too.
1601 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
1602 from vc-clear-headers in vc.el.
1604 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
1606 (vc-rcs-latest-on-branch-p): Made second argument VERSION
1607 optional. Handle the case when it's not there.
1609 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1611 * vc.el (vc-locking-user): Moved from vc-hooks.el.
1613 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1615 * vc-hooks.el (vc-loadup): Remove.
1616 (vc-find-backend-function): Use `require'. Also, handle the case
1617 where vc-BACKEND-hooks.el doesn't exist.
1618 (vc-call-backend): Cleanup.
1620 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1622 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
1623 vc-rcs-grab-templates)
1624 (vc-rcs-registered): Remove. The default function works as well.
1625 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
1626 vc-sccs-grab-templates)
1627 (vc-sccs-registered): Remove. The default function works as well.
1629 * vc.el (vc-version-diff): Left out a vc- in call to
1631 (vc-default-dired-state-info, vc-default-record-rename)
1632 (vc-default-merge-news): Update for the new backend argument.
1634 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
1635 using the default function.
1636 (vc-call-backend): If calling the default function, pass it the
1637 backend as first argument. Update the docstring accordingly.
1638 (vc-default-state-heuristic, vc-default-mode-line-string): Update
1639 for the new backend argument.
1640 (vc-make-backend-sym): Renamed from vc-make-backend-function.
1641 (vc-find-backend-function): Use the new name.
1642 (vc-default-registered): New function.
1644 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1646 * vc.el (vc-merge): Use vc-find-backend-function.
1648 * vc-hooks.el (vc-backend-functions): Remove.
1649 (vc-loadup): Don't setup 'vc-functions.
1650 (vc-find-backend-function): New function.
1651 (vc-call-backend): Use above fun and populate 'vc-functions
1653 (vc-backend-defines): Remove.
1655 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1657 * vc.el (vc-register): Put a FIXME note for a newly found bug.
1658 Call vc-call-backend without the leading vc-.
1659 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
1660 (vc-check-headers): Call vc-call-backend without the leading vc-.
1661 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
1662 (vc-annotate-display): Replace confusing use of `cond' with `or'.
1663 Call vc-call-backend without the leading vc-.
1665 * vc-cvs.el (tail): Provide vc-cvs.
1666 * vc-sccs.el (tail): Provide vc-sccs.
1667 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
1669 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
1670 (vc-make-backend-function, vc-call): Pass names without leading
1671 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
1672 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
1673 (vc-call-backend): Always try to load vc-X-hooks.
1674 (vc-registered): Remove vc- in call to vc-call-backend.
1676 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1678 * vc.el (vc-process-filter): New function.
1679 (vc-do-command): Setup `vc-process-filter' for the async process.
1680 (vc-maybe-resolve-conflicts): New function to reduce
1681 code-duplication. Additionally, it puts the buffer in
1682 `smerge-mode' if applicable.
1683 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
1684 calling `merge-news'.
1685 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
1686 (vc-log-edit): New function. Replacement for `vc-log-mode' by
1687 interfacing to log-edit.el.
1688 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
1689 log-edit is available.
1690 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
1692 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1694 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
1695 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
1696 defvar and the initialization.
1697 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
1699 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
1700 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
1702 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
1704 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1706 * vc.el (vc-file-clear-masterprops): Removed.
1707 (vc-checkin, vc-revert-buffer): Removed calls to the above.
1708 (vc-version-diff): Use buffer-size without argument.
1709 (vc-register): Heed vc-initial-comment.
1711 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
1714 * vc-rcs.el (vc-rcs-register): Parse command output to find master
1715 file name and workfile version.
1716 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
1718 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
1719 vc-file-clear-masterprops.
1721 * vc-sccs.el (vc-sccs-checkout): Removed call to
1722 vc-file-clear-masterprops. If writable, set vc-state to 'edited
1723 rather than user login name.
1726 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1728 * vc.el (vc-workfile-unchanged-p): Remove unused argument
1729 `want-differences-if-changed' and simplify.
1730 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
1731 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
1732 output (which is invalid for async vc-diff) to decide whether to
1733 do the revert silently or not.
1735 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1737 * vc-hooks.el (vc-loadup): Load files quietly.
1738 (vc-call-backend): Oops, brain fart.
1740 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1742 * vc-cvs.el (vc-cvs-state): Typo.
1743 (vc-cvs-merge-news): Return the status code rather than the error msg.
1745 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1747 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
1748 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
1749 vc-state or vc-up-to-date-p.
1750 (vc-merge): Use vc-backend-defines to check whether merging is
1751 possible. Set state to 'edited after successful merge.
1753 * vc-hooks.el (vc-locking-user): If locked by the calling user,
1754 return that name. Redocumented.
1756 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1758 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
1759 new `vc-state' semantics.
1760 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
1761 'vc-locking-user to the current user.
1762 (vc-merge): Inline vc-backend-merge. Comment out code that I
1763 don't understand and hence can't adapt to the new `vc-state' and
1764 `vc-locking-user' semantics.
1765 (vc-backend-merge): Remove.
1767 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
1768 rather than 'vc-locking-user.
1770 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
1772 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
1773 (vc-state): Don't use 'reserved any more. Just use the same
1774 convention as the one used for vc-<backend>-state where the
1775 locking user (as a string) is returned.
1776 (vc-locking-user): Update, based on the above convention. The
1777 'vc-locking-user property has disappeared.
1778 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
1780 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
1781 with a heuristic one.
1782 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
1783 (vc-cvs-checkin): Do a trivial parse to set the state in case of
1784 error. That allows us to get to 'needs-merge even in the
1785 stay-local case. There's still no way to detect 'needs-patch in
1786 such a setup (or to force an update for that matter).
1787 (vc-cvs-logentry-check): Remove, the default works as well.
1789 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1791 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
1793 * vc.el (vc-do-command): kill-all-local-variables, to reset any
1794 major-mode in which the buffer might have been put earlier. Use
1795 `remove' and `when'. Allow `okstatus' to be `async' and use
1796 `start-process' in this case.
1797 (vc-version-diff): Handle the case where the diff looks empty
1798 because of the use of an async process.
1800 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1802 * vc.el (vc-next-action-on-file): Removed optional parameter
1803 `simple'. Recompute state unconditionally.
1804 (vc-default-toggle-read-only): Removed.
1806 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
1807 (vc-toggle-read-only): Undid prev change.
1809 * vc-cvs.el (vc-cvs-stay-local): Renamed from
1810 vc-cvs-simple-toggle. Redocumented.
1811 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
1812 (vc-cvs-toggle-read-only): Removed.
1814 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1816 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
1817 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
1818 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
1819 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
1820 still is. So maybe it should be removed.
1821 (vc-head-version, vc-find-binary): Remove.
1822 (vc-recompute-state): Move from vc-hooks.el.
1823 (vc-next-action-on-file): Add a `simple' argument to allow
1824 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
1825 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
1826 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
1827 (vc-dired-mode-map): Properly defvar it.
1828 (vc-print-log): Call log-view-mode if available.
1829 (small-temporary-file-directory): defvar instead of use boundp.
1830 (vc-merge-news): Moved to vc-cvs.el.
1831 (vc-default-merge-news): New function.
1833 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
1834 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
1835 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
1836 unknown `vc-latest-version' function. It should probably refer to
1837 vc-workfile-version or somesuch, but it's very unclear to me and I
1838 don't have SCCS to test things.
1840 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
1841 (vc-sccs-state-heuristic): Fix typo.
1842 (vc-sccs-workfile-unchanged-p): Add missing argument.
1844 * vc-rcs.el: Require vc and vc-rcs-hooks.
1845 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
1846 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
1847 (vc-release-greater-or-equal-p): Move from vc.
1848 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
1849 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
1850 (vc-rcs-checkout): Add a missing `new-version' argument in the
1851 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
1853 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
1854 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
1855 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
1856 than the apparently unbound `workfile-version'.
1858 * vc-hooks.el (vc-master-templates): Def the obsolete var.
1859 (vc-file-prop-obarray): Use `make-vector'.
1860 (vc-backend-functions): Add new hookable functions
1861 vc-toggle-read-only, vc-record-rename and vc-merge-news.
1862 (vc-loadup): If neither backend nor default functions exist, use
1863 the backend function rather than nil.
1864 (vc-call-backend): If the function if not bound yet, try to load
1865 the non-hook file to see if it provides it.
1866 (vc-call): New macro plus use it wherever possible.
1867 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
1868 nor `vc-find-binary' since it's only called from
1869 vc-mistrust-permission which is only used once the backend is known.
1870 (vc-checkout-model): Fix parenthesis.
1871 (vc-recompute-state, vc-prefix-map): Move to vc.el.
1873 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
1874 (vc-cvs-release, vc-cvs-system-release): Remove.
1875 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
1876 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
1878 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
1879 (vc-cvs-toggle-read-only): First cut at a function to allow a
1880 cvs-status-free vc-toggle-read-only.
1881 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
1882 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
1883 vc-cvs-status. Also set vc-state rather than vc-locking-user.
1884 (vc-cvs-checkout): Modify access rights directly if the user
1885 requested not to use `cvs edit'. And refresh the mode line.
1887 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
1888 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
1890 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1892 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
1893 workfile' that got lost when the code was extracted from vc.el.
1894 And merged the tail with the rest of the code (not possible in the
1895 old vc.el where the tail was shared among all backends). And
1896 explicitly set the state to 'edited if `writable' is set.
1898 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
1899 (vc-cvs-state): Be careful to return the value from
1901 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
1902 property but return it instead. Also be careful to handle a nil
1903 or "" `rev' when workfile is non-nil (it was handled properly when
1906 * vc.el: Removed those pesky unnecessary `(function' quotes.
1907 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
1908 directly in the defvar.
1909 (vc-do-command): Bind inhibit-read-only so as to properly handle
1910 the case where the destination buffer has been made read-only.
1911 (vc-diff): Delegate to vc-version-diff in all cases.
1912 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
1913 (vc-annotate-mode-variables): Removed (code moved partly to
1914 defvars and partly to vc-annotate-add-menu).
1915 (vc-annotate-mode): Turned into a derived-mode.
1916 (vc-annotate-add-menu): Moved in code in
1917 vc-annotate-mode-variables.
1918 (vc-update-change-log): Use make-temp-file if available.
1920 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
1922 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
1923 `vc-checkout-model' updated to `vc-cvs-update-model'.
1925 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1927 * vc.el (vc-next-action-on-file): Added handling of state
1929 (vc-checkout-carefully): Is now practically obsolete, unless the
1930 above is too slow to be enabled unconditionally.
1931 (vc-update-change-log): Fixed typo.
1933 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
1935 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
1936 Now handles state `unlocked-changes'.
1937 (vc-sccs-workfile-unchanged-p): New function, to support the above.
1939 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
1941 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
1942 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
1944 (vc-rcs-workfile-unchanged-p): Renamed from
1945 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
1946 function yet, but supposed to become one soon.
1948 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
1950 (vc-call-backend): Changed error message.
1951 (vc-state): Added description of state `unlocked-changes'.
1953 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1955 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
1956 always return t in CVS-controlled directories.
1958 * vc.el (vc-responsible-backend): New function.
1959 (vc-register): Largely rewritten.
1960 (vc-admin): Removed (implementation moved into vc-register).
1961 (vc-checkin): Redocumented.
1962 (vc-finish-logentry): If no backend defined yet (because we are in
1963 the process of registering), use the responsible backend.
1965 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1966 Updated function lists.
1967 (vc-call-backend): Fixed typo.
1969 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
1971 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
1972 Removed query option. Redocumented.
1974 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1976 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
1978 * vc.el: Updated callers of `vc-checkout-required' to use
1979 `vc-checkout-model'.
1981 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1983 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
1984 stuff updated to reference this function instead of the old
1985 `vc-backend-release-p'.
1987 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1989 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
1990 vc-checkout-model. Return appropriate values. Updated callers.
1992 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1994 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
1995 (vc-backend-revert): Function moved into `vc-revert';
1996 `vc-next-action' must be updated to accomodate this change.
1997 (vc-backend-steal): Function moved into `vc-finish-steal'.
1998 (vc-backend-logentry-check): Function moved into
1999 `vc-finish-logentry'.
2000 (vc-backend-printlog): Function moved into `vc-print-log'.
2001 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
2002 (vc-backend-assign-name): Function moved into
2003 `vc-create-snapshot'.
2005 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2007 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
2008 Rename to vc-checkout-model. Return appropriate values.
2011 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
2012 to vc-checkout-model.
2013 (vc-checkout-required): Rename to vc-checkout-model.
2014 Re-implement and re-comment.
2015 (vc-after-save): Use vc-checkout-model.
2017 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2019 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
2020 Update to use the vc-BACKEND-diff functions instead.
2021 `vc-diff' is now working.
2023 * vc-rcs.el (vc-rcs-logentry-check): New function.
2025 * vc-cvs.el (vc-cvs-logentry-check): New function.
2027 * vc-sccs.el (vc-sccs-diff): Function changed name from
2028 `vc-backend-diff'. This makes `vc-diff' work.
2030 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
2031 of functions possibly implemented in a vc-BACKEND library.
2032 (vc-checkout-required): Fix bug that caused an error to be
2033 signaled during `vc-after-save'.
2036 This checkin is made with our new VC code base for the very first time.
2037 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
2039 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
2040 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
2042 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
2043 updated to `vc-uses-locking'.
2044 (vc-checkout-required): Call to backend function.
2045 `vc-checkout-required' updated to `vc-uses-locking' instead.
2047 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
2048 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
2050 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
2051 to match the split into various backends.
2052 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
2053 (vc-retrieve-snapshot): Bug fix.
2055 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2057 * vc-sccs.el (vc-sccs-release): Doc fix.
2059 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2061 * vc.el (vc-next-action-on-file): Bug found and fixed.
2062 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2063 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2065 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2066 (vc-rcs-checkout): Name space cleaned up. No more revision number
2067 crunching function names that are not prefixed with vc-rcs.
2068 (vc-rcs-checkout-model): Function added. References to
2069 `vc-checkout-model' replaced.
2071 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2073 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2074 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2075 still need to be split, and implemented for RCS).
2077 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2079 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2081 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2082 required by the vc.el file.
2084 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2085 required by the vc.el file.
2086 (vc-rcs-exists): Function added.
2088 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2089 required by the vc.el file.
2091 * vc.el (vc-admin): Updated to handle selection of appropriate
2092 backend. Current implementation is crufty and need re-thinking.
2094 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2096 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2098 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2099 beginning of annotate buffers correctly.
2101 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
2102 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
2103 functionality updated quite a lot to support multiple backends.
2104 Variables `vc-annotate-mode', `vc-annotate-buffers',
2105 `vc-annotate-backend' added.
2107 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
2108 `vc-annotate-difference' added to supported backend functions.
2110 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2112 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
2113 Use with-temp-file instead of /bin/sh. Merged from mainline
2115 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2117 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
2119 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
2121 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
2123 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2125 * vc-hooks.el: vc-state-heuristic added to
2126 vc-backend-hook-functions.
2128 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
2130 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
2132 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
2133 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
2134 state to `reserved'.
2136 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
2137 `vc-checkout-required'. Rename the `locked' state to `reserved'.
2139 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2141 * vc-rcs-hooks.el: Implement new state model. Hardly anything
2144 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
2146 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
2147 if defined. (Merged from main line, slightly adapted.)
2149 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
2150 millenium problem (merged from mainline).
2152 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2154 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
2155 part and moved the non-BACKEND stuff to vc.el.
2157 * vc.el: Split the annotate feature into a BACKEND specific part
2158 and moved it from the vc-cvs.el file to this one.
2160 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2162 * vc-hooks.el: Implement new state model.
2163 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
2164 (vc-locking-user): Simplify. Now only needed if the file is
2165 locked by somebody else.
2166 (vc-lock-from-permissions): Remove. Functionality is in
2167 vc-sccs-hooks.el and vc-rcs-hooks.el now.
2168 (vc-mode-line-string): New name for former vc-status. Adapted.
2169 (vc-mode-line): Adapt to use the above. Remove optional parameter.
2171 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
2172 Various simplifications and adaptations all over the place.
2174 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
2175 Simplify and adapt the rest.
2177 * vc.el (vc-resynch-window): Add TODO comment: check for
2178 interaction with view mode according to recent RCS change.
2179 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
2181 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2183 * vc.el: Convert the remaining function comments to docstrings.
2185 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2187 * vc.el (vc-backend-release, vc-release-greater-or-equal)
2188 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
2189 (vc-minor-part, vc-previous-version): Functions that operate and
2190 compare revision numbers got proper documentation. Comments added
2191 about their possible removal.
2193 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2195 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
2196 the vc-backend.el files.
2198 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2200 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2201 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2202 (vc-rcs-previous-version): Functions added.
2204 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2206 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2208 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2210 * vc-hooks.el (vc-master-templates): Is really obsolete.
2211 Comment out the definition for now. What is the right procedure
2213 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2215 (vc-default-registered): Remove.
2216 (vc-check-master-templates): New function; does mostly what the
2218 (vc-locking-user): Don't rely on the backend to set the property.
2220 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2221 Rewrite documentation.
2222 (vc-rcs-templates-grabbed): New variable.
2223 (vc-rcs-grab-templates): New function.
2224 (vc-rcs-registered): Rewrite to use above mechanism.
2226 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2227 Rewrite documentation.
2228 (vc-sccs-templates-grabbed): New variable.
2229 (vc-sccs-grab-templates): New function.
2230 (vc-sccs-registered): Rewrite to use above mechanism.
2231 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2232 Don't throw the result, simply return it.
2234 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2235 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2236 (vc-cvs-registered): Does the check itself now. Simplify.
2238 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2241 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2243 * vc-cvs.el (vc-cvs-diff): New function.
2245 * vc-sccs.el (vc-sccs-diff): New function.
2247 * vc-rcs.el (vc-rcs-diff): New function.
2248 (vc-rcs-checkout): Bug (typo) found and fixed.
2249 (vc-rcs-register-switches): New variable.
2251 * vc.el (vc-backend-diff): Function removed and placed in the
2254 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2256 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2258 * vc.el (vc-backend-checkout): Function removed and replaced in
2259 the vc-backend.el files.
2261 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2263 * vc.el (vc-backend-admin): Removed and replaced in the
2264 vc-backend.el files.
2266 * vc.el (Martin): Removed all the annotate functionality since it
2267 is CVS backend specific.
2269 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2271 * spec.txt: Added specification of vc-state.
2273 * vc-sccs-hooks.el (vc-sccs-master-properties):
2274 Remove handling of vc-latest-version and
2275 vc-your-latest-version. What used to be vc-latest-version, is now
2276 returned as vc-workfile-version.
2277 (vc-sccs-workfile-version): Adapt.
2279 2000-09-04 Dave Love <fx@gnu.org>
2281 * vc.el: [Merged from mainline.]
2282 (vc-dired-mode): Make the dired-move-to-filename-regexp
2283 regexp match the date, to avoid treating date as file size.
2284 Add YYYY S option to WESTERN/
2286 2000-09-04 Dave Love <fx@gnu.org>
2288 * vc.el: Require `compile' when compiling.
2289 (vc-logentry-check-hook): New option.
2290 (vc-steal-lock): Use compose-mail.
2291 (vc-dired-mode-map): Defvar when compiling.
2292 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2293 vc-sccs.el and renamed. Callers changed.
2294 (vc-backend-checkout, vc-backend-logentry-check)
2295 (vc-backend-merge-news): Doc fix.
2296 (vc-default-logentry-check): New function.
2297 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2298 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2299 (vc-backend-merge): Doc fix. Use backend functions.
2300 (vc-check-headers): Use backend functions.
2302 * vc-cvs.el: Require vc when compiling.
2303 (vc-cvs-register-switches): Doc fix.
2304 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2305 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2306 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2307 New functions (code from vc.el).
2308 (vc-annotate-display-default): Fix interactive spec.
2309 (vc-annotate-time-span): Doc fix.
2311 * vc-rcs.el: Require vc when compiling.
2312 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2313 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2314 (vc-rcs-checkin): New functions (code from vc.el).
2315 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2317 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2319 * vc-sccs.el: Require vc when compiling.
2320 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2321 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2323 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2325 (vc-sccs-add-triple, vc-sccs-record-rename)
2326 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2327 (vc-sccs-admin): Doc fix.
2329 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2331 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2332 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2333 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2336 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2338 * vc-cvs.el: Moved the annotate functionality from vc.el.
2339 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2341 2000-09-04 Dave Love <fx@gnu.org>
2343 * vc.el (vc-backend-release): Call vc-system-release.
2345 * vc-sccs.el (vc-sccs-system-release):
2346 Renamed from vc-sccs-backend-release.
2348 * vc-rcs.el (vc-rcs-system-release):
2349 Renamed from vc-rcs-backend-release.
2351 * vc-cvs.el (vc-cvs-system-release):
2352 Renamed from vc-cvs-backend-release.
2354 2000-09-04 Dave Love <fx@gnu.org>
2356 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2358 (vc-backend-release): Dispatch to backend functions.
2359 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2360 probably needs attention.]
2362 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2363 (vc-sccs-backend-release): New function.
2365 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2366 (vc-cvs-backend-release): New function.
2368 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2370 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2371 (vc-default-dired-state-info): New function.
2372 (vc-dired-state-info): Dispatch to backends.
2373 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2375 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2376 from vc.el and renamed.
2378 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2380 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2381 (vc-version-other-window, vc-backend-assign-name): Removed
2382 references to vc-latest-version; sometimes changed into
2383 vc-workfile-version.
2385 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2386 vc-rcs-master-workfile-version.
2387 (vc-rcs-workfile-version): Use the above. Don't call
2388 vc-latest-version (that was unreachable code, anyway).
2389 (vc-rcs-fetch-master-properties): Doc fix.
2391 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2392 (vc-backend-hook-functions): Removed them from this list, too.
2393 (vc-fetch-properties): Removed.
2394 (vc-workfile-version): Doc fix.
2396 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2397 (vc-rcs-workfile-version, vc-rcs-locking-user)
2398 (vc-rcs-uses-locking): Use it.
2400 * vc-hooks.el (vc-consult-rcs-headers):
2401 Moved into vc-rcs-hooks.el, under the name
2402 vc-rcs-consult-headers.
2404 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2406 (vc-cvs-find-master): Use this name only; correct different
2407 versions of the name.
2409 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2411 (vc-sccs-locking-user): Use the latter.
2413 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2416 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2418 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2419 functions are implementation details of those two backends.
2421 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2423 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2424 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2426 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2427 (vc-sccs-parse-locks): SCCS-specific code moved here from
2430 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2431 code moved here from vc-hooks.
2433 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2434 into back-end specific parts and removed. Callers not updated
2435 yet; because I guess these callers will disappear into back-end
2436 specific files anyway.
2438 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2440 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
2441 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
2444 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
2445 Store yes/no in the property, and return t/nil. Updated all
2448 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
2449 vc-sccs-uses-locking. Don't set property.
2450 (vc-sccs-locking-user): Don't set property.
2452 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
2453 vc-cvs-uses-locking. Don't set property here; leave that to
2455 (vc-cvs-locking-user): Reflect above change. Streamlined.
2457 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
2458 vc-rcs-uses-locking.
2459 (vc-rcs-locking-user): Reflect above change.
2461 2000-09-04 Dave Love <fx@gnu.org>
2463 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
2465 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
2467 * vc-hooks.el (vc-checkout-model): Punt to backends.
2469 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
2471 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
2473 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
2476 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
2479 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
2480 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
2482 * vc-hooks.el (vc-default-locking-user): New function.
2483 (vc-locking-user, vc-workfile-version): Punt to backends.
2485 2000-09-04 Dave Love <fx@gnu.org>
2487 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
2488 (vc-master-workfile-version): Moved from vc-hooks.
2490 * vc-rcs-hooks.el: Fix duplicate code in last change.
2492 * vc-rcs-hooks.el: Require vc-hooks when compiling.
2493 (vc-rcs-master-templates): Improve :type.
2494 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
2495 vc-master-workfile-version): Moved from vc-hooks.
2497 * vc-sccs-hooks.el: Require vc-hooks when compiling.
2498 (vc-sccs-master-templates): Improve :type.
2499 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
2501 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
2503 * vc-cvs-hooks.el: Require vc-hooks when compiling.
2504 (vc-cvs-master-templates): Improve :type. Use
2505 vc-cvs-find-cvs-master.
2506 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
2508 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
2510 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
2511 Moved to vc-cvs-hooks.
2513 * vc-hooks.el: Add doc strings in various places. Simplify the
2515 (vc-handled-backends): New user variable.
2516 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
2519 2000-09-04 Dave Love <fx@gnu.org>
2521 * vc.el: Some doc fixes for autoloaded and interactive functions.
2522 Fix compilation warnings from ediff stuff.
2523 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
2525 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
2527 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
2529 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
2531 2000-09-04 Dave Love <fx@gnu.org>
2533 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2535 (vc-make-backend-function, vc-loadup, vc-call-backend)
2536 (vc-backend-defines): New functions.
2538 * vc-hooks.el: Various doc fixes.
2539 (vc-default-back-end, vc-follow-symlinks): Custom fix.
2540 (vc-match-substring): Function removed. Callers changed to use
2542 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
2545 2000-09-04 Dave Love <fx@gnu.org>
2547 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
2549 (vc-sccs-project-dir, vc-search-sccs-project-dir)
2550 (vc-sccs-registered): Doc fix.
2552 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
2553 (vc-cvs-registered): Doc fix.
2555 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
2556 (vc-rcs-registered): Doc fix.
2558 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2560 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
2562 * vc-hooks.el: vc-registered has been renamed
2563 vc-default-registered. Some functions have been moved to the
2564 backend specific files. they all support the
2565 vc-BACKEND-registered functions.
2567 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2569 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
2571 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
2573 2000-09-04 Dave Love <fx@gnu.org>
2575 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
2576 menu-bar-update-hook.
2578 * help.el (help-manyarg-func-alist): Add
2579 find-operation-coding-system.
2581 * wid-edit.el (widget-sexp-validate): Fix garbled code.
2583 * custom.el (custom-set-variables): Print message about errors in
2586 2000-09-03 Andrew Innes <andrewi@gnu.org>
2588 * makefile.w32-in: Change to DOS line endings.
2590 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2592 * mouse.el (mouse-popup-menubar): Supply the prompt string for
2593 minor-mode keymaps, if they don't have one.
2595 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2597 * eshell/esh-module.el (eval-when-compile): Don't lose if
2598 esh-module.el's file name is truncated to DOS 8+3 limits.
2600 2000-09-01 John Wiegley <johnw@gnu.org>
2602 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
2603 predicate, which caused entries in the completion list to be
2606 2000-08-30 John Wiegley <johnw@gnu.org>
2608 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
2609 sending to subprocesses. Also, hook pre-command-hook if
2610 `eshell-send-direct-to-subprocesses' is non-nil.
2611 (eshell-send-direct-to-subprocesses): New config variable. If t,
2612 subprocess input is send immediately.
2613 (eshell-toggle-direct-send): New function.
2614 (eshell-self-insert-command): New function.
2615 (eshell-intercept-commands): New function.
2616 (eshell-send-input): If direct subprocess sending is enabled,
2617 don't echo any input to the Eshell buffer. Let the subprocess
2618 handle that. This requires "stty echo" in bash, for example.
2620 2000-08-28 John Wiegley <johnw@gnu.org>
2622 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
2623 completion function for Eshell's implementation of `unset'.
2625 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2627 * info.el (Info-directory-list): Doc fix.
2629 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
2631 * filecache.el (file-cache-add-directory-using-find): Don't quote
2632 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
2634 2000-08-31 Kenichi Handa <handa@etl.go.jp>
2636 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
2639 2000-08-30 Andrew Innes <andrewi@gnu.org>
2641 * timer.el (run-with-idle-timer): Undo last change, so that timer
2642 is not activated immediately if Emacs is already idle. Some
2643 existing code relies on this behaviour.
2645 2000-08-30 Miles Bader <miles@gnu.org>
2647 * frame.el (set-frame-font): Do completion of font-name for
2650 2000-08-30 Kenichi Handa <handa@etl.go.jp>
2652 * international/quail.el (quail-start-translation): Bind locally
2653 last-command-event, last-command, and this-command.
2654 (quail-start-conversion): Likewise.
2655 (quail-self-insert-command): Fix docstring.
2657 2000-08-29 Gerd Moellmann <gerd@gnu.org>
2659 * progmodes/executable.el
2660 (executable-make-buffer-file-executable-if-script-p): Check that
2661 buffer contains at least 2 characters.
2663 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2665 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
2667 2000-08-29 Dave Love <fx@gnu.org>
2669 * diff-mode.el (diff-mode) <defgroup>: Add :version.
2670 (diff-mode-shared-map): Bind mouse-2.
2671 (diff-imenu-generic-expression): New variable.
2672 (diff-mode): Use it.
2674 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
2675 (mouse-popup-menubar): Add minor mode menus.
2676 (popup-menu): Check for lookup-key returning number.
2678 2000-08-29 Miles Bader <miles@gnu.org>
2680 * comint.el (comint-send-input): Create overlays using the proper
2681 front/read-advance arguments.
2683 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2685 * ps-print.el: Even/odd pages printing. Doc fix.
2686 (ps-print-version): New version number (6.0).
2687 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
2688 (ps-background, ps-begin-file, ps-begin-job): Code fix.
2689 (ps-print-duplex-feature): Variable eliminated.
2690 (ps-even-or-odd-pages): New variable.
2692 * progmodes/ebnf2ps.el: Doc fix.
2693 (ebnf-version): New version (3.3).
2694 (ebnf-user-arrow): Change variable customization to sexp.
2695 (ebnf-user-arrow): Function eliminated.
2696 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
2698 2000-08-29 Kenichi Handa <handa@etl.go.jp>
2700 * help.el (help-xref-mule-regexp): New variable.
2701 (help-make-xrefs): Handle help-xref-mule-regexp.
2703 * international/mule-cmds.el (help-xref-mule-regexp-template): New
2705 (describe-input-method): Temporarily activate the specfied input
2706 method to display the information.
2707 (describe-language-environment): Hyperlinks to mule related items.
2709 * international/mule-diag.el (charset-multibyte-form-string): New
2711 (list-character-sets-1): Use charset-multibyte-form-string.
2712 (describe-character-set): New function.
2713 (describe-coding-system): Hyperlinks to safe character sets.
2715 * international/quail.el (quail-help): New arg PACKAGE.
2716 Hyperlinks to mule related items.
2717 (quail-help-insert-keymap-description): Use
2718 substitute-command-keys instead of describe-bindings.
2719 (quail-translation-help): Hyperlinks to mule related items.
2721 2000-08-28 John Wiegley <johnw@gnu.org>
2723 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
2724 have a defsubst call itself. Made `eshell-flatten-list' back into
2727 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
2728 catch, in case re-centering point at bottom messes up the display.
2729 This happens frequently in Emacs 21, due I believe to variable
2732 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
2733 to call `find-tag-interactive'.
2735 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
2736 the list of remember directories.
2738 2000-08-28 John Wiegley <johnw@gnu.org>
2740 * align.el: Test align-region-separate to see if it's a symbol.
2742 2000-08-28 John Wiegley <johnw@gnu.org>
2744 * eshell/esh-util.el (eshell-flatten-list): Made this function
2745 into a defsubst form. It gets used very frequently, although
2746 calls don't occur all that often.
2748 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
2751 * eshell/esh-cmd.el (eshell-rewrite-while-command):
2752 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
2754 (eshell-copy-handles): Created a new macro for duplicating the
2755 current set of open handles. This is needed by the looping
2757 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
2758 is not incorrectly stomped on.
2760 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
2761 declaration for pcomplete-use-paring.
2762 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
2763 value of eshell-cmpl-use-paring.
2764 * pcomplete.el (pcomplete-use-paring): New config variable, to
2765 indicate whether paring should be used.
2766 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
2767 completion alternatives that have already been used.
2769 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
2770 bound to C-c C-y, which will repeat the previous N arguments
2771 (based on prefix argument).
2772 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
2774 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
2775 if there is no *Help* buffer. This is for XEmacs, which renames
2776 its help buffers uniquely. TODO: Find out what the current buffer
2779 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
2780 first entry that correlates to a passwd/group number. Later
2781 entries (used for group/user name aliasing to multiple IDs) are
2784 * eshell/em-xtra.el (eshell/expr):
2785 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
2786 (eshell-grep, eshell/diff, eshell/locate):
2787 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
2788 argument list, before passing it to the system command.
2790 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
2791 `find-tag' for use at final position in Eshell buffers (which
2792 otherwise triggers an error on Emacs 21).
2793 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
2794 buffer, if it is currently bound to `find-tag'.
2796 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
2797 in the list of matched Makefile names.
2798 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
2799 directory, prefer its contents to Makefile.
2801 * eshell/em-dirs.el (eshell/cd): cd commands that look up
2802 directory parts (like "cd old new", or "cd =regexp"), are now case
2803 sensitive on non-Windows/DOS platforms.
2805 * eshell/esh-mode.el (eshell-parse-command-input): When a user
2806 types RET after an open delimiter (like "), display a message
2807 indicating that Eshell is waiting for the closing delimiter.
2809 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
2810 environment variables.
2812 * eshell/em-unix.el (eshell/diff): Added logic to fail more
2813 gracefully if the user enters incorrect arguments.
2815 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
2818 * eshell/esh-var.el (eshell-interpolate-variable):
2819 * eshell/esh-mode.el (eshell-move-argument):
2820 * eshell/em-unix.el (eshell-du-sum-directory):
2821 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
2822 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
2825 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
2826 to ensure the `preserve' flag gets propagated when doing recursive
2829 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
2831 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
2832 Don't convert \n into \0177 in memory.
2833 (eshell-read-history, eshell-write-history): Convert \n to \0177,
2834 and back again, when reading and writing.
2836 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
2838 * eshell/esh-util.el (eshell-processp): Added to relieve constant
2839 testing of `fboundp' on `processp'.
2841 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
2842 (eshell/jobs): Don't call process-list if it is not bound.
2843 (eshell-gather-process-output): Support systems where async
2844 subprocesses aren't supported.
2845 (eshell-scratch-buffer, eshell-last-sync-output-start): New
2848 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
2849 eshell-do-eval returns t.
2850 (eshell-do-pipelines-synchronously): New defmacro.
2851 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
2852 when async subprocesses aren't supported.
2853 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
2854 if async subprocesses aren't supported.
2855 (eshell-resume-command): Don't assume STATUS is a string.
2857 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
2859 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
2860 (eshell-close-target, eshell-get-target): Use eshell-processp.
2861 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
2863 (eshell-get-target, eshell-create-handles): Doc fix.
2865 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
2867 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
2868 criterion to include commands that output something, as long as it
2869 leaves both the command and the end-of-buffer visible when the
2871 (eshell-review-quick-commands): Adjust the help doc string
2874 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
2876 * locate.el (locate): Cleaned up locate command's interactive prompting
2877 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
2879 * filecache.el (file-cache-case-fold-search): New variable
2880 (file-cache-assoc-function): New variable
2881 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
2882 Use file-cache-case-fold-search variable
2883 (file-cache-add-file): Use file-cache-assoc-function
2884 (file-cache-delete-file): likewise
2885 (file-cache-directory-name): likewise
2886 (file-cache-debug-read-from-minibuffer): likewise
2888 2000-08-28 Gerd Moellmann <gerd@gnu.org>
2890 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
2891 (abbrev-table-name): New function.
2892 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
2893 If non-nil list local abbrev, only.
2895 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
2897 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
2898 from Gnus support code, and use special article copy buffer
2899 `(gnus-original-article-buffer)' instead. This allows to get rid
2900 of article-hide-headers usage (which breaks in the latest Gnus
2901 version). Thanks to Detlev Zundel.
2903 2000-08-28 Kenichi Handa <handa@etl.go.jp>
2905 * international/quail.el (quail-use-package): Hide "... loaded"
2907 (quail-start-translation, quail-start-conversion): Likewise.
2909 * international/kkc.el (kkc-region): Hide "... loaded" message.
2911 2000-08-27 Dave Love <fx@gnu.org>
2913 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
2915 2000-08-27 Miles Bader <miles@gnu.org>
2917 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
2919 2000-08-27 Kenichi Handa <handa@etl.go.jp>
2921 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
2922 'ja-dic-cnv), not (require 'skkdic-cnv).
2924 2000-08-26 Miles Bader <miles@gnu.org>
2926 * faces.el (face-x-resources): Add entry for :inherit.
2927 * cus-face.el (custom-face-attributes): Add support for :inherit
2928 attribute. Add support for relative face heights.
2929 (custom-face-attributes-get): Treat `nil' as being a default value
2930 for :inherit (as well as `unspecified').
2932 * faces.el (set-face-attribute): Update doc string.
2933 (face-attribute-name-alist): Add :inherit.
2934 (face-valid-attribute-values): Handle :inherit.
2935 (face-read-string): Rephrase prompt to be less confusing.
2936 Assume that DEFAULT is a string, since we must return a string.
2937 (face-read-integer): Use `format' to turn DEFAULT into an
2938 acceptable default for face-read-string. Match NEW-VALUE against
2939 the string "unspecified", not the symbol `unspecified', since
2940 that's what face-read-string returns.
2941 (read-face-attribute): Lookup a name for old-value in valid, and
2942 use it as a default if we find one. Treat all values from
2943 face-read-string as strings. If the default is used, don't do any
2944 more processing on the value, just use the old value directly.
2945 (read-face-and-attribute, modify-face): Tweak prompt.
2946 (read-face-name): Don't assume prompt ends with a space.
2948 * faces.el (describe-face): Add support for :inherit attribute.
2950 2000-08-25 Kenichi Handa <handa@etl.go.jp>
2952 * terminal.el (terminal-emulator): Fix args to `concat'. Now
2953 concat doesn't accept interger.
2955 * international/kkc.el: Remove SKK from Keywords. Require
2956 ja-dic-utl instead of skkdic-utl.
2958 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
2959 Provide ja-dic-cnv instead of skkdic-cnv.
2960 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
2961 (iso-2022-7bit-short): Add safe-charsets property.
2962 (skkdic-convert-postfix): Search Japanese chou-on character in
2963 addition to Hiragana character.
2964 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
2965 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
2966 (batch-skkdic-convert): Likewise.
2968 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
2969 Provide ja-dic-utl instead of skkdic-utl.
2970 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
2972 2000-08-24 Dave Love <fx@gnu.org>
2974 * disp-table.el (standard-display-default): Make the test of `l'
2977 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
2980 * international/iso-ascii.el: Make pilcrow convenient string
2981 consistent with section.
2982 (iso-ascii-display): Set up multibyte characters as well as
2985 2000-08-24 Kenichi Handa <handa@etl.go.jp>
2987 * international/mule-cmds.el (reset-language-environment): Set
2988 default-process-coding-system to '(undecided . iso-latin-1), which
2989 makes process I/O almost consistent with file I/O. Call this
2990 function when mule-cmds.el[c] is loaded.
2992 2000-08-22 Andrew Innes <andrewi@gnu.org>
2994 * makefile.w32-in: New file.
2996 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
2998 * comint.el (comint-output-filter): Compare end of
2999 comint-last-output-overlay with the start of the newly inserted
3000 text, not the end, when deciding whether to extend it.
3001 Set saved-point's insertion type to advance after insertion.
3003 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
3004 since this is now done independently of font-lock mode.
3006 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3008 * server.el (server-kill-new-buffers): New user option.
3009 (server-existing-buffer): New buffer-local variable.
3010 (server-visit-files): When using an existing buffer, set
3011 server-existing-buffer to t.
3012 (server-buffer-done): If server-kill-new-buffers is t, kill the
3013 buffer, unless it was already present before visiting it with
3016 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
3018 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
3019 even if the display doesn't support colors: some displays will
3020 support bold/underline faces.
3022 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3024 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
3026 * startup.el (command-line): If user's init file had an error,
3027 add explanatory text to *Messages*.
3029 2000-08-21 Kenichi Handa <handa@etl.go.jp>
3031 * man.el (Man-getpage-in-background): Decode the process output by
3032 the system locale coding system.
3034 2000-08-20 Dave Love <fx@gnu.org>
3036 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
3037 Don't test x-popup-menu.
3038 (function) <complete-function>: Complete only fbound symbols.
3039 <validate, value>: New.
3040 (variable) <complete-function>: Complete only bound symbols.
3041 (coding-system): Add :base-only, :complete-function, :validate,
3042 :value, :prompt-match.
3043 (widget-coding-system-prompt-value): Use read-coding-system and
3045 (editable-field): Add :help-echo.
3046 (widget-push-button-gui, widget-push-button-cache)
3047 (widget-gui-action, widget-editable-list-gui): COmment out, along
3049 (widget-at): Make arg optional.
3050 (widget-echo-help): Adjust for current help-echo calling sequence.
3051 (widget-specify-field, widget-specify-button)
3052 (widget-specify-insert, widget-get-sibling, widget-image-find)
3053 (widget-convert, widget-insert, widget-leave-text)
3054 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
3055 (widget-setup, widget-field-find, widget-before-change)
3056 (widget-after-change, widget-default-complete)
3057 (widget-default-create, widget-default-delete)
3058 (widget-push-button-value-create, editable-field)
3059 (widget-field-prompt-value, widget-field-validate)
3060 (widget-choice-value-create, widget-choice-action)
3061 (widget-choice-validate, widget-checklist-add-item)
3062 (widget-radio-add-item, widget-radio-chosen)
3063 (widget-radio-value-inline, widget-editable-list-value-create)
3064 (widget-editable-list-entry-create)
3065 (widget-documentation-link-add)
3066 (widget-documentation-string-value-create)
3067 (widget-regexp-validate, widget-file-complete)
3068 (widget-sexp-validate, widget-plist-convert-widget)
3069 (widget-plist-convert-widget, widget-alist-convert-widget)
3070 (widget-alist-convert-widget, widget-color-complete): Simplify,
3071 particularly to avoid bindings which aren't optimized out.
3073 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3075 (down-list, backward-up-list, up-list, kill-sexp)
3076 (backward-kill-sexp, mark-sexp): Make arg optional.
3077 (lisp-complete-symbol): Add optional arg PREDICATE.
3079 * cus-start.el: Add display-buffer-reuse-frames,
3080 file-coding-system-alist.
3082 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3084 * startup.el (command-line): Clear realized faces after
3085 modifying TTY color mappings.
3087 2000-08-20 Miles Bader <miles@gnu.org>
3089 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3090 merely a subset of FACE's attributes.
3092 2000-08-19 Miles Bader <miles@gnu.org>
3094 * comint.el (comint-output-filter): Save the point with a marker,
3095 not just a buffer position.
3097 * international/mule.el (set-buffer-process-coding-system): Make
3098 interactive prompt less confusing.
3100 2000-08-19 Gerd Moellmann <gerd@gnu.org>
3102 * hilit-chg.el: General cleanup of doc strings, comments and
3105 2000-08-19 Miles Bader <miles@gnu.org>
3107 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
3108 Compiler macro removed; beginning-of-line is no longer always
3109 equivalent to forward-line, in the presence of fields.
3111 * comint.el (comint-output-filter): Remove ad-hoc saving of
3112 restriction, and just use save-restriction, now that it works
3113 correctly. Don't adjust comint-last-input-start to account for
3114 our insertion; it shouldn't have moved because we don't use
3115 insert-before-markers anymore. Comment out call to
3116 `force-mode-line-update'; why is it here?
3118 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
3119 while checking for prompt to delete. Use `forward-line 0'
3120 instead of beginning-of-line.
3121 (gud-filter): Temporarily widen gud comint buffer while
3124 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
3126 * progmodes/sh-script.el: Big bag of typos.
3128 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
3129 check since ispell-process is not bound when ispell is not yet loaded.
3131 2000-08-18 Dave Love <fx@gnu.org>
3133 * image.el (find-image): Copy `spec' before using plist-put.
3135 2000-08-18 Gerd Moellmann <gerd@gnu.org>
3137 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
3140 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
3141 backward-kill-sexp, analogous to kill-sexp.
3143 * progmodes/icon.el (icon-indent-line)
3144 (icon-is-continuation-line): Handle comments specially.
3146 2000-08-17 Ken Stevens <k.stevens@ieee.org>
3148 * ispell.el: Set to standard author/maintainer/keyword fields.
3149 Fine tuning to menu map appearance and operation, and added help.
3150 Remove `start' and `end' error messages when compiling.
3151 (ispell-choices-win-default-height): Fixed comment string.
3152 (ispell-dictionary-alist-1): Fixed regexp in castellano and
3153 castellano8 dictionaries.
3154 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
3155 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
3156 dictionary, added italiano dictionary.
3157 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
3159 (ispell-tex-skip-alists): Added psfig support.
3160 (ispell-skip-html): Renamed from ispell-skip-sgml.
3161 (ispell-begin-skip-region-regexp, ispell-skip-region)
3162 (ispell-minor-check): Improved html skipping support to skip across
3163 code, and recognize `&' commands without propper `;' syntax;
3164 (ispell-process-line): Fix alignment error when manually
3165 correcting spelling.
3166 (ispell): Fix comment string.
3167 (ispell-add-per-file-word-list): Always put word list on new line.
3169 2000-08-17 Gerd Moellmann <gerd@gnu.org>
3171 * format.el (format-encode-run-method): Fix error message to say
3172 `encode' instead of `decode'. Use save-window-excursion around
3173 shell-command-on-region as in format-decode-run-method because
3174 shell-command-on-region can display a buffer with error output.
3175 (format-decode): Don't record undo information for the decoding.
3176 (format-annotate-function): Add parameter FORMAT-COUNT. Make
3177 that number part of the temporary buffer name so that more than
3178 one decoding using a temporary buffer can happen safely.
3180 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
3181 of `A-z' in the regexp.
3183 * hilit-chg.el: Fix typos in commentary.
3185 * help.el (view-emacs-news): Rewritten for new naming scheme
3188 * startup.el (command-line): Pop to *Messages* in case an error
3189 is signaled while loading user-init-file.
3191 2000-08-17 Andreas Schwab <schwab@suse.de>
3193 * files.el (insert-directory): Don't lose original file name,
3194 undoing an undocumented change.
3196 2000-08-17 Alex Schroeder <alex@gnu.org>
3198 * sql.el (sql-magic-go): Use comint-bol.
3199 (sql-copy-column): Use comint-line-beginning-position.
3200 (comint-line-beginning-position): Define a replacement for
3201 comint-line-beginning-position if it is not fboundp.
3203 2000-08-17 Alex Schroeder <alex@gnu.org>
3205 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3206 it didn't have any effect anyway.
3208 2000-08-17 Alex Schroeder <alex@gnu.org>
3210 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3211 --pset and pager=off instead of sending \\o|cat at the beginning
3214 2000-08-17 Miles Bader <miles@gnu.org>
3216 * progmodes/octave-inf.el: Add compatibility definition of
3217 comint-line-beginning-position.
3219 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3221 * startup.el (normal-top-level): Look in each dir in load-path for
3222 a leim-list.el file too. This assures of loading leim-list.el
3223 that is created at Emacs installation time even if a user have his
3226 2000-08-17 Miles Bader <miles@gnu.org>
3228 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3229 foreground color to black if the background is dark.
3231 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3233 * loadhist.el (unload-feature): Typo.
3235 * finder.el (finder-compile-keywords):
3236 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3237 to the generated file.
3239 * mail/mh-e.el (mh-make-local-vars):
3240 Replace make-variable-buffer-local with make-local-variable.
3243 * options.el (Edit-options-{set,toggle,t,nil}):
3244 * mail/mailabbrev.el (mail-abbrevs-mode):
3245 * textmodes/tex-mode.el (tex-expand-files):
3246 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3248 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3250 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3251 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3252 Allow going past the last element.
3253 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3254 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3255 (cvs-mouse-toggle-mark): Don't move point.
3256 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3258 * progmodes/compile.el (grep): Provide a default set of files.
3259 (next-error): Docstring fix.
3260 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3262 * emacs-lisp/easy-mmode.el (define-minor-mode):
3263 Use `symbol-value' to keep the byte-compiler quiet.
3265 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3266 (diff-find-source-location): New fun, extracted from diff-goto-source.
3267 (diff-goto-source): Use it.
3268 (diff-next-complex-hunk, diff-filter-lines): New function.
3269 (diff-apply-hunk): New command.
3271 * smerge-mode.el (smerge-mode-menu): Doc fix.
3273 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3275 2000-08-16 Dave Love <fx@gnu.org>
3277 * windmove.el (windmove) <defgroup>: Add :version.
3279 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3280 (goto-address-fontify-p, goto-address-highlight-p)
3281 (goto-address-url-face, goto-address-url-mouse-face)
3282 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3283 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3284 (goto-address-fontify, goto-address-at-mouse): Simplify,
3285 (goto-address-at-point): browse-url-url-at-point,
3286 goto-address-find-address-at-point can return nil.
3287 (goto-address-find-address-at-point): Return nil on failure.
3289 * align.el (align) <defgroup>: Add :version.
3291 * calculator.el (calculator): Add :version.
3292 (calculator): Use two lines for calculator window if `modeline'
3295 * play/5x5.el: Doc fixes.
3296 (5x5) <defgroup>: Add :version.
3298 * play/fortune.el (fortune) <defgroup>: Add :version.
3299 (fortune-append): Fix error message.
3300 (fortune-from-region): Doc fix.
3302 * play/pong.el (pong): Doc fix.
3304 * play/morse.el: Keywords, commentary, autoloads.
3306 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3308 * desktop.el (desktop-save): Don't look at symbol-value of a
3309 member of minor-mode-alist, unless it is boundp.
3311 2000-08-16 Sam Steingold <sds@gnu.org>
3313 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3314 `while'; use `with-current-buffer' instead of `save-excursion'.
3315 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3317 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3319 * international/ccl.el (declare-ccl-program): Docstring modified.
3320 (ccl-execute-with-args): Likewise.
3322 2000-08-16 Miles Bader <miles@gnu.org>
3324 * progmodes/sql.el: Add compatibility definition of
3325 comint-line-beginning-position.
3327 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3329 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3330 'buffer-menu' property.
3331 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3333 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3334 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3337 * buff-menu.el (list-buffers-noselect): Don't display the
3338 *Buffer List* buffer.
3340 * font-lock.el: Require jit-lock to prevent a very late
3341 `Loading jit-lock' message.
3343 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3344 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3347 2000-08-15 Miles Bader <miles@gnu.org>
3349 * textmodes/ispell.el (ispell-graphic-p): New constant.
3350 (ispell-choices-win-default-height, ispell-help): Use
3351 `ispell-graphic-p' instead of `xemacsp'.
3353 2000-08-15 Dave Love <fx@gnu.org>
3355 * simple.el: Autoload widget-convert when compiling.
3356 (mail-user-agent): Doc fix.
3358 * help.el (function-called-at-point, variable-at-point): Use
3360 (help-manyarg-func-alist): Add insert-and-inherit.
3362 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3364 * delsel.el (delsel-unload-hook): New function.
3366 * find-file.el: Doc fixes. Move provide to end.
3367 (ff) <defgroup>: Add :link.
3368 (ff-goto-click): Deleted.
3369 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3370 Use mouse-set-point.
3372 * textmodes/tildify.el: Doc fixes.
3373 (tildify) <defgroup>: Add:version.
3375 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3376 (glasses-custom-set): Use set-default, not set.
3377 (minor-mode-alist): Propertize the lighter.
3378 (glasses-mode): Provide optional arg.
3380 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3381 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3382 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3383 option. Provide :type.
3384 (cwarn-configuration): Provide :type.
3385 (cwarn-mode): Doc fix.
3387 * add-log.el (change-log-merge): Doc fix.
3388 (change-log-redate): New command.
3390 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3392 (browse-url): Use dolist, not mapcar.
3393 (browse-url-at-point): Check for null url.
3394 (browse-url-event-buffer, browse-url-event-point): Functions
3396 (browse-url-at-mouse, browse-url-netscape): Simplify.
3398 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3400 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3401 Fix previous change to mapcan.
3402 (msb--init-file-alist, msb--add-separators)
3403 (msb--make-keymap-menu): Simplify.
3404 (msb--choose-file-menu): Use copy-sequence.
3405 (msb-mode-map): Add title to keymap.
3406 (msb-unload-hook): New function.
3408 * bs.el: Fix indentation.
3409 (bs) <defgroup>: Add :links.
3411 (bs-apply-sort-faces): Don't use window-system.
3412 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3414 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3416 * calendar/timeclock.el (timeclock-file): Run .timelog through
3417 convert-standard-filename.
3419 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3421 * emacs-lisp/authors.el: New file.
3423 * paren.el (show-paren-priority): New user option.
3424 (show-paren-function): Set overlay priorities to
3425 show-paren-priority.
3427 2000-08-14 Miles Bader <miles@gnu.org>
3429 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3430 beginning-of-line with inhibit-field-text-motion bound.
3432 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3434 * calendar/timeclock.el: New file.
3436 2000-08-14 David Ponce <david@dponce.com>
3438 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
3439 `widget-button-click'. so that one can use left mouse button to
3440 click on dialog buttons.
3442 2000-08-14 Emmanuel Briot <briot@gnat.com>
3444 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
3445 identifiers, since XML is case sensitive
3447 2000-08-12 Miles Bader <miles@gnu.org>
3449 * comint.el (comint-output-filter): Don't bother frobbing
3450 window-start, it doesn't seem to be necessary.
3452 * comint.el (comint-send-string, comint-send-region): Make into
3453 real functions. Snapshot the prompt before sending.
3455 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3457 * info.el (Info-find-emacs-command-nodes): Rewrite to use
3458 technique similar to Info-index, instead of relying on specific
3459 names of relevant Index nodes.
3460 (Info-goto-emacs-command-node): Bind Info-history to nil when
3461 going to the first node found by Info-find-emacs-command-nodes.
3463 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3465 * menu-bar.el (menu-bar-help-menu): Add a :help string.
3467 2000-08-10 Miles Bader <miles@gnu.org>
3469 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
3471 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3473 * info.el (Info-file-list-for-emacs): More elements for the
3474 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
3477 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
3479 * comint.el (comint-send-input): Make the newline boundary overlay
3480 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
3481 (comint-output-filter): Use `insert' instead of
3482 `insert-before-markers'. Extend comint-last-output-overlay when
3483 necessary since we can't rely on insert-before-markers to do it.
3484 * gud.el (gud-filter): Use `with-current-buffer' instead of
3485 save-excursion when inserting the output, so that point gets
3486 updated correctly; the old method relied on a rather dodgy
3487 side-effect of comint-output-filter to avoid the effect of
3490 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3492 * files.el (recover-file): Call insert-directory instead of
3493 invoking `ls' directly.
3495 2000-08-10 Miles Bader <miles@gnu.org>
3497 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
3498 (comint-last-prompt-overlay): New variables.
3499 (comint-output-filter): Implement prompt highlighting.
3500 (comint-snapshot-last-prompt): New function.
3501 (comint-send-input): Snapshot the last prompt.
3502 Use comint-highlight-input-face.
3503 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
3504 Use defface instead of defcustom.
3505 (send-invisible, comint-send-eof): Snapshot the last prompt.
3506 (comint-delchar-or-maybe-eof): Use comint-send-eof.
3507 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
3509 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
3511 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
3512 (regexp-opt-group): Use a list of chars for `letters'.
3513 (regexp-opt-charset): `chars' is now a list of chars.
3514 Use a char-table rather than a vector so it works for multibyte chars.
3516 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
3517 Set cvs-minor-current-files to the selected fileinfo.
3518 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
3519 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
3521 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
3523 * files.el (insert-directory): Don't call access-file on
3524 directories on DOS and Windows.
3526 2000-08-09 Kenichi Handa <handa@etl.go.jp>
3528 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
3529 longer if necessary.
3530 (ccl-embed-code): Call ccl-embed-data to store CODE in
3533 2000-08-09 Miles Bader <miles@gnu.org>
3535 * comint.el (comint-output-filter): Properly handle the case where
3536 the text surrounded by comint-last-output-overlay was deleted.
3538 2000-08-08 Gerd Moellmann <gerd@gnu.org>
3540 * info.el (Info-insert-dir): Use Info-additional-directory-list if
3542 (Info-file-list-for-emacs): Remove "info" from the list because
3543 that leads to trying to use the documentation from file `info'
3544 in various situations where it isn't appropriate, for instance
3547 * ffap.el (ffap-read-file-or-url-internal): Handle case that
3548 DIR and/or STRING are nil.
3550 * progmodes/compile.el (compilation-setup): Make variable
3551 compilation-error-screen-columns buffer-local, as some comment
3552 in the code suggests it should be.
3554 * files.el (auto-mode-interpreter-regexp): New variable.
3555 (set-auto-mode): Use it.
3557 * indent.el (indent-for-tab-command): Doc fix.
3559 * mouse-sel.el (mouse-sel-mode): Doc fix.
3561 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
3564 * help.el (print-help-return-message): When
3565 display-buffer-reuse-frames is set, let the help window been quit,
3566 instead of deleting it, which might delete a reused frame.
3568 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
3570 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
3571 rename a directory to a name that differs only by its letter case.
3573 2000-08-08 Kenichi Handa <handa@etl.go.jp>
3575 * international/quail.el (quail-define-rules): Handle Quail decode
3576 map correctly. Add code for supporting annotations.
3577 (quail-install-decode-map): New function.
3578 (quail-defrule-internal): New optional arguments decode-map and
3580 (quail-advice): New function.
3582 2000-08-07 Sam Steingold <sds@gnu.org>
3584 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
3585 `defconst', `define-condition', `with-slots'.
3586 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
3588 2000-08-03 Miles Bader <miles@gnu.org>
3590 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3592 (comint-prompt-regexp, comint-get-old-input): Document dependence on
3593 comint-use-prompt-regexp-instead-of-fields.
3594 (comint-send-input): Add `input' field property to stuff we send to
3595 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
3596 (comint-output-filter): Add `output' field property to process
3597 output, if comint-use-prompt-regexp-instead-of-fields is nil.
3598 (comint-replace-by-expanded-history)
3599 (comint-get-old-input-default, comint-show-output)
3600 (comint-backward-matching-input, comint-forward-matching-input)
3601 (comint-next-prompt, comint-previous-prompt): Use field
3602 properties if comint-use-prompt-regexp-instead-of-fields is nil.
3603 (comint-line-beginning-position): New function.
3604 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
3605 (comint-replace-by-expanded-history-before-point): Use
3606 comint-line-beginning-position and line-end-position.
3607 (comint-last-output-overlay): New variable.
3608 (comint-mode): Make `comint-last-output-overlay' buffer-local.
3610 * shell.el (shell-prompt-pattern): Doc change.
3611 (shell-backward-command): Use line-beginning-position.
3613 * gud.el (gud-gdb-complete-command): Use
3614 comint-line-beginning-position.
3616 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
3617 comint-bol doesn't actually go to the beginning of the line.
3619 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
3620 if comint-use-prompt-regexp-instead-of-fields is non-nil.
3621 (try-expand-line-all-buffers): Likewise.
3623 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
3624 explicitly matching comint-prompt-regexp.
3625 (sql-copy-column): Use comint-line-beginning-position instead of
3626 explicitly matching comint-prompt-regexp.
3628 * progmodes/octave-inf.el (inferior-octave-complete): Use
3629 comint-line-beginning-position.
3631 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
3633 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
3634 looking for a prompt, use `forward-line 0' instead of
3635 `beginning-of-line', to avoid getting caught by an input field.
3637 2000-08-07 Gerd Moellmann <gerd@gnu.org>
3639 * files.el (shell-quote-wildcard-pattern): Make sure to return
3640 PATTERN, in the Unix case.
3642 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
3644 * play/zone.el (zone): Discard any pending input before running
3645 the randomly-chosen pgm.
3647 2000-08-07 Kenichi Handa <handa@etl.go.jp>
3649 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
3650 checking the existence of any multibyte characters.
3652 2000-08-06 Gerd Moellmann <gerd@gnu.org>
3654 * help.el (describe-mode): Test minor-mode symbol for being
3655 bound before testing its value for being nil.
3657 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
3658 `first', `second', and `third'.
3660 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
3661 (second): Make it an alias for `cadr'.
3663 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
3665 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
3666 types of display support faces now.
3668 2000-08-05 Gerd Moellmann <gerd@gnu.org>
3670 * pcvs.el (require): Require `cl' during compilation, only.
3672 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
3673 (toplevel): Remove `remq' and `remove' from autoloads.
3674 (cl-fake-autoloads): New variable. If set, arrange for an error
3675 when CL functions etc. are autoloaded.
3677 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
3679 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
3681 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
3682 popped up, but the user clicks outside the menu, return an empty
3683 regexp (that causes unhighlight-regexp to have no effect).
3685 * menu-bar.el (menu-bar-games-menu): Add Zone.
3687 * hi-lock.el (toplevel): Require font-lock.
3689 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3691 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
3692 (ebnf-8-bit-chars): New var for bug fix.
3693 (ebnf-string): Bug fix.
3695 2000-08-03 Sam Steingold <sds@gnu.org>
3697 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
3698 instead of `buffer-string'.
3699 (require 'cl): Always, not just when compiling.
3700 `ignore-errors' in `interactive', `list*', `defun*' &c make this
3703 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
3705 * international/mule-cmds.el (select-safe-coding-system): Make
3706 the message text about selecting a safe coding system more clear.
3708 2000-08-02 Gerd Moellmann <gerd@gnu.org>
3710 * hi-lock.el: New file.
3712 * play/zone.el: New file.
3714 * replace.el (occur): Set tab-width in the *Occur* buffer to the
3715 value of tab-width in the original buffer. Choose a line number
3716 format that's a multiple of the original buffer's tab width, so
3717 that lines appear right.
3719 * textmodes/ispell.el (ispell): New function, replacing an alias.
3720 Spell-check active region if in transient-mark-mode and mark
3721 is active; otherwise spell-check buffer.
3723 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3725 * ps-mule.el: Fix a customization problem on
3726 ps-mule-font-info-database-default.
3728 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
3730 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
3731 display-mouse-p instead of window-system.
3732 (ebrowse-member-mode-map): Ditto.
3734 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3736 * progmodes/ebnf2ps.el: Update ps-print functions call.
3737 Indentation fix. Doc fix.
3738 (ebnf-version): New version number (3.2).
3739 (ebnf-format-color, ebnf-begin-job): Code fix.
3741 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
3743 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
3744 font lock support on window-system.
3745 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
3747 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
3748 display-color-p, if fboundp, instead of window-system.
3750 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
3752 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
3753 instead of window-system.
3755 * wid-edit.el (widget-choose): Use display-mouse-p instead of
3757 (widget-choice-mouse-down-action): Use display-popup-menus-p
3758 instead of window-system.
3760 * strokes.el (strokes-file): Run the file name through
3761 convert-standard-filename.
3762 (strokes-mode): Call display-mouse-p instead of looking at
3763 window-system. Change the error message accordingly.
3765 * progmodes/cpp.el (toplevel): Support faces on tty's.
3767 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
3768 (lm-plot-square, lm-init-display): Don't use window-system.
3770 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
3771 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
3773 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
3774 instead of looking at window-system.
3776 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3778 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
3779 of testing if iswitchb-prepost-hooks is bound, because the
3780 latter will always be true when invoking a recursive minibuffer
3781 from an active Iswitchb buffer.
3783 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
3785 * files.el (shell-quote-wildcard-pattern): New function.
3786 (insert-directory): Call it. Only prepend "\" to command on Unix
3787 and GNU/Linux systems.
3789 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3791 * eshell/esh-groups.el: Change custom :link file names
3792 from `eshell.info' to `eshell'.
3794 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
3796 * dired.el (dired-build-subdir-alist): Expand subdirectory names
3797 correctly in recursive ange-ftp listings.
3799 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3801 * ps-print.el: Fix bug 1: if ps-font-size-internal,
3802 ps-header-font-size-internal and
3803 ps-header-title-font-size-internal variables are not set,
3804 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
3805 face text property is (foreground-color . COLOR) or
3806 `(background-color . COLOR)', ps-print crashes. Doc fix.
3807 (ps-print-version): New version number (5.2.4).
3808 (ps-plot-region): Code fix.
3809 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
3810 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
3813 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
3815 * glasses.el (glasses-make-readable): Fix uncapitalization of
3816 identifiers like `myXMLDocument'.
3818 2000-07-28 Karl Fogel <kfogel@red-bean.com>
3820 * mail/mail-hist.el (mail-hist-previous-input)
3821 (mail-hist-next-input): Do the obvious code factorization.
3822 (mail-hist-retrieve-and-insert): New func, contains common
3824 If inserting a message body, leave point at top.
3826 2000-07-28 Sam Steingold <sds@gnu.org>
3828 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
3829 Use `<=', not `<' to compare times!
3830 (ange-ftp-ls): Remove.
3832 2000-07-27 Gerd Moellmann <gerd@gnu.org>
3834 * play/cookie1.el: Add explanation of how to make cookie.el
3835 compatible with strfile(1) to comment.
3837 * subr.el (remove, remq): New functions.
3839 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
3840 escape `*' in regexps.
3841 (midnight-find): Reverse order of arguments in the funcall of
3844 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
3847 * play/meese.el: Add Commentary section.
3849 2000-07-27 Alex Schroeder <alex@gnu.org>
3851 * sql.el (sql-ms): Added autoload cookie.
3852 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
3853 (sql-oracle): Ditto.
3854 (sql-help): Doc change.
3856 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
3857 types and exceptions.
3859 2000-07-27 Alex Schroeder <alex@gnu.org>
3861 * sql.el (sql-placeholder-history): New variable.
3862 (sql-query-placeholders-and-send): New function that will query
3863 the user and replace placeholders with user input.
3864 (sql-oracle): If running on NT, set comint-input-sender to
3865 sql-query-placeholders-and-send.
3867 (sql-stop): If in the SQLi buffer, insert stop notification, else
3868 present it as a message.
3870 2000-07-27 Alex Schroeder <alex@gnu.org>
3872 * sql.el (sql-input-ring-separator): Doc change.
3873 (sql-input-ring-file-name): Doc change.
3874 (sql-interactive-mode): Use `sql-input-ring-separator' and
3875 `sql-input-ring-file-name' to set the comint-mode equivalents
3876 without making them local variables.
3877 (sql-stop): Don't bind `sql-input-ring-separator' and
3878 `sql-input-ring-file-name' dynamically to their comint-mode
3881 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3883 * international/mule.el (register-char-codings): New function.
3884 (make-coding-system): Handle `safe-chars' specification in the arg
3887 * international/mule-cmds.el
3888 (find-coding-systems-region-subset-p): This function deleted.
3889 (sort-coding-systems-predicate): New variable.
3890 (sort-coding-systems): New function.
3891 (find-coding-systems-region): Use
3892 find-coding-systems-region-internal.
3893 (find-coding-systems-string): Use find-coding-systems-region.
3894 (find-coding-systems-for-charsets): Check
3895 char-coding-system-table.
3896 (select-safe-coding-system-accept-default-p): New variable.
3897 (select-safe-coding-system): Mostly rewritten. New argument
3899 (select-message-coding-system): Call select-safe-coding-system
3900 with ACCEPT-DEFAULT-P arg.
3901 (reset-language-environment): Reset default-sendmail-coding-system
3902 to the default value iso-latin-1.
3903 (set-language-environment): Don't set the obsolete variable
3904 charset-origin-alist.
3906 * international/codepage.el (cp-coding-system-for-codepage-1):
3907 Give `safe-chars' property to make-coding-system.
3909 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
3910 calling select-message-coding-system twice.
3912 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
3913 instead of `safe-charsets'.
3914 (cyrillic-alternativnyj): Likewise.
3915 (ccl-encode-alternativnyj): Don't check the charset
3918 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3920 * composite.el (compose-chars-after): Preserve match data.
3922 2000-07-26 Sam Steingold <sds@gnu.org>
3924 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
3925 (ange-ftp-real-file-newer-than-file-p): New function.
3926 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
3927 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
3929 * tooltip.el (tooltip-float-time): Removed (use `float-time').
3930 * midnight.el (midnight-float-time): Ditto.
3932 2000-07-26 Andreas Schwab <schwab@suse.de>
3934 * files.el (normal-backup-enable-predicate): Correct
3935 interpretation of the return value of compare-strings.
3937 2000-07-26 Gerd Moellmann <gerd@gnu.org>
3939 * isearch.el (isearch-resume): New function.
3940 (isearch-done): Add something to command-history to resume
3942 (isearch-yank-line, isearch-yank-word): Use
3943 buffer-substring-no-properties instead of buffer-substring.
3945 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
3946 of flyspell-mouse-map.
3948 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
3949 duplicate definition.
3950 (makefile-mode): Remove duplicate setting of local-abbrev-table.
3952 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
3953 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
3955 2000-07-25 Sam Steingold <sds@gnu.org>
3957 * net/ange-ftp.el: Get modtime over the net.
3958 (ange-ftp-file-modtime): New function.
3959 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3960 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
3962 (ange-ftp-dot-to-slash): New function.
3963 (ange-ftp-fix-name-for-vms): Use it.
3965 * midnight.el (midnight-buffer-display-time): Use
3966 `with-current-buffer'.
3968 2000-07-25 Gerd Moellmann <gerd@gnu.org>
3970 * find-dired.el: Update copyright notice.
3971 (find-dired): Offer to kill a running `find'.
3973 * enriched.el (enriched-face-ans): For a `foreground-color'
3974 property, return '(("x-color" COLOR))' so that COLOR will be
3975 output as a parameter of the x-color annotation. Likewise for the
3976 `background-color' property. In the case of normal face
3977 properties, don't return annotations for unspecified foreground
3978 and background face attributes.
3980 2000-07-25 Kenichi Handa <handa@etl.go.jp>
3982 * language/japan-util.el (japanese-katakana-region): Fix handling
3985 2000-07-25 Miles Bader <miles@gnu.org>
3987 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
3988 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
3991 2000-07-24 Andrew Innes <andrewi@gnu.org>
3993 * timer.el (timer-activate-when-idle): Add optional parameter
3994 DONT-WAIT. Update docstring.
3995 (run-with-idle-timer): Specify extra parameter to
3996 timer-activate-when-idle, so that timer will be activated
3997 immediately if Emacs is already idle.
3999 * w32-fns.el (w32-using-nt): Fix docstring.
4001 2000-07-24 Dave Love <fx@gnu.org>
4003 * mouse.el (popup-menu): Set last-command-event.
4004 (mouse-major-mode-menu-prefix): Declare.
4006 2000-07-24 Gerd Moellmann <gerd@gnu.org>
4008 * textmodes/flyspell.el: Update to author's version 1.5d.
4010 * progmodes/hideshow.el: Update copyright notice.
4012 * vcursor.el: Set maintainer to FSF, since author cannot
4015 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
4017 * info.el (Info-goto-emacs-key-command-node): Leave a space after
4020 * mouse.el (popup-menu): Run the keymap through indirect-function,
4021 in case it was defined with define-prefix-key. If the menu is a
4022 list of keymaps, look up the binding of user's choice in each one
4024 (mouse-popup-menubar): If the global and local menu-bar keymaps
4025 don't have a prompt string, create one and insert it into the
4026 keymap. Don't barf if current-local-map returns nil.
4028 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
4030 * dired.el (dired-sort-R-check): Added to allow recursive listing
4032 (dired-sort-other): Use it.
4034 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4036 * Release of cc-mode 5.27
4038 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4040 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
4041 c-beginning-of-statement-1 that caused a bad case of recursion
4042 which could consume a lot of CPU in large classes in languages
4043 that have in-expression classes (i.e. Java and Pike).
4045 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
4046 statements before top level constructs (i.e. case 6 is moved
4047 before case 5 and is now case 4) to catch in-expression
4048 classes in top level expressions correctly.
4050 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4052 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
4053 objc-method-intro. Case 4 removed and case 5I added.
4055 * cc-langs.el (c-append-paragraph-start): New variable used by
4056 c-common-init to get paragraph-start correct.
4057 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4058 initialize paragraph-start to make it correct both with and
4059 without the javadoc special case.
4061 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4062 initialize paragraph-start for javadoc markup.
4064 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4065 change by defaulting this to t. It's motivated by the
4066 confusing behavior that otherwise arise from the style system
4067 when editing both java and non-java files at the same time
4068 (see the comments about style setting in c-common-init).
4070 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4072 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4073 similar to the one in c-fill-paragraph to check the fill
4074 prefix from the adaptive fill function for sanity.
4076 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4078 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4081 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4083 * cc-mode.texi Documented the change of cpp-macro.
4085 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4087 * cc-align.el (c-lineup-multi-inher): Handle lines with
4088 leading comma nicely. Extended to handle member initializers
4091 * cc-engine.el: (c-beginning-of-inheritance-list,
4092 c-guess-basic-syntax): Fixed recognition of inheritance lists
4093 when the lines begins with a comma.
4095 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4097 * cc-vars.el (c-offsets-alist): Changed default for
4098 member-init-cont to c-lineup-multi-inher since it now handles
4099 member initializers and indents better for leading commas.
4101 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4103 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
4104 handling that caused class open lines to be recognized as
4105 statement-conts in some cases.
4107 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
4108 guessed by the adaptive fill function unless point is on the
4109 first line of a block comment.
4111 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
4112 when the buffer ends with a macro continuation char.
4114 * cc-engine.el (c-guess-basic-syntax): Added support for
4115 function definitions as statements in Pike. The first
4116 statement in a lambda block is now labeled defun-block-intro
4117 instead of statement-block-intro.
4119 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
4120 so that the class surrounding point is selected, not the one
4121 innermost in the state.
4123 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
4124 recognition of switch labels having hanging multiline
4127 * cc-engine.el (c-beginning-of-member-init-list): Broke out
4128 some code in c-guess-basic-syntax to a separate function.
4129 * cc-engine.el (c-just-after-func-arglist-p): Fixed
4130 recognition of member inits with multiple line arglists.
4131 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
4132 member-init-cont when the commas are in funny places.
4134 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4136 * cc-defs.el (c-auto-newline): Removed this macro since it's
4139 * cc-engine.el (c-looking-at-bos): New helper function.
4140 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
4141 inexpr and toplevel classes apart in Pike.
4143 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
4146 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
4147 constant, since "class" can introduce an in-expression class
4150 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4152 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
4153 indentation on cpp-macro lines.
4155 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
4156 a syntax modifier like comment-intro, to make it possible to
4157 get syntactic indentation for preprocessor directives. It's
4158 incompatible wrt to lineup functions on cpp-macro, but it has
4159 no observable effect in the 99.9% common case where cpp-macro
4162 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4164 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
4165 member-init-cont when the preceding arglist is several lines.
4167 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4169 * cc-styles.el (c-style-alist): The basic offset for the BSD
4170 style corrected to 8.
4172 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4174 * cc-styles.el (c-style-alist): Adjusted the indentation of
4175 brace list openers in the gnu style.
4177 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4179 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
4181 * cc-cmds.el (c-electric-brace, c-electric-slash,
4182 c-electric-star, c-electric-semi&comma, c-electric-colon,
4183 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
4184 when c-syntactic-indentation is nil.
4186 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
4187 we were left at comments preceding the first statement when
4188 reaching the beginning of the buffer.
4190 * cc-vars.el (c-syntactic-indentation): New variable to turn
4191 off all syntactic indentation.
4193 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4195 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
4196 between the text and the block comment ender when it hangs,
4197 depending on how many there are before the fill.
4199 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4201 * cc-engine.el (c-beginning-of-closest-statement): New helper
4202 function to go back to the closest preceding statement start,
4203 which could be inside a conditional statement.
4204 * cc-engine.el (c-guess-basic-syntax): Use
4205 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4207 * cc-engine.el (c-guess-basic-syntax): Better handling of
4208 arglist-intro, arglist-cont-nonempty and arglist-close when
4209 the arglist is nested inside parens. Cases 7A, 7C and 7F
4212 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4213 up-to-date with javadoc 1.2.
4215 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4217 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4218 multiline Pike type decls.
4220 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4222 * cc-cmds.el (c-indent-new-comment-line): Always break
4223 multiline comments in multiline mode, regardless of
4226 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4228 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4229 fully::qualified::names in C++ member init lists. Preamble in
4232 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4234 * cc-langs.el (c-common-init): Handling of obsolete variables
4235 moved to c-initialize-cc-mode. More compatible style override
4236 when using global style variables.
4237 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4238 variables moved here.
4240 * cc-mode.texi: Documented the special behavior of
4241 c-special-indent-hook as a style variable. Don't talk about
4242 doing (c-make-styles-buffer-local t) in a mode hook, since
4243 that's already too late to work right.
4245 * cc-styles.el (c-make-styles-buffer-local): Flag style
4246 variable localness in c-style-variables-are-local-p to make
4247 the compatibility measure in c-common-init work well.
4249 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4250 longer contain set-from-style.
4251 * cc-styles.el (c-initialize-builtin-style): Don't check for
4252 set-from-style on c-special-indent-hook.
4253 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4254 copy-alist is sufficient now.
4256 * cc-styles.el (c-set-style, c-set-style-1,
4257 c-get-style-variables): Fixes to variable initialization so
4258 that duplicate entries in styles have the same effect
4259 regardless of DONT-OVERRIDE.
4261 * cc-styles.el (c-set-style-2): Fixed bug where the
4262 initialization of inheriting styles failed when the
4263 dont-override flag is set.
4265 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4268 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4270 * cc-defs.el (c-forward-comment): Removed the workaround
4271 introduced in 5.38 since it had worse side-effects. If a line
4272 contains the string "//\"", it regarded the // as a comment
4273 start since the \ temporarily doesn't have escape syntax.
4275 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4277 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4278 ada-xref.el before ada-prj.el, so that the Project menu is created
4279 when ada-prj tries to add to it.
4280 (ada-activate-keys-for-case): Suppress the characters that are not
4281 part of the Ada syntax. Better compatibility with else-mode
4282 (ada-adjust-case-interactive): When auto-casing is not active,
4283 correctly insert newlines (used to insert only ^M). Prevent the
4284 syntax table from being changed in case of an error
4285 (or '_' becomes part of a word and some commands are confused).
4286 Do nothing if ada-auto-case is nil.
4287 (ada-after-keyword-p): Ignore keywords that are also attributes
4288 (ada-batch-reformat): Update usage comment
4289 (ada-call-from-contextual-menu): New function
4290 (ada-case-read-exceptions): Reinitialize the casing exception list
4291 first to nil first, so that the casing exception file can be
4293 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4295 (ada-compile-goto-error): Fix regexp used to detect a file:line
4296 anywhere in the error message
4297 (ada-contextual-menu-last-point): New variable
4298 (ada-create-keymap): If the variable delete-key-deletes-forward is
4299 t on XEmacs, it means that DEL should delete one character
4301 (ada-create-menu): Use :included instead of :visible for XEmacs.
4302 New submenu "Options".
4303 (ada-end-stmt-re): Correctly indent "select ... then abort"
4305 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4306 even if they don't match ada-fill-comment-prefix Fix handling of
4307 paragraphs on the first or last line of a file.
4308 (ada-format-paramlist): Fix handling of default parameter values.
4309 (ada-get-body-name): New function.
4310 (ada-get-current-indent): Optimized by searchling directly for an
4311 existing generic part or a statement outside of it. Handle
4312 ada-indent-align-comments when indenting comments Replaced some
4313 regexps by testing directly the next character. This results in a
4314 huge speedup on some files. New indentation scheme for renames
4315 statements. Stop looking for the 'while' or 'for' associated with
4316 a 'loop' at the first semicolon encountered. A "return" can also
4317 match an anonymous access subprogram declaration.
4318 (ada-get-indent-noindent): Ignore strings and comments when
4319 looking for the keywords "record" and "private".
4320 (ada-goto-matching-decl-start): When matching "if", make sure we
4321 are not in fact seeing "end if". Ignore "when" statements except
4322 when initial keyword was "begin". Fix handling of nested
4323 procedures. Add a recursive call to this function to skip over
4324 other 'end' statmts. Fix indentation for "when .. => begin"
4325 (ada-in-open-paren-p): Fix indentation for complex boolean
4326 expressions, where 'and then', 'or else' and parenthesis
4327 statements are mixed up.
4328 (ada-in-paramlist-p): Skip comments while searching for the
4329 beginning Fix handling of operator declarations.
4330 (ada-indent-align-comments): New variable
4331 (ada-indent-current): Change the syntax table only in the
4332 protected section, so that we are sure it is restored correctly.
4333 (ada-indent-on-previous-lines): Use ada-use-indent and
4334 ada-with-indent Correctly indent "select ... then"
4335 (ada-indent-region): Slight speedup.
4336 (ada-indent-renames): New variable.
4337 (ada-last-which-function-subprog, ada-last-which-function-line):
4339 (ada-looking-at-semi-private): Correctly indent the 'private'
4340 keyword when it is the first word in a package declaration.
4341 (ada-loose-case-word): Stop searching if at the end of the buffer.
4342 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4343 even if point is not initially at the end of the word.
4344 (ada-matching-decl-start-re): Add "when".
4345 (ada-mode): Add support for abbrev-mode, outline-mode and
4346 which-func-mode Override the old find-file.el entry in
4347 ff-special-constructs since it is using the obsolete
4348 ada-spec-suffix variable
4349 (ada-no-auto-case): New function
4350 (ada-scan-paramlist): When parsing the argument type, accept
4351 spaces (as in "X 'Class", generated by Rational Rose).
4352 (ada-other-file-name): No longer loads the other file.
4353 (ada-popup-menu): Save and restore the current buffer and cursor
4354 position before and after displaying the menu.
4355 (ada-search-ignore-complex-boolean): New function.
4356 (ada-uncomment-region): Emacs21 already knows how to delete
4357 comments not starting in the first column.
4358 (ada-use-indent): New variable
4359 (ada-which-function): New function.
4360 (ada-with-indent): New variable
4361 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4362 can be batch-compiled from the command line.
4364 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4365 Add to the menu when the file is loaded, not in ada-mode-hook.
4366 Add -toolbar to the default ddd command Switches moved from
4367 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4368 ada-prj-default-comp-opt
4369 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4370 Reference Manual to the menu
4371 (ada-check-current): rewritten as a call to ada-compile-current
4372 (ada-compile): Removed.
4373 (ada-compile-application, ada-compile-current, ada-check-current):
4374 Set the compilation-search-path so that compile.el automatically
4375 finds the sources in src_dir. Automatic scrollong of the
4376 compilation buffer. C-uC-cC-c asks for confirmation before
4378 (ada-compile-current): New parameter, prj-field
4379 (ada-complete-identifier): Load the .ali file before doing
4381 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4382 conform to gnatmake's behavior.
4383 (ada-find-file-in-dir): New function
4384 (ada-find-references): Set the environment variables for gnatfind
4385 (ada-find-src-file-in-dir): New function.
4386 (ada-first-non-nil): Removed
4387 (ada-gdb-application): Add support for jdb, the java debugger.
4388 (ada-get-ada-file-name): Load the original-file first if not done
4390 (ada-get-all-references): Handles the new ali syntax (parent types
4391 are found between <>).
4392 (ada-initialize-runtime-library): New function
4393 (ada-mode-hook): Always load a project file when a file is opened,
4394 so that the casing exceptions are correctly read.
4395 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4396 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4397 to open the project file, since the latter does not work with
4398 speedbar Get default values before loading the prj file, or the
4399 default executable file name is wrong. Use the absolute value of
4400 src_dir to initialize ada-search-directories and
4401 compilation-search-path,... Add the standard runtime library to
4402 the search path for find-file.
4403 (ada-prj-default-debugger): Was missing an opening '{'
4404 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4406 (ada-prj-default-gnatmake-opt): New variable
4407 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4408 buffers, the project file is the default one Save the windows
4409 configuration before displaying the menu.
4410 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4411 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4412 ...) regexp-quote identifiers names to support operators +,
4414 (ada-remote): New function.
4415 (ada-run-application): Erase the output buffer before starting the
4416 run Support remote execution of the application. Use
4417 call-process, or the arguments are incorrectly parsed
4418 (ada-set-default-project-file): Reread the content of the active
4419 project file, not the one from the current buffer When a project
4420 file is set as the default project, all directories are
4421 automatically associated with it.
4422 (ada-set-environment): New function
4423 (ada-treat-cmd-string): New special variable ${current}
4424 (ada-treat-cmd-string): Revised. The substitution is now done for
4425 any ${...} substring
4426 (ada-xref-current): If no body was found, compiles the spec
4427 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4428 compiler to get rid of command line length limitations.
4429 (ada-xref-get-project-field): New function
4430 (ada-xref-project-files): New variable
4431 (ada-xref-runtime-library-specs-path)
4432 (ada-xref-runtime-library-ali-path): New variables
4433 (ada-xref-set-default-prj-values): Default run command now does a
4434 cd to the build directory. New field: main_unit Provide a default
4435 file name even if the current buffer has no prj file.
4438 Rewritten to show a tabbed-dialog.
4439 (ada-prj-add-ada-menu): Remove the map and name parameters.
4440 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
4442 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
4443 (ada-prj-load-from-file): New function
4444 (ada-prj-save): Always save fields that depend on the current buffer
4445 (ada-prj-show-value): New function
4447 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
4448 Ada mode. This will allow us to display the Ada menu in any buffer
4449 we want (for project items).
4450 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
4451 number of spaces in the header.
4453 2000-07-24 Dave Love <fx@gnu.org>
4455 * ediff-init.el (ediff-region-help-echo): Bind face-help.
4457 2000-07-23 Noah Friedman <friedman@splode.com>
4459 * type-break.el (type-break): perform autosave.
4460 Suggested by Stephen Gildea <gildea@intouchsys.com>.
4461 (type-break-do-query): Cancel query schedule while performing
4462 actual query, to avoid possibility of a second query being made
4463 while first one is already in progress.
4464 (type-break-time-stamp-format): New variable.
4465 (type-break-time-stamp): New function.
4466 (type-break-time-warning): Use it.
4467 (type-break-keystroke-warning): Use it.
4468 (type-break-noninteractive-query): Use it.
4470 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
4472 Use add-minor-mode to set minor-mode-alist, if available.
4473 (eldoc-echo-area-use-multiline-p): New user option.
4474 (eldoc-echo-area-multiline-supported-p): New variable.
4475 (eldoc-docstring-format-sym-doc): Use them.
4476 (eldoc-mode): If not using idle timers, append to local post and
4477 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
4478 (eldoc-display-message-no-interference-p): Don't interfere with
4480 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
4481 (eldoc-function-arglist): New function.
4482 (eldoc-function-argstring): Use it.
4484 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
4485 auto save directory exists before calling directory-files.
4487 2000-07-23 Dave Love <fx@gnu.org>
4489 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
4492 2000-07-21 Dave Love <fx@gnu.org>
4494 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
4495 now passed to the function. It now works properly.
4497 * smerge-mode.el (smerge-mode-menu): Fill it out.
4499 2000-07-20 Gerd Moellmann <gerd@gnu.org>
4501 * info-look.el (info-lookup): If *info* is shown in another frame
4502 on the same display, select that frame, instead of switching to
4503 the Info buffer in another window of the selected frame.
4505 * simple.el (universal-argument-map): Bind numeric keypad keys
4506 kp-0 to kp-9 and kp-subtract.
4507 (digit-argument): Handle these keys.
4509 2000-07-20 Dave Love <fx@gnu.org>
4511 * net/goto-addr.el (goto-address-fontify): Don't bother with
4512 buffer-modified and read-only stuff -- irrelevant with overlays.
4513 Put an extra property on the overlays and use it to clean up in
4514 case goto-address is re-run.
4516 2000-07-19 Richard M. Stallman <rms@gnu.org>
4518 * timer.el (run-with-idle-timer): Doc fix.
4520 * mail/mail-utils.el (mail-strip-quoted-names):
4521 Handle case where <...> appears inside "...".
4522 Use replace-match to edit the string more simply.
4523 (rmail-dont-reply-to): Cope with an unmatched ".
4525 2000-07-19 Dave Love <fx@gnu.org>
4527 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
4530 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
4531 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
4532 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
4534 2000-07-19 Gerd Moellmann <gerd@gnu.org>
4536 * textmodes/refer.el: Correct maintainer's email address.
4538 * progmodes/hideif.el: Correct author's email address.
4539 Fix typo in comment.
4543 * mail/mailheader.el: Correct author's mail address.
4545 * gnus/parse-time.el: Correct author's mail address.
4547 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
4549 * comint.el (comint-highlight-input, comint-highlight-face):
4551 (comint-input-ring-file-name): Change custom type.
4552 (comint-mode-map): Bind mouse-2.
4553 (comint-insert-clicked-input): New function.
4554 (comint-send-input): Handle input highlighting.
4556 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
4558 * mouse.el (popup-menu): New function.
4559 (mouse-major-mode-menu): Use it.
4561 2000-07-18 Dave Love <fx@gnu.org>
4563 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
4566 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4568 * faces.el (face-font-selection-order)
4569 (face-font-family-alternatives): Add custom type.
4571 2000-07-18 Dave Love <fx@gnu.org>
4573 * cus-edit.el (custom-variable-reset-saved)
4574 (custom-variable-reset-standard): Remove unused bindings.
4576 * rect.el (open-rectangle-line): Remove unused let.
4578 * hl-line.el (hl-line-highlight): Check hl-line-mode.
4580 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4582 * cdl.el: Fix `Maintainer' keyword.
4584 * play/pong.el: Add author's email address.
4586 2000-07-17 Sam Steingold <sds@gnu.org>
4588 * files.el (insert-directory): Call `split-string' instead of
4591 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4593 * mail/vms-pmail.el: Change maintainer to FSF.
4595 * net/goto-addr.el: Change maintainer to FSF.
4597 * recentf.el: Update from author.
4599 * info.el (Info-title-face-alist): Removed.
4601 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
4603 * eshell/eshell.el (eshell): Replace links to eshell.info with
4604 links to eshell, to avoid problems on systems where the manual is
4605 installed as `eshell'.
4606 * eshell/esh-cmd.el (eshell-cmd): Ditto.
4607 * eshell/em-smart.el (eshell-smart): Ditto.
4608 * eshell/em-banner.el (eshell-banner): Ditto.
4609 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
4611 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
4612 same-file check in the MS-DOS version (it does support inodes).
4614 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
4616 * eshell/eshell.el (eshell-directory-name):
4617 Run default directory name through convert-standard-filename.
4619 2000-07-18 Kenichi Handa <handa@etl.go.jp>
4621 * international/mule-cmds.el (select-safe-coding-system):
4622 Fix typo in the comment.
4624 * language/european.el (compound-text):
4625 Force katakana-jisx0201 to be designated to G1.
4627 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
4628 Don't translate some national variant characters of latin-jisx0201.
4629 (x-ctext): Force katakana-jisx0201 to be designated to G1.
4631 * international/kkc.el (kkc-after-update-conversion-functions):
4633 (kkc-update-conversion): Run functions in it at the tail.
4635 2000-07-16 John Wiegley <johnw@gnu.org>
4637 * lisp/align.el (align-newline-and-indent):
4638 Adding new function. for auto-aligning blocks of code on RET.
4639 (align-region): Fixed badly formatted minibuffer message.
4641 2000-07-17 Kenichi Handa <handa@etl.go.jp>
4643 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
4644 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
4645 the conversion list at first if appropriate.
4646 (kkc-next): Don't update kkc-next-count here.
4647 (kkc-prev): Don't update kkc-prev-count here.
4648 (kkc-show-conversion-list-update): Fix setting up of conversion
4651 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
4653 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
4655 2000-07-16 Dave Love <fx@gnu.org>
4657 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
4658 function to be more specific.
4660 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
4661 non-string help-echo.
4662 (widget-types-convert-widget): Defsubst it.
4663 (widget-echo-help): Try to cope with a help-echo function of two
4666 2000-07-15 Jason Rumney <jasonr@gnu.org>
4668 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4669 Declare as obsolete.
4671 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
4673 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4675 * hilit-chg.el: Fix typo.
4677 2000-07-14 Dave Love <fx@gnu.org>
4679 * info.el (Info-mode-menu): Fix use of :help, :enable.
4681 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
4683 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
4685 2000-07-13 Dave Love <fx@gnu.org>
4687 * emacs-lisp/easymenu.el: Doc fixes.
4688 (easy-menu-remove): Defalias to ignore.
4690 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
4691 Call throw correctly.
4693 2000-07-13 Gerd Moellmann <gerd@gnu.org>
4695 * faces.el (frame-background-mode): Doc fix.
4697 * simple.el (eval-expression-print-length): Change custom type to
4698 allow entering nil as value.
4700 2000-07-13 Dave Love <fx@gnu.org>
4702 * progmodes/fortran.el (fortran-imenu-generic-expression):
4703 Change definition layout.
4704 (fortran-mode-menu): Reinstate customize entries.
4706 * cus-edit.el (custom-group-menu-create, customize-menu-create):
4707 Use :filter, per old XEmacs code.
4709 2000-07-12 Gerd Moellmann <gerd@gnu.org>
4711 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
4712 event when deciding what to send to the terminal.
4714 2000-07-12 Dave Love <fx@gnu.org>
4716 * cus-start.el: Add optional version as 4th element of specs and
4717 use it for several things new in v21. Remove load-path. Fix type
4718 of line-number-display-limit.
4720 2000-07-11 Dave Love <fx@gnu.org>
4722 * progmodes/fortran.el: Don't require easymenu.
4723 Use repeat counts in various regexps.
4724 (fortran-mode-syntax-table): Defvar directly.
4725 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4726 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
4727 Use defvar, not defconst.
4728 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
4729 (fortran-mode): Set fortran-comment-line-start-skip,
4730 fortran-comment-line-start-skip, dabbrev-case-fold-search.
4731 (fortran-comment-indent): Use defsubst.
4732 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
4733 Use fortran-comment-indent, not fortran-comment-indent-function.
4734 (fortran-comment-region, fortran-electric-line-number): Simplify.
4735 (fortran-auto-fill): New function.
4736 (fortran-do-auto-fill): Deleted.
4737 (fortran-find-comment-start-skip):
4738 Check for non-null comment-start-skip.
4739 (fortran-auto-fill-mode, fortran-fill-statement):
4740 Use fortran-auto-fill.
4741 (fortran-fill): Use fortran-auto-fill. Check for null
4742 comment-start-skip. Simplify final clause and use end-of-line finally.
4744 * widget.el (widget-plist-member): New alias.
4746 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
4748 * eshell/esh-module.el (toplevel): Reference
4749 byte-compile-current-file only if it is bound.
4751 2000-07-10 Gerd Moellmann <gerd@gnu.org>
4753 * dired.el: Don't require `dired-aux'.
4755 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
4757 * dired-aux.el (dired-show-file-type): New function.
4758 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
4759 (dired-show-file-type): Add autoload.
4761 2000-07-10 Kenichi Handa <handa@etl.go.jp>
4763 * international/mule-diag.el (describe-font): Adjusted for the
4764 change of fontset-info.
4765 (print-fontset): Likewise.
4767 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
4769 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
4771 2000-07-07 Gerd Moellmann <gerd@gnu.org>
4773 * bindings.el: Bind `[delete]' to delete-char.
4775 * dired.el (dired-find-alternate-file): New function.
4776 (dired-mode-map): Bind `a' to dired-find-alternate-file.
4777 (toplevel): Require dired-aux when compiling.
4778 (dired-buffers): Move defvar within file to avoid compiler warning.
4780 * info.el (Info-last-search): Variable removed.
4781 (Info-search-history): New variable.
4782 (Info-search): New Info-search-history.
4784 * battery.el, info-look.el: Change author's mail address.
4786 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4788 * mail/rmail.el (rmail-clear-headers): Don't throw an error
4789 if rmail-ignored-headers is nil.
4790 (rmail-retry-failure): Bind rmail-ignored-headers and
4791 rmail-displayed-headers to nil.
4793 2000-07-06 Gerd Moellmann <gerd@gnu.org>
4795 * lpr.el (lpr-page-header-switches): Add `-h' switch.
4796 (print-region-1): Don't hard code `-h' here.
4798 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
4800 2000-07-01 Francesco Potorti` <pot@gnu.org>
4802 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
4803 exim can use "your message" instead of "the message".
4805 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
4807 * facemenu.el: Docstrings fixes.
4808 (facemenu-get-face): Don't use internal-find-face.
4809 (facemenu-iterate): Rename arg to match the docstring.
4811 * newcomment.el (uncomment-region): Be more careful when skipping
4812 backwards over `=' not to bump into BOBP.
4814 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
4816 * ediff-diff.el (ediff-wordify): Use syntax table.
4817 * ediff-init.el (ediff-has-face-support-p): Use
4818 ediff-color-display-p.
4819 (ediff-color-display-p): Use display-color-p, changed to defun
4821 Got rid of special cases for NeXT and OS/2.
4822 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
4825 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4827 * emacs-lisp/lucid.el: Require CL.
4828 (copy-tree, remprop): Remove, it's provided by CL.
4829 (map-keymap): Define in terms of cl-map-keymap.
4830 (extent-property, set-extent-end-glyph): New functions.
4832 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
4834 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4836 * Makefile.in (DONTCOMPILE): Add comment that the name may
4837 not be changed without changing the make-dist script.
4839 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
4840 (cl-mapc): Use mapc instead of cl-old-mapc.
4842 2000-07-05 Andrew Innes <andrewi@gnu.org>
4844 * makefile.nt: Add support for `bootstrap' and related targets.
4846 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4848 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
4849 (easy-menu-do-define): Use `menu-item' format.
4850 Handle case where easy-menu-create-menu returns a symbol.
4851 Manually call the potential top-level filter in the function binding.
4852 (easy-menu-filter-return): New arg NAME.
4853 Convert to a keymap if MENU is an XEmacs menu.
4854 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
4855 (easy-menu-converted-items-table, easy-menu-convert-item):
4856 New var and fun to memoize easy-menu-convert-item-1.
4857 (easy-menu-do-add-item): Use it.
4858 (easy-menu-create-menu): Use easy-menu-convert-item.
4859 Wrap easy-menu-filter-return around any :filter specification.
4860 Don't convert the menu if a filter was specified.
4861 Tell easy-menu-make-symbol not to check for MENU being an expression.
4862 (easy-menu-make-symbol): New arg NOEXP.
4864 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4866 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
4867 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
4868 (eval-defun): If called with prefix arg, instrument code for
4871 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
4872 similar to that of eval-defun.
4874 2000-07-04 Dave Love <fx@gnu.org>
4876 * hl-line.el (hl-line-overlay): Make it permanent-local.
4878 * calendar/todo-mode.el: Replaced with a working version, based on
4879 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
4881 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
4883 * paths.el (prune-directory-list): New function.
4884 (Info-default-directory-list): Rewritten to more methodically
4885 enumerate a big list of possible info directories (based on the
4886 list used by the standalone info reader).
4888 * info.el (info-initialize): Use prune-directory-list to remove
4889 non-existent directories from Info-directory-list.
4891 * paths.el (Info-default-directory-list): Try a list of possible
4892 info-directories instead of a single one. Add the possible
4893 info directory "/usr/share/info".
4895 * woman.el (woman-man.conf-path): Explicitly include the debian
4896 man-db config file "/etc/manpath.config".
4897 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
4898 are present in `manpath.config'.
4899 (woman-manpath): Include "/usr/share/man".
4901 2000-07-03 Gerd Moellmann <gerd@gnu.org>
4903 * frame.el (blink-cursor-mode): Don't hide cursor initially.
4905 * startup.el (command-line): Initialize blink-cursor based
4908 * frame.el (blink-cursor): Default to nil if not running under
4911 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
4912 (face-x-resources): Remove duplicate entry for :font.
4914 * textmodes/refer.el (refer-find-entry-internal): Use some-window
4915 instead of cycling through windows with next-window.
4917 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
4918 of cycling through windows with next-window.
4920 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
4921 of cycling through windows with next-window.
4923 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
4924 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
4925 instead of cycling through windows with next-window.
4927 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
4928 instead of cycling through windows with next-window.
4930 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
4931 of cycling through windows with next-window.
4933 * terminal.el (te-process-output): Use walk-windows instead of
4934 cycling through windows with next-window.
4936 * server.el (server-switch-buffer): Use some-window instead of
4937 cycling through windows with next-window.
4939 * window.el (some-window): New function.
4940 (walk-windows): Remove reference to walk-windows-start.
4942 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
4944 2000-07-03 Richard Stallman <rms@gnu.org>
4946 * window.el (walk-windows): Guarantee termination by keeping a list
4947 of all the windows already handled.
4949 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4951 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
4954 * man.el (Man-notify-when-ready): Don't use window-system. If
4955 Man-notify-method is newframe, and the display is not
4956 multi-frame, select the frame created for the man page.
4957 (Man-init-defvars): Doc fix.
4959 2000-06-28 Gerd Moellmann <gerd@gnu.org>
4961 * faces.el (region): Change background color for light background.
4963 * ediff-wind.el (ediff-setup-control-frame): Remove :box
4964 attribute from mode-line face of Ediff control frame.
4966 * replace.el (query-replace-map): Bind `e' like `E'.
4968 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4970 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
4971 Change name to "Select All".
4973 * dos-fns.el (convert-standard-filename): Fix last change.
4975 2000-06-27 Gerd Moellmann <gerd@gnu.org>
4977 * help.el (describe-variable): Don't insert a second `'s' in front
4978 of the string `value is shown below'. Since the syntax-table is
4979 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
4980 an existing `'s', so that this won't be deleted.
4982 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
4983 * pcmpl-unix.el: New files.
4985 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
4987 * wid-edit.el (widget-member): Use the new plist-member.
4989 2000-06-26 Gerd Moellmann <gerd@gnu.org>
4991 * replace.el (perform-replace): Undo change of 2000-04-04.
4992 Instead, move backward 1 character at the end of the loop when
4995 * faces.el (fringe): Change face for different backgrounds.
4997 * eshell/esh-module.el (toplevel): Load defgroup's differently;
5000 * eshell/*.el: Change spelling of the Free Software Foundation.
5002 * eshell/esh-toggle.el: Removed.
5004 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
5006 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
5009 2000-06-26 Alex Schroeder <alex@gnu.org>
5011 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
5012 `define-key'; instead of checking `(emacs-version)' check for
5013 `set-keymap-parent' and `set-keymap-name' directly. Add entries
5014 for `;' and `o' which might be electric.
5016 (sql-electric-stuff): New user option.
5017 (sql-magic-go): New function which uses `sql-electric-stuff'.
5018 (sql-magic-semicolon): New function which uses
5019 `sql-electric-stuff'.
5021 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
5024 (sql-oracle-options): New variable.
5025 (sql-oracle): Use it.
5027 (sql-imenu-generic-expression): Doc change.
5028 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
5031 (sql-informix): Added command line parameter "-" to force
5032 sql-informix-program to use stdout.
5034 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
5036 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
5037 (cp864-decode-table): Doc fix.
5038 (cp720-decode-table): New variable, supports the Arabic OEM
5039 codepage used by Windows.
5040 (cp737-decode-table): New, Greek OEM codepage used by Windows.
5042 2000-06-23 Dave Love <fx@gnu.org>
5044 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
5045 (font-lock-fontify-anchored-keywords): Use
5046 line-beginning-position.
5047 (global-font-lock-mode): Use mapc.
5049 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
5051 * eshell/esh-module.el: Require CL when compiling.
5053 2000-06-23 Gerd Moellmann <gerd@gnu.org>
5055 * comint.el (comint-substitute-in-file-name): Call replace-match
5056 with second and third arg t.
5058 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5059 Specify foreground color.
5061 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5064 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5066 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5067 cddr instead of cdddr.
5069 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5070 instead of copy-list.
5072 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5075 * subdirs.el: Add eshell subdirectory.
5077 * eshell: New subdirectory containing the Eshell package.
5079 * pcomplete.el: New file.
5081 2000-06-23 Paul Eggert <eggert@twinsun.com>
5083 * mail/mailpost.el (post-mail-send-it): Make sure file has
5084 proper permissions from birth.
5086 * files.el (basic-save-buffer-2): When temporarily setting
5087 file modes, set them to current modes plus 0200, not to 0777.
5089 * emerge.el (emerge-make-temp-file): Make sure file has proper
5090 permissions from birth.
5092 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5094 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5095 backup file name through convert-standard-filename.
5097 * dos-fns.el (convert-standard-filename): Convert leading
5098 directories as well. When long file names are supported, convert
5099 characters that are invalid in Windows file names.
5101 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5103 * ps-print.el: Fix bug: if ^L is the very first buffer character,
5104 ps-print crashes. New feature: page selection for printing. Create
5105 raw-text-unix coding system for XEmacs. Doc fix.
5106 (ps-print-version): New version number (5.2.3).
5107 (ps-plot-region): Bug fix.
5108 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
5109 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
5110 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
5112 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
5113 (ps-last-page): New vars.
5115 2000-06-21 Gerd Moellmann <gerd@gnu.org>
5117 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
5118 empty option string.
5120 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
5122 * man.el (man): Doc fix.
5124 2000-06-21 Kenichi Handa <handa@etl.go.jp>
5126 * international/mule-cmds.el (set-language-info-alist): Docstring
5129 2000-06-20 Gerd Moellmann <gerd@gnu.org>
5131 * version.el (emacs-version): Use ISO date format.
5133 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
5134 instead of `M-backspace'.
5136 * simple.el (turn-off-auto-fill): New function.
5138 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
5140 * jit-lock.el (with-buffer-prepared-for-jit-lock):
5141 Renamed from with-buffer-prepared-for-font-lock and use
5142 inhibit-modification-hooks rather than setting *-change-functions.
5143 Update all functions to use the new name.
5144 (jit-lock-first-unfontify-pos): New semantics (and doc).
5145 (jit-lock-mode): Make non-interactive.
5146 Don't automatically turn on font-lock.
5147 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
5148 Always use jit-lock-after-change.
5149 Remove and restore font-lock-after-change-function.
5150 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
5151 (jit-lock-after-unfontify-buffer): Remove.
5152 (jit-lock-stealth-fontify):
5153 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
5154 (jit-lock-after-change): Set the `fontified' text-prop to nil.
5156 2000-06-20 Sam Steingold <sds@gnu.org>
5158 * emacs-lisp/cl-indent.el (toplevel): Indent
5159 `print-unreadable-object' properly. Untabify.
5161 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5163 * textmodes/reftex.el (reftex-find-citation-regexp-format):
5164 Support for bibentry.
5165 (reftex-compile-variables): Fixed problem with end of section-re.
5167 * texmodes/reftex-dcr.el (reftex-view-crossref,
5168 reftex-view-crossref-from-bibtex):
5169 Deal with changed `reftex-find-citation-regexp-format'.
5170 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
5171 Replaced `remprop' with `put'.
5172 (reftex-view-crossref, reftex-view-crossref-when-idle):
5173 Support for bibentry.
5175 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
5176 New entry for bibentry package.
5178 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
5179 Regexp also matches "\nobibliography".
5181 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
5182 Call `reftex-ensure-write-access' before doing anything.
5183 (reftex-ensure-write-access): New function.
5185 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5187 * progmodes/idlwave.el: File re-installed (update to version 4.2)
5189 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
5191 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
5193 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
5196 2000-06-20 Dave Love <fx@gnu.org>
5198 * faces.el (frame-background-mode): Use set-default, not set, in
5200 (frame-update-faces, frame-update-face-colors): Define with
5203 * enriched.el (enriched-decode-foreground)
5204 (enriched-decode-background): Don't use internal-find-face.
5206 * apropos.el: Doc fixes.
5208 * cus-edit.el (customize-changed-options): Check arg.
5209 (customize-version-lessp): Don't require decimal point.
5211 * custom.el (defcustom, defgroup): Doc fix.
5213 * newcomment.el (comment) <defgroup>: Add :version.
5214 (comment-multi-line): Doc fix.
5216 * emulation/mlsupport.el (define-hooked-local-abbrev,
5217 define-hooked-global-abbrev): Fix, using define-abbrev.
5219 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5221 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5224 2000-06-19 Dave Love <fx@gnu.org>
5226 * menu-bar.el (menu-bar-options-save): New function.
5227 (menu-bar-options-menu): Use it.
5228 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5231 2000-06-19 Andreas Schwab <schwab@suse.de>
5233 * progmodes/etags.el (tags-query-replace): Put new parameters
5234 START and END at the end, for backward compatibility.
5236 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5238 * international/codepage.el:
5239 (cp-coding-system-for-codepage-1): Delete special codes for
5240 generating xxx-dos coding system because now a CCL based coding
5241 system can handle EOL conversion by default.
5243 * international/mule.el (make-coding-system): Generate subsidiary
5244 coding systems for EOL handling variants even for a CCL based
5247 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5249 * international/isearch-x.el (isearch-minibuffer-input-method)
5250 (isearch-minibuffer-input-method-function): These variables
5252 (isearch-with-input-method): Don't use the above variables.
5253 (isearch-process-search-multibyte-characters): Likewise. Call
5254 read-string with the arg INHERIT-INPUT-METHOD t.
5256 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5258 * font-lock.el (font-lock-after-fontify-buffer)
5259 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5261 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5262 Use consistent make-local-variable style for font-lock-fontified.
5263 (jit-lock-fontify-buffer):
5264 Don't bother checking for font-lock-mode and jit-lock-mode.
5266 * time.el: Remove trailing ^M that prevent CVS-merging.
5268 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5270 * Makefile.in (distclean): New target.
5272 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5274 * Makefile.in (srcdir): Define for update-subdirs.
5276 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5278 * find-lisp.el: New file.
5280 2000-06-16 Andrew Innes <andrewi@gnu.org>
5282 * time.el (display-time-mail-function): New variable, to allow
5283 external packages to indicate when new mail is available.
5284 (display-time-update): Use it.
5286 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5288 * international/mule.el (mule-version): Change version name to
5289 SAKAKI. AOI has already been used by Meadow.
5291 * international/quail.el (quail-show-guidance-buf): To find the
5292 bottom window (but minibuffer), pay attention to the height of
5295 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5297 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5298 menu-bar menus. Add help strings. Don't remove the Edit menu
5299 from the menu bar, as the menu bar has enough space now.
5301 * Makefile.in (SHELL): Make sure /bin/sh is used.
5303 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5304 characters, which use series of two ^H characters instead of one.
5306 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5308 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5309 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5311 (Info-find-node-2): Try a case-sensitive search first, then
5312 do a case-insensitive search.
5314 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5317 * complete.el (PC-env-vars-alist): New variable.
5318 (PC-complete-as-file-name): New function.
5319 (partial-completion-mode): Initialize PC-env-vars-alist from
5320 process-environment.
5321 (PC-do-completion): Handle completion of env vars.
5323 * info.el (Info-set-mode-line): Show file name in mode line,
5324 use `*Info*' instead of `Info:'.
5326 * startup.el (command-line-1): Change copyright messages to year
5329 2000-06-15 Dave Love <fx@gnu.org>
5331 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5334 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5336 * international/mule.el (set-buffer-file-coding-system): Almost
5337 rewritten to handle `undecided' as no-op.
5339 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5341 * Makefile.in: New file.
5343 * Makefile: Removed.
5345 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5346 (goto-address-highlight-keymap): Bind C-c RET.
5348 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5350 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5351 inherits buffer-file-coding-system of the current buffer.
5353 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5354 0. Give correct argument to set-auto-coding-function.
5355 (tar-expunge): For goto-char, use (point-min), not 0.
5356 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5357 (tar-subfile-save-buffer): Likewize.
5359 * international/mule.el
5360 (after-insert-file-set-buffer-file-coding-system): Call
5361 set-buffer-file-coding-system with the arg FORCE t.
5363 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5365 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5366 nil. Contemporary sendmails issue an X-Authentication-Warning if
5367 the sender is set with `-f'.
5369 2000-06-13 Dave Love <fx@gnu.org>
5371 * help.el (describe-function-1): Kluge around cases of functions
5372 fset to subrs whose doc doesn't match their symbol-name.
5374 * image.el (insert-image): Default STRING to a space.
5376 * info.el Doc fixes.
5377 (Info-build-node-completions): Match Ref tags.
5379 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5381 * frame.el (display-multi-frame-p, display-multi-font-p): New
5382 defaliases for display-graphic-p.
5384 * hl-line.el: Fixed a typo in commentary.
5386 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5388 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5391 2000-06-12 Dave Love <fx@gnu.org>
5393 * image.el (insert-image): Save a little consing.
5395 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5397 * language/tibet-util.el: Convert all tibetan-1-column characters
5398 to the corresponding tibetan characters.
5399 (tibetan-add-components): Delete code for the special treatment of
5402 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5404 (tibetan-vowel-transcription-alist): More rules added.
5405 (tibetan-composite-vowel-alist): New variable.
5406 (tibetan-precomposition-rule-alist): More rules added.
5408 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5410 * startup.el (command-line): Only call menu-bar-mode if interactive.
5412 * thingatpt.el (toplevel symbol-properties):
5413 * textmodes/makeinfo.el (makeinfo-compile):
5414 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5415 * progmodes/hideif.el (hif-compress-define-list)
5416 (hide-ifdef-use-define-alist):
5417 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5418 (ange-ftp-vms-add-file-entry):
5419 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5420 * man.el (Man-build-man-command):
5421 * mail/rnewspost.el (news-reply-header-hook):
5422 * info.el (Info-insert-dir):
5423 * emulation/mlconvert.el (backward-word, forward-word, setq):
5424 * emacs-lisp/gulp.el (gulp-send-requests):
5425 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5426 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5427 (byte-optimize-apply, end of file):
5428 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5429 (ad-make-freeze-definition):
5430 * startup.el (command-line, command-line-1): Don't quote lambdas.
5432 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5433 (cvs-cleanup-removed): New function.
5434 (cvs-cleanup-functions): New var.
5435 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5436 some flexibility in specifying additional entries to auto-cleanup.
5437 (cvs-quickdir): New function.
5438 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
5439 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
5440 (cvs-mode-find-file): Check that we are on a filename or dirname
5441 when invoked through a mouse-click.
5442 (cvs-full-path): Remove.
5443 (cvs-dired-action): Re-introduced.
5444 (cvs-dired-noselect): Use it.
5445 (vc-post-command-functions): use this new hook if available.
5447 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
5448 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
5449 (cvs-filename-map, cvs-dirname-map): Remove.
5450 (cvs-default-action): Remove.
5451 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
5452 if the arg is really a keymap.
5453 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
5454 Don't hardcode the mapping from state (aka type) to face, but check
5455 the var cvs-fi-<type>-face instead.
5456 (cvs-fileinfo-from-entries): New function.
5458 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
5460 (cvs-find-file-and-jump): Change default to be safer.
5461 (cvs-mode-diff-map): Define it as a function as well.
5462 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
5463 Bind mouse-2 in this global map rather than with text-properties.
5465 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
5466 file to resolve the ambiguity between C(conflict) and C(need-merge).
5468 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5470 * international/mule.el (set-buffer-file-coding-system): If
5471 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
5474 2000-06-12 Dave Love <fx@gnu.org>
5476 * wid-edit.el (widget-specify-button): Really suppress the face if
5479 2000-06-11 Gerd Moellmann <gerd@gnu.org>
5481 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
5483 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
5485 * imenu.el (imenu-generic-expression): Docstring fix.
5487 * composite.el (composition-function-table): Move the `put'
5488 below the autoload cookie so we can load the file before loaddefs.
5490 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
5492 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
5493 Handle easy-mmode-define-global-mode.
5494 For complex macros like define-minor-mode that can generate
5495 several autoload entries, try to autoload entries in the
5498 * emacs-lisp/easy-mmode.el (define-minor-mode):
5499 If KEYMAP is a symbol, just use it.
5500 Use byte-compile-current-file and load-file-name to infer the
5501 proper :require to pass to defcustom.
5502 Wrap the hook var into `progn' so as not to autoload it.
5503 Add a :autoload-end cookie.
5504 Be more careful about the evaluation of KEYMAP.
5505 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
5506 (define-derived-mode): Move define-abbrev-table outside of defvar.
5508 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
5510 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
5511 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
5512 (backup-compiled-files): Ignore errors during `tar'.
5513 (bootstrap): Make autoloads before elc files.
5515 2000-06-10 Kenichi Handa <handa@etl.go.jp>
5517 * international/mule.el (set-buffer-file-coding-system): If one of
5518 undecided-XXX is specified, change only EOL conversion.
5520 * international/mule-conf.el (unix): New alias for the coding
5521 system undecided-unix.
5523 2000-06-09 Dave Love <fx@gnu.org>
5525 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
5527 * progmodes/executable.el: Byte compile dynamic.
5528 (executable-insert): Change custom type.
5529 (executable-find): Add autoload cookie.
5530 (executable-make-buffer-file-executable-if-script-p): New
5531 function. After Noah Friedman.
5533 * files.el (after-save-hook): Customize, with
5534 executable-make-buffer-file-executable-if-script-p as an option.
5536 2000-06-09 Kenichi Handa <handa@etl.go.jp>
5538 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
5539 "tib24p-mule.bdf" for Tibetan.
5541 * composite.el (decompose-composite-char): Declare it as obsolete.
5543 * man.el (Man-fontify-manpage): Pay attention to underline and
5544 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
5546 2000-06-08 Gerd Moellmann <gerd@gnu.org>
5548 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
5549 Set maintainer to FSF since author isn't reachable.
5551 2000-06-08 Dave Love <fx@gnu.org>
5553 * international/mule-cmds.el (select-safe-coding-system): If
5554 DEFAULT-CODING-SYSTEM is not specified, also check the most
5555 preferred coding-system if buffer-file-coding-system is
5556 `undecided'. From Handa.
5558 2000-06-08 Kenichi Handa <handa@etl.go.jp>
5560 * international/mule.el
5561 (after-insert-file-set-buffer-file-coding-system): If the buffer
5562 size is greater than INSERTED, judget that we are not visiting.
5564 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
5566 * whitespace.el (defgroup whitespace): Comment out `:version'.
5567 XEmacs 20.4 has problems defining the group with this present.
5568 We'll have this commented out till get resolve the problem.
5570 2000-06-07 Gerd Moellmann <gerd@gnu.org>
5572 * align.el: Update from author.
5574 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
5576 * apropos.el (apropos-mode-hook): New user variable.
5577 (apropos-mode): Run apropos-mode-hook.
5579 2000-06-07 David Ponce <david@dponce.com>
5581 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
5582 commands. Require `wid-edit' at run-time.
5584 2000-06-07 David Ponce <david@dponce.com>
5586 * recentf.el: Added some "Commentary".
5587 (recentf-open-more-files, recentf-edit-list): Minor changes to
5588 move the point at the top of the file list. This behaviour is
5589 consistent with the menu one when the list contains a lot of
5591 (recentf-cleanup): Now displays the number of items removed from
5593 (recentf-relative-filter) New menu filter to show filenames
5594 relative to `default-directory'.
5596 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5598 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
5599 with/without giving an error if PostScript printer doesn't have this
5600 kind of page size. Zebra Stripe continues or restarts on next page.
5601 Manual/automatic paper feeding. Switch or not the header.
5602 (ps-print-version): New version number (5.2.2).
5603 (ps-windows-system): Include emx as a Windows system.
5604 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
5605 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
5606 (ps-background-text): Code fix.
5607 (ps-error-handler-message, ps-user-defined-prologue)
5608 (ps-print-prologue-header, ps-printer-name)
5609 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
5610 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
5611 (ps-use-face-background): Customization fix.
5612 (ps-n-up-database): Data fix.
5613 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
5614 (ps-switch-header): New vars.
5615 (ps-xemacs-color-name, ps-face-foreground-name)
5616 (ps-face-background-name, ps-boolean-constant): New funs.
5618 2000-06-07 Dave Love <fx@gnu.org>
5620 * allout.el: New version from Manheimer.
5622 2000-06-07 Kenichi Handa <handa@etl.go.jp>
5624 * textmodes/fill.el (fill-find-break-point): Check the validity of
5627 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5629 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5630 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5631 Call display-color-p and display-mouse-p instead of looking at
5634 2000-06-06 Dave Love <fx@gnu.org>
5636 * image.el (find-image): Doc fix. Return nil if image not found.
5637 (put-image, insert-image): Make STRING arg optional.
5639 2000-06-06 Kenichi Handa <handa@etl.go.jp>
5641 * language/vietnamese.el: Remove eval-when-compile.
5642 (viet-viscii-nonascii-translation-table): Define it as a
5643 translation table made from viet-viscii-decode-table.
5644 (viet-viscii-encode-table): Define it as a translation table made
5645 from the reverse map of above.
5646 (viet-vscii-nonascii-translation-table): Define it as a
5647 translation table made from viet-vscii-decode-table.
5648 (viet-vscii-encode-table): Define it as a translation table made
5649 from the reverse map of above.
5650 (ccl-decode-viscii): Use translate-character.
5651 (ccl-encode-viscii, ccl-encode-viscii-font)
5652 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
5655 * language/cyrillic.el: Remove eval-when-compile.
5656 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
5657 translation table made from cyrillic-koi8-r-decode-table.
5658 (cyrillic-koi8-r-encode-table): Define it as a translation table
5659 made from the reverse map of above.
5660 (ccl-decode-koi8): Use translate-character.
5661 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
5662 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
5663 a translation table made from cyrillic-alternativnyj-decode-table.
5664 (cyrillic-alternativnyj-encode-table): Define it as a translation
5665 table made from the reverse map of above.
5666 (ccl-decode-alternativnyj): Use translate-character.
5667 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
5670 * international/mule-diag.el (non-iso-charset-alist): Specify
5671 translation table symbol instead of translation table itself.
5672 (list-block-of-chars): CHARSET may be a translation table symbol.
5674 * international/mule.el (make-coding-system): If CODING-SYSTEM
5675 already exists, override it.
5677 * international/fontset.el: Use family `proportional' for Tibetan
5680 * international/ccl.el (ccl-compile-translate-character): Don't
5681 check if Rrr has property translation-table.
5682 (ccl-compile-map-multiple): Modified to avoid compiler warning.
5684 2000-06-05 Gerd Moellmann <gerd@gnu.org>
5686 * info.el: Bind case-fold-search to t when searching in case
5687 a user sets it to nil in a hook.
5689 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
5691 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5692 * hl-line.el (hl-line-mode): Use the new :global key argument.
5694 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
5695 (tar-clip-time-string): Prepend a space.
5696 (tar-grind-file-mode): Construct a string rather than modifying one.
5697 (tar-header-block-summarize): Fix docstring.
5698 Use `format' rather than an error-prone set of copy-loops.
5700 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
5701 (diff-goto-source, diff-unified->context, diff-context->unified)
5702 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
5703 understand the format output by the `-p' argument to diff.
5705 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
5706 (sh-re-done): Use defconst.
5707 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
5708 (sh-help-string-for-variable, sh-guess-basic-offset):
5709 Don't quote lambdas.
5710 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
5711 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
5713 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
5714 (mh-letter-mode): Derive from text-mode.
5715 This implicitly means that it now calls kill-all-local-variables.
5716 Also remove the Emacs-18 compatibility code.
5718 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
5719 Make use of symbol-property doc-string-elt.
5720 Use memq rather than a sequence of eq.
5721 (doc-string-elt): Fix the wrong or missing previously unused values.
5722 (autoload-print-form): New function extracted from
5723 generate-file-autoloads to allow recursion when handling progn
5724 so that defvar's and defun's docstrings are properly printed.
5725 (generate-file-autoloads): Use it.
5727 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
5728 Use find-file-hooks in the minor-mode function.
5729 Be careful not to loop indefinitely in the post-command-hook function.
5731 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
5733 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
5735 * ediff-diff.el (ediff-exec-process): Use --binary for fine
5736 differences whenever appropriate.
5737 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
5738 * viper.el (find-file, find-file-other-window): Get viper to do
5741 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
5743 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
5744 (jit-lock-fontify-buffer): New function for JIT refontification.
5745 (jit-lock-mode): Fix docstring.
5746 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
5747 Remove jit-lock-after-change from the _local_ hook.
5748 (jit-lock-function-1): Fix docstring.
5750 * info.el (Info-on-current-buffer): Initialize info.
5752 * newcomment.el (comment-indent): Ignore comment-indent-hook.
5754 * progmodes/tcl.el (tcl-indent-for-comment):
5755 Ignore comment-indent-hook.
5757 * emacs-lisp/easy-mmode.el: Require CL during compilation.
5758 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
5759 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
5760 and improve to use the lighter to guess the capitalization.
5761 (define-minor-mode): Inline code from easy-mmode-define-toggle.
5762 Add keyword arguments to specify global-ness or the custom group.
5763 Add local-map and help-echo properties to the lighter.
5764 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
5765 (easy-mmode-define-global-mode): New macro.
5767 2000-06-02 Dave Love <fx@gnu.org>
5769 * wid-edit.el: byte-compile-dynamic since we typically don't use
5770 all the widgets. Don't require cl or widget. Remove
5771 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
5772 (widget-read-event): Removed. Callers changed to use read-event.
5773 (widget-button-release-event-p): Renamed from
5774 button-release-event-p.
5775 (widget-field-add-space, widget-field-use-before-change):
5777 (widget-specify-field): Use keymap property, not local-map.
5778 (widget-specify-button): Obey :suppress-face.
5779 (widget-specify-insert): Use modern backquote syntax.
5780 (widget-image-directory): Renamed from widget-glyph-directory.
5781 (widget-image-enable): Renamed from widget-glyph-enable.
5782 (widget-image-find): Replaces widget-glyph-find.
5783 (widget-button-pressed-face): Move defvar.
5784 (widget-image-insert): Replaces widget-glyph-insert.
5785 (widget-convert): Use keywordp.
5786 (widget-leave-text, widget-children-value-delete): Use mapc.
5787 (widget-keymap): Remove XEmacs stuff.
5788 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
5789 (widget-button-click): Don't set point at the click, but re-centre
5790 if we scroll out of window. Rewritten for images v. glyphs &c.
5791 (widget-tabable-at): Use POS arg, not point.
5792 (widget-beginning-of-line, widget-end-of-line)
5793 (widget-item-value-create, widget-sublist, widget-princ-to-string)
5794 (widget-sexp-prompt-value, widget-echo-help): Simplify.
5795 (widget-default-create): Use widget-image-insert; some rewriting.
5796 (widget-visibility-value-create)
5797 (widget-push-button-value-create, widget-toggle-value-create): Use
5798 widget-image-insert.
5799 (checkbox): Create on and off images dynamically.
5800 (documentation-link): Change :help-echo.
5801 (widget-documentation-link-echo-help): Remove.
5803 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
5805 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
5807 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
5808 (easy-mmode-define-toggle, define-minor-mode): Use it.
5809 (easy-mmode-define-keymap): Docstring fix.
5810 (define-derived-mode): Default PARENT to fundamental-mode.
5811 Add the derived-mode-parent symbol-property.
5812 (easy-mmode-derived-mode-p): New function.
5814 2000-06-02 Dave Love <fx@gnu.org>
5816 * files.el (convert-standard-filename): Doc fix.
5817 (normal-backup-enable-predicate): New function.
5818 (backup-enable-predicate): Use it to replace the lambda form.
5820 * calendar/todo-mode.el: [This needs more work on the outline
5822 (todo) <defgroup>: Add :version.
5823 (todo-add-category): Don't use pushnew.
5824 (todo-cmd-raise): Fix typo.
5825 (todo-top-priorities): Change temp buffer name.
5826 (todo-category-alist): Avoid redundant lambda.
5827 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
5828 Use outline-next-heading.
5830 * autoarg.el: Rewritten to use define-minor-mode.
5831 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
5832 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
5834 2000-06-02 Kenichi Handa <handa@etl.go.jp>
5836 * isearch.el (isearch-other-meta-char): Fix previous change.
5838 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5840 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
5841 (log-edit-done): Only add the comment to the ring if it's different
5842 from the last comment entered.
5844 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
5846 2000-06-01 Dave Love <fx@gnu.org>
5848 * hl-line.el: Rewritten using define-minor-mode.
5850 * help.el (describe-function-1): Distinguish special form from
5851 builtin function. Sanity-check presence of arglist for builtins.
5853 2000-06-01 Kenichi Handa <handa@etl.go.jp>
5855 * international/characters.el: Fix syntax/category setting of
5858 * language/tibet-util.el (tibetan-add-components): Fixes for new
5859 encoding of Tibetan characters.
5860 (tibetan-decompose-precomposition-alist): New variable.
5861 (tibetan-decompose-region): Convert precomposed characters to
5862 non-precomposed characters.
5863 (tibetan-decompose-string): Likewise.
5864 (tibetan-composition-function): Fix args to
5865 thibetan-compose-string.
5867 * language/tibetan.el (tibetan-composable-pattern): More
5868 characters included.
5869 (tibetan-consonant-transcription-alist): Rule for "R" added.
5870 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
5872 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
5874 * language/lao-util.el (lao-composition-function): Fix args to
5877 * language/thai-util.el (thai-composition-function): Fix args to
5880 * isearch.el (isearch-update): Set disable-point-adjustment to t
5881 to prevent the point moving to the end of a composition when a
5882 part of a composition is searched.
5883 (isearch-other-meta-char): If the key invoking this command can be
5884 mapped by function-key-map to a printing char, call
5885 isearch-process-search-char directly.
5887 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5889 * emacs-lisp/bytecomp.el:
5891 * international/mule-cmds.el:
5892 * international/mule-util.el:
5893 * international/mule.el:
5896 * faces.el: Update calls to make-obsolete with a WHEN argument.
5898 * byte-run.el (make-obsolete, make-obsolete-variable):
5899 Add an optional WHEN argument and change the format of the
5900 symbol-property information.
5901 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
5902 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
5903 new obsolete-symbol-property format and print WHEN if it is provided.
5905 2000-05-31 Dave Love <fx@gnu.org>
5907 * loadhist.el (loadhist-hook-functions): Remove
5908 before-change-function, after-change-function.
5909 (unload-feature): Deal with symbols which are both bound and
5912 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
5913 before-change-function, after-change-function.
5915 * simple.el (newline): Don't bind before-change-function,
5916 after-change-function.
5918 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
5920 * whitespace.el (whitespace-rescan-timer-time): Update interval
5921 set to 600 seconds (10 minutes) instead of 60 seconds since
5922 a large number of whitespace buffers causes emacs to `freeze'
5923 for a considerable amount of time.
5925 * whitespace.el: Updated email address
5927 2000-05-31 Dave Love <fx@gnu.org>
5929 * add-log.el (change-log-font-lock-keywords) <function>: Add
5930 pattern for function of change.
5931 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
5932 acknowledgements patterns.
5934 2000-05-31 Kenichi Handa <handa@etl.go.jp>
5936 * isearch.el (isearch-printing-char): If keyboard coding system is
5937 being used, call isearch-process-search-multibyte-characters.
5939 * international/isearch-x.el: Mostly rewritten.
5941 * international/quail.el (quail-start-conversion): Don't include
5942 unhandled events in the returned events, but set them in
5943 unread-command-events. Exit if all inputs are deleted.
5945 2000-05-30 Jason Rumney <jasonr@gnu.org>
5947 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
5949 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
5950 Reenable code to create initial fontsets.
5951 Use set-fontset-font in place of put-charset-property.
5953 2000-05-30 Gerd Moellmann <gerd@gnu.org>
5955 * progmodes/perl-mode.el (perl-indent-line): When looking for a
5956 label, ensure that the first colon isn't followed by another.
5958 * paths.el (Info-default-directory-list): Doc fix.
5960 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
5961 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
5962 send a query containing USER only, not USER@HOST.
5964 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
5965 and rmail-msgend to compute the restriction at the end, instead of
5968 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5970 * dabbrev.el (dabbrev-expand): Don't display messages in the
5971 echo area if the minibuffer window is active.
5973 * jit-lock.el (jit-lock-mode): Add after change function to
5976 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
5978 * antlr-mode.el: New commands: hide/unhide actions,
5979 upcase/downcase literals.
5980 (antlr-tiny-action-length): New user option.
5981 (antlr-hide-actions): New command. Suggested by
5982 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
5983 (antlr-mode-map): New binding [C-c C-v].
5984 (antlr-mode-menu): New entries.
5985 (antlr-downcase-literals): New command.
5986 (antlr-upcase-literals): Ditto.
5988 * antlr-mode.el: Minor changes: indendation, mode-name.
5989 (antlr-indent-line): Indent cpp directive at column 0.
5990 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
5992 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
5993 (antlr-font-lock-additional-keywords): Workaround for intentional
5994 bug in XEmacs version of font-lock.
5995 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
5996 be used by a smarter version of `buffers-menu-grouping-function'.
5998 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6000 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
6001 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
6003 2000-05-29 Kenichi Handa <handa@etl.go.jp>
6005 * international/encoded-kb.el
6006 (encoded-kbd-iso2022-designation-map): Pay attention to that
6007 charset-iso-final-char return -1 for eight-bit-control and
6010 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6012 * speedbar.el (speedbar-use-images, speedbar-update-flag)
6013 (speedbar-easymenu-definition-base): Use display-graphic-p where
6014 available, instead of window-system.
6016 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6018 * international/codepage.el (cp-coding-system-for-codepage-1): Add
6019 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
6022 2000-05-26 Dave Love <fx@gnu.org>
6024 * disp-table.el (standard-display-underline): Don't use
6027 * mail/reporter.el: Maintainer change. Doc fixes.
6028 (reporter-version): Deleted.
6030 * emacs-lisp/elp.el: Maintainer change.
6031 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
6033 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
6035 * add-log.el (add-change-log-entry): Merge the current entry with the
6036 previous one if the previous one is empty.
6038 2000-05-26 Dave Love <fx@gnu.org>
6040 * loadhist.el (unload-feature): Fix interactive spec [from
6041 lijnzaad@ebi.ac.uk].
6043 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
6044 subr-arity to check primitives.
6045 (byte-compile-flush-pending, byte-compile-file-form-progn)
6046 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
6047 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
6050 2000-05-26 Kenichi Handa <handa@etl.go.jp>
6052 * international/fontset.el: Set family names of non-latin charsets
6053 in default fontset to "*".
6055 * international/mule-diag.el (print-fontset): Combine family part
6056 and registry part of the fontname by "-*-" instead of "-".
6058 * international/mule-cmds.el (encode-coding-char): Make strings
6059 multibyte before calling encode-coding-string.
6061 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6063 * derived.el: Fix keywords.
6064 (define-derived-mode): Only define if needed.
6066 * simple.el (fill-comment, comment-column, comment-start)
6067 (comment-start-skip, comment-end, comment-indent-function)
6068 (block-comment-start, block-comment-end, indent-for-comment)
6069 (set-comment-column, kill-comment, comment-padding, comment-region)
6070 (comment-multi-line, indent-new-comment-line): Remove.
6072 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6073 function names for comment operations.
6075 * newcomment.el: Add abundant autoload cookies.
6076 (comment-style): Don't depend on runtime data at compile-time.
6077 (comment-indent-hook): Remove.
6078 (comment-indent): Check if comment-indent-hook is bound.
6079 (comment-region): Docstring fix.
6081 2000-05-25 Dave Love <fx@gnu.org>
6083 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6084 byte-code-function-p.
6086 * mail/rmailsum.el: Add provide.
6088 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6090 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6093 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6095 * ediff-diff.el (ediff-exec-process): delete --binary option from
6096 non-buffer ediff jobs.
6098 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6100 * hilit-chg.el (highlight-changes-mode): Ask about color or
6101 grayscale support, not about window-system.
6103 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
6105 (ffap-highlight): Always default to t.
6107 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
6108 display-popup-menus-p instead of looking at window-system.
6110 * disp-table.el (standard-display-g1, standard-display-graphic):
6111 Only refuse to use string glyphs on X and MS-Windows.
6113 * avoid.el: Remove window-system from commentary, suggest to use
6114 display-*-p instead.
6116 * apropos.el (apropos-print): Use display-mouse-p instead of
6119 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6121 * international/codepage.el (cp-decoding-vector-for-codepage):
6122 Fill up unsupported characters with their own codes. From Kenichi
6125 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6127 * international/mule-diag.el (describe-char-after): Use
6128 display-graphic-p instead of window-system, so that this function
6131 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6133 * international/codepage.el (cp-make-coding-systems-for-codepage):
6134 Remove the eight-bit-graphic and eight-bit-control charsets from
6135 the list of charsets which we convert into `?'.
6137 2000-05-25 Kenichi Handa <handa@etl.go.jp>
6139 * international/mule-conf.el: Specify CHARSET-ID explicitely for
6141 (mule-unicode-0100-24ff, japanese-jisx0213-1,
6142 japanese-jisx0213-2): New charsets.
6144 * international/fontset.el: Setup default fontset for new charsets.
6146 2000-05-24 Dave Love <fx@gnu.org>
6148 * info.el (Info-find-node-2): Restructure [following "Vadim
6149 S. Solomin" <sovs@uic.nnov.ru>].
6151 * icomplete.el: Fix header for Finder.
6153 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
6155 * rmailout.el (rmail-output-to-rmail-file): Added optional param
6158 * rmail.el (rmail-automatic-folder-directives): New user variable.
6159 (rmail-show-message): Add call to `rmail-auto-file' during
6161 (rmail-auto-file): New function.
6163 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6165 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
6167 (ediff-test-utility,ediff-diff-mandatory-option)
6168 (ediff-reset-diff-options): Utilities for proper initialization of
6169 ediff-diff-options and ediff-diff3-options on Windows.
6171 * ediff-init.el (ediff-merge-filename-prefix): New customizable
6174 * ediff-mult.el (ediff-filegroup-action): Use
6175 ediff-merge-filename-prefix.
6177 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6179 * viper-ex.el (ex-write): Set selective display to nil.
6181 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6183 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
6184 aliases for hebrew-iso-8bit.
6186 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6188 * woman.el: New version from Francis J. Wright
6189 <F.J.Wright@Maths.QMW.ac.uk>.
6190 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
6191 names in environment variables regardless of the path separator.
6192 (woman-topic-all-completions-1): Don't call file-name-directory-p
6193 on all files, since woman-file-regexp already filters out any
6196 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6198 * international/quail.el (quail-start-translation): Don't change
6199 modified-p of the current buffer.
6200 (quail-start-conversion): Likewise.
6202 * international/kkc.el (kkc-region): Don't change modified-p of
6205 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6207 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6209 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6211 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6212 (speedbar-insert-button): Invisible text property fix.
6213 (speedbar-directory-plus): Renamed from speedbar-directory-+
6214 (speedbar-directory-minus): Renamed from speedbar-directory--
6215 (speedbar-page-plus): Renamed from speedbar-file-+
6216 (speedbar-page-minus): Renamed from speedbar-file--
6217 (speedbar-page): Renamed from speedbar-file-
6218 (speedbar-tag): Renamed from speedbar-tag-
6219 (speedbar-tag-plus): Renamed from speedbar-tag-+
6220 (speedbar-tag-minus): Renamed from speedbar-tag--
6221 (speedbar-expand-image-button-alist): Use above renames.
6223 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6224 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6225 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6226 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6227 * sb-pg.xpm: Renamed from sb-file.xpm
6228 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6229 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6231 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6233 * international/quail.el (quail-show-guidance-buf): Set
6234 current-input-method of the guidance buffer to the name of the
6235 curren input method.
6237 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6239 * progmodes/compile.el (compile-internal): Style typo.
6241 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6242 quote vars and functions in the docstring.
6244 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6246 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6247 Don't quote lambdas.
6249 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6251 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6253 * startup.el (command-line): Determine source file of compiled
6254 user init file differently. Warn if compiled user init file
6255 is older than its source file.
6257 * ffap.el (ffap-url-regexp): Add `https'.
6259 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6261 * files.el (make-backup-file-name-1): Replace slashes with `!'
6262 rather than `|' (which is not allowed on Windows). Replace the
6263 drive letters with a string "drive_X".
6265 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6267 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6269 * files.el (interpreter-mode-alist): Add `bash2'.
6271 2000-05-22 Dave Love <fx@gnu.org>
6273 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6275 (feature-file): Avoid calling symbol-name. Doc fix.
6276 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6277 (loadhist-hook-functions): Add mouse-position-function.
6278 (unload-feature): Change uses of mapcar.
6280 * files.el (parse-colon-path): Doc fix.
6281 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6282 (set-auto-mode): Use mapc.
6284 * complete.el (PC-look-for-include-file): Use :alnum: character
6286 (partial-completion-mode): Add autoload cookie.
6288 2000-05-22 Sam Steingold <sds@gnu.org>
6290 * info.el (Info-fontify-node): Fixed the call to
6291 `add-text-properties' (bug introduced on 2000-05-18).
6293 2000-05-22 Dave Love <fx@gnu.org>
6295 * bindings.el: Remove debug-ignored-errors set in other files.
6297 * progmodes/etags.el: Add to debug-ignored-errors.
6298 (visit-tags-table-buffer): Clear out buffers holding old tables
6299 when making a new list.
6300 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6303 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6305 (cmpl-string-case-type): Use character classes.
6308 * textmodes/ispell.el:
6311 * progmodes/compile.el: Add to debug-ignored-errors.
6313 * dabbrev.el: Add to debug-ignored-errors.
6314 (dabbrev-completion): Use mapc.
6316 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6318 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6319 (woman-mapcan, woman-parse-man.conf)
6320 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6321 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6322 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6324 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6325 (woman-manpath): Call woman-parse-man.conf.
6326 (woman-emulation): New defcustom, defaults to nroff.
6327 (woman-font-support): New defconst.
6328 (woman-use-symbol-font): New defcustom.
6329 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6331 Many functions: Doc fix.
6333 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6335 * international/quail.el (quail-simple-translation-keymap): Map
6336 128..255 to quail-self-insert-command.
6337 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6339 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6341 * help.el (help-manyarg-func-alist): Typo.
6343 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6344 intervals which makes it heaps simpler.
6346 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6347 the nested comment markers.
6349 * subr.el (remove-hook): Don't turn the hook's value into a list.
6351 2000-05-21 Dave Love <fx@gnu.org>
6353 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6354 are invalid characters.
6356 * international/mule-util.el (detect-coding-with-priority): Use
6357 mapc. Remove redundant lambda.
6359 * international/mule-diag.el (list-non-iso-charset-chars)
6360 (describe-fontset): Remove redundant lambda.
6362 * emulation/crisp.el (brief-mode): New alias.
6364 * emacs-lisp/ring.el (ring-elements): New function.
6366 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6367 (easy-menu-do-add-item): Use keywordp.
6369 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6371 * replace.el: Doc and error message fixes.
6372 (replace-highlight): Use facep, not internal-find-face.
6374 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6376 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6378 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6379 (log-edit-insert-changelog): Drop `:' as well.
6381 * log-view.el: Fix file description.
6382 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6384 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6385 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6387 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6388 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6389 Print a status message if the toggle is called interactively.
6390 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6391 for global minor modes and use `defcustom' for them.
6393 (easy-mmode-define-derived-mode): Remove.
6394 (define-derived-mode): Fancier default docstring.
6395 (easy-mmode-define-navigation): Signal an error rather than (ding).
6397 * newcomment.el (comment-styles): New `box-multi'.
6398 (comment-normalize-vars): Better default for comment-continue to
6399 avoid whitespace-only continuations.
6400 (comment-search-forward): Always move even in the no-syntax case.
6401 (comment-padright): Only obey N if it's only obeyed for padleft.
6402 (comment-make-extra-lines): Better handling of empty continuations.
6403 Use `=' for the filler if comment-start has only one character.
6404 (uncomment-region): Try handling the special `=' filler.
6405 (comment-region): Allow LINES even if MULTI is nil.
6406 (comment-box): Choose box style based on comment-style.
6408 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6410 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6411 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6413 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6415 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6416 and insert, not subst-char-in-region.
6418 * international/mule-diag.el (list-character-sets-1): Handle
6419 charsets eight-bit-control and eight-bit-graphic.
6420 (list-iso-charset-chars): Likewise.
6421 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6422 charactes as is. Use indent-to to align characters.
6424 * international/mule-cmds.el (find-multibyte-characters): Never
6425 exclude charsets eight-bit-control and eight-bit-graphic.
6427 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6429 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6430 Don't quote lambdas.
6432 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6434 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6436 * gud.el (gud-jdb-directories): Doc fix.
6438 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6440 * newcomment.el: New file.
6442 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6444 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
6446 2000-05-18 Andreas Schwab <schwab@suse.de>
6448 * dired.el (dired-between-files): Also skip lines beginning with
6451 2000-05-18 Gerd Moellmann <gerd@gnu.org>
6453 * msb.el (msb-menu-cond): Add choice `user'.
6455 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6457 * ps-print.el: Compatibility, customization and doc fix.
6458 (ps-printer-name-option): Replace defconst by defvar.
6459 (ps-postscript-code-directory): XEmacs compatibility.
6460 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
6462 (ps-user-defined-prologue, ps-print-prologue-header)
6463 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
6464 compatibility and code fix.
6465 (ps-print-background-image, ps-print-background-text):
6467 (ps-line-number-start, ps-n-up-on): New vars.
6469 2000-05-18 Espen Skoglund <esk@ira.uka.de>
6471 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
6472 the indent-comment function to just return the appropriate indent.
6474 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
6476 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
6477 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
6478 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
6480 2000-05-18 Dave Love <fx@gnu.org>
6482 * info.el (Info-fontify-node): Add intangible property as well as
6485 * calendar/appt.el (appt-make-list): Match all lines of entry.
6486 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
6488 2000-05-18 Kenichi Handa <handa@etl.go.jp>
6490 * international/mule-diag.el (describe-char-after): Call
6491 internal-char-font, not char-font. If internal-char-font returns
6492 nil, display "-- none --".
6494 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6496 * image.el (image-type-available-p): Don't reference image-types
6499 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
6501 * autoarg.el (autoarg-mode): Typo in the :set argument.
6503 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6505 * startup.el (command-line-1): Don't signal an error if the
6506 directory for auto-save-list files does not yet exist.
6508 2000-05-17 Kenichi Handa <handa@etl.go.jp>
6510 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
6512 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
6514 * subr.el (remove-hook): `setq' hook-value, not `set'.
6516 2000-05-16 Sam Steingold <sds@gnu.org>
6518 * info.el (debug-ignored-errors): More errors to ignore.
6520 2000-05-16 Dave Love <fx@gnu.org>
6522 * cus-edit.el: Don't require cl or easymenu.
6523 (custom-variable-prompt): Test standard-value property, not
6526 2000-05-16 Sam Steingold <sds@gnu.org>
6528 * subr.el (add-hook): `setq' hook-value, not `set'.
6530 2000-05-16 Gerd Moellmann <gerd@gnu.org>
6532 * startup.el (command-line-1): Mention the FAQ in the startup
6535 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
6537 * progmodes/compile.el (compilation-parse-errors): Collect
6538 `nomessage' regexps last.
6540 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
6542 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
6543 to the function name.
6545 2000-05-15 Dave Love <fx@gnu.org>
6547 * speedbar.el (speedbar-recenter): Typo.
6548 (speedbar-expand-line): Make arg optional.
6549 (speedbar-mode): Avoid a compiler warning.
6551 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6553 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
6554 user-specified option string is empty.
6556 * mouse.el (mouse-yank-at-click): Doc fix.
6558 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
6560 * term/internal.el (IT-character-translations): More updates of
6561 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
6564 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6566 * env.el (getenv): New function, interactively callable.
6567 (setenv, getenv): Remove autoload cookies.
6569 * loadup.el: Load `env'.
6571 * progmodes/f90.el: Change author's mail address.
6573 2000-05-14 Dave Love <fx@gnu.org>
6575 * mail/rmail.el (rmail-show-message-hook): Customize and offer
6576 goto-addr as an option.
6578 * help.el (help-xref-stack): Doc fix.
6579 (help-xref-following): New variable.
6580 (help-make-xrefs): Use it.
6581 (help-xref-go-back): Use position information from stack element.
6582 (help-follow): Make position in stack element a pair. Use
6583 help-xref-following.
6585 * autoarg.el: New file.
6587 * faces.el: Declare more functions obsolete.
6589 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
6590 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
6591 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
6592 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
6593 Remove all the setup-...-environment functions.
6595 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
6597 * speedbar.el: Updated the commentary section. xemacs20p now uses
6598 >= when detecting. Require `defimage' safely.
6599 (speedbar-easymenu-definition-base): Add toggle for images.
6600 (speedbar-easymenu-definition-special): Add flush cache & expand.
6601 (speedbar-visiting-tag-hook): Set new defaults. Added options.
6602 (speedbar-reconfigure-keymaps-hook): New variable.
6603 (speedbar-frame-parameters): Updated documentation.
6604 (speedbar-use-imenu-flag): Updated custom tag
6605 (speedbar-dynamic-tags-function-list): New variable.
6606 (speedbar-tag-hierarchy-method): Updated doc & custom.
6607 (speedbar-indentation-width, speedbar-indentation-width) New
6609 (speedbar-hide-button-brackets-flag): Customizable.
6610 (speedbar-vc-indicator): Doc update.
6611 (speedbar-ignored-path-expressions): Updated default value.
6612 (speedbar-supported-extension-expressions): Updated default value.
6613 (speedbar-syntax-table): Remove {} paren status.
6614 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
6615 as "+". Added overlay aliases.
6616 (speedbar-mode): Use `speedbar-mode-line-update' instead of
6617 `force-mode-line-update'.
6618 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
6619 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
6621 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
6622 (speedbar-item-info-tag-helper): Revamped to handle a wider range
6623 of arbitrary text, and new helper functions.
6624 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
6626 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
6627 (speedbar-directory-buttons): Update path search/expansion.
6628 (speedbar-make-tag-line): Pay attention to
6629 `speedbar-indentation-width'. Use more care w/ invisible
6631 (speedbar-change-expand-button-char): Call
6632 `speedbar-insert-image-button-maybe'.
6633 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
6634 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
6635 (speedbar-trim-words-tag-hierarchy)
6636 (speedbar-simple-group-tag-hierarchy): New functions
6637 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
6638 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
6640 (speedbar-mouse-set-point): New function
6641 (speedbar-power-click): Updated documentation.
6642 (speedbar-line-token, speedbar-goto-this-file): Handle more types
6644 (speedbar-expand-line, speedbar-contract-line): Make more robust
6646 (speedbar-expand-line): Takes universal argument to flush the
6648 (speedbar-flush-expand-line): New function.
6649 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
6650 Use new generator insertion method.
6651 (speedbar-fetch-dynamic-tags): New function.
6652 (speedbar-fetch-dynamic-imenu): Removed code now handled in
6653 `speedbar-fetch-dynamic-imenu'.
6654 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
6655 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
6656 "Revert Buffer" menu items.
6657 (speedbar-buffer-buttons-engine): Be smarter when creating a
6658 filename tag (for expansion purposes.).
6659 (speedbar-highlight-one-tag-line,
6660 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
6661 (speedbar-recenter): New functions.
6662 (defimage-speedbar): Image loading abstraction.
6663 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
6664 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
6665 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
6666 (speedbar-tag-type, speedbar-tag-mail): New images.
6667 (speedbar-expand-image-button-alist): New variable.
6668 (speedbar-insert-image-button-maybe): Insert an image over some
6671 2000-05-13 Kenichi Handa <handa@etl.go.jp>
6673 * international/mule-cmds.el (encode-coding-char): An ASCII
6674 character is always encodable.
6676 * international/mule-conf.el: Add more information in descriptions
6679 * international/mule-diag.el (describe-char-after): New function.
6680 (describe-font-internal): Adjusted for the change of font-info.
6681 (describe-font): Likewise.
6682 (print-fontset): Rewritten for the new fontset implementation.
6683 (describe-fontset): Include fontset alias names in completion.
6684 (list-fontsets): Adjusted for the change of print-fontset.
6686 * simple.el (what-cursor-position): If DETAIL is non-nil, call
6687 describe-char-after instead of displaying the detail in the echo
6689 (syntax-code-table): Format changed.
6690 (string-to-syntax): Adjusted for the above change.
6692 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
6694 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
6696 2000-05-12 Dave Love <fx@gnu.org>
6698 * calendar/todo-mode.el: Remove some compatibility stuff and CL
6699 dependence. Use line-{beginning,end}-position, not
6700 point-at{b,e}ol. Some doc fixes.
6701 (todo-position): New function. Fix callers of position to use it.
6702 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
6704 2000-05-12 Gerd Moellmann <gerd@gnu.org>
6706 * time.el (display-time-mail-icon): Use `:ascent center'.
6708 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
6709 handling FTP security extensions.
6711 2000-05-11 Dave Love <fx@gnu.org>
6713 * calendar/todo-mode.el: New file.
6715 2000-05-11 Gerd Moellmann <gerd@gnu.org>
6717 * comint.el (comint-read-input-ring): Move reference to
6718 comint-input-ring-size outside of the save-excursion. It was
6719 causing the default value to be the only one ever seen.
6721 * font-lock.el: Update copyright. Remove Simon Marshall's email
6722 address on request from him.
6724 * subr.el (substitute-key-definition): Add comment describing
6725 the meaning of PREFIX.
6727 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
6729 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
6731 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
6732 (add-minor-mode): Don't make the variable buffer-local and add a
6733 reference to define-minor-mode in the docstring.
6735 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
6736 HEADER/FOOTER and fix bug with trailing empty directory.
6737 (cvs-append-to-ignore): Use vc-editable-p if available.
6738 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
6739 (vc-do-command): Tweak advice to handle the new VC.
6741 * log-view.el (log-view-goto-rev): New function for the new VC.
6742 (log-view-minor-wrap): Use mark-active.
6744 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
6745 (log-edit-changelog-full-paragraphs): New var.
6746 (log-edit-insert-changelog): Remove a lonely leading `* file'.
6747 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
6748 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
6749 (log-edit-changelog-ours-p, log-edit-changelog-entries)
6750 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
6751 Replace the `cvs' prefix with `log-edit'.
6753 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
6755 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
6756 (diff-font-lock-defaults): Explicitly turn off multiline.
6757 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
6758 (diff-ediff-patch): Fix call to ediff-patch-file.
6759 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
6762 * frame.el (automatic-hscrolling): Typo.
6764 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
6766 2000-05-09 Sam Steingold <sds@goems.com>
6768 * apropos.el (apropos-print): use `describe-face' instead of
6769 `customize-face-other-window'.
6771 2000-05-09 Dave Love <fx@gnu.org>
6773 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
6775 * help.el (describe-variable): Have customize button pop the
6776 help-xref stack when invoked.
6777 (help-xref-symbol-regexp): Add `face'.
6778 (help-make-xrefs): Check for quoted face names and adapt regexp
6779 submatch numbers to cope.
6780 (help-xref-interned): Maybe insert face doc too. Separate
6781 sections with a line of hyphens.
6783 * faces.el: Some doc fixes. Declare some functions obsolete.
6784 (describe-face): Add customize button. Return the help
6787 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
6789 * term/internal.el (IT-character-translations): Fix last change.
6791 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6793 * woman.el: New file
6794 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
6796 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6798 * term/internal.el (IT-character-translations): Update ASCII
6799 simulations for greek-iso8859-7, add latin-iso8859-14 and
6802 * international/mule-cmds.el (set-language-info-alist): Call
6803 define-prefix-command with 3 arguments, to make the map suitable
6806 2000-05-07 Dave Love <fx@gnu.org>
6808 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
6810 2000-05-05 Dave Love <fx@gnu.org>
6812 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
6813 list in doc string. Don't quote keyword symbols.
6814 * emacs-lisp/cl.el: Likewise
6815 * emacs-lisp/cl-seq.el: Likewise
6817 2000-05-05 Gerd Moellmann <gerd@gnu.org>
6819 * abbrev.el (abbrev-mode): Make ARG optional.
6821 2000-05-04 Gerd Moellmann <gerd@gnu.org>
6823 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
6825 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
6827 * subr.el (substitute-key-definition): Clarify documentation.
6829 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
6831 * glasses.el (glasses-convert-to-unreadable): Use
6832 `glasses-separator' instead of the hard-wired "_".
6833 (glasses-mode): Call `glasses-make-unreadable' only in a single
6836 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
6838 * term/internal.el (cjk-codepages-alist): Add associations for
6839 Chinese and Korean codepages. Remove FIXME comment.
6841 2000-05-03 Dave Love <fx@gnu.org>
6843 * time.el (display-time-mail-face, display-time-use-mail-icon):
6845 (display-time-mail-icon): New variable.
6846 (display-time-string-forms): Use the above. Fix the local-map.
6848 2000-05-03 Gerd Moellmann <gerd@gnu.org>
6850 * replace.el (query-replace-map): Add binding for `E'.
6851 (query-replace-help): Extend help text.
6852 (perform-replace): Allow editing the replacement string.
6854 * make-mode.el (makefile-mode-abbrev-table): New variable.
6855 (makefile-mode): Set local abbrev table to
6856 makefile-mode-abbrev-table.
6857 (makefile-font-lock-keywords): Fontify includes and conditionals.
6859 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
6862 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
6863 mail-interactive-insert-alias.
6864 (mail-abbrev-complete-alias): New command.
6865 (mail-mode-map): Bind it to `M-TAB'.
6867 2000-05-03 Kenichi Handa <handa@etl.go.jp>
6869 * language/lao-util.el (lao-compose-region): New function.
6871 2000-05-02 Gerd Moellmann <gerd@gnu.org>
6873 * files.el (recover-session): Make directories as necessary
6874 if they don't exist yet.
6876 * calendar/cal-french.el
6877 (french-calendar-multibyte-special-days-array)
6878 (french-calendar-special-days-array): Change French text.
6879 (calendar-french-date-string): Change output.
6880 (calendar-goto-french-date): Likewise.
6882 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
6884 * wid-edit.el (widget-default-active): Obey `:always-active'.
6885 (widget-documentation-string-value-create): Set `:always-active'.
6887 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6889 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
6890 default prefix to `~/_emacs.d/auto-save.list/_s'.
6891 (normal-top-level): Create the directory for auto-save files, if
6892 it doesn't already exist (in the ms-dos case only).
6894 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6896 * international/mule-cmds.el (set-language-environment): Don't
6897 concat an integer (dos-codepage), use format instead.
6899 2000-05-02 Dave Love <fx@gnu.org>
6901 * help.el (help-xref-on-pp): Check for constant symbols.
6903 2000-04-29 Gerd Moellmann <gerd@gnu.org>
6905 * startup.el (normal-top-level): Put a condition-case around
6906 the code loading subdirs.el.
6908 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6910 * ps-print.el: Upside-down and face background color printing,
6911 line number step, doc fix.
6912 (ps-print-version): New version number (5.2).
6913 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
6914 (ps-face-attribute-list, ps-plot-with-face): Code fix.
6915 (ps-spool-config): Var fix.
6916 (ps-printer-name-option): Const fix.
6917 (ps-print-upside-down, ps-use-face-background)
6918 (ps-line-number-step): New vars.
6919 (ps-window-system, ps-lp-system): New consts.
6920 (ps-face-background): New fun.
6922 2000-04-28 Richard Stallman <rms@gnu.org>
6924 * files.el (make-auto-save-file-name):
6925 Apply auto-save-file-name-transforms to visited file name
6926 before generating auto save file name.
6927 (auto-save-file-name-transforms): New variable.
6929 * files.el (backup-enable-predicate):
6930 Correctly test for a file under a temporary directory.
6932 2000-04-28 Gerd Moellmann <gerd@gnu.org>
6934 * subr.el (add-minor-mode): Rewritten.
6936 2000-04-28 Kenichi Handa <handa@etl.go.jp>
6938 * mail/sendmail.el (sendmail-send-it): Set
6939 buffer-file-coding-system to the selected coding system for MIME
6942 2000-04-27 Gerd Moellmann <gerd@gnu.org>
6944 * dired.el (dired-move-to-filename-regexp): Allow format where
6945 YYYY is followed by two spaces.
6947 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
6948 in the second character class of the regexp.
6950 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
6953 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
6956 * subr.el (add-minor-mode): Use `set' instead of `setq'.
6958 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
6961 2000-04-27 Sen Nagata <sen@eccosys.com>
6963 * emacs-lisp/crm.el (crm-completion-table): New variable.
6964 (crm-collection-fn, crm-test-completion)
6965 (completing-read-multiple): Use it.
6967 2000-04-27 Dave Love <fx@gnu.org>
6969 * help.el (locate-library): Use mapc.
6970 (help-manyarg-func-alist): Add call-process-region.
6972 2000-04-26 Gerd Moellmann <gerd@gnu.org>
6974 * subr.el (add-minor-mode): Make argument MAP optional.
6976 * desktop.el (desktop-save): Save list of minor modes.
6977 (desktop-create-buffer): Restore minor modes.
6978 (desktop-minor-mode-table): New user-option.
6980 * subr.el (add-minor-mode): New function.
6982 * image.el (find-image): New function.
6983 (defimage): Rewritten to find image at load time.
6985 * startup.el (normal-top-level-add-to-load-path): Handle
6986 case that the default directory is not in load-path.
6988 * help.el: Old patch from Stefan Monnier.
6989 (help-xref-on-pp): New function.
6990 (describe-variable): Use it to display xrefs in a symbol's value.
6992 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
6994 * cus-edit.el (custom-face): Fix parenthesis.
6996 2000-04-26 Kenichi Handa <handa@etl.go.jp>
6998 * mail/rmail.el (rmail-expunge): When there are no deleted
6999 messages, do nothing.
7001 2000-04-26 Dave Love <fx@gnu.org>
7003 * international/mule-cmds.el (locale-translation-file-name):
7005 (set-locale-environment): Set it here (at runtime).
7007 2000-04-25 Gerd Moellmann <gerd@gnu.org>
7009 * replace.el (perform-replace): Add parameters START and END. Use
7010 them instead of the check for a region in Transient Mark mode.
7011 (query-replace-read-args): Return two more list elements for the
7012 start and end of the region in Transient Mark mode.
7013 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7014 (map-query-replace-regexp, replace-string, replace-regexp): Add
7015 optional last arguments START and END and pass them to
7018 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
7019 form with additional arguments for perform-replace.
7021 * progmodes/etags.el (tags-query-replace): Add parameters START
7022 and END. Construct a form with additional arguments for
7025 * simple.el (shell-command): Set default directory for "*Shell
7026 Command Output" buffer.
7028 * language/european.el (iso-latin-4): Fix typo.
7030 * emacs-lisp/crm.el: New file.
7032 2000-04-24 Dave Love <fx@gnu.org>
7034 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
7035 (Custom-reset-saved, Custom-reset-standard)
7036 (custom-group-value-create, custom-group-set, custom-group-save)
7037 (custom-group-reset-current, custom-group-reset-saved)
7038 (custom-group-reset-standard): Use mapc.
7039 (custom-buffer-create-internal): Disable undo when creating items.
7041 (custom-face): Avoid redundant lambda.
7043 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7045 * startup.el (auto-save-list-file-prefix): Set default to
7046 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
7048 2000-04-24 Sam Steingold <sds@gnu.org>
7050 * time-stamp.el (time-stamp-string-preprocess): Always convert
7051 `field-result' to a string.
7053 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7055 * frame.el (scrolling): New group.
7056 (automatic-hscrolling): New user-option.
7058 * startup.el (command-line-x-option-alist): Add `-lsp' and
7061 2000-04-19 Dave Love <fx@gnu.org>
7063 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7064 (cl-mapc): Rename from mapc. Fix the funcall.
7066 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7068 * simple.el (clone-indirect-buffer-other-window): New command.
7069 (clone-indirect-buffer): Add optional arg NORECROD.
7070 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7072 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7074 * window.el (count-screen-lines): New function.
7075 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7076 instead of window-buffer-height.
7078 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7079 non-existing variable comint-input-sentinel.
7080 (inferior-lisp-args-to-list): Removed.
7081 (inferior-lisp): Use split-string instead of
7082 inferior-lisp-args-to-list.
7084 * hexl.el (hexl-insert-hex-string): New command.
7086 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7089 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7091 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7092 at the start of an existing but empty folder.
7094 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7096 * ps-mule.el: Customization fix, doc fix.
7097 (ps-multibyte-buffer): Customization fix.
7099 2000-04-17 Richard M. Stallman <rms@gnu.org>
7101 * subr.el (read-passwd): Use read-char-exclusive.
7103 2000-04-17 Gerd Moellmann <gerd@gnu.org>
7105 * textmodes/texinfo.el (texinfo-insert-@email)
7106 (texinfo-insert-@emph, texinfo-insert-@quotation)
7107 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
7108 (texinfo-mode-map): Add key bindings for them.
7110 * files.el (basic-save-buffer-2): Use a template with `$'
7111 instead of `#' for VMS.
7113 * simple.el (clone-indirect-buffer): New function.
7115 2000-04-16 Stephen Eglen <stephen@gnu.org>
7117 * iswitchb.el (iswitchb-case): New function. If the user input
7118 contains any upper-case characters, the search is made
7121 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
7123 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
7125 (texinfo-font-lock-syntactic-keywords): New var.
7126 (texinfo-font-lock-keywords): Remove comment regexp.
7127 (texinfo-insert-block): New function.
7128 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
7129 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
7130 and font-lock-defaults. Use regexp-opt for outline-regexp.
7131 (texinfo-environments): New var.
7132 (texinfo-environment-regexp): Use regexp-opt and
7133 texinfo-environments.
7135 * textmodes/ispell.el (ispell-menu-map-needed): Check that
7136 ispell-process is bound since this might be eval'd before ispell
7138 (ispell-message): Use a tiny bit less magic and a bit more hard
7139 data to figure out what kind of sc-cite-regexp to use.
7141 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
7143 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
7144 (insert-cyclic-diary-entry): Unquote the lambda.
7146 * gud.el (gud-jdb-build-source-files-list): Fix typo.
7148 * files.el (backup-enable-predicate): Unquote the lambda.
7150 * cus-edit.el (custom-face, face): Unquote the lambda.
7152 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7154 * ps-print.el: Check for line-beginning-position definition.
7156 * ps-print.el: Fix counting lines in a region.
7157 (ps-print-version): New version number (5.1.5).
7158 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
7159 (ps-printing-region): Fun code fix.
7161 2000-04-15 Gerd Moellmann <gerd@gnu.org>
7163 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
7164 to file-directory-p.
7166 2000-04-14 Gerd Moellmann <gerd@gnu.org>
7168 * gud.el (gud-jdb-build-source-files-list): Check that directory
7169 exists before calling directory-files.
7171 2000-04-13 Dave Love <fx@gnu.org>
7173 * emacs-lisp/trace.el: Change maintainer. Use new backquote
7176 * emacs-lisp/cl-specs.el: Remove when, unless.
7178 * emacs-lisp/cl-extra.el: Don't quote keywords.
7179 (cl-old-mapc): New variable.
7181 (cl-map-intervals): Use with-current-buffer. Don't check for
7182 next-property-change.
7183 (cl-map-overlays): Use with-current-buffer.
7185 (copy-tree, remprop): Define unconditionally.
7187 * emacs-lisp/cl-compat.el (keywordp): Remove.
7189 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
7191 (edebug-spec): Enable keywordp.
7193 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
7196 * cus-start.el: Use keywordp.
7198 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7200 * diary-lib.el (include-other-diary-files): Fix the fix of
7201 2000-02-18 by doing a save-excursion.
7203 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7205 * ps-print.el: Customization fix, doc fix.
7206 (ps-print-version): New version number (5.1.4).
7207 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7208 (ps-print-preprint): Adjust code.
7209 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7210 (ps-print-prologue-header, ps-print-control-characters)
7211 (ps-spool-config): Customization fix.
7213 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7215 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7216 converted to the new menu-item format, names silightly changed,
7219 Support for spelling without async subprocesses:
7221 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7222 (ispell-session-buffer): New variables.
7223 (ispell-start-process, ispell-process-status,
7224 ispell-accept-output, ispell-send-string): New functions, for
7225 Ispell invocation when async subprocesses aren't supported.
7226 (ispell-word, ispell-pdict-save, ispell-command-loop,
7227 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7228 to process-send-string with calls to ispell-send-string, and
7229 accept-process-output with ispell-accept-output.
7230 (ispell-init-process): Call ispell-process-status instead of
7231 process-status with.
7232 (ispell-init-process): Call ispell-start-process. Call
7233 ispell-accept-output and ispell-send-string. Don't call
7234 process-kill-without-query and kill-process if they are unbound.
7235 (ispell-async-processp): New function.
7237 2000-04-12 Dave Love <fx@gnu.org>
7239 * info.el: Add debug-ignored-errors.
7240 (Info-mode-menu): Add some items.
7241 (Info-directory): Add autoload cookie.
7243 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7244 Modify `truncate-lines'. Make `describe-language-environment'
7245 always visible and add help. Modify `describe-key' help. Invoke
7246 Info-directory from `info'. New entry `emacs-manual'.
7248 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7250 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7251 propertized-buffer-identification.
7252 (ebrowse-update-member-buffer-mode-line): Likewise.
7253 (ebrowse--mode-strings): Removed.
7254 (ebrowse--mode-line-props): Removed.
7256 * files.el (auto-mode-alist): Add `EBROWSE'.
7258 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7259 space before testing for end of buffer.
7260 (ebrowse-load): Removed.
7261 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7262 (ebrowse-create-tree-buffer): Rewritten.
7263 (ebrowse-tree-mode): Read tree from buffer.
7265 * progmodes/ebrowse-ffh.el: Removed.
7267 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7269 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7271 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7273 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7276 2000-04-09 Dave Love <fx@gnu.org>
7278 * files.el (backup-enable-predicate): Use
7279 temporary-file-directory, small-temporary-file-directory.
7280 (make-backup-file-name-function, backup-directory-alist): New
7282 (make-backup-file-name-1): New function.
7283 (make-backup-file-name): Use it.
7284 (find-backup-file-name): Likewise. Use format for clarity, not
7286 (file-newest-backup): Use make-backup-file-name.
7288 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7290 * progmodes/ebrowse-ffh.el: New file.
7292 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7294 (ebrowse-load): Add autoload.
7296 * finder.el (finder-commentary): Add autoload cookie.
7298 * mail/rfc2368.el: Correct author's email address.
7300 * progmodes/ebrowse.el: New file.
7302 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7304 (easy-menu-do-add-item): Ditto.
7305 (easy-menu-define): Extend doc string.
7307 * jit-lock.el (with-buffer-unmodified): Use
7308 restore-buffer-modified-p.
7309 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7310 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7311 with-buffer-unmodified.
7313 2000-04-08 Dave Love <fx@gnu.org>
7315 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7318 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7320 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7321 (viper-flash-search-pattern): No operation when using Emacs
7322 doesn't support face.
7323 Use `viper-put-on-search-overlay'.
7325 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7327 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7330 * progmodes/make-mode.el: Some doc fixes.
7331 (makefile-mode-abbrev-table): New variable.
7332 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7333 (makefile-font-lock-keywords): Fontify includes and conditionals.
7334 (toplevel): Require `dabbrev' and `add-log' when compiling.
7336 * replace.el (perform-replace): Don't move forward one char
7337 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7338 to do that because it leaves point 1 position after the last
7339 replacement, after everything has been replaced.
7341 * jit-lock.el (with-buffer-unmodified): New macro.
7342 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7344 (jit-lock-function-1): Extracted from jit-lock-function; not
7345 preserving buffer's modified state.
7346 (jit-lock-function, jit-lock-stealth-fontify): Call
7347 jit-lock-function-1.
7349 * mail/rfc2368.el: Remove supernumerary copyright line.
7351 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7353 * glasses.el: Provide facilities for inserting space before left
7354 parentheses and uncapitalization of identifiers.
7355 (glasses-mode): Try to remove old overlays in all cases.
7357 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7359 * progmodes/compile.el (compile-internal): Display the compilation
7360 buffer in a different frame, if it's already displayed there.
7362 * mail/rfc2368.el: New file.
7364 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7365 header and insert its value as mail body.
7367 * subr.el (member-ignore-case): New function.
7369 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7370 (dabbrev--find-expansion): Ignore buffers matching a regexp
7371 from dabbrev-ignored-regexps.
7373 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7374 to extensions handled by gzip.
7376 2000-04-03 Richard M. Stallman <rms@gnu.org>
7378 * files.el (insert-directory): List the total free space
7379 along with the used space.
7381 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7382 line is followed by one that matches CITATION-REGEXP, end the
7385 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7387 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7388 (rmail-make-basic-summary-line): Use that option.
7390 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7392 * international/mule-cmds.el (encoded-string-description):
7393 Rewritten. Try pretty description for ISO 2022 escape sequences
7394 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7395 for hexadecimal format.
7397 2000-04-01 Dave Love <fx@gnu.org>
7399 * cpp.el: Change customization group to `c' from `C'.
7401 * vcursor.el (vcursor-move): Use display-color-p.
7403 * international/mule-util.el: Provide mule-utils.
7404 (string-to-sequence): Simplify and speed up.
7406 * international/mule.el (make-coding-system): Purecopy doc-string.
7408 * international/mule-cmds.el: Various menu changes.
7409 (describe-specified-language-support): Handle `Default'.
7410 (set-language-info): Purecopy `info'.
7412 2000-03-31 Andrew Innes <andrewi@gnu.org>
7414 * vc.el (vc-backend-diff): Return the correct status if we had to
7415 retry the rcsdiff command without the --brief option.
7417 2000-03-31 Dave Love <fx@gnu.org>
7419 * help.el (help-manyarg-func-alist): Correct several omissions.
7421 * add-log.el: Don't require cl, fortran.
7422 (add-log-current-defun-function): Doc fix.
7423 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7425 (change-log-version-rcs): Function deleted.
7426 (change-log-version-number-search): Doc fix. Use
7427 vc-workfile-version. Avoid CL dolist.
7428 (add-change-log-entry): Just call add-log-current-defun to get
7429 defun. Simplify somewhat.
7430 (change-log-get-method-definition-1): Likewise.
7431 (add-log-current-defun): Return nil if calling
7432 add-log-current-defun-function does so. Move Fortran stuff to
7433 fortran.el. Return string without properties.
7435 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7436 and :alpha: char classes.
7438 * mail/supercite.el: Defvar curline when compiling.
7439 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
7440 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
7441 rather than a-zA-Z0-9 to allow non-ASCII characters.
7443 2000-03-31 Gerd Moellmann <gerd@gnu.org>
7445 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
7447 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7450 * lpr.el (print-region-1): Use -d to specify printer name for
7451 systems `usg-unix-v*, `dgux', `hpux', `irix'.
7453 2000-03-31 Dave Love <fx@gnu.org>
7455 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
7456 for function definition in symbol's function value slot first
7457 instead of first consulting byte-compile-function-environment.
7459 2000-03-31 Kenichi Handa <handa@etl.go.jp>
7461 * language/european.el ("Polish"): New language environment.
7462 (setup-polish-environment): New function.
7464 2000-03-30 Gerd Moellmann <gerd@gnu.org>
7466 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7469 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
7470 trying to `load' the symbol of an autoload instead of the file
7471 recorded in the autoload. Fix error messages.
7473 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7475 * ps-print.el: PostScript programming fix for ghostview, doc fix.
7476 (ps-print-version): New version number (5.1.3).
7477 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
7478 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
7479 (ps-generate-postscript-with-faces): Code fix.
7480 (ps-color-values): XEmacs compatibility.
7481 (ps-print-background-image, ps-print-background-text, ps-printer-name)
7482 (ps-default-fg, ps-default-bg): Adjust customization.
7483 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
7484 (ps-color-scale): Renaming old ps-color-value fun.
7485 (ps-print-headers): Replace ps-print-header group to avoid conflict
7486 with ps-print-header variable.
7487 (ps-print-miscellany): New group.
7488 (ps-format-color, ps-rgb-color): New funs.
7489 (ps-default-foreground): New var.
7490 (ps-printer-name-option): New const.
7492 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
7495 (network-connection-host, network-connection-service): New variables
7496 (network-connection-mode): New mode, derived from comint-mode
7497 (network-connection-mode-setup): New function, saves host and
7498 service information in local variables.
7501 (locate-word-at-point): Added this function
7502 (locate): Default to using locate-word-at-point as input
7505 2000-03-29 Dave Love <fx@gnu.org>
7507 * calendar/appt.el: Doc fixes.
7508 (appt-check): Convert min-to-app to a string before passing to
7509 appt-disp-window-function or concat.
7510 (appt-delete-window): Remove test for frame-root-window.
7511 (appt-select-lowest-window, appt-convert-time): Simplify.
7513 * emacs-lisp/bytecomp.el: Doc fixes.
7514 (byte-compile-file-form-autoload): Update
7515 byte-compile-function-environment.
7517 2000-03-29 Andreas Schwab <schwab@suse.de>
7519 * emacs-lisp/autoload.el: Also print defsubst doc string
7522 * dired.el (dired-insert-directory): If dired-free-space-program
7523 failed just delete its output.
7525 2000-03-29 Dave Love <fx@gnu.org>
7527 * international/iso-cvt.el: Move provide to end. Doc fixes.
7528 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
7529 (iso-iso2sgml, iso-sgml2iso): New functions.
7530 (iso-cvt-define-menu): Fix some entries and use backquote for
7533 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
7535 2000-03-28 Gerd Moellmann <gerd@gnu.org>
7537 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
7538 ISO-DATE. If non-nil, return date in ISO 8601 format.
7540 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
7542 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
7543 if it ever becomes used.
7544 (log-edit-mode-hook): Default to vc-log-mode-hook.
7545 (log-edit-mode): Fix the docstring.
7547 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
7550 2000-03-26 Dave Love <fx@gnu.org>
7552 * net/browse-url.el (browse-url): Re-fix case of
7553 browse-url-browser-function being an alist.
7554 (browse-url): Add :link to defgroup.
7556 * files.el: Doc fixes.
7557 (file-truename): Include `[' in wildcard characters.
7558 (automount-dir-prefix): Customize.
7559 (find-file-wildcards): Add :version.
7560 (find-file-noselect): Simplify a mapcar call.
7562 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
7563 compatible with inf-lisp version.
7564 (eval-defun-1): Fix custom-declare-variable case.
7566 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
7568 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
7570 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7572 * Makefile (COMPILE_FIRST): New macro.
7573 (compile-files): Compile files from COMPILE_FIRST first.
7575 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
7578 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
7579 matching open parenthesis in column 0 to defun-prompt-regexp
7580 only if open-paren-in-column-0-is-defun-start is set.
7582 * sun-curs.el: Require CL at compile-time only.
7584 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
7585 instead of copy-list which is a function from CL.
7586 (msb--choose-menu, msb--mode-menu-cond)
7587 (msb--create-buffer-menu-2): Use dolist instead of mapc.
7588 (msb--init-file-alist): Use mapcar instead of mapcan.
7589 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
7590 `(' in column 0 in doc string.
7591 (msb--add-separators): Use mapcar instead of mapcan.
7593 * cus-dep.el: Require CL at compile-time only.
7595 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
7597 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7598 (byte-compile-warnings): New warning `noruntime'.
7599 (byte-compile-constants, byte-compile-variables): Fix docstring.
7600 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
7601 execute `eval-whenc-compile's body.
7602 (byte-compile-unresolved-functions): Fix docstring.
7603 (byte-compile-eval): New function.
7604 (byte-compile-callargs-warn): Check if the function will be available
7605 at runtime (via property `byte-compile-noruntime').
7606 (byte-compile-print-syms): New function.
7607 (byte-compile-warn-about-unresolved-functions): Also warn about
7608 `noruntime' functions (and use `byte-compile-print-syms').
7609 (byte-compile-file): Capitalize the message.
7611 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7613 * mail/rmail.el (rmail-confirm-expunge): New user-option.
7614 (rmail-expunge): Ask for confirmation depending on the setting
7615 of rmail-confirm-expunge.
7617 2000-03-23 Gerd Moellmann <gerd@gnu.org>
7619 * Makefile (bootstrap-clean): If $(emacs) exists, build
7620 loaddefs.el first. A loaddefs.el that's not up-to-date might
7621 cause a bootstrap failure because things don't autoload as
7624 2000-03-23 Dave Love <fx@gnu.org>
7626 * net/browse-url.el: Restore previous use of
7627 browse-url-maybe-new-window.
7629 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7631 * ps-print.el: Skip banner page fix.
7632 (ps-print-version): New version number (5.1.2).
7633 (ps-begin-file, ps-end-file, ps-generate): Code fix.
7635 2000-03-23 Dave Pearson <davep@davep.org>
7637 * net/quickurl.el Changed the type of parameter passed to the
7638 function defined by `quickurl-format-function'. Before only the
7639 text of the URL was passed. Now the whole URL structure is passed
7640 and the function is responsible for extracting the parts it
7641 requires. Changed the default of `quickurl-format-function'
7643 (quickurl-insert): Changed the `funcall' of
7644 `quickurl-format-function' to match the above change.
7645 (quickurl-list-insert): Changed the `url' case so that it makes
7646 use of `quickurl-format-function', previous to this the format was
7649 2000-03-22 Gerd Moellmann <gerd@gnu.org>
7651 * startup.el: Change some spellings for the X Window System.
7653 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
7655 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
7656 up the code and the regexp and make sure the cursor is temporarily
7657 moved to the suspicious line while querying the user.
7659 2000-03-22 Jason Rumney <jasonr@gnu.org>
7661 * w32-fns.el (w32-charset-info-alist): Initialize.
7663 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7665 * ps-print.el: N-up last page fix.
7666 (ps-print-version): New version number (5.1.1).
7667 (ps-end-file, ps-end-job, ps-generate): Code fix.
7669 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7671 * files.el (find-file-run-dired): Update docstring.
7672 (find-directory-functions): New hook.
7673 (find-file-noselect): Run find-directory-functions rather than
7674 calling dired directly.
7676 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
7678 * pcvs.el: Add a minimal leading commentary.
7679 (cvs-make-cvs-buffer): Change the header part by removing the startup
7680 message and adding a `Module' entry. Also replace the FOOTER and
7681 HEADER special fileinfos with the new support in ewoc for updating
7682 its own footer and header.
7683 (cvs-update-header): Update to use the header/footer of the ewoc.
7684 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
7685 (cvs-is-within-p): New function.
7686 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
7687 to only examine some subset of the buffers.
7689 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
7690 `format' instead of our own ad-hoc functions.
7691 Remove HEADER and FOOTER cases, now handled in the EWOC.
7692 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
7694 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
7695 output to avoid scaring the user.
7696 (cvs-parse-table): Catch message for non-up-to-date commits.
7698 * pcvs-defs.el (cvs-startup-message): Remove.
7699 (cvs-global-menu): New autoloaded menu.
7701 * pcvs-util.el (cvs-string-fill): Remove.
7703 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
7704 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
7705 PP part of it and also make it work for footers and headers.
7706 (ewoc-create): Drop POS and BUFFER arguments.
7707 Use the DLL's dummy node to store the end-of-footer position.
7708 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
7709 (ewoc-refresh): Remove unused `header' variable.
7710 (ewoc-(get|set)-hf): New functions.
7712 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
7713 log-view-*-(message|file) and use easy-mmode-define-navigation.
7714 (log-view-message-re): Match SCCS format as well.
7715 And match the revision line rather than the dashed separator line.
7716 (log-view-mode): Use the new define-derived-mode.
7717 (log-view-current-tag): Fill in with an actual implementation.
7719 * cvs-status.el (cvs-status-(prev|next)): Rename from
7720 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
7721 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
7722 to let the output "breathe" a little more (more readable).
7723 (cvs-status-mode): Use the new define-derived-mode.
7725 * smerge-mode.el (smerge-auto-leave): New function and variable.
7726 (smerge-basic-map): Rename from smerge-basic-keymap.
7727 Change the bindings for smerge-diff-*.
7728 (smerge-*-map): Use easy-mmode-defmap.
7729 (smerge-(next|prev)): Use easy-mmode-define-navigation.
7730 (smerge-keep-*): Use smerge-auto-leave.
7732 2000-03-21 Jason Rumney <jasonr@gnu.org>
7734 * cus-edit.el (custom-button-face): Use 3D look for w32.
7735 (custom-button-pressed-face): Likewise.
7737 2000-03-21 Gerd Moellmann <gerd@gnu.org>
7739 * progmodes/etags.el (tags-case-fold-search): New user-option.
7740 (tags-loop-eval): New function. Bind case-fold-search around eval
7741 depending on the value of tags-case-fold-search.
7742 (tags-loop-continue): Use tags-loop-eval.
7743 (find-tag-in-order): Bind case-fold-search depending on the value
7744 of tags-case-fold-search.
7746 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7748 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
7749 (diff-end-of-hunk): Return the end position for use in
7750 `easy-mmode-define-navigation'.
7751 (diff-recenter): Remove.
7752 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
7753 of `easy-mmode-define-navigation'.
7754 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
7755 previous renaming) and fix to use new names.
7756 (diff-merge-strings): Use \n as separator: simpler, faster.
7757 (diff-mode): Use `define-derived-mode'.
7759 * derived.el (define-derived-mode): Don't autoload anymore.
7760 Prefer the macro-only version provided by easy-mmode.el.
7762 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
7763 `easy-mmode-define-derived-mode'.
7764 Use `combine-run-hooks'.
7765 (easy-mmode-define-navigation): New macro.
7767 * subr.el (combine-run-hooks): New function.
7769 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
7771 * term/x-win.el: Fontsets related initialization is simplified.
7773 * international/mule-diag.el (describe-font): Don't refer to
7774 global-fontset-alist, instead call font-list.
7775 (describe-fontset, list-fontsets, mule-diag): Likewise.
7776 (print-fontset): Adjusted for the change of fontset
7779 * international/fontset.el (x-charset-registries): Variable
7780 removed, instead the corresponding data is stored in the default
7782 (register-alternate-fontnames): Function removed.
7783 (resolved-ascii-font): Variable removed.
7784 (x-compose-font-name): Ignore the second argument REDOCE.
7785 (x-complement-fontset-spec): Complement only an ASCII font and
7786 element for those charsets than can use that ASCII font.
7787 (generate-fontset-menu): Don't refer to global-fontset-alist,
7788 instead call fontset-list.
7789 (uninstantiated-fontset-alist): Variable removed.
7790 (x-style-funcs-alist): Likewise.
7791 (fontset-default-styles): Likewise.
7792 (x-modify-font-name): Function removed.
7793 (create-fontset-from-fontset-spec): Ignore the argument
7795 (create-fontset-from-ascii-font): Docsting adjusted for the above
7797 (instantiate-fontset, resolve-fontset-name): Functions removed.
7798 (fontset-list): Now implemented by C code.
7800 * faces.el (read-face-font): Fix TABLE arg to completing-read.
7801 (describe-face): Include `font' attribute in the description.
7803 2000-03-21 Kenichi Handa <handa@etl.go.jp>
7805 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
7807 2000-03-20 Gerd Moellmann <gerd@gnu.org>
7809 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
7810 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
7811 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
7813 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
7814 about behavior of set-buffer-modified-p wrt redisplay.
7816 2000-03-19 Richard M. Stallman <rms@gnu.org>
7818 * view.el (view-mode-disable): Kill local binding of view-read-only.
7820 2000-03-18 Gerd Moellmann <gerd@gnu.org>
7822 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
7823 is a string, convert it to a syntax cell using string-to-syntax.
7825 * simple.el (syntax-code-table, syntax-flag-table): New variables.
7826 (string-to-syntax): New function.
7828 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
7829 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
7830 try to use passive ftp mode.
7832 2000-03-17 Gerd Moellmann <gerd@gnu.org>
7834 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
7836 * simple.el (append-to-buffer): Update point of windows after
7839 * abbrev.el (inverse-add-abbrev): Identify word by first moving
7840 forward then moving backward. Reindent.
7842 * frame.el (other-frame): Call x-focus-frame only if
7843 focus-follows-mouse is off.
7845 2000-03-17 Dave Love <fx@gnu.org>
7847 * pcvs-util.el (cvs-strings->string): Rename
7848 replace-regexps-in-string.
7850 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
7852 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
7853 regexp for labels cannot span several lines.
7855 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
7856 `(setq :<key> ':<key>)' to the macro expansion.
7858 2000-03-16 Dave Love <fx@gnu.org>
7860 * progmodes/f90.el (f90): Put custom group under `languages', not
7862 (f90-mode-hook): Customize.
7863 (f90-mode): Set add-log-current-defun-function.
7864 (f90-current-defun): New function.
7866 2000-03-16 Gerd Moellmann <gerd@gnu.org>
7868 * cus-edit.el (custom-variable-tag-face): Handle case that
7869 default face's height is not a number.
7870 (custom-face-tag-face, custom-group-tag-face-1)
7871 (custom-group-tag-face): Ditto.
7872 (custom-group-tag-face-1): Add :group.
7874 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
7876 2000-03-15 Gerd Moellmann <gerd@gnu.org>
7878 * pcvs-defs.el (toplevel): Remove autoload cookie for form
7881 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7883 * ps-print.el: PostScript user-defined prologue, PostScript error
7885 (ps-print-version): New version number (5.1).
7886 (ps-user-defined-prologue, ps-error-handler-message)
7887 (ps-print-prologue-0, ps-error-handler-alist): New vars.
7888 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
7889 (ps-insert-string): New function.
7891 2000-03-15 Kenichi Handa <handa@etl.go.jp>
7893 * international/ccl.el (ccl-compile-expression): Don't generate
7894 invalid self-assignment code.
7896 2000-03-14 Dave Love <fx@gnu.org>
7898 * subr.el (replace-regexp-in-string): Renamed from
7899 replace-regexps-in-string. Doc fix.
7901 2000-03-12 Dave Love <fx@gnu.org>
7903 * cus-edit.el: Doc fixes.
7904 (customize-set-variable, customize-save-variable): Rename args for
7906 (custom-variable-tag-face, custom-face-tag-face)
7907 (custom-group-tag-face-1, custom-group-tag-face): Modify from
7908 style which user identify as hyperlink.
7909 (hook): Don't add undefined functions to the hook.
7910 (debug-ignored-errors): Transfer message from bindings.el.
7912 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7914 * recentf.el (recentf-keep-non-readable-files-p): Remove
7915 double/nested definition.
7917 2000-03-12 Dave Love <fx@gnu.org>
7919 * facemenu.el (facemenu-get-face): Use display-color-p.
7920 * enriched.el (enriched-decode-foreground): Likewise.
7921 (enriched-decode-background): Likewise.
7922 * isearch.el (isearch-highlight): Likewise.
7923 * info-look.el (info-lookup): Likewise.
7924 * simple.el (completion-setup-function): Likewise.
7926 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
7929 * bindings.el (mode-line-format): Fix line-number and
7930 column-number items. Add help-echo for the background.
7931 (mode-line-mule-info): Modify help-echo.
7933 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
7936 * files.el (load-file): Allow completion to .elc.
7938 * man.el: Doc fixes.
7939 (Man-init-defvars): Use display-color-p to set fontification.
7941 * play/hanoi.el (hanoi-internal): Don't use oddp.
7943 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7945 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
7947 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
7949 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
7951 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
7954 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
7956 * font-lock.el (font-lock-keywords): Fix the doc now that
7957 regexp-opt-depth is unnecessary.
7958 (save-buffer-state): Set an edebug spec.
7959 (font-lock-fontify-anchored-keywords): Properly handle the case when
7960 the matcher goes past the limit.
7962 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
7963 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
7965 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
7966 dll.el and cookie.el (from Elib) with heavy renaming and other
7969 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
7970 Autoload the functions used.
7971 (easy-mmode-define-syntax): Fix CL typo.
7972 (easy-mmode-define-derived-mode): Improve the docstring generation.
7974 2000-03-10 Gerd Moellmann <gerd@gnu.org>
7976 * textmodes/texinfo.el (texinfo-version): Variable and function
7979 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
7981 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
7982 allow more flexibility.
7983 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
7985 (easy-mmode-defmap, easy-mmode-defsyntax)
7986 (easy-mmode-define-derived-mode): New macros.
7988 2000-03-09 Didier Verna <didier@xemacs.org>
7990 * rect.el (replace-rectangle): New function.
7992 2000-03-09 Dave Love <fx@gnu.org>
7994 * progmodes/fortran.el (fortran-comment-line-start): Define as
7996 (fortran-comment-line-start-skip): Don't match cpp stuff.
7997 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
7998 (fortran-mode-map): Remove over-eager custom-menu-create for now.
7999 (fortran-mode): Don't set fortran-comment-line-start-skip,
8000 fortran-comment-line-start here. Set comment-start,
8001 add-log-current-defun.
8002 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
8003 (fortran-current-defun): New function.
8005 2000-03-09 Gerd Moellmann <gerd@gnu.org>
8007 * emacs-lisp/re-builder.el: New file.
8009 * mouse.el (mouse-drag-region): Don't run up-event handler
8010 if hscroll has changed.
8012 * octave-mod.el (octave-font-lock-keywords): To font-lock the
8013 builtin operators, use `font-lock-builtin-face' for Emacs and
8014 `font-lock-preprocessor-face' otherwise.
8016 * font-lock.el (lisp-font-lock-keywords-1): Highlight
8017 `(defun (setf foo)' differently.
8019 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
8021 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
8022 (regexp-opt): Update comment and adapt the code the new meaning of
8023 the `paren' argument of regex-opt-group for shy-groups.
8024 (regexp-opt-depth): Handle shy groups as well as backslashed
8026 (regexp-opt-group): Turn the leading comment into a docstring.
8027 Allow `paren' to be a string (the string to use to open a group).
8028 Remove open-presuf and close-presuf. Instead of checking for `all
8029 one-char' and then later on check for `several one-char', handle
8030 both cases close together. Also apply a more generic algorithm
8031 for suffixes (the mirror image of the algorithm used for
8032 prefixes). Use shy-groups. Use nreverse rather than reverse.
8033 (regexp-opt-try-suffix): Removed.
8035 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
8036 from comint-mode-map, so we can just inherit from it. Also, move
8037 the initialization into the `defvar' since there's no docstring
8038 anyway and it's fairly short.
8039 (inferior-scheme-mode): Define it as derived-mode: the code is
8040 shorter and this way we inherit from comint-mode-map rather than
8043 * subr.el (replace-regexps-in-string): Properly handle the case
8044 where we match an empty string.
8046 * comint.el (comint-exec-1): Add the current-dir to the exec-path
8047 when the command has a directory component (such as "./testml").
8048 Also fix a typo in the comment.
8050 2000-03-08 Gerd Moellmann <gerd@gnu.org>
8052 * Makefile (compile-files): Compile files one by one because
8053 that's the only way to ensure a clean compilation environment for
8054 each individual file.
8056 * frame.el (other-frame): Call x-focus-frame.
8058 2000-03-07 Dave Love <fx@gnu.org>
8060 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8061 :require to defcustom.
8063 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8066 * files.el (auto-mode-alist): Add configure.in.
8068 * progmodes/autoconf.el: New file.
8070 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8072 * mail/mh-e.el: Change maintainer to `none'.
8074 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8075 to remove-hook and add-hook.
8077 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8079 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8081 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8082 (sendmail-send-it): Conditionally add MIME headers specifying the
8085 2000-03-07 Dave Love <fx@gnu.org>
8087 * winner.el: Fix keywords, autoload cookies. Split
8088 eval-when-compile form to avoid compilation failure.
8090 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8092 * international/mule.el: Modify comment about coding system
8093 property `coding-category'.
8094 (make-coding-system): New argument EOL-TYPE. Pay attention to
8095 coding-category property of PROPERTIES.
8097 * international/mule-conf.el (coding-category-utf-8,
8098 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8099 categories. Include them in the argument for set-coding-priority.
8101 * international/mule-cmds.el (reset-language-environment): Include
8102 coding-category-utf-8, coding-category-utf-16-be, and
8103 coding-category-utf-16-le in the argument for set-coding-priority.
8104 (reset-language-environment): Initialize coding-category-utf-8,
8105 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
8107 2000-03-06 Karl Fogel <kfogel@red-bean.com>
8109 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
8110 code abstracted out of `bookmark-jump-noselect'. Now tries info
8111 extensions as well as compression extensions.
8112 (bookmark-jump-noselect): Use above new func.
8114 2000-03-03 Gerd Moellmann <gerd@gnu.org>
8116 * strokes.el: Change maintainer's mail address.
8118 2000-03-03 Kenichi Handa <handa@etl.go.jp>
8120 * international/mule-diag.el (list-character-sets): Make help-echo
8121 string by substitute-command-keys.
8122 (list-character-sets): Likewise.
8123 (sort-listed-character-sets): Call help-setup-xref.
8125 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8127 * time.el (display-time-mail-file): Add `none' to the list of
8130 2000-03-01 Dave Love <fx@gnu.org>
8132 * help.el (help-xref-go-back): Don't try to set position.
8134 * international/mule-diag.el (list-character-sets): Call
8135 help-setup-xref. Add help-echo to xrefs.
8136 (list-character-sets-1): Add help-echo to xrefs.
8138 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8140 * frame.el (blink-cursor-mode): Switch cursor on when turning
8143 * add-log.el (add-log-current-defun): Add support for
8146 * mail/rmail.el (rmail-quit-hook): New variable.
8148 2000-03-01 Dave Love <fx@gnu.org>
8150 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
8152 * help.el (help-xref-button): Add help-echo arg.
8153 (describe-function-1, describe-variable, help-make-xrefs): Use it.
8155 * faces.el (list-faces-display): Supply help-echo with
8158 * facemenu.el (list-text-properties-at): Set help-xref-stack to
8161 2000-03-01 Gerd Moellmann <gerd@gnu.org>
8163 * image.el (defimage): Look for image files in load-path.
8165 * frame.el (busy-cursor-delay-seconds): Change type to
8168 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8170 * recentf.el (recentf): Added version tag to the defgroup of
8173 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8175 * recentf.el (recentf-cleanup): Changed to remove excluded file
8177 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
8178 action to select/unselect a file.
8179 (recentf-edit-list): Code cleanup and improvement.
8180 (recentf-open-more-files-action): `recentf-open-more-files' button
8181 widget action to open a file.
8182 (recentf-open-more-files): No more use standard completion but
8184 (recentf-more-collection): Deleted.
8185 (recentf-more-history): Deleted.
8186 (recentf-setup-more-completion): Deleted.
8188 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8190 * recentf.el (recentf-mode): No more needs that Emacs is running
8191 under a window-system.
8193 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8195 * recentf.el (recentf-edit-list): New command to edit the recent
8196 list which allow the user to remove files.
8197 (recentf-edit-selected-items): New global variable, used by
8198 `recentf-edit-list' to hold the list of files to be removed from
8200 (recentf-make-menu-items): Updated to display a "Edit list..."
8201 menu item. Minor code cleanup.
8203 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8205 * recentf.el (recentf-open-more-files): New command to open files
8206 that are not displayed in the menu.
8207 (recentf-more-collection): New global variable holding the set of
8208 permissible completions used by `recentf-open-more-files'.
8209 (recentf-more-history): New global variable holding the history list
8210 used by `recentf-open-more-files' completion.
8211 (recentf-setup-more-completion): New function to setup completion for
8212 `recentf-open-more-files'.
8213 (recentf-make-menu-items): Updated to display a "More..." menu item.
8215 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8217 * recentf.el (recentf-menu-action): Doc fixed.
8219 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8221 * recentf.el (recentf-menu-filter): Doc updated.
8222 (recentf-update-menu-hook): Allow menu filters to force menu update.
8223 (recentf-make-menu-items): New menu filter handling.
8224 (recentf-make-menu-item): New helper function.
8225 (recentf-menu-elements): New menu handling function.
8226 (recentf-sort-ascending): Updated to new menu filter handling.
8227 (recentf-sort-descending): Updated to new menu filter handling.
8228 (recentf-sort-basenames-ascending): New menu filter function.
8229 (recentf-sort-basenames-descending): New menu filter function.
8230 (recentf-show-basenames): New menu filter function.
8231 (recentf-show-basenames-ascending): New menu filter function.
8232 (recentf-show-basenames-descending): New menu filter function.
8234 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8236 * diary-lib.el (list-diary-entries): Don't try to go forward at
8237 the end of the buffer.
8239 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8241 * international/mule-diag.el (list-character-sets): Completely
8243 (sort-listed-character-sets): New function.
8244 (list-character-sets-1): Completely rewritten.
8245 (list-character-sets-2): New function.
8246 (non-iso-charset-alist): New variable.
8247 (decode-codepage-char): New function.
8248 (charset-history): New variable.
8249 (read-charset) (list-block-of-chars)
8250 (list-iso-charset-chars)
8251 (list-non-iso-charset-chars)
8252 (list-charset-chars): New functions.
8253 (mule-diag): Call list-character-sets-2, not
8254 list-character-sets-2.
8255 (dump-charsets): Likewise.
8257 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8259 * dired-x.el (dired-filename-at-point): Add `@' to valid
8260 file name characters.
8261 (dired-filename-at-point): Handle ange-ftp file names.
8263 * frame.el (frame-notice-user-settings): Use assq-delete-all
8264 instead of assoc-delete-all.
8265 (frame-notice-user-settings): Ditto.
8267 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8270 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8272 * calculator.el (calculator-use-menu): New option.
8273 (calculator-initial-bindings): Changed some bindings to work as
8275 (calculator-forced-input): Removed.
8276 (calculator-restart-other-mode): New variable.
8277 (calculator-mode-map): Set up menu.
8279 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8281 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8284 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8286 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8287 translate all ESC key sequences.
8288 (viper-goto-mark-subr): restore markers for files for which
8290 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8291 * viper-util.el (viper-set-replace-overlay-glyphs,
8292 viper-set-replace-overlay): always check if the replacement
8294 * viper.el (viper-vi-state-mode-list): added major modes.
8295 * ediff-wind.el: minor comment changes.
8296 * ediff.el: copyright notice date fix.
8298 2000-02-27 Jason Rumney <jasonr@gnu.org>
8300 * faces.el (face-font-family-alternatives): Add arial to helv.
8301 (mode-line, header-line, tool-bar): Same default as x for w32.
8302 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8303 face-font-family-alternatives from working.
8304 * term/w32-win.el (mouse-set-font): Do not build fontset from
8307 2000-02-25 Sam Steingold <sds@goems.com>
8309 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8312 2000-02-25 Richard M. Stallman <rms@gnu.org>
8314 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8316 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8318 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8321 * frame.el (busy-cursor-delay-seconds): New option.
8323 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8325 * frame.el (show-cursor-in-non-selected-windows): New option.
8327 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8329 * diary-lib.el (include-other-diary-files): Undo the selective
8330 display in any included file and don't kill it.
8332 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8334 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8335 bar. Menu items converted to (menu-item format, help strings
8337 [downcase, upcase]: Don't enable on MS-DOS.
8338 [symlink, symlinks]: Don't show if make-symbolic-link is not
8340 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8342 2000-02-23 Dave Love <fx@gnu.org>
8344 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8345 (backward-kill-word): Revert addition of * to interactive spec --
8348 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8349 (backward-kill-sentence, kill-sentence): Likewise.
8351 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8352 scratch buffer name.
8353 (gud-format-command): Use int-to-string in ?l case. Simplify
8356 * term/w32-win.el (internal-face-interactive): Update prompt for
8359 * mail/footnote.el (footnote): Add :version to defgroup.
8360 (footnote-section-tag-regexp): Customize.
8361 (footnote-start-tag, footnote-end-tag): New option.
8362 (footnote-latin-regexp): New variable.
8363 (Footnote-latin): New function.
8364 (footnote-style-alist): Add element for latin style.
8365 (footnote-style): Moved.
8366 (Footnote-goto-footnote): Use eq to test arg.
8368 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8370 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8371 (byte-compile-trueconstp): Include keywords.
8372 (byte-optimize-quote, byte-optimize-lapcode): Use
8373 byte-compile-const-symbol-p.
8374 (byte-optimize-char-before): New optimization.
8376 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8377 (byte-compile-const-symbol-p): New function.
8378 (byte-compile-constp, byte-compile-out-toplevel)
8379 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8382 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8384 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8386 * international/encoded-kb.el: Be sure to update minor-mode-alist
8387 and minor-mode-map-alist.
8388 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8389 codes SS2 and SS3 correctly.
8390 (encoded-kbd-self-insert-ccl): New function.
8391 (encoded-kbd-setup-keymap): New function.
8392 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8393 by calling encoded-kbd-setup-keymap.
8395 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8397 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8400 2000-02-22 Dave Love <fx@gnu.org>
8402 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8403 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8405 (lisp-mode-syntax-table): Set up for #|...|# comments.
8406 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8407 classes. Match `defface'.
8408 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8409 (eval-defun-1): Fix for defcustom.
8410 (lisp-indent-region): Doc fix.
8412 * subr.el (when, unless, split-string): Doc fix.
8413 (read-passwd): Move call of clear-this-command-keys to the right
8415 (replace-regexps-in-string): New function.
8417 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8419 * help.el (describe-variable): Set syntax table to
8420 emacs-lisp-mode-syntax-table when moving forward over the
8423 2000-02-22 Dave Love <fx@gnu.org>
8425 * xt-mouse.el: Doc fixes.
8426 (xterm-mouse-position-function): New function, replacing advice of
8428 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8430 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8432 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8434 * format.el (format-annotate-single-property-change): Handle
8435 properties.with dotted-list values.
8436 (format-proper-list-p): New function.
8438 * enriched.el (enriched-face-ans): Handle '(foreground-color
8439 . COLOR) and (background-color . COLOR).
8441 2000-02-20 Dave Love <fx@gnu.org>
8443 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
8444 and assignments to it.
8445 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
8447 (make-flyspell-overlay): Use it.
8448 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
8450 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
8451 (lm-get-header-re): Defun, not defsubst.
8452 (lm-get-package-name): Defun, not defsubst. Simplify.
8453 (lm-version): Doc fix. Simplify.
8454 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
8455 (lm-crack-address, lm-last-modified-date, lm-commentary)
8456 (lm-verify, lm-synopsis): Simplify.
8457 (lm-report-bug): Require emacsbug. Use compose-mail.
8459 2000-02-20 Gerd Moellmann <gerd@gnu.org>
8461 * dired.el (dired-mode): Call propertized-buffer-identification
8462 to set mode-line-buffer-identification to something having
8463 the right text properties.
8465 * bindings.el (propertized-buffer-identification): New function.
8467 2000-02-20 Dave Love <fx@gnu.org>
8469 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
8470 check for t-mouse too.
8472 * cus-start.el: Make echo-keystrokes `number'.
8474 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
8476 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
8477 Don't call ring-empty-p unless tags-location-ring is bound.
8478 From Noah Friedman <friedman@splode.com>.
8480 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
8482 * progmodes/hideshow.el (hs-flag-region): No longer use
8483 `intangible' overlay property.
8485 (hs-toggle-hiding): New command.
8486 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
8488 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
8489 Fix omission bug: Run `hs-minor-mode-hook' for both activation
8492 2000-02-18 Gerd Moellmann <gerd@gnu.org>
8494 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
8496 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8498 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
8500 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
8501 of `*' to handle `(* ... *)' comments.
8503 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
8505 * faces.el (list-faces-display): Use display-mouse-p instead of
8508 * menu-bar.el (global-map): Menu-bar items converted to the new
8509 format (menu-item..., rearranged for better CUA compliance, and
8510 their names changed for better clarity. Help strings added.
8512 * international/mule-cmds.el (mule-menu-keymap)
8513 (describe-language-environment-map, set-coding-system-map)
8514 (setup-language-environment-map): Convert to new (menu-item...
8515 form, add help strings. Change names of menu items for better
8516 clarity. "Mule" menu-bar item removed (it's now in the "Options"
8519 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8521 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
8524 2000-02-16 Dave Love <fx@gnu.org>
8526 * faces.el: Don't require custom. Add more specific :groups to
8528 (set-face-attribute): Purecopy args.
8529 (read-face-name): Default to name at point and use it in prompt.
8530 Remove colon from arg in all callers.
8531 (list-faces-display): Hyperlink to face descriptions and customize
8534 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
8536 * wid-edit.el (widget-match-inline): An atom never matches a
8539 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8541 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8542 at ':' characters by call to split-string.
8544 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8546 * textmodes/bibtex.el: Added RCS version identification.
8548 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8550 * textmodes/bibtex.el: Some temporary comments removed.
8551 (bibtex-field-name, bibtex-entry-type): Made the relationship
8553 (bibtex-field-const): Allow capital letters.
8554 (bibtex-start-of-string): Deleted because unused.
8556 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8557 use the term 'reference' to describe a bibtex entry as a whole.
8558 Further, reference keys are no longer called 'labels'.
8559 (bibtex-keys): Renamed to bibtex-reference-keys.
8560 (bibtex-reformat-previous-labels): Renamed to
8561 bibtex-reformat-previous-reference-keys.
8562 (bibtex-reference-type): Renamed to bibtex-entry-type.
8563 (bibtex-reference-head): Renamed to bibtex-entry-head.
8564 (bibtex-reference-maybe-empty-head): Renamed to
8565 bibtex-entry-maybe-empty-head.
8566 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8567 (bibtex-search-reference): Renamed to bibtex-search-entry.
8568 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8569 bibtex-enclosing-entry-maybe-empty-head.
8570 (bibtex-entry-field-alist, bibtex-entry-head,
8571 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8572 bibtex-map-entries, bibtex-search-entry,
8573 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8574 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8575 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8576 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8577 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8578 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8579 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8581 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8583 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8585 (bibtex-format-field-delimiters): New function, functionality
8586 extracted from bibtex-format-entry.
8587 (bibtex-autokey-get-yearfield-digits): New function, functionality
8588 extracted from bibtex-autokey-get-yearfield.
8590 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8591 entries in order to avoid stack overflow in the regexp matcher if
8592 field contents become large.
8593 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8594 bibtex-field-string-part-not-braced,
8595 bibtex-field-string-part-no-inner-braces,
8596 bibtex-field-string-part-1-inner-brace,
8597 bibtex-field-string-part-2-inner-braces,
8598 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8599 bibtex-field-string-quoted, bibtex-field-string,
8600 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8601 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8602 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8603 as parsing is now performed by the following functions.
8604 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8605 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8606 bibtex-parse-field-string, bibtex-search-forward-field-string,
8607 bibtex-parse-association, bibtex-field-name-for-parsing,
8608 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8609 bibtex-search-forward-field, bibtex-search-backward-field,
8610 bibtex-start-of-field, bibtex-end-of-field,
8611 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8612 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8613 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8614 bibtex-parse-string, bibtex-search-forward-string,
8615 bibtex-search-backward-string, bibtex-start-of-string,
8616 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8617 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8618 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8619 entries. Instead of reporting the results of the parsing by
8620 match-beginning or match-end, these functions return data structures
8621 that hold the corresponding positions.
8622 (bibtex-enclosing-field): Changed to also report field boundaries by
8623 return values rather than by match-beginning or match-end. The
8624 following functions have been adapted to use the new parsing
8626 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8627 bibtex-enclosing-field, bibtex-format-entry,
8628 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8629 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8630 bibtex-print-help-message, bibtex-end-of-entry,
8631 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8632 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8633 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8635 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8636 bibtex-map-entries, bibtex-flash-head,
8637 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8638 bibtex-autokey-change, bibtex-autokey-get-namefield,
8639 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8640 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8641 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8642 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8643 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8644 order to make the new binding of case-fold-search immediately
8647 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8649 * textmodes/bibtex.el: Copyright notice is up to date.
8650 Added constant 'bibtex-maintainer-salutation.
8652 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8653 than make-temp-name, use match-string-no-properties and eliminate
8654 a quadratic behavior when building bibtex-strings.
8656 * bibtex.el (bibtex-reference-key): Accept string entries whose
8657 reference key contains upper case letters.
8659 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8661 * bibtex.el (bibtex-reference-head): Allow entries to start with
8664 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8666 * bibtex.el: Hiding of entry bodies is not longer provided by
8667 bibtex.el directly. Instead the hideshow package can be used.
8668 Added a special bibtex entry to hs-special-modes-alist.
8669 (bibtex-hs-forward-sexp): Added for hideshow.el.
8671 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8673 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8674 at ':' characters by call to split-string.
8676 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8678 * textmodes/bibtex.el: Added RCS version identification.
8680 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8682 * textmodes/bibtex.el: Some temporary comments removed.
8683 (bibtex-field-name, bibtex-entry-type): Made the relationship
8685 (bibtex-field-const): Allow capital letters.
8686 (bibtex-start-of-string): Deleted because unused.
8688 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8689 use the term 'reference' to describe a bibtex entry as a whole.
8690 Further, reference keys are no longer called 'labels'.
8691 (bibtex-keys): Renamed to bibtex-reference-keys.
8692 (bibtex-reformat-previous-labels): Renamed to
8693 bibtex-reformat-previous-reference-keys.
8694 (bibtex-reference-type): Renamed to bibtex-entry-type.
8695 (bibtex-reference-head): Renamed to bibtex-entry-head.
8696 (bibtex-reference-maybe-empty-head): Renamed to
8697 bibtex-entry-maybe-empty-head.
8698 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8699 (bibtex-search-reference): Renamed to bibtex-search-entry.
8700 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8701 bibtex-enclosing-entry-maybe-empty-head.
8702 (bibtex-entry-field-alist, bibtex-entry-head,
8703 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8704 bibtex-map-entries, bibtex-search-entry,
8705 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8706 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8707 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8708 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8709 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8710 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8711 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8713 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8715 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8717 (bibtex-format-field-delimiters): New function, functionality
8718 extracted from bibtex-format-entry.
8719 (bibtex-autokey-get-yearfield-digits): New function, functionality
8720 extracted from bibtex-autokey-get-yearfield.
8722 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8723 entries in order to avoid stack overflow in the regexp matcher if
8724 field contents become large.
8725 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8726 bibtex-field-string-part-not-braced,
8727 bibtex-field-string-part-no-inner-braces,
8728 bibtex-field-string-part-1-inner-brace,
8729 bibtex-field-string-part-2-inner-braces,
8730 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8731 bibtex-field-string-quoted, bibtex-field-string,
8732 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8733 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8734 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8735 as parsing is now performed by the following functions.
8736 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8737 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8738 bibtex-parse-field-string, bibtex-search-forward-field-string,
8739 bibtex-parse-association, bibtex-field-name-for-parsing,
8740 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8741 bibtex-search-forward-field, bibtex-search-backward-field,
8742 bibtex-start-of-field, bibtex-end-of-field,
8743 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8744 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8745 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8746 bibtex-parse-string, bibtex-search-forward-string,
8747 bibtex-search-backward-string, bibtex-start-of-string,
8748 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8749 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8750 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8751 entries. Instead of reporting the results of the parsing by
8752 match-beginning or match-end, these functions return data structures
8753 that hold the corresponding positions.
8754 (bibtex-enclosing-field): Changed to also report field boundaries by
8755 return values rather than by match-beginning or match-end. The
8756 following functions have been adapted to use the new parsing
8758 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8759 bibtex-enclosing-field, bibtex-format-entry,
8760 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8761 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8762 bibtex-print-help-message, bibtex-end-of-entry,
8763 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8764 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8765 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8767 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8768 bibtex-map-entries, bibtex-flash-head,
8769 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8770 bibtex-autokey-change, bibtex-autokey-get-namefield,
8771 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8772 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8773 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8774 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8775 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8776 order to make the new binding of case-fold-search immediately
8779 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8781 * textmodes/bibtex.el: Copyright notice is up to date.
8782 Added constant 'bibtex-maintainer-salutation.
8784 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8785 than make-temp-name, use match-string-no-properties and eliminate
8786 a quadratic behavior when building bibtex-strings.
8788 * bibtex.el (bibtex-reference-key): Accept string entries whose
8789 reference key contains upper case letters.
8791 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8793 * bibtex.el (bibtex-reference-head): Allow entries to start with
8796 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8798 * bibtex.el: Hiding of entry bodies is not longer provided by
8799 bibtex.el directly. Instead the hideshow package can be used.
8800 Added a special bibtex entry to hs-special-modes-alist.
8801 (bibtex-hs-forward-sexp): Added for hideshow.el.
8803 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8805 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
8806 proceedings entry type (for cross referencing). Thanks to Wagner
8807 Toledo Correa for the suggestion.
8809 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
8811 2000-02-14 Kenichi Handa <handa@etl.go.jp>
8813 * international/characters.el: Setup case table for Vietnamese.
8815 2000-02-12 Gerd Moellmann <gerd@gnu.org>
8817 * uniquify.el (toplevel): Require CL at compile time.
8818 (uniquify-push): Removed.
8820 * shadowfile.el (shadow-when): Removed.
8822 * tempo.el (tempo-dolist, tempo-mapc): Removed.
8823 (tempo-process-and-insert-string): Use dolist instead of
8826 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
8827 regexp for paragraph-start.
8829 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
8832 2000-02-10 Dave Love <fx@gnu.org>
8834 * wid-edit.el: (widgets) [defgroup]: Remove url link.
8835 (widget-color-choice-list, widget-color-history, widget-mouse-help):
8837 (widget-specify-field, widget-specify-button): Don't use
8838 widget-mouse-help as help-echo property.
8839 (default): Use #'ignore for :validate and :mouse-down-action.
8840 (checkbox): Add help-echo.
8841 (widget-sexp-validate): Rewritten to clarify error messages.
8842 (character): Use char-valid-p in :match function.
8843 (widget-color-complete): Use facemenu-color-alist.
8844 (widget-color-action): Use facemenu-read-color.
8846 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
8847 set up `caar' &c that we now have.
8849 2000-02-09 Ray Blaak <blaak@gnu.org>
8851 * delphi.el: Make resourcestring a declaration region, like const
8854 2000-02-09 Dave Love <fx@gnu.org>
8856 * bindings.el (mode-line-input-method-map): New variable.
8857 (mode-line-mule-info): Use it; fix last change.
8858 (mode-line-mode-menu): Move definition.
8859 (mode-line-mouse-sensitive-p): Deleted.
8860 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
8861 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
8864 * startup.el (command-line-1): Don't call
8865 make-mode-line-mouse-sensitive.
8867 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8869 * mail/rmail.el (rmail-retry-failure): Use
8870 rmail-beginning-of-message before rmail-toggle-header, because the
8871 former toggles headers.
8873 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
8875 * diff-mode.el (diff-kill-junk): New interactive function.
8876 (diff-reverse-direction): Use delete-and-extract-region.
8877 (diff-post-command-hook): Restrict the area so that the hook also works
8878 outside of any diff hunk. This is necessary for the minor-mode.
8879 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
8880 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
8882 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
8883 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
8884 so that it can be used more easily in <foo>-mode-hook. Also make sure
8885 to avoid duplicate entries.
8886 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
8887 (font-lock-remove-keywords): Just as was done for `add', allow it to
8888 work even if font-lock-mode is nil. Also make sure we don't modify
8889 any pre-existing list by forcing a copy-sequence. Finally rename
8890 `major-mode' to `mode'.
8891 (font-lock-fontify-syntactic-anchored-keywords)
8892 (font-lock-fontify-anchored-keywords)
8893 (font-lock-fontify-keywords-region): Use line-end-position.
8894 Don't make `font-lock-multiline' local (it's now done in
8895 font-lock-set-defaults).
8896 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
8897 move the `font-lock-fontified' creation to inside the `unless'.
8899 2000-02-06 Andrew Innes <andrewi@gnu.org>
8901 * term/w32-win.el (x-handle-args): Comment out call to message,
8902 which occurs before window system is initialized.
8904 * makefile.nt: Add support for recompiling lisp code.
8906 2000-02-04 Dave Love <fx@gnu.org>
8908 * bindings.el (mode-line-mule-info): Fix/extend last change.
8910 * completion.el: Replace completion-dolist with dolist.
8912 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
8915 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
8917 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
8918 environment names before they go into the section regexp.
8920 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
8921 char class in regexp.
8923 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
8924 `case-fold-search' to nil.
8926 * progmodes/idlwave.el (idlwave-template): Respect
8927 `idlwave-abbrev-change-case'.
8928 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
8929 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
8930 idlwave-while): respect `idlwave-reserved-word-upcase'.
8931 (idlwave-rw-case): New function.
8932 (idlwave-statement-match): Fixed problem with assignment regexp.
8933 (idlwave-font-lock-keywords): Improved regexp for keyword
8935 (idlwave-surround): New argument LENGTH to support padding of
8936 operators longer than 1 char.
8938 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
8939 idlwave-shell-expression-overlay. Implemented printing of
8940 expressions on higher levels of the calling stack.
8941 (idlwave-shell-display-level-in-calling-stack): Restore stack
8943 (idlwave-retrieve-expression-from-level): New function.
8944 (idlwave-shell-last-calling-stack): Variable removed.
8945 (idlwave-shell-reset): Argument action reversed (`visible' to
8946 `hidden'). Also remove stop-line overlay.
8947 (idlwave-shell-calling-stack-routine): New variable.
8948 (idlwave-shell-parse-stack-and-display): Messages now display
8949 negative level numbers.
8950 (idlwave-shell-mode): Set `modeline-format'.
8951 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
8952 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
8954 (idlwave-shell-print-expression-function): New option.
8956 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
8957 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
8958 `tool-bar' instead of `toolbar'.
8960 2000-02-02 Dave Love <fx@gnu.org>
8962 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
8963 emacs-lisp-mode-hook. Don't check for defalias being defined.
8965 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
8966 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
8967 the new builtins directly.
8969 * whitespace.el (whitespace): Add :version to defgroup.
8971 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
8974 * thingatpt.el (sexp-at-point, symbol-at-point)
8975 (number-at-point, list-at-point): Add autoload cookie.
8977 * recentf.el (recentf): Add :version to defgroup.
8979 * quickurl.el (quickurl): Add :version to defgroup.
8981 * elide-head.el (elide-head): Use point-marker more.
8983 * bs.el (bs): Add :version to defgroup.
8985 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
8987 * progmodes/delphi.el (delphi): Add :version to defgroup.
8989 2000-02-02 Gerd Moellmann <gerd@gnu.org>
8991 * ange-ftp.el (ange-ftp-write-region): Handle case that
8992 succeeding process operation sets a different coding system.
8994 * calculator.el: New file.
8996 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8998 * frame.el (frames-on-display-list, framep-on-display): New
9000 (display-mouse-p, display-popup-menus-p, display-graphic-p)
9001 (display-selections-p, display-screens, display-pixel-width)
9002 (display-pixel-height, display-mm-width, display-mm-height)
9003 (display-backing-store, display-save-under, display-planes)
9004 (display-color-cells, display-visual-class): New functions.
9006 * term/tty-colors.el (tty-color-gray-shades): New function.
9008 * faces.el (display-color-p): Use framep-on-display.
9009 (display-grayscale-p): New function.
9011 2000-01-31 Dave Love <fx@gnu.org>
9013 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
9014 (create-fontset-from-x-resource): Don't concat integers.
9016 2000-01-31 Inge Frick <inge@nada.kth.se>
9018 * view.el: Some changes in documentation. Removed some trailing
9019 whitespace. Changed some parameter names to agree with
9021 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
9022 window is not deleted. Modifies change 1998-04-26.
9024 2000-01-31 Gerd Moellmann <gerd@gnu.org>
9026 * windmove.el: New file.
9028 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9029 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9030 progmodes/ebnf-yac.el: Update copyright and license info.
9032 * jit-lock.el (jit-lock-function): Widen before calculating end
9034 (jit-lock-stealth-chunk-start): Rewritten.
9036 * info.el (Info-title-face-alist): Removed.
9037 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
9039 (Info-fontify-node): Use these faces.
9041 2000-01-30 Gerd Moellmann <gerd@gnu.org>
9043 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
9044 (cl-macro-list1): Recognize `&allow-other-keys' instead of
9045 `&allow-other-keywords'.
9047 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
9048 the list of directories scanned heuristically.
9050 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
9053 2000-01-30 Jason Rumney <jasonr@gnu.org>
9055 * w32-fns.el: Define w32-tty-standard-colors.
9057 * startup.el (command-line): Use w32-tty-standard-colors when in
9060 2000-01-30 Dave Love <fx@gnu.org>
9062 * jka-compr.el (jka-compr-load): Fix up load-history.
9064 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9066 * emacs-lisp/cl-macs.el: Revert previous change.
9068 2000-01-29 Dave Love <fx@gnu.org>
9070 * facemenu.el: Purecopy various strings.
9072 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9073 years. Deal with three-digit years.
9075 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9077 (help-back-label): Purecopy it.
9079 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9081 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9082 variable. If non-nil, order the buffer list according to the
9083 currently selected frame.
9084 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9085 non-nil, pass the selected frame to function buffer-list.
9087 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9089 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9091 2000-01-28 Dave Love <fx@gnu.org>
9093 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9095 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9096 Don't use lisp-indent-hook property.
9099 * subr.el: Move out indent and edebug specs for when and unless.
9101 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
9104 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
9107 2000-01-28 Gerd Moellmann <gerd@gnu.org>
9109 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
9110 `collecting' as synonym for `collect'.
9112 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
9113 for the case it contains spaces.
9115 * simple.el (what-cursor-position): Change formatting of
9118 * frame.el (delete-other-frames): New function.
9119 (toplevel): Bind it to C-x 5 1.
9121 * sort.el (sort-numeric-base): New option.
9122 (sort-numeric-fields): If number starts with `0' or `0[xX[',
9123 interpret it as octal or hexadecimal. Use sort-numeric-base
9126 * progmodes/glasses.el: New file.
9128 2000-01-27 Gerd Moellmann <gerd@gnu.org>
9130 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
9131 userids differently.
9133 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9134 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9135 progmodes/ebnf-yac.el: New files.
9137 2000-01-26 Dave Love <fx@gnu.org>
9139 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
9140 on a function with an empty body. [From Eric Ludlam.]
9142 2000-01-25 Andre Spiegel <spiegel@gnu.org>
9144 * vc.el (vc-version-diff): Make sure file name is expanded.
9146 2000-01-25 Gerd Moellmann <gerd@gnu.org>
9148 * scroll-bar.el (scroll-bar-timer): Variable removed.
9149 (scroll-bar-toolkit-scroll): Don't use a timer.
9151 2000-01-25 Kenichi Handa <handa@etl.go.jp>
9153 * language/thai-util.el (thai-composition-function): Delete
9156 2000-01-24 Dave Love <fx@gnu.org>
9158 * fortran.el (fortran-mode): Use beginning-of-defun-function,
9159 end-of-defun-function.
9161 * font-lock.el (turn-on-font-lock): Don't depend on window-system
9164 2000-01-22 Jason Rumney <jasonr@gnu.org>
9166 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
9167 conflicts with new face support.
9169 2000-01-22 Richard M. Stallman <rms@gnu.org>
9171 * replace.el (query-replace): Rename last arg to DELIMITED.
9172 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
9173 (query-replace-regexp): Likewise.
9175 2000-01-20 Richard M. Stallman <rms@gnu.org>
9177 * subr.el (with-syntax-table): Use make-symbol, not gensym.
9179 * emacs-lisp/lisp.el (beginning-of-defun-function):
9180 Variable renamed from beginning-of-defun.
9181 Do not call make-variable-buffer-local.
9182 (beginning-of-defun-raw): Use new variable name; doc fix.
9183 (beginning-of-defun): Doc fix.
9184 (end-of-defun-function): Variable renamed from end-of-defun.
9185 Do not call make-variable-buffer-local.
9186 (end-of-defun): Use new variable name; doc fix.
9188 * subr.el (dolist, dotimes): Copied from cl-macs.el
9191 * mail/undigest.el (rmail-digest-end-regexps):
9192 Variable replaces rmail-digest-end-regexp.
9193 Allows multiple regexps for detecting the end line.
9194 (undigestify-rmail-message): Corresponding changes.
9196 2000-01-19 Dave Love <fx@gnu.org>
9198 * files.el (user-init-file): Don't declare here -- is primitive.
9200 * startup.el (command-line): Check for compiled user-init-file and
9201 set to uncompiled version if necessary.
9203 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9205 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9206 (undigestify-rmail-message): Use it.
9208 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9210 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9212 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9215 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9217 * emacs-lisp/copyright.el (copyright-update): Removed the
9218 requirement for a trailing space from `copyright-regexp', to
9219 support copyrights with owner specified on a separate line..
9221 * align.el: New file.
9223 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9225 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9227 2000-01-13 Dave Love <fx@gnu.org>
9229 * ph.el: Removed. (Obsoleted by EUDC.)
9231 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9233 * net/eudc.el (toplevel): Remove autoloaded code installing
9234 menu with easymenu, because that causes build problems.
9236 * frame.el (frame-notice-user-settings): New variable.
9237 (frame-notice-user-settings): Don't modify frame parameters
9238 if called a second time.
9240 2000-01-13 Richard M. Stallman <rms@gnu.org>
9242 * frame.el (frame-notice-user-settings):
9243 Notice default-frame-parameters even for non-window frames.
9245 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9247 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9249 (eudc-bob-can-display-inline-images): Extend for Emacs.
9250 (eudc-bob-toggle-inline-display): Ditto.
9251 (eudc-bob-display-jpeg): Ditto.
9253 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9255 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9256 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9257 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9259 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9262 * subdirs.el: Add `net' directory.
9264 * net: New directory.
9266 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9267 eval-last-sexp. Don't bind debug-on-error here.
9268 (eval-last-sexp): New function. Bind debug-on-error if
9269 eval-expression-debug-on-error is non-nil.
9270 (eval-defun-2, eval-defun): Likewise.
9272 * simple.el (eval-expression): Don't bind debug-on-error if
9273 eval-expression-debug-on-error is nil. Detect changed
9274 debug-on-error, and propagate new value to global binding, if
9275 eval-expression-debug-on-error is non-nil,
9276 (eval-expression-debug-on-error): Change doc string.
9278 2000-01-11 Richard M. Stallman <rms@gnu.org>
9280 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9282 * emacs-lisp/lisp-mode.el (with-syntax-table):
9283 Set up lisp-indent-function property.
9285 * subr.el (with-syntax-table): Moved from simple.el.
9287 * simple.el (with-syntax-table): Moved to subr.el.
9289 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9291 * tmm.el (tmm-shortcut): Delete region after prompt instead
9294 * textmodes/fill.el (fill-common-string-prefix): New function.
9295 (fill-context-prefix): Use the longest common prefix of first
9296 and second line fill prefix, if there is one.
9298 2000-01-11 Richard M. Stallman <rms@gnu.org>
9300 * array.el (array-mode): Don't use make-variable-buffer-local.
9301 Use make-local-variable for `truncate-lines'.
9303 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9305 * add-log.el (add-log-current-defun): Handle user-defined
9306 add-log-current-function returning nil,
9308 * add-log.el (add-change-log-entry): Insert version number
9309 if having found a current function
9311 * add-log.el (add-log-current-defun): Call
9312 `add-log-current-defun-function'. Try matches at level 0 and
9313 level 1. Strip whitespace from defun found.
9315 2000-01-10 John Wiegley <johnw@gnu.org>
9317 * allout.el (isearch-done/outline-provisions): Added `edit'
9318 argument to correspond with the current definition of
9321 2000-01-10 Dave Love <fx@gnu.org>
9323 * elide-head.el (elide-head): Use point-marker, not point.
9325 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9327 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9328 before and after the year 2000.
9330 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9333 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9335 * ispell.el: Only define dictionaries in menus when they exist.
9336 (version18p): New variable.
9337 (version20p): New variable.
9338 (xemacsp): New variable.
9339 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9340 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9341 (ispell-dictionary-alist6): Russian command lines no longer accept
9343 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9344 (ispell-dictionary-alist): Add koi8-r to customize definition.
9345 (check-ispell-version): Added documentation string. Returns
9346 library path when called non-interactively.
9347 (ispell-menu-map-needed): Uses new variables.
9348 (ispell-library-path): New variable.
9349 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9350 (ispell-word): Improved documentation string. Test for valid
9351 character mappings. Correctly check typed in word changes that can
9352 result in single words split into multiple words. Returns
9354 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9355 replace in recursive query replace mode. Help message for
9356 recursive edit mode.
9357 (ispell-show-choices): Protect against bad framepop bindings.
9358 (ispell-help): Fix to work with XEmacs.
9359 (ispell-highlight-spelling-error): Use new variables.
9360 (ispell-overlay-window): Fix to work with XEmacs.
9361 (ispell-parse-output): Passed and returns location information
9362 tracking spelling corrections. Doesn't recheck same word on
9364 (ispell-init-process): Protect against bogus XEmacs variable binding.
9365 Fix call to single argument in sleep-for. Use new variables.
9366 (ispell-region): Passed and returns location information tracking
9367 spelling corrections. Doesn't check same word on current line.
9368 Improved documentation string. Doesn't resend a line already
9369 checked to the ispell process - fixes bug in LaTeX parsing.
9370 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9371 (ispell-skip-region): No longer skips <TT> in SGML.
9372 (ispell-process-line): Tracks location information with spelling
9373 corrections. Added documentation string. Accounts for words
9374 already accepted on this line. Don't allow query-replace on line
9375 starting with math characters. Doesn't resend a line already sent
9376 to ispell process. Fixes alignment error bug.
9378 2000-01-10 Richard M. Stallman <rms@gnu.org>
9380 * dired-x.el (dired-guess-shell-alist-default):
9381 Suggest xloadimage, which is free, not xv, which isn't.
9383 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9384 Don't ever include the host name or user name in the value.
9386 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9388 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9391 2000-01-09 Stephen Eglen <stephen@gnu.org>
9393 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9396 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9398 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9400 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9402 * progmodes/cperl-mode.el: Replace ^F with ^L.
9404 * sendmail.el (toplevel): Provide `sendmail' when compiling
9405 before `require'ing rmail and mailalias to prevent infinite
9408 2000-01-08 Dave Love <fx@gnu.org>
9410 * emacs-lisp/backquote.el: Remove inappropriate customization
9411 (allowing custom.el to use backquote).
9413 2000-01-07 Dave Love <fx@gnu.org>
9415 * add-log.el (add-log-debugging): Deleted.
9416 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9417 file. Remove debugging code.
9418 (change-log-get-method-definition, change-log-name): Add doc.
9419 (change-log-sortable-date-at): New function.
9420 (change-log-merge): New command.
9422 * time.el (display-time-string-forms): Make the Mail string active.
9423 (display-time-update): Provide help-echo for load average.
9425 * bindings.el (make-mode-line-mouse2-map): New function.
9426 (mode-line-modified): Use it and simplify.
9427 (mode-line-mule-info): Provide help-echo info.
9428 (minor-mode-alist): Activate the strings.
9429 (make-mode-line-mouse-sensitive): Simplify for
9430 mode-line-buffer-identification.
9432 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9434 * play/pong.el: New file.
9436 2000-01-06 Dave Love <fx@gnu.org>
9438 * array.el: Assorted cleanups for compiler warnings, doc strings,
9439 `array-' prefix for symbols.
9441 2000-01-05 Dave Love <fx@gnu.org>
9443 * textmodes/outline.el (outline-mode-menu-bar-map): Add
9444 outline-headers-as-kill.
9445 (outline-mode): Define imenu-generic-expression.
9446 (outline-headers-as-kill): New command.
9448 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
9449 from paragraph-start.
9450 (paragraph-indent-minor-mode): New command.
9452 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
9453 M-C-e, M-C-h, C-j, C-xnd, TAB.
9454 (fortran-mode): Set beginning-of-defun, end-of-defun.
9455 (fortran-column-ruler): Simplify.
9456 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
9457 (fortran-with-subprogram-narrowing): Likewise.
9458 (fortran-indent-subprogram): Call mark-defun.
9459 (fortran-check-for-matching-do): Change narrowing.
9461 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
9462 (cl-lucid-hash-tag): Delete.
9463 (cl-hash-table-p): Correct test for native table.
9464 (cl-hash-table-count): Use hash-table-count.
9466 * browse-url.el (browse-url): Fix case of
9467 browse-url-browser-function being an alist.
9469 2000-01-05 Carsten Dominik <cd@gnu.org>
9471 * textmodes/reftex-vars.el (reftex-parse-file-extension)
9472 (reftex-index-phrase-file-extension): New options.
9474 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
9475 Use new option `reftex-index-phrase-file-extension'.
9477 * textmodes/reftex.el (reftex-access-parse-file): Use new option
9478 `reftex-parse-file-extension'.
9480 2000-01-05 Dave Love <fx@gnu.org>
9482 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
9483 (beginning-of-defun-raw): Use it.
9484 (end-of-defun): New variable.
9485 (end-of-defun): Use it.
9486 (check-parens): New command.
9488 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
9490 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
9491 (hs-show-block): Don't use `mapcar' when not accumulating.
9493 Fix buglet in local variables initialization.
9495 2000-01-05 Andreas Schwab <schwab@suse.de>
9497 * hscroll.el (hscroll): Doc fix.
9499 2000-01-05 Carsten Dominik <cd@gnu.org>
9501 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
9504 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
9506 (idlwave-customize): load must read file idlw-shell.el.
9507 (idlwave-create-customize-menu): load must read file idlw-shell.el.
9509 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
9511 * progmodes/idlw-shell.el: Also provide idlwave-shell
9512 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
9513 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
9515 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
9516 both reftex-dcr and reftex-vcr.
9518 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
9520 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9522 * ps-print.el: PostScript code now is in separate files, doc fix.
9523 (ps-print-version): New version number (5.0.3).
9524 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
9526 (ps-spool-config): Initialization fix.
9527 (ps-print-prologue-1, ps-print-prologue-2)
9528 (ps-print-duplex-feature): PostScript code moved to separated file.
9529 (ps-background-image): Little code reformating.
9530 (ps-begin-file, ps-begin-job): Fix code.
9531 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
9532 (ps-prologue-file): New fun.
9534 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9536 * ps-vars.el: Eliminated.
9538 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
9541 * ps-print.el: ps-vars eliminated, doc fix.
9542 (ps-print-version): New version number (5.0.2).
9543 (ps-spool-config): Initialization fix.
9544 (ps-print-customize): New fun.
9546 2000-01-04 Gerd Moellmann <gerd@gnu.org>
9548 * autorevert.el (auto-revert-mode): Return value of
9551 2000-01-04 Dave Love <fx@gnu.org>
9553 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
9556 2000-01-03 Dave Love <fx@gnu.org>
9558 * elide-head.el (elide-head) [defgroup]: Add :version.
9560 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
9561 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
9562 `cl-hash-table-p', not `hash-table-p'.
9563 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
9565 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9567 * faces.el (face-read-integer, read-face-attribute)
9568 (color-defined-p, color-values): unspecified-{f,b}g are now
9571 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
9573 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
9574 at comment end, and re-insert them after filling.
9576 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9578 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
9579 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
9580 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
9582 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9584 * term/x-win.el (xw-defined-colors): Call color-supported-p,
9585 the new name of face-color-supported-p.
9587 * term/w32-win.el (xw-defined-colors): Likewise.
9589 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9591 * simple.el (completion-setup-function): Count completion-size
9592 from minibuffer-prompt-end, not from point-min.
9594 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9596 * faces.el (read-face-attribute, defined-colors, color-defined-p):
9597 Pass the frame to tty-color-* functions.
9598 (display-color-p, frame-set-background-mode): Pass the frame to
9599 tty-display-color-p.
9601 * term/tty-colors.el (tty-defined-color-alist): Renamed from
9603 (tty-color-alist, tty-modify-color-alist): New functions.
9604 (tty-color-define, tty-color-clear, tty-color-approximate)
9605 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
9606 an optional parameter FRAME.
9608 2000-01-01 Gerd Moellmann <gerd@gnu.org>
9610 * image.el (create-image, defimage): Don't assume image data is a
9613 * image.el (defimage): Handle specifications containing :data
9615 (image-type-from-data): New function.
9616 (image-type-from-file-header): Use it.
9617 (create-image): Add parameter DATA-P.
9619 See ChangeLog.8 for earlier changes.
9622 ;; coding: iso-2022-7bit-unix