1 2000-09-30 Gerd Moellmann <gerd@gnu.org>
3 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
4 (authors-obsolete-files-regexps): New variable.
5 (authors-add): Don't record changes in obsolete files.
7 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
9 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
11 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
12 (comment-indent): Make sure there's a space between code and comment.
13 Shift comments left to avoid going past fill-column.
15 2000-09-29 Gerd Moellmann <gerd@gnu.org>
17 * startup.el (startup-echo-area-message): New function.
18 (display-startup-echo-area-message): Use it.
19 (fancy-splash-screens): Rewritten to use keymaps and a timer.
20 (fancy-splash-default-action): New function.
21 (fancy-splash-screens-1): New function.
22 (fancy-splash-head): Put a help-echo and a keymap under the image.
24 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
26 * diff-mode.el (diff-add-log-file-name): Remove.
27 (diff-mode): Use add-log-buffer-file-name-function.
29 * add-log.el (find-change-log): New arg BUFFER-FILE.
30 (add-log-file-name): Obey add-log-file-name-function.
31 (add-log-buffer-file-name-function): New var.
32 (add-change-log-entry): Use it.
34 2000-09-29 Miles Bader <miles@gnu.org>
36 * image-file.el (image-file-name-extensions): New variable.
37 (image-file-name-regexps): Renamed from `image-file-regexps'.
38 New default value is nil. Call `auto-image-file-mode'.
39 (image-file-name-regexp): New function.
40 (auto-image-file-mode): New minor mode.
41 (insert-image-file): Don't make conditional on the image-file
42 handler being enabled.
43 (image-file-handler): Make the call here conditional instead.
44 (set-image-file-handler-enabled, enable-image-file-handler)
45 (disable-image-file-handler): Functions removed.
47 * emacs-lisp/authors.el (authors-print): Rephrase many-files
50 2000-09-29 Gerd Moellmann <gerd@gnu.org>
52 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
53 it's a function from CL.
54 (latex-imenu-create-index): Replace eval-when-compile with progn
55 because latex-section-alist is not bound while compiling.
57 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
59 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
60 (outline-mode): Use define-derived-mode.
62 * progmodes/perl-mode.el (perl-mode):
63 * progmodes/awk-mode.el (awk-mode):
64 * progmodes/asm-mode.el (asm-mode):
65 Don't gratuitously override the default for comment-column.
67 * emacs-lisp/lisp.el (lisp-complete-symbol):
68 Distinguish the let-binding case from the funcall case.
69 (forward-sexp-function): New variable.
70 (forward-sexp): Use it.
72 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
73 (easy-mmode-defmap): Remove the now useless autoload.
75 * time.el (display-time-mode): Use define-minor-mode.
77 * subr.el (add-minor-mode): Don't eval NAME.
78 Don't depend on the presence of TOGGLE-FUN for any special behavior.
79 Use if rather than cond.
81 * simple.el (read-expression-map): Define more properly.
82 (comment-indent-hook): Remove.
83 (string-to-syntax): Bug fix.
85 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
86 (cvs-ediff-diff): Fix typo.
87 (cvs-revert-if-needed): Don't bother preserving read-only.
89 * paren.el (show-paren-mode): Use define-minor-mode.
91 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
92 (toggle-auto-compression): Remove.
93 (jka-compr-build-file-regexp): Remove useless grouping.
95 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
96 Avoid user-reserved bindings.
97 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
98 (diff-header-face): Revert to grey85.
100 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
102 * complete.el (partial-completion-mode) <defcustom>: Remove.
103 (partial-completion-mode): Use define-minor-mode.
104 (PC-do-completion): Understand `completion-auto-help = delay'
105 to mean to popup the completion buffer only the second time.
106 (PC-include-file-all-completions, PC-include-file-all-completions)
107 (PC-include-file-all-completions): Don't quote lambda.
109 * comint.el (comint-mode-hook): Docstring fix.
110 (comint-mode): Use define-derived-mode.
111 (comint-mode-map): Remove obsolete comment.
112 (make-comint): Minor stylistic change.
113 (comint-insert-clicked-input): Be more careful to find the overlay.
114 Use this-command-keys rather than hardcoding mouse-2.
116 * font-lock.el: Replace confusing (,@ with ,
117 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
118 Don't use regexp-opt-depth. Spice up the regexp for args.
119 Don't distinguish between cmds that can take an opt arg or not.
120 Use `append' and `prepend' rather than `keep'.
122 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
123 (latex-outline-regexp): New var.
124 (latex-outline-level): New fun.
125 (latex-section-alist): New var.
126 (latex-imenu-create-index): Use it. Use `push' as well.
127 (tex-shell-map): Initialize it properly.
128 (tex-mode): Minor stylistic change.
129 (plain-tex-mode): Use define-derived-mode.
130 (latex-mode): Use define-derived-mode.
131 Construct the paragraph regexps in a more readable way.
132 Set the buffer-local outline-{level,regexp} vars.
133 (slitex-mode): Derive from latex-mode.
134 (tex-common-initialization): Don't kill-all-vars anymore.
135 Add setting for comment-add and font-lock-defaults.
136 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
137 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
138 (tex-start-tex): New arg DIR (and send a chdir command for it).
139 Also display the shell buffer and save it in tex-last-buffer-texed.
140 (tex-region): Use expand-file-name rather than concat.
141 Remove code made useless by changes in tex-start-tex.
142 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
144 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
146 2000-09-28 Dave Love <fx@gnu.org>
148 * eshell/eshell.el (eshell) <defgroup>: Add :version.
150 2000-09-28 Gerd Moellmann <gerd@gnu.org>
152 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
155 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
157 * info.el (Info-extract-pointer): Undo last change.
158 Instead, fix the position of the `bound' arg to re-search-backward.
160 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
162 * info.el (Info-extract-pointer):
163 Widen more carefully, to avoid finding pointers in other nodes.
164 (Info-index): Use push.
166 2000-09-27 Gerd Moellmann <gerd@gnu.org>
168 * frame.el (set-frame-font): Remove call to obsolete function
170 (set-foreground-color, set-background-color): Likewise for
171 frame-update-face-colors.
173 2000-09-27 Miles Bader <miles@gnu.org>
175 * image-file.el: New file.
177 2000-09-27 Gerd Moellmann <gerd@gnu.org>
179 * frame.el (frame-notice-user-settings): Don't call
180 frame-update-faces, which is a no-op now.
182 * ediff-wind.el (ediff-control-frame-parameters): Add zero
185 2000-09-27 Dave Love <fx@gnu.org>
187 * mouse.el: Fix last change.
189 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
191 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
193 2000-09-22 Kenichi Handa <handa@etl.go.jp>
195 * international/quail.el (quail-help): The output message is
198 2000-09-26 Dave Love <fx@gnu.org>
200 * mouse.el (popup-menu): If POSITION is nil, set it using
203 2000-09-25 Sam Steingold <sds@gnu.org>
205 * net/browse-url.el (browse-url-file-url): Check for null maps.
207 2000-09-26 Gerd Moellmann <gerd@gnu.org>
209 * frame.el (frame-notice-user-settings): Don't add a
210 tool-bar-lines frame parameter to default-frame-alist in batch mode.
212 * frame.el (frame-notice-user-settings):
213 Make tool-bar-mode and default-frame-alist consistent.
215 * toolbar/tool-bar.el (tool-bar-help): New function.
217 2000-09-25 Gerd Moellmann <gerd@gnu.org>
219 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
220 current-load-list in top-level forms. Else this leaks a cons cell
221 every time a defun is called.
223 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
225 2000-09-25 Dave Love <fx@gnu.org>
227 * startup.el (fancy-splash-head): Check XPM is available.
229 * autoinsert.el (auto-insert): Doc fix.
230 (auto-insert-alist): Following GNU notices, don't say `copyright
231 _by_'. Use line-beginning-position.
232 (auto-insert): Check buffer-file-name is non-nil before use.
234 2000-09-25 Gerd Moellmann <gerd@gnu.org>
236 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
237 starting with `@def' or `@multitable', in addition to ones
238 specified by the user in auto-fill-inhibit-regexp.
240 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
242 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
243 rmail-dont-reply-to-names matches the empty string.
245 2000-09-25 Gerd Moellmann <gerd@gnu.org>
247 * startup.el (command-line-1, fancy-splash-text): Change the
248 text to sound more friendly.
250 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
252 * progmodes/hideshow.el: Update author email address.
253 Generally, sync w/ maintainer version 5.22.
254 (hs-hide-all-non-comment-function): New var.
255 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
256 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
257 (hs-show-region): Delete this command.
258 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
260 2000-09-22 Dave Love <fx@gnu.org>
262 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
263 (hl-line-highlight): Specify buffer when moving overlay.
265 * progmodes/fortran.el (fortran-mode): Locally set
266 normal-auto-fill-function.
267 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
268 (fortran-mode-map): Adjust auto-fill menu entry.
270 2000-09-22 Gerd Moellmann <gerd@gnu.org>
272 * vc-rcs.el (toplevel): Require `vc' when compiling.
274 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
276 2000-09-22 Andre Spiegel <spiegel@gnu.org>
278 * vc.el (vc-switch-backend): Signal an error if the file is not
279 registered under the new backend.
281 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
282 without explicit revision number.
284 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
286 * diff-mode.el (diff-file-header-face): Reset to its previous value.
287 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
288 (diff-xor): New function.
289 (diff-find-source-location): Use it. Fix a stupid name clash.
290 (diff-hunk-status-msg): New function.
291 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
292 (diff-test-hunk): Use diff-find-source-location.
293 (diff-goto-source): Favor the `reverse'.
294 (diff-hunk-text): Properly handle one-sided context diffs.
295 (diff-apply-hunk): When done, advance to the next hunk.
297 2000-09-21 Gerd Moellmann <gerd@gnu.org>
299 * startup.el (command-line): If frame was created with a non-zero
300 tool-bar-lines parameter, switch tool-bar-mode on.
302 * add-log.el (change-log-date-face, change-log-name-face)
303 (change-log-email-face, change-log-file-face)
304 (change-log-list-face, change-log-conditionals-face)
305 (change-log-function-face, change-log-acknowledgement-face):
306 New faces, inheriting from font-lock faces.
307 (change-log-font-lock-keywords): Use them.
309 2000-09-21 Dave Love <fx@gnu.org>
311 * progmodes/cperl-mode.el (top-level): Clean up
312 `eval-when-compile's and assorted defvars.
313 (cperl-invalid-face): Don't double-quote value. Change custom
315 (cperl-mode): Set normal-auto-fill-function and don't zap
317 (cperl-imenu--function-name-regexp-perl): Renamed from
318 imenu-example--function-name-regexp-perl.
319 (cperl-imenu--create-perl-index): Renamed from
320 imenu-example--create-perl-index.
321 (cperl-xsub-scan): Don't require cl.
323 * msb.el (msb-mode-map): Use substitute-key-definition.
324 (msb-mode): Use msb-mode-map.
326 2000-09-21 Andre Spiegel <spiegel@gnu.org>
328 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
330 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
331 (vc-switch-backend): New function.
332 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
333 (vc-register): Fix prompt.
334 (vc-unregister, vc-default-unregister): New functions.
335 (vc-version-diff): Handle empty buffer in sentinel.
337 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
338 (vc-rcs-state-heuristic): Use it to guess the state of files with
340 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
341 been set with -b, but not created yet.
342 (vc-rcs-fetch-master-state): With non-strict locking, compare file
343 contents in order to find the state.
344 (vc-rcs-checkin): Allow creation of branches with no changes.
345 (vc-rcs-unregister, vc-rcs-receive-file)
346 (vc-rcs-set-non-strict-locking): New functions.
348 * vc-hooks.el (vc-name): Force correct computation of the value
349 in case it is missing.
351 2000-09-21 Gerd Moellmann <gerd@gnu.org>
353 * startup.el (fancy-splash-tail): Use a different foreground
354 color on a dark frame background.
356 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
358 * info.el: Use the correct capitalization when making Info-mode
359 and Info-edit-mode `special' modes.
361 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
363 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
364 (diff-mode): Add support for add-log.el.
365 (diff-hunk-text): Use char offsets rather than line offsets.
366 (diff-find-source-location): Replace LINE with line-offset (nil
367 if not found) and always set POS to a meaningful position.
368 Adapt to the new char-offsets.
369 (diff-apply-hunk): Drop support for the unused `select' POPUP.
370 Adapt to the new diff-find-source-location.
371 (diff-goto-source): Adapt to the new diff-find-source-location.
373 * add-log.el (add-log-file-name): New function (split out of
374 add-change-log-entry).
375 (add-change-log-entry): Use it.
376 Call add-log-file-name-function with the changelog file name if
377 the current buffer is not associated with any file.
378 Avoid find-file if the selected window is dedicated.
380 * diff-mode.el (diff-find-source-location):
381 Move code from diff-apply-hunk. Return buffer rather than file.
382 (diff-apply-hunk): Use the new result from diff-find-source-location.
383 (diff-goto-source): Use the new diff-find-source-location.
385 2000-09-20 Dave Love <fx@gnu.org>
387 * iswitchb.el: Some doc fixes.
388 (iswitchb-mode-map): Define completely initially. Inherit
389 minibuffer-local-map.
390 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
392 (iswitchb-global-map): New variable.
393 (iswitchb-summaries-to-end): Amalgamate regexps.
394 (iswitchb-mode): New.
395 (iswitchb-mode-hook): New variable.
396 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
399 2000-09-20 Gerd Moellmann <gerd@gnu.org>
401 * ehelp.el (electric-help): New defgroup.
402 (electric-help-shrink-window): New user-option.
403 (with-electric-help): Use it.
405 * window.el (shrink-window-if-larger-than-buffer): If face
406 `mode-line' has a :box, and we're on a graphical frame, add 1
407 to the needed window height.
409 * frame.el (frame-notice-user-settings): Add a last parameter nil
410 to a call to `append', because the last list passed to `append' is
411 not copied, and so subsequent calls to assq-delete-all will modify
414 * startup.el (fancy-splash-image): Change :type.
415 (fancy-splash-head): Use an XBM image if appropriate.
416 (command-line-1): Show splash screens in more cases.
418 * startup.el (fancy-splash-text): Don't quote faces.
420 * dired.el (dired-font-lock-keywords): Undo last change.
421 (dired-readin): Bind indent-tabs-mode to nil.
423 * startup.el (fancy-splash-head): If frame's background mode
424 is `dark', change the black background of the image to gray.
425 (fancy-splash-screens): Display startup echo area message.
426 (display-startup-echo-area-message): New function.
428 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
430 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
432 * info.el (info-header-node): Tweak for color ttys.
434 * faces.el (face-valid-attribute-values): Make sure directories we
435 search for stipples both exist and are readable before trying to
438 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
441 * jka-compr.el (with-auto-compression-mode): New macro.
443 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
444 (custom-group-tag-face, custom-variable-tag-face): Use relative
445 :height and inherit from `variable-pitch' face instead of
447 * hi-lock.el (hi-black-hb): Likewise.
449 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
450 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
451 toolbar-add-item, if image doesn't have a mask add a `:mask
454 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
456 * diff-mode.el: Docstring fixes.
457 (diff-header-face, diff-comment-face): New faces.
458 (diff-font-lock-keywords): Highlight a bit differently.
459 (diff-find-source-location): Don't return SPAN any more.
460 (diff-hunk-text): Don't bother erasing the temp buffer.
461 (diff-find-text): Drop argument LINE.
462 (diff-apply-hunk): Update calls to diff-find-text.
463 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
465 * calendar/calendar.el: Docstring fixes.
466 (calendar-make-alist): Don't quote lambda.
467 (calendar-star-date): Use make-local-variable.
469 2000-09-19 Dave Love <fx@gnu.org>
471 * toolbar/tool-bar.el: Renamed from toolbar.el.
472 Change `toolbar' to `tool-bar' generally in symbols.
473 Make some items invisible in `special' major modes.
474 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
477 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
479 (fancy-splash-delay, fancy-splash-image): Remove :version here.
481 2000-09-19 Gerd Moellmann <gerd@gnu.org>
483 * progmodes/sh-script.el (sh-search-word): Remove call to
486 * files.el (find-file-suppress-same-file-warnings): New
488 (find-file-noselect): Use it.
490 * startup.el (fancy-splash-delay, fancy-splash-image): Add
492 (fancy-splash-screen): Defgroup.
494 * add-log.el (change-log-font-lock-keywords): Match names
495 more exactly for the case that font-lock-constant-face is
498 2000-09-19 Richard M. Stallman <rms@gnu.org>
500 * progmodes/sh-script.el (sh-search-word): Rewritten for
503 2000-09-19 Andre Spiegel <spiegel@gnu.org>
505 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
507 2000-09-19 Gerd Moellmann <gerd@gnu.org>
509 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
510 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
511 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
512 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
513 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
514 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
515 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
516 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
517 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
518 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
519 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
520 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
522 * startup.el (fancy-splash-text): New variable.
523 (fancy-splash-delay, fancy-splash-image): New user-options.
524 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
525 (fancy-splash-screens): New functions.
526 (command-line-1): If display has a `display' frame parameter, has
527 colors, and we have XPM support, show more fancy splash screens.
529 2000-09-19 Dave Love <fx@gnu.org>
531 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
532 with null `help'. Use modern backquote syntax.
534 2000-09-19 Gerd Moellmann <gerd@gnu.org>
536 * font-lock.el (font-lock-mode): Change message telling the user
537 that ``the buffer is too big''.
539 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
540 for instance for the case that tab-width is 2.
542 2000-09-18 Gerd Moellmann <gerd@gnu.org>
544 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
545 toolbar-add-item, if image doesn't have a mask add a `:mask
548 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
550 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
551 and return a cons if it's non-nil.
552 (diff-apply-hunk): Try to jump to the line in the source text
553 corresponding to the position of point in the in the hunk.
555 * info.el (Info-title-3-face, Info-title-2-face)
556 (Info-title-1-face): Use face inheritance and relative sizes
557 instead of hard-wiring things.
559 * faces.el (secondary-selection): Make dark-background variant sane.
561 2000-09-16 Andrew Innes <andrewi@gnu.org>
563 * makefile.nt (compile-files): No need to make .elc files
564 read-only, since they aren't under VC now.
566 * makefile.w32-in (compile-files-CMD): No need to make .elc files
567 read-only, since they aren't under VC now.
569 2000-09-17 Dave Love <fx@gnu.org>
571 * tmm.el: Replace mapcar with mapc in several places.
573 * loadhist.el (unload-feature): Maybe call elp-restore-list and
576 * international/latin1-disp.el: New file.
578 * calendar/cal-move.el (scroll-calendar-left)
579 (scroll-calendar-right): Make arg optional (for active mode line).
581 * calendar/calendar.el (calendar-mode-line-format): Make fields
583 (calendar-read-date, calendar-read-date, calendar-window-list):
585 (calendar-month-name): Use aref, not sref.
587 * view.el (minor-mode-alist): Propertize the string.
589 * international/characters.el (standard-case-table): Add entries
592 2000-09-18 Miles Bader <miles@gnu.org>
594 * info.el (info-node, info-xref): Add dark-background variants.
596 * faces.el (header-line): Change defaults to be less confusing
597 when mixed with mode-lines.
599 * info.el (Info-fontify-node): Make a few cleanups.
600 Add extra `help-echo' and `local-map' props to node xrefs.
601 Use header-specific faces for node-names & xrefs.
602 (Info-use-header-line): New variable.
603 (info-header-xref, info-header-node): New faces.
604 (Info-setup-header-line): New function.
605 (Info-select-node): Call Info-setup-header-line when enabled.
606 (Info-extract-pointer): Work even if the header line is hidden.
607 (Info-header-line): New variable.
609 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
611 * vms-patch.el (print-region-function): Don't quote lambda.
613 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
615 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
616 (lm-get-header-re): Allow spaces between the header and the colon.
617 (lm-header): Allow $ in non-RCS headers.
618 (lm-header-multiline): Put the strings back into order.
619 Stop at an empty line. Don't require two space chars if the
620 line is clearly not another header line.
622 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
623 (popup-menu-popup): Remove.
625 2000-09-15 Gerd Moellmann <gerd@gnu.org>
627 * toolbar/toolbar.el (toolbar-add-item): Use the same image
628 specification if or if not tool-bar item contains an `:enabled'
631 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
632 current buffer has no file name.
634 2000-09-15 Dave Love <fx@gnu.org>
636 * strokes.el: Sync with maintainer's current version with changes
637 for Emacs, but avoid runtime cl and levents.
638 (toplevel): Change autoloads and compilation requires.
639 (strokes-version, strokes-bug-address, strokes-lift): Values
641 (strokes-xpm-header, strokes-insinuated): New variable.
642 (strokes): Add :link.
643 (strokes-mode): Customized.
644 (strokes-while-inhibiting-garbage-collector): New macro.
645 (strokes-remassoc): Avoid remove-if.
646 (strokes-fix-button2-command): Don't use ad-do-it.
647 (strokes-insinuate): New function.
648 (strokes-button-press-event-p, strokes-button-release-event-p):
649 New functions, used instead of non-`strokes-' versions..
650 (strokes-mouse-event-p): Rewritten.
651 (strokes-event-closest-point): Avoid event-point.
652 (strokes-get-grid-position): Avoid cdadr, caadr
653 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
655 (strokes-help): Use with-output-to-temp-buffer.
656 (strokes-window-configuration-changed-p): New function.
657 (strokes-update-window-configuration): Use buffer-live-p,
658 strokes-window-configuration-changed-p.
659 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
660 (strokes-char-face): New face.
661 (strokes-char-table, strokes-base64-chars): New variable.
662 (strokes-xpm-for-stroke, strokes-list-strokes)
663 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
664 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
665 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
666 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
667 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
670 2000-09-15 Gerd Moellmann <gerd@gnu.org>
672 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
674 * image.el (create-image): Doc fix.
676 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
677 instead of `:heuristic-mask t'.
679 2000-09-14 Andrew Innes <andrewi@gnu.org>
681 * makefile.w32-in: Revert to Unix line endings.
683 2000-09-14 Andrew Innes <andrewi@gnu.org>
685 * makefile.w32-in: Add bootstrap support. Also copy lisp source
688 * makefile.nt (DONTCOMPILE): Fix typo.
690 * shell.el (shell-write-history-on-exit): New function.
691 (shell-dumb-shell-regexp): New custom variable.
692 (shell-mode): Make shell-write-history-on-exit the process
693 sentinel if shell name matches shell-dumb-shell-regexp.
695 * w32-fns.el: Comment out before-init-hook function which resets
696 source-directory based; this breaks bootstrap.
698 2000-09-14 Dave Love <fx@gnu.org>
700 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
701 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
702 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
703 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
704 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
705 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
706 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
707 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
708 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
710 * toolbar/toolbar.el: New.
712 * subdirs.el: Add toolbar.
714 2000-09-14 Gerd Moellmann <gerd@gnu.org>
716 * indent.el (indent-for-tab-command): Doc fix.
718 2000-09-14 Alex Schroeder <alex@gnu.org>
720 * ansi-color.el (ansi-colors): Doc change.
721 (ansi-color-get-face): Simplified regexp.
722 (ansi-color-faces-vector): Added more faces, doc change.
723 (ansi-color-names-vector): Doc change.
724 (ansi-color-regexp): Simplified regexp.
725 (ansi-color-parameter-regexp): New regexp.
726 (ansi-color-filter-apply): Doc change.
727 (ansi-color-filter-region): Doc change.
728 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
729 deal with zero length parameters.
730 (ansi-color-apply-on-region): Doc change.
731 (ansi-color-map): Doc change.
732 (ansi-color-map-update): Removed debugging message.
733 (ansi-color-get-face-1): Added condition-case to trap
734 args-out-of-range errors.
735 (ansi-color-get-face): Doc change.
736 (ansi-color-make-face): Removed.
737 (ansi-color-for-shell-mode): New option.
739 2000-09-13 Kenichi Handa <handa@etl.go.jp>
741 * international/quail.el (quail-start-translation): Translate KEY
742 if necessary even if it doesn't have any mapping in the current
744 (quail-start-conversion): Likewise.
745 (quail-help): The output message is improved.
747 2000-09-13 Miles Bader <miles@gnu.org>
749 * comint.el (comint-output-filter): Revert to using
750 `insert-before-markers'. Add bletcherous hack to undo damage
751 caused by `insert-before-markers'. Put `front-sticky' property on
752 overlays created here so that the field code understands how the
753 overlay works. Use a let when making comint-last-prompt-overlay,
754 so that the code is easier to read.
756 2000-09-13 Dave Love <fx@gnu.org>
758 * wid-edit.el (widget-default-format-handler): DTRT when
759 doc-property is a function.
761 2000-09-12 Francesco Potorti` <pot@gnu.org>
763 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
764 filed name if it's not there.
766 2000-09-12 Dave Love <fx@gnu.org>
768 * simple.el (read-mail-command): Doc fix.
769 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
771 * vc.el (vc-dired-listing-switches): Fix :version.
773 * vc-hooks.el: Doc fixes.
775 * subr.el (add-minor-mode): Use toggle-fun arg.
777 * speedbar.el: Add :version to several defcustoms.
779 * imenu.el (imenu--truncate-items, imenu--cleanup)
780 (imenu--generic-function): Avoid mapcar.
781 (imenu--replace-spaces): Function removed.
782 (imenu--completion-buffer): Use subst-char-in-string.
783 (imenu-add-to-menubar): Use keymap inheritance.
785 2000-09-12 Miles Bader <miles@gnu.org>
787 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
788 (diff-mode-map): Bind `diff-test-hunk'.
789 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
791 2000-09-11 Gerd Moellmann <gerd@gnu.org>
793 * bytecomp.el (byte-compile-defvar): Undo last change
794 because it breaks '(make-variable-buffer-local (defvar ...)'
795 which is used at least in dired.
797 2000-09-12 Kenichi Handa <handa@etl.go.jp>
799 * international/quail.el (quail-define-package): Docstring
802 2000-09-12 Kenichi Handa <handa@etl.go.jp>
804 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
805 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
806 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
807 docstring of "chinese-py".
809 * international/quail.el (quail-translation-docstring): New
811 (quail-show-keyboard-layout): Docstring modified.
812 (quail-select-current): Likewise.
813 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
814 infinite recursive call.
815 (quail-help): Check quail-translation-docstring. Format of the
817 (quail-help-insert-keymap-description): Adjusted for the above
820 2000-09-11 Gerd Moellmann <gerd@gnu.org>
822 * bytecomp.el (byte-compile-defvar): Only cons onto
823 current-load-list in top-level forms. Else this leaks a cons cell
824 every time a defun is called.
826 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
828 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
829 Now understands non-unified diffs. Some functionality moved into
830 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
831 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
832 modify anything. Only reposition point in the patched file if the
833 patch succeeds. Only pop up another window if POPUP is true.
834 Emit a message describing what happened if successful, and at what
835 line-offset. Automatically detect reversed hunks and do something
837 (diff-hunk-text, diff-find-text): New functions.
838 (diff-filter-lines): Function removed.
839 (diff-test-hunk): New function.
840 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
842 2000-09-10 Dave Love <fx@gnu.org>
844 * textmodes/tildify.el: Minor doc/commentary fixes.
845 (tildify) <defgroup>: Add :version.
847 * faces.el (face-x-resources): Make custom type more specific.
848 (frame-background-mode): Use mapc.
849 (region) <defcustom>: Add :version.
851 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
853 * vc-sccs.el (vc-sccs-register):
854 * vc-rcs.el (vc-rcs-register):
855 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
856 * vc.el (vc-register): Clear file's properties.
858 2000-09-08 Gerd Moellmann <gerd@gnu.org>
860 * faces.el (face-spec-set): Only face-spec-reset-face when
863 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
865 * help.el (help-insert-xref-button): Fix a typo in doc string.
867 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
869 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
870 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
873 * menu-bar.el (read-mail-item-name): New function.
874 (menu-bar-tools-menu): Use it to compute and display the package
876 (menu-bar-tools-menu): Fix typo in GUD's help string.
878 2000-09-07 Dave Love <fx@gnu.org>
880 * diff-mode.el (diff-mouse-goto-source): New function.
882 * vc-sccs.el: Doc fixes.
883 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
885 * vc-rcs.el: Doc fixes.
886 (vc-rcs-register-switches, vc-rcs-checkin-switches)
887 (vc-rcs-checkout-switches, vc-rcs-header)
888 (vc-rcs-master-templates): Add or change :version.
890 * vc-cvs.el: Doc fixes.
891 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
892 (vc-cvs-stay-local): Add :version.
894 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
896 2000-09-07 Kenichi Handa <handa@etl.go.jp>
898 * international/quail.el (quail-help): Fix previous change.
900 2000-09-07 Gerd Moellmann <gerd@gnu.org>
902 * faces.el (color-values): Doc fix.
904 * faces.el (frame-set-background-mode): Use frame-parameter
905 instead of frame-parameters.
907 * frame.el (filtered-frame-list): Reduce consing.
908 (frames-on-display-list): Call frame-parameter instead of
911 2000-09-07 Kenichi Handa <handa@etl.go.jp>
913 * language/devan-util.el (devanagari-to-indian-region): In the
914 loop, change the following char, not preceding char.
916 2000-09-07 Gerd Moellmann <gerd@gnu.org>
918 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
919 instead of frame-parameters.
921 * faces.el (set-face-attribute): Simplify by calling
922 internal-set-lisp-face-attribute with FRAME being 0.
924 * vc.el: Remove `Id' version control keyword.
926 2000-09-07 Kenichi Handa <handa@etl.go.jp>
928 * help.el (help-make-xrefs): Adjusted for the change of
929 help-xref-mule-regexp.
930 (help-insert-xref-button): New function.
932 * international/mule-cmds.el (help-xref-mule-regexp-template):
933 Include the pattern for character set.
936 * international/quail.el: Don't require face.
938 (quail-other-command): Dummy command to make quail-help work better.
939 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
940 (quail-keyboard-layout-substitution): New variable.
941 (quail-update-keyboard-layout): New function.
942 (quail-keyboard-layout-type): New customizable variable.
943 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
944 (quail-keyboard-translate): Pay attention to
945 quail-keyboard-layout-substitution.
946 (quail-insert-kbd-layout): New function.
947 (quail-show-keyboard-layout): New function.
948 (quail-get-translation): If the definition is a vector of length
949 1, and the element is a string of length 1, return the character
951 (quail-update-current-translations): Fix the case of
952 relative-index out of range.
953 (quail-build-decode-map, quail-insert-decode-map): New Functions.
954 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
955 Show key sequences for all available characters.
956 (quail-help-insert-keymap-description): Don't show such verbose
957 key bindings as quail-self-insert-command.
959 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
960 Format changed, and each element now have extra documentations.
961 (tit-process-header): Delete invalid characters from TIT-PROMPT.
962 Adjusted for the change of quail-cxterm-package-ext-info.
964 2000-09-06 Gerd Moellmann <gerd@gnu.org>
966 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
967 requiring it leads to a recursive loading of vc.el and vc-hooks.el
970 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
972 * vc.el: (toplevel): Don't require `dired' at run-time.
973 (vc-dired-resynch-file): Remove autoload cookie.
975 2000-09-05 Andre Spiegel <spiegel@gnu.org>
977 * vc.el: Made several backend functions optional.
978 (vc-default-responsible-p): New function.
979 (vc-merge): Use RET for first version to trigger merge-news, not
981 (vc-annotate): Handle backends that do not support annotation.
982 (vc-default-merge-news): Removed. The existence of a merge-news
983 implementation is now checked on caller sites.
985 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
988 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
989 special case that has been removed from the default in vc-hooks.el.
991 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
993 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
995 2000-09-05 Andre Spiegel <spiegel@gnu.org>
997 * vc-hooks.el: Require vc during compilation.
998 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
999 macro `with-vc-properties' in vc.el.
1000 (vc-file-getprop): Doc fix.
1001 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
1003 * vc.el: Require dired-aux during compilation.
1004 (vc-name-assoc-file): Moved to vc-sccs.el.
1005 (with-vc-properties): New macro.
1006 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
1007 vc-finish-steal): Use it.
1008 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
1009 to the backend-specific function is now supposed to do the checkout,
1011 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
1013 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
1014 set file properties; that gets done in the generic code now.
1016 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
1017 Changed parameter list, added code from vc.el that does the
1018 checkout, possibly with a double-take.
1020 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
1021 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
1022 the above under the new name.
1023 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
1024 parameter list, added checkout command.
1025 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
1026 properties; that gets done in the generic code now.
1028 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1030 * vc.el: Docstring fixes (courtesy of checkdoc).
1032 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1034 * vc.el (vc-checkout-writable-buffer-hook)
1035 (vc-checkout-writable-buffer): Remove.
1036 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
1037 (vc-log-mode): Make it into a clean derived major mode.
1038 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
1039 vc-log-mode if log-edit is not available.
1040 (vc-dired-mode-map): Don't set-keymap-parent yet.
1041 (vc-dired-mode): Do set-keymap-parent here.
1042 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
1044 2000-09-05 Gerd Moellmann <gerd@gnu.org>
1046 * faces.el (set-face-attribute, face-spec-reset-face)
1047 (face-spec-set): Avoid consing by removing calls to `apply'.
1049 * frame.el (frame-parameter): Move to C code.
1051 2000-09-05 Dave Love <fx@gnu.org>
1053 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
1054 insert-before-markers-and-inherit. Now checked systematically!
1056 2000-09-05 Alex Schroeder <alex@gnu.org>
1058 * sql.el (sql-postgres): Use sql-postgres-options.
1059 (sql-postgres-options): New variable.
1061 2000-09-05 Alex Schroeder <alex@gnu.org>
1063 * sql.el (sql-mode-menu): Work around missing variable mark-active
1065 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1066 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1069 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1071 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1073 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1075 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1077 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1079 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1080 don't support anything else under SCCS yet.
1082 * vc-hooks.el: Minor doc fixes.
1084 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1086 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1087 not necessary. If verbose in state `needs-patch', do the same as
1088 under `up-to-date'. When NOT verbose and `needs-patch', check out
1089 latest version instead of `merge-news'.
1090 (vc-next-action-dired): Don't mess with default-directory here; it
1091 breaks other parts of dired. It is the job of the
1092 backend-specific functions to adjust it temporarily if they need it.
1093 (vc-next-action): Remove a special CVS case.
1094 (vc-clear-headers): New optional arg FILE.
1095 (vc-checkin, vc-checkout): Set properties vc-state and
1096 vc-checkout-time properly.
1097 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1098 (vc-print-log): Use new backend function `show-log-entry'.
1099 (vc-cancel-version): Do the checks in a different order. Added a
1100 FIXME concerning RCS-only code.
1102 * vc-rcs.el (vc-rcs-show-log-entry): New function.
1103 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
1105 * vc-cvs.el (vc-cvs-show-log-entry): New function.
1107 * vc-hooks.el (vc-default-mode-line-string): Show state
1108 `needs-patch' as a `-' too.
1110 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1112 * vc.el (vc-responsible-backend): New optional arg REGISTER.
1113 (vc-default-could-register): New function.
1114 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
1115 (vc-resynch-buffer): Call vc-dired-resynch-file.
1116 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
1117 vc-resynch-buffer instead of vc-resynch-window.
1118 (vc-next-action-dired): Don't redisplay here, that gets done as a
1119 result of the individual file operations.
1120 (vc-retrieve-snapshot): Corrected prompt order.
1122 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
1124 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
1126 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
1127 hostname regexps. Updated all callers.
1128 (vc-cvs-responsible-p): Handle directories as well.
1129 (vc-cvs-could-register): New function.
1130 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
1131 properties up-to-date.
1133 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
1134 user whether to create one.
1136 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1138 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
1139 check out a non-existing file.
1141 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
1142 workfile does not exist.
1144 * vc.el (vc-version-diff): Use `require' to check for existence of
1147 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1149 * vc-cvs.el (vc-cvs-registered): Use new function
1150 vc-cvs-parse-entry to do the actual work.
1152 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1154 * vc-hooks.el (vc-find-backend-function): If function doesn't
1155 exist, return nil instead of error.
1156 (vc-call-backend): Doc fix.
1158 * vc.el (vc-do-command): Doc fix.
1159 (vc-finish-logentry): When checking in from vc-dired, choose the
1160 right backend for logentry check.
1161 (vc-dired-mode-map): Inherit from dired-mode-map.
1162 (vc-dired-mode): Local value of dired-move-to-filename-regexp
1164 (vc-dired-state-info): Removed, updated caller.
1165 (vc-default-dired-state-info): Use parentheses instead of hyphens.
1166 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
1167 (vc-dired-listing-switches): New variable.
1168 (vc-directory): Use it, instead of dired-listing-switches.
1170 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
1171 (vc-cvs-dir-state): New function.
1172 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
1173 (vc-cvs-parse-entry): New function, also to be used in
1176 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1178 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
1179 *or* single-window-frames.
1181 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1183 * vc.el (vc-update-changelog): Split into generic part and default
1184 implementation. Doc string adapted.
1185 (vc-default-update-changelog): New function. Call the `rcs2log'
1186 script in exec-directory, to fix a long-standing nuisance.
1188 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
1189 simply signals an error.
1191 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1193 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
1194 control-flow more clear and to avoid running `cvs' twice.
1196 * vc.el (vc-next-action-on-file): Doc fix.
1197 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1198 (vc-print-log): Eval `file' before constructing the continuation.
1200 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1202 * vc.el (vc-next-action-on-file): Corrected several messages.
1203 (vc-merge): Add prefix arg `merge-news'; handle it.
1205 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1206 is not reached. It is.
1207 (vc-cvs-merge): Set state to 'edited after merge.
1208 (vc-cvs-merge-news): Set workfile version to nil if not known.
1209 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1211 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1212 via stdout. (Merge from main line.)
1214 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1216 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1219 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1221 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1222 against kill-all-local-variables.
1223 (vc-log-edit): Don't save vc-parent-buffer any more.
1224 (vc-last-comment-match): Initialize to an empty string.
1225 (vc-post-command-functions): New hook.
1226 (vc-do-command): Run it.
1227 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1228 (vc-finish-logentry): Only add the comment to the ring if it's
1229 different from the last comment entered.
1230 (vc-new-comment-index): New function.
1231 (vc-previous-comment): Use it. Make the minibuffer message
1232 slightly less terse.
1233 (vc-comment-search-reverse): Make it work forward as well. Don't
1234 set vc-comment-ring-index if no match is found. Use
1235 vc-new-comment-index.
1236 (vc-comment-search-forward): Use vc-comment-search-reverse.
1237 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1238 define-derived-mode will do it for us. Bind `v' to a keymap that
1239 inherits from vc-prefix-map so that we can bind `vt' without
1241 (vc-retrieve-snapshot): Parenthesis typo.
1243 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1244 to 1. Make sure to switch to *vc* before looking for an error
1245 message. Use vc-parse-buffer.
1247 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1249 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1251 (vc-retrieve-snapshot): Split into two parts.
1252 (vc-default-retrieve-snapshot): New function.
1254 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1255 (vc-cvs-retrieve-snapshot): New function (untested).
1256 (vc-cvs-stay-local): Default to t.
1257 (vc-cvs-remote-p): New function and property.
1258 (vc-cvs-state): Stay local only if the above is t.
1259 (vc-handle-cvs): Removed.
1260 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1261 done via vc-handled-backends now.
1262 (vc-cvs-header): Escape Id.
1264 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1266 * vc.el (vc-do-command): Remove unused commands.
1267 (vc-version-diff): Make sure default-directory ends with a slash.
1268 Move the window commands into a vc-exec-after.
1269 (vc-print-log): Move more of the code into the `vc-exec-after'.
1271 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1273 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1274 (vc-print-log): Search current revision from beginning of buffer.
1275 (vc-revert-buffer): Clear echo area after the diff is finished.
1276 (vc-prefix-map): Removed definition of "t" for terse display in vc
1278 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1279 definition of "vt" for terse display.
1280 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1282 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1284 * vc.el (vc-exec-after): Avoid caddr.
1286 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1288 * vc.el (vc-exec-after): New function.
1289 (vc-do-command): Use it to add a termination message for async
1291 (vc-checkout): Try to handle a missing-backend situation.
1292 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1293 of a directory with a backend using async diffs.
1294 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1297 * vc-sccs.el (vc-sccs-state-heuristic): Use
1298 file-ownership-preserved-p.
1300 * vc-rcs.el (vc-rcs-state-heuristic): Use
1301 file-ownership-preserved-p.
1302 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1304 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1306 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1309 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1310 when there are no changes.
1312 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1314 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1316 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1318 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1320 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1322 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1323 the `fset' outside of the defvar so that it works even if
1324 vc-prefix-map was already defined.
1325 (vc-setup-buffer): New function, split out of vc-do-command.
1326 (vc-do-command): Allow BUFFER to be t to mean `just use the
1327 current buffer without any fuss'.
1328 (vc-version-diff): Change the `diff' backend operation to just put
1329 the diff in the current buffer without erasing it. Always use
1330 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1331 shrink-window-if-larger-than-buffer.
1332 (vc-print-log): Change the `print-log' backend operation to just
1333 put the log in the current buffer without erasing it. Protect
1334 shrink-window-if-larger-than-buffer.
1335 (vc-update-change-log): Fix setd typo.
1337 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1338 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1340 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1341 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1344 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1345 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1346 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1348 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1350 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1351 not possible, use vc-BACKEND-workfile-unchanged-p.
1352 (vc-default-workfile-unchanged-p): New function. Delegates to a
1353 full vc-BACKEND-diff.
1355 * vc-hooks.el (vc-simple-command): Removed.
1357 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1358 instead of vc-simple-command.
1359 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1360 avoid doing a diff when opening a file.
1361 (vc-rcs-state): Added check for unlocked-changes.
1362 (vc-rcs-header): Escape Id.
1363 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1364 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1367 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1368 (vc-sccs-diff): Remove optional arg CMP.
1369 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1370 SCCS-specific function.
1372 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1375 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1377 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1378 (with-vc-file, vc-merge): Use vc-editable-p.
1379 (vc-do-command): Remove unused var vc-file and fix the
1380 doubly-defined `status' var. Add a user message when starting an
1382 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1383 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1384 Use with-current-buffer.
1385 (vc-buffer-sync): Use unless.
1386 (vc-next-action-on-file): If the file is 'edited by read-only,
1387 make it read-write instead of trying to commit.
1388 (vc-version-diff, vc-update-change-log): Use `setq
1389 default-directory' rather than `cd'.
1390 (vc-log-edit): Don't forget to set default-directory in the
1393 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1394 (vc-sccs-state-heuristic): Use file-writable-p instead of
1396 (vc-sccs-checkout): Use `unless'.
1398 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1399 of comparing userids.
1400 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1401 Simplify the logic by eliminating unreachable code.
1402 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1403 just do a recursive call if we need to retry.
1404 (vc-rcs-checkout): Handle the case where rcs is missing by making
1405 the buffer read-write if requested and re-signalling the error.
1407 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1409 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1411 * vc-hooks.el (vc-handled-backends): Docstring change.
1412 (vc-ignore-vc-files): Mark obsolete.
1413 (vc-registered): Check vc-ignore-vc-files.
1414 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1417 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1419 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1421 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1422 files since ange-ftp already has vc-registered return nil.
1424 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1425 (vc-sccs-workfile-version): Use with-temp-buffer and new
1426 vc-parse-buffer and don't bother setting the property.
1427 (vc-sccs-add-triple): Use with-current-buffer and
1429 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1431 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1432 derives from the old vc-parse-buffer but uses the revision number
1433 rather than the date (much easier to compare robustly).
1434 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1435 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1436 locking-user more directly. Check strict locking and set
1437 checkout-model appropriately.
1438 (vc-rcs-parse-locks): Remove.
1439 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
1440 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
1441 (vc-rcs-system-release): Use with-current-buffer and
1443 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
1445 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
1446 (vc-simple-command): Docstring fix.
1447 (vc-registered): Align the way the file-handler is called with the
1448 way the function itself works.
1449 (vc-file-owner): Remove.
1451 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
1452 extraction of fields and call to file-attributes because of a
1453 temporary bug in rcp.el.
1454 (vc-cvs-fetch-status): Use with-current-buffer.
1456 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1458 * vc.el (vc-do-command): Use file-relative-name.
1459 (vc-responsible-backend): Use vc-backend if possible.
1460 (vc-create-snapshot): Improve the `interactive' spec. Add support
1461 for branches and dispatch to backend-specific `create-snapshot'.
1462 (vc-default-create-snapshot): New function, containing the bulk of
1463 the old vc-create-snapshot.
1464 (vc-retrieve-snapshot): Improve the interactive spec.
1466 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
1467 (vc-backend-hook-functions): Remove.
1468 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
1469 (vc-backend): Reintroduce the test for `file = nil' now that I
1470 know why it was there (and added a comment to better remember).
1472 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
1473 code from vc-sccs-hooks.el.
1474 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
1476 (vc-sccs-responsible-p): Use expand-file-name instead of concat
1477 and file-directory-p instead of file-exists-p.
1478 (vc-sccs-check-headers): Simplify the regexp.
1480 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
1481 from vc-rcs-hooks.el. Don't require 'vc anymore.
1482 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
1483 file-directory-p instead of file-exists-p.
1485 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
1486 from vc-cvs-hooks.el.
1487 (proto vc-cvs-registered): Require 'vc-cvs instead of
1488 'vc-cvs-hooks. Don't require 'vc anymore.
1489 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
1490 file-directory-p instead of file-exists-p.
1491 (vc-cvs-create-snapshot): New function, replacing
1493 (vc-cvs-assign-name): Remove.
1495 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1497 * vc-cvs.el (vc-cvs-header): New var.
1499 * vc-rcs.el (vc-rcs-exists): Remove.
1500 (vc-rcs-header): New var.
1502 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
1503 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
1504 (vc-sccs-header): New var.
1506 * vc.el (vc-do-command): Get rid of the `last' argument.
1507 (vc-header-alist): Remove, replaced by vc-X-header.
1508 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
1509 (vc-dired-hook): Use expand-file-name instead of concat.
1510 (vc-directory): Use file-name-as-directory.
1511 (vc-snapshot-precondition, vc-create-snapshot)
1512 (vc-retrieve-snapshot): Allow the command to operate on any
1515 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
1516 just removing the 'WORKFILE argument or by removing the 'MASTER
1517 argument and replacing `file' with (vc-name file).
1519 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1521 * vc.el: Update Copyright and add a crude list of backend funs.
1522 (vc-writable-p): New function.
1523 (with-vc-file): Use vc-writable-p.
1524 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
1525 (vc-register): Avoid vc-name.
1526 (vc-locking-user): Remove.
1527 (vc-steal-lock): Make the `owner' arg non-optional.
1528 (vc-merge): Use vc-writable-p instead of vc-locking-user and
1530 (vc-default-dired-state-info): Use vc-state instead of
1531 vc-locking-user and return special strings for special states.
1532 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
1533 and get rid of one of the special CVS cases.
1534 (vc-cancel-version): prettify error message with \\[...].
1535 (vc-rename-master): New function.
1536 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
1537 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
1538 the CVS special case generic.
1539 (vc-default-record-rename): Remove.
1540 (vc-file-tree-walk-internal): Only call FUNC for files that are
1541 under control of some VC backend and replace `concat' with
1543 (vc-file-tree-walk): Update docstring.
1544 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
1545 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
1547 * vc-sccs.el (vc-sccs-rename-file): Renamed from
1548 vc-sccs-record-rename. Use `find-file-noselect' rather than
1549 `find-file' and call `vc-rename-master' to do the actual move.
1550 (vc-sccs-diff): Remove unused `backend' variable.
1552 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
1553 to delay loading of vc-sccs until it is really used.
1554 (vc-sccs-master-templates): Preload.
1555 (vc-sccs-state): Update call to vc-sccs-parse-locks.
1556 (vc-sccs-project-dir): Remove (merged into
1557 vc-sccs-search-project-dir).
1558 (vc-sccs-search-project-dir): Rewrite using file name handling ops
1559 rather than `concat', make sure it is preloaded and don't bother
1560 to check that the file actually exists.
1561 (vc-sccs-parse-locks): Remove unused `file' argument, remove
1562 `locks' argument (use buffer's content instead) and eliminate n^2
1565 * vc-rcs.el: Update Copyright.
1566 (vc-rcs-rename-file): New function.
1567 (vc-rcs-diff): Remove unused `backend' variable.
1569 * vc-hooks.el: Update Copyright.
1570 (vc-backend): Don't accept a nil argument any more.
1571 (vc-up-to-date-p): Turn into a defsubst.
1572 (vc-possible-master): New function.
1573 (vc-check-master-templates): Use `vc-possible-master' and allow
1574 funs in vc-X-master-templates to return a non-existent file.
1576 * vc-cvs.el: Update Copyright.
1577 (vc-cvs-diff): Remove unused `backend' variable.
1578 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
1580 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
1582 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1584 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
1585 since it can be called from vc-rcs.el.
1586 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
1588 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1590 * vc.el (vc-version-diff): Expand file name read from the
1591 minibuffer. Handle the case when a previous version number can't
1592 be guessed. Give suitable messages when there were no differences
1594 (vc-clear-headers): Call backend-specific implementation, if one
1596 (vc-cancel-version): Made error checks generic. When done, clear
1597 headers generically, too.
1599 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
1600 from vc-clear-headers in vc.el.
1602 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
1604 (vc-rcs-latest-on-branch-p): Made second argument VERSION
1605 optional. Handle the case when it's not there.
1607 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1609 * vc.el (vc-locking-user): Moved from vc-hooks.el.
1611 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1613 * vc-hooks.el (vc-loadup): Remove.
1614 (vc-find-backend-function): Use `require'. Also, handle the case
1615 where vc-BACKEND-hooks.el doesn't exist.
1616 (vc-call-backend): Cleanup.
1618 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1620 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
1621 vc-rcs-grab-templates)
1622 (vc-rcs-registered): Remove. The default function works as well.
1623 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
1624 vc-sccs-grab-templates)
1625 (vc-sccs-registered): Remove. The default function works as well.
1627 * vc.el (vc-version-diff): Left out a vc- in call to
1629 (vc-default-dired-state-info, vc-default-record-rename)
1630 (vc-default-merge-news): Update for the new backend argument.
1632 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
1633 using the default function.
1634 (vc-call-backend): If calling the default function, pass it the
1635 backend as first argument. Update the docstring accordingly.
1636 (vc-default-state-heuristic, vc-default-mode-line-string): Update
1637 for the new backend argument.
1638 (vc-make-backend-sym): Renamed from vc-make-backend-function.
1639 (vc-find-backend-function): Use the new name.
1640 (vc-default-registered): New function.
1642 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1644 * vc.el (vc-merge): Use vc-find-backend-function.
1646 * vc-hooks.el (vc-backend-functions): Remove.
1647 (vc-loadup): Don't setup 'vc-functions.
1648 (vc-find-backend-function): New function.
1649 (vc-call-backend): Use above fun and populate 'vc-functions
1651 (vc-backend-defines): Remove.
1653 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1655 * vc.el (vc-register): Put a FIXME note for a newly found bug.
1656 Call vc-call-backend without the leading vc-.
1657 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
1658 (vc-check-headers): Call vc-call-backend without the leading vc-.
1659 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
1660 (vc-annotate-display): Replace confusing use of `cond' with `or'.
1661 Call vc-call-backend without the leading vc-.
1663 * vc-cvs.el (tail): Provide vc-cvs.
1664 * vc-sccs.el (tail): Provide vc-sccs.
1665 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
1667 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
1668 (vc-make-backend-function, vc-call): Pass names without leading
1669 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
1670 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
1671 (vc-call-backend): Always try to load vc-X-hooks.
1672 (vc-registered): Remove vc- in call to vc-call-backend.
1674 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1676 * vc.el (vc-process-filter): New function.
1677 (vc-do-command): Setup `vc-process-filter' for the async process.
1678 (vc-maybe-resolve-conflicts): New function to reduce
1679 code-duplication. Additionally, it puts the buffer in
1680 `smerge-mode' if applicable.
1681 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
1682 calling `merge-news'.
1683 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
1684 (vc-log-edit): New function. Replacement for `vc-log-mode' by
1685 interfacing to log-edit.el.
1686 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
1687 log-edit is available.
1688 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
1690 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1692 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
1693 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
1694 defvar and the initialization.
1695 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
1697 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
1698 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
1700 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
1702 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1704 * vc.el (vc-file-clear-masterprops): Removed.
1705 (vc-checkin, vc-revert-buffer): Removed calls to the above.
1706 (vc-version-diff): Use buffer-size without argument.
1707 (vc-register): Heed vc-initial-comment.
1709 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
1712 * vc-rcs.el (vc-rcs-register): Parse command output to find master
1713 file name and workfile version.
1714 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
1716 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
1717 vc-file-clear-masterprops.
1719 * vc-sccs.el (vc-sccs-checkout): Removed call to
1720 vc-file-clear-masterprops. If writable, set vc-state to 'edited
1721 rather than user login name.
1724 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1726 * vc.el (vc-workfile-unchanged-p): Remove unused argument
1727 `want-differences-if-changed' and simplify.
1728 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
1729 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
1730 output (which is invalid for async vc-diff) to decide whether to
1731 do the revert silently or not.
1733 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1735 * vc-hooks.el (vc-loadup): Load files quietly.
1736 (vc-call-backend): Oops, brain fart.
1738 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1740 * vc-cvs.el (vc-cvs-state): Typo.
1741 (vc-cvs-merge-news): Return the status code rather than the error msg.
1743 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1745 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
1746 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
1747 vc-state or vc-up-to-date-p.
1748 (vc-merge): Use vc-backend-defines to check whether merging is
1749 possible. Set state to 'edited after successful merge.
1751 * vc-hooks.el (vc-locking-user): If locked by the calling user,
1752 return that name. Redocumented.
1754 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1756 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
1757 new `vc-state' semantics.
1758 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
1759 'vc-locking-user to the current user.
1760 (vc-merge): Inline vc-backend-merge. Comment out code that I
1761 don't understand and hence can't adapt to the new `vc-state' and
1762 `vc-locking-user' semantics.
1763 (vc-backend-merge): Remove.
1765 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
1766 rather than 'vc-locking-user.
1768 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
1770 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
1771 (vc-state): Don't use 'reserved any more. Just use the same
1772 convention as the one used for vc-<backend>-state where the
1773 locking user (as a string) is returned.
1774 (vc-locking-user): Update, based on the above convention. The
1775 'vc-locking-user property has disappeared.
1776 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
1778 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
1779 with a heuristic one.
1780 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
1781 (vc-cvs-checkin): Do a trivial parse to set the state in case of
1782 error. That allows us to get to 'needs-merge even in the
1783 stay-local case. There's still no way to detect 'needs-patch in
1784 such a setup (or to force an update for that matter).
1785 (vc-cvs-logentry-check): Remove, the default works as well.
1787 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1789 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
1791 * vc.el (vc-do-command): kill-all-local-variables, to reset any
1792 major-mode in which the buffer might have been put earlier. Use
1793 `remove' and `when'. Allow `okstatus' to be `async' and use
1794 `start-process' in this case.
1795 (vc-version-diff): Handle the case where the diff looks empty
1796 because of the use of an async process.
1798 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1800 * vc.el (vc-next-action-on-file): Removed optional parameter
1801 `simple'. Recompute state unconditionally.
1802 (vc-default-toggle-read-only): Removed.
1804 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
1805 (vc-toggle-read-only): Undid prev change.
1807 * vc-cvs.el (vc-cvs-stay-local): Renamed from
1808 vc-cvs-simple-toggle. Redocumented.
1809 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
1810 (vc-cvs-toggle-read-only): Removed.
1812 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1814 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
1815 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
1816 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
1817 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
1818 still is. So maybe it should be removed.
1819 (vc-head-version, vc-find-binary): Remove.
1820 (vc-recompute-state): Move from vc-hooks.el.
1821 (vc-next-action-on-file): Add a `simple' argument to allow
1822 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
1823 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
1824 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
1825 (vc-dired-mode-map): Properly defvar it.
1826 (vc-print-log): Call log-view-mode if available.
1827 (small-temporary-file-directory): defvar instead of use boundp.
1828 (vc-merge-news): Moved to vc-cvs.el.
1829 (vc-default-merge-news): New function.
1831 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
1832 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
1833 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
1834 unknown `vc-latest-version' function. It should probably refer to
1835 vc-workfile-version or somesuch, but it's very unclear to me and I
1836 don't have SCCS to test things.
1838 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
1839 (vc-sccs-state-heuristic): Fix typo.
1840 (vc-sccs-workfile-unchanged-p): Add missing argument.
1842 * vc-rcs.el: Require vc and vc-rcs-hooks.
1843 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
1844 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
1845 (vc-release-greater-or-equal-p): Move from vc.
1846 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
1847 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
1848 (vc-rcs-checkout): Add a missing `new-version' argument in the
1849 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
1851 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
1852 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
1853 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
1854 than the apparently unbound `workfile-version'.
1856 * vc-hooks.el (vc-master-templates): Def the obsolete var.
1857 (vc-file-prop-obarray): Use `make-vector'.
1858 (vc-backend-functions): Add new hookable functions
1859 vc-toggle-read-only, vc-record-rename and vc-merge-news.
1860 (vc-loadup): If neither backend nor default functions exist, use
1861 the backend function rather than nil.
1862 (vc-call-backend): If the function if not bound yet, try to load
1863 the non-hook file to see if it provides it.
1864 (vc-call): New macro plus use it wherever possible.
1865 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
1866 nor `vc-find-binary' since it's only called from
1867 vc-mistrust-permission which is only used once the backend is known.
1868 (vc-checkout-model): Fix parenthesis.
1869 (vc-recompute-state, vc-prefix-map): Move to vc.el.
1871 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
1872 (vc-cvs-release, vc-cvs-system-release): Remove.
1873 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
1874 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
1876 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
1877 (vc-cvs-toggle-read-only): First cut at a function to allow a
1878 cvs-status-free vc-toggle-read-only.
1879 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
1880 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
1881 vc-cvs-status. Also set vc-state rather than vc-locking-user.
1882 (vc-cvs-checkout): Modify access rights directly if the user
1883 requested not to use `cvs edit'. And refresh the mode line.
1885 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
1886 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
1888 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1890 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
1891 workfile' that got lost when the code was extracted from vc.el.
1892 And merged the tail with the rest of the code (not possible in the
1893 old vc.el where the tail was shared among all backends). And
1894 explicitly set the state to 'edited if `writable' is set.
1896 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
1897 (vc-cvs-state): Be careful to return the value from
1899 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
1900 property but return it instead. Also be careful to handle a nil
1901 or "" `rev' when workfile is non-nil (it was handled properly when
1904 * vc.el: Removed those pesky unnecessary `(function' quotes.
1905 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
1906 directly in the defvar.
1907 (vc-do-command): Bind inhibit-read-only so as to properly handle
1908 the case where the destination buffer has been made read-only.
1909 (vc-diff): Delegate to vc-version-diff in all cases.
1910 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
1911 (vc-annotate-mode-variables): Removed (code moved partly to
1912 defvars and partly to vc-annotate-add-menu).
1913 (vc-annotate-mode): Turned into a derived-mode.
1914 (vc-annotate-add-menu): Moved in code in
1915 vc-annotate-mode-variables.
1916 (vc-update-change-log): Use make-temp-file if available.
1918 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
1920 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
1921 `vc-checkout-model' updated to `vc-cvs-update-model'.
1923 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1925 * vc.el (vc-next-action-on-file): Added handling of state
1927 (vc-checkout-carefully): Is now practically obsolete, unless the
1928 above is too slow to be enabled unconditionally.
1929 (vc-update-change-log): Fixed typo.
1931 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
1933 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
1934 Now handles state `unlocked-changes'.
1935 (vc-sccs-workfile-unchanged-p): New function, to support the above.
1937 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
1939 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
1940 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
1942 (vc-rcs-workfile-unchanged-p): Renamed from
1943 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
1944 function yet, but supposed to become one soon.
1946 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
1948 (vc-call-backend): Changed error message.
1949 (vc-state): Added description of state `unlocked-changes'.
1951 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1953 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
1954 always return t in CVS-controlled directories.
1956 * vc.el (vc-responsible-backend): New function.
1957 (vc-register): Largely rewritten.
1958 (vc-admin): Removed (implementation moved into vc-register).
1959 (vc-checkin): Redocumented.
1960 (vc-finish-logentry): If no backend defined yet (because we are in
1961 the process of registering), use the responsible backend.
1963 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1964 Updated function lists.
1965 (vc-call-backend): Fixed typo.
1967 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
1969 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
1970 Removed query option. Redocumented.
1972 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1974 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
1976 * vc.el: Updated callers of `vc-checkout-required' to use
1977 `vc-checkout-model'.
1979 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1981 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
1982 stuff updated to reference this function instead of the old
1983 `vc-backend-release-p'.
1985 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1987 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
1988 vc-checkout-model. Return appropriate values. Updated callers.
1990 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1992 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
1993 (vc-backend-revert): Function moved into `vc-revert';
1994 `vc-next-action' must be updated to accomodate this change.
1995 (vc-backend-steal): Function moved into `vc-finish-steal'.
1996 (vc-backend-logentry-check): Function moved into
1997 `vc-finish-logentry'.
1998 (vc-backend-printlog): Function moved into `vc-print-log'.
1999 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
2000 (vc-backend-assign-name): Function moved into
2001 `vc-create-snapshot'.
2003 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2005 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
2006 Rename to vc-checkout-model. Return appropriate values.
2009 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
2010 to vc-checkout-model.
2011 (vc-checkout-required): Rename to vc-checkout-model.
2012 Re-implement and re-comment.
2013 (vc-after-save): Use vc-checkout-model.
2015 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2017 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
2018 Update to use the vc-BACKEND-diff functions instead.
2019 `vc-diff' is now working.
2021 * vc-rcs.el (vc-rcs-logentry-check): New function.
2023 * vc-cvs.el (vc-cvs-logentry-check): New function.
2025 * vc-sccs.el (vc-sccs-diff): Function changed name from
2026 `vc-backend-diff'. This makes `vc-diff' work.
2028 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
2029 of functions possibly implemented in a vc-BACKEND library.
2030 (vc-checkout-required): Fix bug that caused an error to be
2031 signaled during `vc-after-save'.
2034 This checkin is made with our new VC code base for the very first time.
2035 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
2037 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
2038 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
2040 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
2041 updated to `vc-uses-locking'.
2042 (vc-checkout-required): Call to backend function.
2043 `vc-checkout-required' updated to `vc-uses-locking' instead.
2045 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
2046 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
2048 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
2049 to match the split into various backends.
2050 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
2051 (vc-retrieve-snapshot): Bug fix.
2053 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2055 * vc-sccs.el (vc-sccs-release): Doc fix.
2057 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2059 * vc.el (vc-next-action-on-file): Bug found and fixed.
2060 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2061 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2063 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2064 (vc-rcs-checkout): Name space cleaned up. No more revision number
2065 crunching function names that are not prefixed with vc-rcs.
2066 (vc-rcs-checkout-model): Function added. References to
2067 `vc-checkout-model' replaced.
2069 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2071 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2072 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2073 still need to be split, and implemented for RCS).
2075 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2077 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2079 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2080 required by the vc.el file.
2082 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2083 required by the vc.el file.
2084 (vc-rcs-exists): Function added.
2086 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2087 required by the vc.el file.
2089 * vc.el (vc-admin): Updated to handle selection of appropriate
2090 backend. Current implementation is crufty and need re-thinking.
2092 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2094 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2096 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2097 beginning of annotate buffers correctly.
2099 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
2100 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
2101 functionality updated quite a lot to support multiple backends.
2102 Variables `vc-annotate-mode', `vc-annotate-buffers',
2103 `vc-annotate-backend' added.
2105 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
2106 `vc-annotate-difference' added to supported backend functions.
2108 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2110 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
2111 Use with-temp-file instead of /bin/sh. Merged from mainline
2113 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2115 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
2117 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
2119 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
2121 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2123 * vc-hooks.el: vc-state-heuristic added to
2124 vc-backend-hook-functions.
2126 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
2128 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
2130 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
2131 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
2132 state to `reserved'.
2134 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
2135 `vc-checkout-required'. Rename the `locked' state to `reserved'.
2137 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2139 * vc-rcs-hooks.el: Implement new state model. Hardly anything
2142 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
2144 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
2145 if defined. (Merged from main line, slightly adapted.)
2147 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
2148 millenium problem (merged from mainline).
2150 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2152 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
2153 part and moved the non-BACKEND stuff to vc.el.
2155 * vc.el: Split the annotate feature into a BACKEND specific part
2156 and moved it from the vc-cvs.el file to this one.
2158 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2160 * vc-hooks.el: Implement new state model.
2161 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
2162 (vc-locking-user): Simplify. Now only needed if the file is
2163 locked by somebody else.
2164 (vc-lock-from-permissions): Remove. Functionality is in
2165 vc-sccs-hooks.el and vc-rcs-hooks.el now.
2166 (vc-mode-line-string): New name for former vc-status. Adapted.
2167 (vc-mode-line): Adapt to use the above. Remove optional parameter.
2169 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
2170 Various simplifications and adaptations all over the place.
2172 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
2173 Simplify and adapt the rest.
2175 * vc.el (vc-resynch-window): Add TODO comment: check for
2176 interaction with view mode according to recent RCS change.
2177 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
2179 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2181 * vc.el: Convert the remaining function comments to docstrings.
2183 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2185 * vc.el (vc-backend-release, vc-release-greater-or-equal)
2186 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
2187 (vc-minor-part, vc-previous-version): Functions that operate and
2188 compare revision numbers got proper documentation. Comments added
2189 about their possible removal.
2191 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2193 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
2194 the vc-backend.el files.
2196 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2198 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2199 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2200 (vc-rcs-previous-version): Functions added.
2202 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2204 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2206 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2208 * vc-hooks.el (vc-master-templates): Is really obsolete.
2209 Comment out the definition for now. What is the right procedure
2211 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2213 (vc-default-registered): Remove.
2214 (vc-check-master-templates): New function; does mostly what the
2216 (vc-locking-user): Don't rely on the backend to set the property.
2218 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2219 Rewrite documentation.
2220 (vc-rcs-templates-grabbed): New variable.
2221 (vc-rcs-grab-templates): New function.
2222 (vc-rcs-registered): Rewrite to use above mechanism.
2224 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2225 Rewrite documentation.
2226 (vc-sccs-templates-grabbed): New variable.
2227 (vc-sccs-grab-templates): New function.
2228 (vc-sccs-registered): Rewrite to use above mechanism.
2229 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2230 Don't throw the result, simply return it.
2232 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2233 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2234 (vc-cvs-registered): Does the check itself now. Simplify.
2236 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2239 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2241 * vc-cvs.el (vc-cvs-diff): New function.
2243 * vc-sccs.el (vc-sccs-diff): New function.
2245 * vc-rcs.el (vc-rcs-diff): New function.
2246 (vc-rcs-checkout): Bug (typo) found and fixed.
2247 (vc-rcs-register-switches): New variable.
2249 * vc.el (vc-backend-diff): Function removed and placed in the
2252 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2254 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2256 * vc.el (vc-backend-checkout): Function removed and replaced in
2257 the vc-backend.el files.
2259 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2261 * vc.el (vc-backend-admin): Removed and replaced in the
2262 vc-backend.el files.
2264 * vc.el (Martin): Removed all the annotate functionality since it
2265 is CVS backend specific.
2267 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2269 * spec.txt: Added specification of vc-state.
2271 * vc-sccs-hooks.el (vc-sccs-master-properties):
2272 Remove handling of vc-latest-version and
2273 vc-your-latest-version. What used to be vc-latest-version, is now
2274 returned as vc-workfile-version.
2275 (vc-sccs-workfile-version): Adapt.
2277 2000-09-04 Dave Love <fx@gnu.org>
2279 * vc.el: [Merged from mainline.]
2280 (vc-dired-mode): Make the dired-move-to-filename-regexp
2281 regexp match the date, to avoid treating date as file size.
2282 Add YYYY S option to WESTERN/
2284 2000-09-04 Dave Love <fx@gnu.org>
2286 * vc.el: Require `compile' when compiling.
2287 (vc-logentry-check-hook): New option.
2288 (vc-steal-lock): Use compose-mail.
2289 (vc-dired-mode-map): Defvar when compiling.
2290 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2291 vc-sccs.el and renamed. Callers changed.
2292 (vc-backend-checkout, vc-backend-logentry-check)
2293 (vc-backend-merge-news): Doc fix.
2294 (vc-default-logentry-check): New function.
2295 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2296 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2297 (vc-backend-merge): Doc fix. Use backend functions.
2298 (vc-check-headers): Use backend functions.
2300 * vc-cvs.el: Require vc when compiling.
2301 (vc-cvs-register-switches): Doc fix.
2302 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2303 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2304 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2305 New functions (code from vc.el).
2306 (vc-annotate-display-default): Fix interactive spec.
2307 (vc-annotate-time-span): Doc fix.
2309 * vc-rcs.el: Require vc when compiling.
2310 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2311 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2312 (vc-rcs-checkin): New functions (code from vc.el).
2313 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2315 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2317 * vc-sccs.el: Require vc when compiling.
2318 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2319 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2321 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2323 (vc-sccs-add-triple, vc-sccs-record-rename)
2324 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2325 (vc-sccs-admin): Doc fix.
2327 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2329 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2330 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2331 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2334 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2336 * vc-cvs.el: Moved the annotate functionality from vc.el.
2337 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2339 2000-09-04 Dave Love <fx@gnu.org>
2341 * vc.el (vc-backend-release): Call vc-system-release.
2343 * vc-sccs.el (vc-sccs-system-release):
2344 Renamed from vc-sccs-backend-release.
2346 * vc-rcs.el (vc-rcs-system-release):
2347 Renamed from vc-rcs-backend-release.
2349 * vc-cvs.el (vc-cvs-system-release):
2350 Renamed from vc-cvs-backend-release.
2352 2000-09-04 Dave Love <fx@gnu.org>
2354 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2356 (vc-backend-release): Dispatch to backend functions.
2357 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2358 probably needs attention.]
2360 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2361 (vc-sccs-backend-release): New function.
2363 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2364 (vc-cvs-backend-release): New function.
2366 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2368 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2369 (vc-default-dired-state-info): New function.
2370 (vc-dired-state-info): Dispatch to backends.
2371 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2373 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2374 from vc.el and renamed.
2376 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2378 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2379 (vc-version-other-window, vc-backend-assign-name): Removed
2380 references to vc-latest-version; sometimes changed into
2381 vc-workfile-version.
2383 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2384 vc-rcs-master-workfile-version.
2385 (vc-rcs-workfile-version): Use the above. Don't call
2386 vc-latest-version (that was unreachable code, anyway).
2387 (vc-rcs-fetch-master-properties): Doc fix.
2389 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2390 (vc-backend-hook-functions): Removed them from this list, too.
2391 (vc-fetch-properties): Removed.
2392 (vc-workfile-version): Doc fix.
2394 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2395 (vc-rcs-workfile-version, vc-rcs-locking-user)
2396 (vc-rcs-uses-locking): Use it.
2398 * vc-hooks.el (vc-consult-rcs-headers):
2399 Moved into vc-rcs-hooks.el, under the name
2400 vc-rcs-consult-headers.
2402 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2404 (vc-cvs-find-master): Use this name only; correct different
2405 versions of the name.
2407 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2409 (vc-sccs-locking-user): Use the latter.
2411 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2414 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2416 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2417 functions are implementation details of those two backends.
2419 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2421 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2422 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2424 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2425 (vc-sccs-parse-locks): SCCS-specific code moved here from
2428 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2429 code moved here from vc-hooks.
2431 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2432 into back-end specific parts and removed. Callers not updated
2433 yet; because I guess these callers will disappear into back-end
2434 specific files anyway.
2436 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2438 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
2439 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
2442 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
2443 Store yes/no in the property, and return t/nil. Updated all
2446 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
2447 vc-sccs-uses-locking. Don't set property.
2448 (vc-sccs-locking-user): Don't set property.
2450 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
2451 vc-cvs-uses-locking. Don't set property here; leave that to
2453 (vc-cvs-locking-user): Reflect above change. Streamlined.
2455 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
2456 vc-rcs-uses-locking.
2457 (vc-rcs-locking-user): Reflect above change.
2459 2000-09-04 Dave Love <fx@gnu.org>
2461 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
2463 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
2465 * vc-hooks.el (vc-checkout-model): Punt to backends.
2467 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
2469 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
2471 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
2474 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
2477 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
2478 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
2480 * vc-hooks.el (vc-default-locking-user): New function.
2481 (vc-locking-user, vc-workfile-version): Punt to backends.
2483 2000-09-04 Dave Love <fx@gnu.org>
2485 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
2486 (vc-master-workfile-version): Moved from vc-hooks.
2488 * vc-rcs-hooks.el: Fix duplicate code in last change.
2490 * vc-rcs-hooks.el: Require vc-hooks when compiling.
2491 (vc-rcs-master-templates): Improve :type.
2492 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
2493 vc-master-workfile-version): Moved from vc-hooks.
2495 * vc-sccs-hooks.el: Require vc-hooks when compiling.
2496 (vc-sccs-master-templates): Improve :type.
2497 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
2499 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
2501 * vc-cvs-hooks.el: Require vc-hooks when compiling.
2502 (vc-cvs-master-templates): Improve :type. Use
2503 vc-cvs-find-cvs-master.
2504 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
2506 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
2508 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
2509 Moved to vc-cvs-hooks.
2511 * vc-hooks.el: Add doc strings in various places. Simplify the
2513 (vc-handled-backends): New user variable.
2514 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
2517 2000-09-04 Dave Love <fx@gnu.org>
2519 * vc.el: Some doc fixes for autoloaded and interactive functions.
2520 Fix compilation warnings from ediff stuff.
2521 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
2523 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
2525 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
2527 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
2529 2000-09-04 Dave Love <fx@gnu.org>
2531 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2533 (vc-make-backend-function, vc-loadup, vc-call-backend)
2534 (vc-backend-defines): New functions.
2536 * vc-hooks.el: Various doc fixes.
2537 (vc-default-back-end, vc-follow-symlinks): Custom fix.
2538 (vc-match-substring): Function removed. Callers changed to use
2540 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
2543 2000-09-04 Dave Love <fx@gnu.org>
2545 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
2547 (vc-sccs-project-dir, vc-search-sccs-project-dir)
2548 (vc-sccs-registered): Doc fix.
2550 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
2551 (vc-cvs-registered): Doc fix.
2553 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
2554 (vc-rcs-registered): Doc fix.
2556 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2558 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
2560 * vc-hooks.el: vc-registered has been renamed
2561 vc-default-registered. Some functions have been moved to the
2562 backend specific files. they all support the
2563 vc-BACKEND-registered functions.
2565 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2567 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
2569 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
2571 2000-09-04 Dave Love <fx@gnu.org>
2573 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
2574 menu-bar-update-hook.
2576 * help.el (help-manyarg-func-alist): Add
2577 find-operation-coding-system.
2579 * wid-edit.el (widget-sexp-validate): Fix garbled code.
2581 * custom.el (custom-set-variables): Print message about errors in
2584 2000-09-03 Andrew Innes <andrewi@gnu.org>
2586 * makefile.w32-in: Change to DOS line endings.
2588 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2590 * mouse.el (mouse-popup-menubar): Supply the prompt string for
2591 minor-mode keymaps, if they don't have one.
2593 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2595 * eshell/esh-module.el (eval-when-compile): Don't lose if
2596 esh-module.el's file name is truncated to DOS 8+3 limits.
2598 2000-09-01 John Wiegley <johnw@gnu.org>
2600 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
2601 predicate, which caused entries in the completion list to be
2604 2000-08-30 John Wiegley <johnw@gnu.org>
2606 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
2607 sending to subprocesses. Also, hook pre-command-hook if
2608 `eshell-send-direct-to-subprocesses' is non-nil.
2609 (eshell-send-direct-to-subprocesses): New config variable. If t,
2610 subprocess input is send immediately.
2611 (eshell-toggle-direct-send): New function.
2612 (eshell-self-insert-command): New function.
2613 (eshell-intercept-commands): New function.
2614 (eshell-send-input): If direct subprocess sending is enabled,
2615 don't echo any input to the Eshell buffer. Let the subprocess
2616 handle that. This requires "stty echo" in bash, for example.
2618 2000-08-28 John Wiegley <johnw@gnu.org>
2620 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
2621 completion function for Eshell's implementation of `unset'.
2623 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2625 * info.el (Info-directory-list): Doc fix.
2627 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
2629 * filecache.el (file-cache-add-directory-using-find): Don't quote
2630 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
2632 2000-08-31 Kenichi Handa <handa@etl.go.jp>
2634 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
2637 2000-08-30 Andrew Innes <andrewi@gnu.org>
2639 * timer.el (run-with-idle-timer): Undo last change, so that timer
2640 is not activated immediately if Emacs is already idle. Some
2641 existing code relies on this behaviour.
2643 2000-08-30 Miles Bader <miles@gnu.org>
2645 * frame.el (set-frame-font): Do completion of font-name for
2648 2000-08-30 Kenichi Handa <handa@etl.go.jp>
2650 * international/quail.el (quail-start-translation): Bind locally
2651 last-command-event, last-command, and this-command.
2652 (quail-start-conversion): Likewise.
2653 (quail-self-insert-command): Fix docstring.
2655 2000-08-29 Gerd Moellmann <gerd@gnu.org>
2657 * progmodes/executable.el
2658 (executable-make-buffer-file-executable-if-script-p): Check that
2659 buffer contains at least 2 characters.
2661 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2663 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
2665 2000-08-29 Dave Love <fx@gnu.org>
2667 * diff-mode.el (diff-mode) <defgroup>: Add :version.
2668 (diff-mode-shared-map): Bind mouse-2.
2669 (diff-imenu-generic-expression): New variable.
2670 (diff-mode): Use it.
2672 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
2673 (mouse-popup-menubar): Add minor mode menus.
2674 (popup-menu): Check for lookup-key returning number.
2676 2000-08-29 Miles Bader <miles@gnu.org>
2678 * comint.el (comint-send-input): Create overlays using the proper
2679 front/read-advance arguments.
2681 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2683 * ps-print.el: Even/odd pages printing. Doc fix.
2684 (ps-print-version): New version number (6.0).
2685 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
2686 (ps-background, ps-begin-file, ps-begin-job): Code fix.
2687 (ps-print-duplex-feature): Variable eliminated.
2688 (ps-even-or-odd-pages): New variable.
2690 * progmodes/ebnf2ps.el: Doc fix.
2691 (ebnf-version): New version (3.3).
2692 (ebnf-user-arrow): Change variable customization to sexp.
2693 (ebnf-user-arrow): Function eliminated.
2694 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
2696 2000-08-29 Kenichi Handa <handa@etl.go.jp>
2698 * help.el (help-xref-mule-regexp): New variable.
2699 (help-make-xrefs): Handle help-xref-mule-regexp.
2701 * international/mule-cmds.el (help-xref-mule-regexp-template): New
2703 (describe-input-method): Temporarily activate the specfied input
2704 method to display the information.
2705 (describe-language-environment): Hyperlinks to mule related items.
2707 * international/mule-diag.el (charset-multibyte-form-string): New
2709 (list-character-sets-1): Use charset-multibyte-form-string.
2710 (describe-character-set): New function.
2711 (describe-coding-system): Hyperlinks to safe character sets.
2713 * international/quail.el (quail-help): New arg PACKAGE.
2714 Hyperlinks to mule related items.
2715 (quail-help-insert-keymap-description): Use
2716 substitute-command-keys instead of describe-bindings.
2717 (quail-translation-help): Hyperlinks to mule related items.
2719 2000-08-28 John Wiegley <johnw@gnu.org>
2721 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
2722 have a defsubst call itself. Made `eshell-flatten-list' back into
2725 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
2726 catch, in case re-centering point at bottom messes up the display.
2727 This happens frequently in Emacs 21, due I believe to variable
2730 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
2731 to call `find-tag-interactive'.
2733 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
2734 the list of remember directories.
2736 2000-08-28 John Wiegley <johnw@gnu.org>
2738 * align.el: Test align-region-separate to see if it's a symbol.
2740 2000-08-28 John Wiegley <johnw@gnu.org>
2742 * eshell/esh-util.el (eshell-flatten-list): Made this function
2743 into a defsubst form. It gets used very frequently, although
2744 calls don't occur all that often.
2746 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
2749 * eshell/esh-cmd.el (eshell-rewrite-while-command):
2750 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
2752 (eshell-copy-handles): Created a new macro for duplicating the
2753 current set of open handles. This is needed by the looping
2755 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
2756 is not incorrectly stomped on.
2758 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
2759 declaration for pcomplete-use-paring.
2760 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
2761 value of eshell-cmpl-use-paring.
2762 * pcomplete.el (pcomplete-use-paring): New config variable, to
2763 indicate whether paring should be used.
2764 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
2765 completion alternatives that have already been used.
2767 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
2768 bound to C-c C-y, which will repeat the previous N arguments
2769 (based on prefix argument).
2770 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
2772 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
2773 if there is no *Help* buffer. This is for XEmacs, which renames
2774 its help buffers uniquely. TODO: Find out what the current buffer
2777 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
2778 first entry that correlates to a passwd/group number. Later
2779 entries (used for group/user name aliasing to multiple IDs) are
2782 * eshell/em-xtra.el (eshell/expr):
2783 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
2784 (eshell-grep, eshell/diff, eshell/locate):
2785 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
2786 argument list, before passing it to the system command.
2788 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
2789 `find-tag' for use at final position in Eshell buffers (which
2790 otherwise triggers an error on Emacs 21).
2791 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
2792 buffer, if it is currently bound to `find-tag'.
2794 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
2795 in the list of matched Makefile names.
2796 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
2797 directory, prefer its contents to Makefile.
2799 * eshell/em-dirs.el (eshell/cd): cd commands that look up
2800 directory parts (like "cd old new", or "cd =regexp"), are now case
2801 sensitive on non-Windows/DOS platforms.
2803 * eshell/esh-mode.el (eshell-parse-command-input): When a user
2804 types RET after an open delimiter (like "), display a message
2805 indicating that Eshell is waiting for the closing delimiter.
2807 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
2808 environment variables.
2810 * eshell/em-unix.el (eshell/diff): Added logic to fail more
2811 gracefully if the user enters incorrect arguments.
2813 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
2816 * eshell/esh-var.el (eshell-interpolate-variable):
2817 * eshell/esh-mode.el (eshell-move-argument):
2818 * eshell/em-unix.el (eshell-du-sum-directory):
2819 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
2820 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
2823 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
2824 to ensure the `preserve' flag gets propagated when doing recursive
2827 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
2829 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
2830 Don't convert \n into \0177 in memory.
2831 (eshell-read-history, eshell-write-history): Convert \n to \0177,
2832 and back again, when reading and writing.
2834 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
2836 * eshell/esh-util.el (eshell-processp): Added to relieve constant
2837 testing of `fboundp' on `processp'.
2839 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
2840 (eshell/jobs): Don't call process-list if it is not bound.
2841 (eshell-gather-process-output): Support systems where async
2842 subprocesses aren't supported.
2843 (eshell-scratch-buffer, eshell-last-sync-output-start): New
2846 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
2847 eshell-do-eval returns t.
2848 (eshell-do-pipelines-synchronously): New defmacro.
2849 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
2850 when async subprocesses aren't supported.
2851 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
2852 if async subprocesses aren't supported.
2853 (eshell-resume-command): Don't assume STATUS is a string.
2855 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
2857 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
2858 (eshell-close-target, eshell-get-target): Use eshell-processp.
2859 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
2861 (eshell-get-target, eshell-create-handles): Doc fix.
2863 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
2865 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
2866 criterion to include commands that output something, as long as it
2867 leaves both the command and the end-of-buffer visible when the
2869 (eshell-review-quick-commands): Adjust the help doc string
2872 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
2874 * locate.el (locate): Cleaned up locate command's interactive prompting
2875 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
2877 * filecache.el (file-cache-case-fold-search): New variable
2878 (file-cache-assoc-function): New variable
2879 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
2880 Use file-cache-case-fold-search variable
2881 (file-cache-add-file): Use file-cache-assoc-function
2882 (file-cache-delete-file): likewise
2883 (file-cache-directory-name): likewise
2884 (file-cache-debug-read-from-minibuffer): likewise
2886 2000-08-28 Gerd Moellmann <gerd@gnu.org>
2888 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
2889 (abbrev-table-name): New function.
2890 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
2891 If non-nil list local abbrev, only.
2893 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
2895 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
2896 from Gnus support code, and use special article copy buffer
2897 `(gnus-original-article-buffer)' instead. This allows to get rid
2898 of article-hide-headers usage (which breaks in the latest Gnus
2899 version). Thanks to Detlev Zundel.
2901 2000-08-28 Kenichi Handa <handa@etl.go.jp>
2903 * international/quail.el (quail-use-package): Hide "... loaded"
2905 (quail-start-translation, quail-start-conversion): Likewise.
2907 * international/kkc.el (kkc-region): Hide "... loaded" message.
2909 2000-08-27 Dave Love <fx@gnu.org>
2911 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
2913 2000-08-27 Miles Bader <miles@gnu.org>
2915 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
2917 2000-08-27 Kenichi Handa <handa@etl.go.jp>
2919 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
2920 'ja-dic-cnv), not (require 'skkdic-cnv).
2922 2000-08-26 Miles Bader <miles@gnu.org>
2924 * faces.el (face-x-resources): Add entry for :inherit.
2925 * cus-face.el (custom-face-attributes): Add support for :inherit
2926 attribute. Add support for relative face heights.
2927 (custom-face-attributes-get): Treat `nil' as being a default value
2928 for :inherit (as well as `unspecified').
2930 * faces.el (set-face-attribute): Update doc string.
2931 (face-attribute-name-alist): Add :inherit.
2932 (face-valid-attribute-values): Handle :inherit.
2933 (face-read-string): Rephrase prompt to be less confusing.
2934 Assume that DEFAULT is a string, since we must return a string.
2935 (face-read-integer): Use `format' to turn DEFAULT into an
2936 acceptable default for face-read-string. Match NEW-VALUE against
2937 the string "unspecified", not the symbol `unspecified', since
2938 that's what face-read-string returns.
2939 (read-face-attribute): Lookup a name for old-value in valid, and
2940 use it as a default if we find one. Treat all values from
2941 face-read-string as strings. If the default is used, don't do any
2942 more processing on the value, just use the old value directly.
2943 (read-face-and-attribute, modify-face): Tweak prompt.
2944 (read-face-name): Don't assume prompt ends with a space.
2946 * faces.el (describe-face): Add support for :inherit attribute.
2948 2000-08-25 Kenichi Handa <handa@etl.go.jp>
2950 * terminal.el (terminal-emulator): Fix args to `concat'. Now
2951 concat doesn't accept interger.
2953 * international/kkc.el: Remove SKK from Keywords. Require
2954 ja-dic-utl instead of skkdic-utl.
2956 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
2957 Provide ja-dic-cnv instead of skkdic-cnv.
2958 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
2959 (iso-2022-7bit-short): Add safe-charsets property.
2960 (skkdic-convert-postfix): Search Japanese chou-on character in
2961 addition to Hiragana character.
2962 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
2963 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
2964 (batch-skkdic-convert): Likewise.
2966 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
2967 Provide ja-dic-utl instead of skkdic-utl.
2968 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
2970 2000-08-24 Dave Love <fx@gnu.org>
2972 * disp-table.el (standard-display-default): Make the test of `l'
2975 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
2978 * international/iso-ascii.el: Make pilcrow convenient string
2979 consistent with section.
2980 (iso-ascii-display): Set up multibyte characters as well as
2983 2000-08-24 Kenichi Handa <handa@etl.go.jp>
2985 * international/mule-cmds.el (reset-language-environment): Set
2986 default-process-coding-system to '(undecided . iso-latin-1), which
2987 makes process I/O almost consistent with file I/O. Call this
2988 function when mule-cmds.el[c] is loaded.
2990 2000-08-22 Andrew Innes <andrewi@gnu.org>
2992 * makefile.w32-in: New file.
2994 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
2996 * comint.el (comint-output-filter): Compare end of
2997 comint-last-output-overlay with the start of the newly inserted
2998 text, not the end, when deciding whether to extend it.
2999 Set saved-point's insertion type to advance after insertion.
3001 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
3002 since this is now done independently of font-lock mode.
3004 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3006 * server.el (server-kill-new-buffers): New user option.
3007 (server-existing-buffer): New buffer-local variable.
3008 (server-visit-files): When using an existing buffer, set
3009 server-existing-buffer to t.
3010 (server-buffer-done): If server-kill-new-buffers is t, kill the
3011 buffer, unless it was already present before visiting it with
3014 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
3016 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
3017 even if the display doesn't support colors: some displays will
3018 support bold/underline faces.
3020 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3022 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
3024 * startup.el (command-line): If user's init file had an error,
3025 add explanatory text to *Messages*.
3027 2000-08-21 Kenichi Handa <handa@etl.go.jp>
3029 * man.el (Man-getpage-in-background): Decode the process output by
3030 the system locale coding system.
3032 2000-08-20 Dave Love <fx@gnu.org>
3034 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
3035 Don't test x-popup-menu.
3036 (function) <complete-function>: Complete only fbound symbols.
3037 <validate, value>: New.
3038 (variable) <complete-function>: Complete only bound symbols.
3039 (coding-system): Add :base-only, :complete-function, :validate,
3040 :value, :prompt-match.
3041 (widget-coding-system-prompt-value): Use read-coding-system and
3043 (editable-field): Add :help-echo.
3044 (widget-push-button-gui, widget-push-button-cache)
3045 (widget-gui-action, widget-editable-list-gui): COmment out, along
3047 (widget-at): Make arg optional.
3048 (widget-echo-help): Adjust for current help-echo calling sequence.
3049 (widget-specify-field, widget-specify-button)
3050 (widget-specify-insert, widget-get-sibling, widget-image-find)
3051 (widget-convert, widget-insert, widget-leave-text)
3052 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
3053 (widget-setup, widget-field-find, widget-before-change)
3054 (widget-after-change, widget-default-complete)
3055 (widget-default-create, widget-default-delete)
3056 (widget-push-button-value-create, editable-field)
3057 (widget-field-prompt-value, widget-field-validate)
3058 (widget-choice-value-create, widget-choice-action)
3059 (widget-choice-validate, widget-checklist-add-item)
3060 (widget-radio-add-item, widget-radio-chosen)
3061 (widget-radio-value-inline, widget-editable-list-value-create)
3062 (widget-editable-list-entry-create)
3063 (widget-documentation-link-add)
3064 (widget-documentation-string-value-create)
3065 (widget-regexp-validate, widget-file-complete)
3066 (widget-sexp-validate, widget-plist-convert-widget)
3067 (widget-plist-convert-widget, widget-alist-convert-widget)
3068 (widget-alist-convert-widget, widget-color-complete): Simplify,
3069 particularly to avoid bindings which aren't optimized out.
3071 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3073 (down-list, backward-up-list, up-list, kill-sexp)
3074 (backward-kill-sexp, mark-sexp): Make arg optional.
3075 (lisp-complete-symbol): Add optional arg PREDICATE.
3077 * cus-start.el: Add display-buffer-reuse-frames,
3078 file-coding-system-alist.
3080 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3082 * startup.el (command-line): Clear realized faces after
3083 modifying TTY color mappings.
3085 2000-08-20 Miles Bader <miles@gnu.org>
3087 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3088 merely a subset of FACE's attributes.
3090 2000-08-19 Miles Bader <miles@gnu.org>
3092 * comint.el (comint-output-filter): Save the point with a marker,
3093 not just a buffer position.
3095 * international/mule.el (set-buffer-process-coding-system): Make
3096 interactive prompt less confusing.
3098 2000-08-19 Gerd Moellmann <gerd@gnu.org>
3100 * hilit-chg.el: General cleanup of doc strings, comments and
3103 2000-08-19 Miles Bader <miles@gnu.org>
3105 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
3106 Compiler macro removed; beginning-of-line is no longer always
3107 equivalent to forward-line, in the presence of fields.
3109 * comint.el (comint-output-filter): Remove ad-hoc saving of
3110 restriction, and just use save-restriction, now that it works
3111 correctly. Don't adjust comint-last-input-start to account for
3112 our insertion; it shouldn't have moved because we don't use
3113 insert-before-markers anymore. Comment out call to
3114 `force-mode-line-update'; why is it here?
3116 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
3117 while checking for prompt to delete. Use `forward-line 0'
3118 instead of beginning-of-line.
3119 (gud-filter): Temporarily widen gud comint buffer while
3122 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
3124 * progmodes/sh-script.el: Big bag of typos.
3126 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
3127 check since ispell-process is not bound when ispell is not yet loaded.
3129 2000-08-18 Dave Love <fx@gnu.org>
3131 * image.el (find-image): Copy `spec' before using plist-put.
3133 2000-08-18 Gerd Moellmann <gerd@gnu.org>
3135 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
3138 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
3139 backward-kill-sexp, analogous to kill-sexp.
3141 * progmodes/icon.el (icon-indent-line)
3142 (icon-is-continuation-line): Handle comments specially.
3144 2000-08-17 Ken Stevens <k.stevens@ieee.org>
3146 * ispell.el: Set to standard author/maintainer/keyword fields.
3147 Fine tuning to menu map appearance and operation, and added help.
3148 Remove `start' and `end' error messages when compiling.
3149 (ispell-choices-win-default-height): Fixed comment string.
3150 (ispell-dictionary-alist-1): Fixed regexp in castellano and
3151 castellano8 dictionaries.
3152 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
3153 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
3154 dictionary, added italiano dictionary.
3155 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
3157 (ispell-tex-skip-alists): Added psfig support.
3158 (ispell-skip-html): Renamed from ispell-skip-sgml.
3159 (ispell-begin-skip-region-regexp, ispell-skip-region)
3160 (ispell-minor-check): Improved html skipping support to skip across
3161 code, and recognize `&' commands without propper `;' syntax;
3162 (ispell-process-line): Fix alignment error when manually
3163 correcting spelling.
3164 (ispell): Fix comment string.
3165 (ispell-add-per-file-word-list): Always put word list on new line.
3167 2000-08-17 Gerd Moellmann <gerd@gnu.org>
3169 * format.el (format-encode-run-method): Fix error message to say
3170 `encode' instead of `decode'. Use save-window-excursion around
3171 shell-command-on-region as in format-decode-run-method because
3172 shell-command-on-region can display a buffer with error output.
3173 (format-decode): Don't record undo information for the decoding.
3174 (format-annotate-function): Add parameter FORMAT-COUNT. Make
3175 that number part of the temporary buffer name so that more than
3176 one decoding using a temporary buffer can happen safely.
3178 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
3179 of `A-z' in the regexp.
3181 * hilit-chg.el: Fix typos in commentary.
3183 * help.el (view-emacs-news): Rewritten for new naming scheme
3186 * startup.el (command-line): Pop to *Messages* in case an error
3187 is signaled while loading user-init-file.
3189 2000-08-17 Andreas Schwab <schwab@suse.de>
3191 * files.el (insert-directory): Don't lose original file name,
3192 undoing an undocumented change.
3194 2000-08-17 Alex Schroeder <alex@gnu.org>
3196 * sql.el (sql-magic-go): Use comint-bol.
3197 (sql-copy-column): Use comint-line-beginning-position.
3198 (comint-line-beginning-position): Define a replacement for
3199 comint-line-beginning-position if it is not fboundp.
3201 2000-08-17 Alex Schroeder <alex@gnu.org>
3203 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3204 it didn't have any effect anyway.
3206 2000-08-17 Alex Schroeder <alex@gnu.org>
3208 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3209 --pset and pager=off instead of sending \\o|cat at the beginning
3212 2000-08-17 Miles Bader <miles@gnu.org>
3214 * progmodes/octave-inf.el: Add compatibility definition of
3215 comint-line-beginning-position.
3217 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3219 * startup.el (normal-top-level): Look in each dir in load-path for
3220 a leim-list.el file too. This assures of loading leim-list.el
3221 that is created at Emacs installation time even if a user have his
3224 2000-08-17 Miles Bader <miles@gnu.org>
3226 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3227 foreground color to black if the background is dark.
3229 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3231 * loadhist.el (unload-feature): Typo.
3233 * finder.el (finder-compile-keywords):
3234 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3235 to the generated file.
3237 * mail/mh-e.el (mh-make-local-vars):
3238 Replace make-variable-buffer-local with make-local-variable.
3241 * options.el (Edit-options-{set,toggle,t,nil}):
3242 * mail/mailabbrev.el (mail-abbrevs-mode):
3243 * textmodes/tex-mode.el (tex-expand-files):
3244 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3246 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3248 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3249 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3250 Allow going past the last element.
3251 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3252 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3253 (cvs-mouse-toggle-mark): Don't move point.
3254 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3256 * progmodes/compile.el (grep): Provide a default set of files.
3257 (next-error): Docstring fix.
3258 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3260 * emacs-lisp/easy-mmode.el (define-minor-mode):
3261 Use `symbol-value' to keep the byte-compiler quiet.
3263 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3264 (diff-find-source-location): New fun, extracted from diff-goto-source.
3265 (diff-goto-source): Use it.
3266 (diff-next-complex-hunk, diff-filter-lines): New function.
3267 (diff-apply-hunk): New command.
3269 * smerge-mode.el (smerge-mode-menu): Doc fix.
3271 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3273 2000-08-16 Dave Love <fx@gnu.org>
3275 * windmove.el (windmove) <defgroup>: Add :version.
3277 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3278 (goto-address-fontify-p, goto-address-highlight-p)
3279 (goto-address-url-face, goto-address-url-mouse-face)
3280 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3281 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3282 (goto-address-fontify, goto-address-at-mouse): Simplify,
3283 (goto-address-at-point): browse-url-url-at-point,
3284 goto-address-find-address-at-point can return nil.
3285 (goto-address-find-address-at-point): Return nil on failure.
3287 * align.el (align) <defgroup>: Add :version.
3289 * calculator.el (calculator): Add :version.
3290 (calculator): Use two lines for calculator window if `modeline'
3293 * play/5x5.el: Doc fixes.
3294 (5x5) <defgroup>: Add :version.
3296 * play/fortune.el (fortune) <defgroup>: Add :version.
3297 (fortune-append): Fix error message.
3298 (fortune-from-region): Doc fix.
3300 * play/pong.el (pong): Doc fix.
3302 * play/morse.el: Keywords, commentary, autoloads.
3304 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3306 * desktop.el (desktop-save): Don't look at symbol-value of a
3307 member of minor-mode-alist, unless it is boundp.
3309 2000-08-16 Sam Steingold <sds@gnu.org>
3311 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3312 `while'; use `with-current-buffer' instead of `save-excursion'.
3313 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3315 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3317 * international/ccl.el (declare-ccl-program): Docstring modified.
3318 (ccl-execute-with-args): Likewise.
3320 2000-08-16 Miles Bader <miles@gnu.org>
3322 * progmodes/sql.el: Add compatibility definition of
3323 comint-line-beginning-position.
3325 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3327 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3328 'buffer-menu' property.
3329 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3331 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3332 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3335 * buff-menu.el (list-buffers-noselect): Don't display the
3336 *Buffer List* buffer.
3338 * font-lock.el: Require jit-lock to prevent a very late
3339 `Loading jit-lock' message.
3341 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3342 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3345 2000-08-15 Miles Bader <miles@gnu.org>
3347 * textmodes/ispell.el (ispell-graphic-p): New constant.
3348 (ispell-choices-win-default-height, ispell-help): Use
3349 `ispell-graphic-p' instead of `xemacsp'.
3351 2000-08-15 Dave Love <fx@gnu.org>
3353 * simple.el: Autoload widget-convert when compiling.
3354 (mail-user-agent): Doc fix.
3356 * help.el (function-called-at-point, variable-at-point): Use
3358 (help-manyarg-func-alist): Add insert-and-inherit.
3360 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3362 * delsel.el (delsel-unload-hook): New function.
3364 * find-file.el: Doc fixes. Move provide to end.
3365 (ff) <defgroup>: Add :link.
3366 (ff-goto-click): Deleted.
3367 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3368 Use mouse-set-point.
3370 * textmodes/tildify.el: Doc fixes.
3371 (tildify) <defgroup>: Add:version.
3373 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3374 (glasses-custom-set): Use set-default, not set.
3375 (minor-mode-alist): Propertize the lighter.
3376 (glasses-mode): Provide optional arg.
3378 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3379 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3380 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3381 option. Provide :type.
3382 (cwarn-configuration): Provide :type.
3383 (cwarn-mode): Doc fix.
3385 * add-log.el (change-log-merge): Doc fix.
3386 (change-log-redate): New command.
3388 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3390 (browse-url): Use dolist, not mapcar.
3391 (browse-url-at-point): Check for null url.
3392 (browse-url-event-buffer, browse-url-event-point): Functions
3394 (browse-url-at-mouse, browse-url-netscape): Simplify.
3396 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3398 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3399 Fix previous change to mapcan.
3400 (msb--init-file-alist, msb--add-separators)
3401 (msb--make-keymap-menu): Simplify.
3402 (msb--choose-file-menu): Use copy-sequence.
3403 (msb-mode-map): Add title to keymap.
3404 (msb-unload-hook): New function.
3406 * bs.el: Fix indentation.
3407 (bs) <defgroup>: Add :links.
3409 (bs-apply-sort-faces): Don't use window-system.
3410 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3412 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3414 * calendar/timeclock.el (timeclock-file): Run .timelog through
3415 convert-standard-filename.
3417 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3419 * emacs-lisp/authors.el: New file.
3421 * paren.el (show-paren-priority): New user option.
3422 (show-paren-function): Set overlay priorities to
3423 show-paren-priority.
3425 2000-08-14 Miles Bader <miles@gnu.org>
3427 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3428 beginning-of-line with inhibit-field-text-motion bound.
3430 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3432 * calendar/timeclock.el: New file.
3434 2000-08-14 David Ponce <david@dponce.com>
3436 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
3437 `widget-button-click'. so that one can use left mouse button to
3438 click on dialog buttons.
3440 2000-08-14 Emmanuel Briot <briot@gnat.com>
3442 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
3443 identifiers, since XML is case sensitive
3445 2000-08-12 Miles Bader <miles@gnu.org>
3447 * comint.el (comint-output-filter): Don't bother frobbing
3448 window-start, it doesn't seem to be necessary.
3450 * comint.el (comint-send-string, comint-send-region): Make into
3451 real functions. Snapshot the prompt before sending.
3453 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3455 * info.el (Info-find-emacs-command-nodes): Rewrite to use
3456 technique similar to Info-index, instead of relying on specific
3457 names of relevant Index nodes.
3458 (Info-goto-emacs-command-node): Bind Info-history to nil when
3459 going to the first node found by Info-find-emacs-command-nodes.
3461 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3463 * menu-bar.el (menu-bar-help-menu): Add a :help string.
3465 2000-08-10 Miles Bader <miles@gnu.org>
3467 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
3469 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3471 * info.el (Info-file-list-for-emacs): More elements for the
3472 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
3475 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
3477 * comint.el (comint-send-input): Make the newline boundary overlay
3478 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
3479 (comint-output-filter): Use `insert' instead of
3480 `insert-before-markers'. Extend comint-last-output-overlay when
3481 necessary since we can't rely on insert-before-markers to do it.
3482 * gud.el (gud-filter): Use `with-current-buffer' instead of
3483 save-excursion when inserting the output, so that point gets
3484 updated correctly; the old method relied on a rather dodgy
3485 side-effect of comint-output-filter to avoid the effect of
3488 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3490 * files.el (recover-file): Call insert-directory instead of
3491 invoking `ls' directly.
3493 2000-08-10 Miles Bader <miles@gnu.org>
3495 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
3496 (comint-last-prompt-overlay): New variables.
3497 (comint-output-filter): Implement prompt highlighting.
3498 (comint-snapshot-last-prompt): New function.
3499 (comint-send-input): Snapshot the last prompt.
3500 Use comint-highlight-input-face.
3501 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
3502 Use defface instead of defcustom.
3503 (send-invisible, comint-send-eof): Snapshot the last prompt.
3504 (comint-delchar-or-maybe-eof): Use comint-send-eof.
3505 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
3507 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
3509 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
3510 (regexp-opt-group): Use a list of chars for `letters'.
3511 (regexp-opt-charset): `chars' is now a list of chars.
3512 Use a char-table rather than a vector so it works for multibyte chars.
3514 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
3515 Set cvs-minor-current-files to the selected fileinfo.
3516 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
3517 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
3519 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
3521 * files.el (insert-directory): Don't call access-file on
3522 directories on DOS and Windows.
3524 2000-08-09 Kenichi Handa <handa@etl.go.jp>
3526 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
3527 longer if necessary.
3528 (ccl-embed-code): Call ccl-embed-data to store CODE in
3531 2000-08-09 Miles Bader <miles@gnu.org>
3533 * comint.el (comint-output-filter): Properly handle the case where
3534 the text surrounded by comint-last-output-overlay was deleted.
3536 2000-08-08 Gerd Moellmann <gerd@gnu.org>
3538 * info.el (Info-insert-dir): Use Info-additional-directory-list if
3540 (Info-file-list-for-emacs): Remove "info" from the list because
3541 that leads to trying to use the documentation from file `info'
3542 in various situations where it isn't appropriate, for instance
3545 * ffap.el (ffap-read-file-or-url-internal): Handle case that
3546 DIR and/or STRING are nil.
3548 * progmodes/compile.el (compilation-setup): Make variable
3549 compilation-error-screen-columns buffer-local, as some comment
3550 in the code suggests it should be.
3552 * files.el (auto-mode-interpreter-regexp): New variable.
3553 (set-auto-mode): Use it.
3555 * indent.el (indent-for-tab-command): Doc fix.
3557 * mouse-sel.el (mouse-sel-mode): Doc fix.
3559 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
3562 * help.el (print-help-return-message): When
3563 display-buffer-reuse-frames is set, let the help window been quit,
3564 instead of deleting it, which might delete a reused frame.
3566 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
3568 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
3569 rename a directory to a name that differs only by its letter case.
3571 2000-08-08 Kenichi Handa <handa@etl.go.jp>
3573 * international/quail.el (quail-define-rules): Handle Quail decode
3574 map correctly. Add code for supporting annotations.
3575 (quail-install-decode-map): New function.
3576 (quail-defrule-internal): New optional arguments decode-map and
3578 (quail-advice): New function.
3580 2000-08-07 Sam Steingold <sds@gnu.org>
3582 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
3583 `defconst', `define-condition', `with-slots'.
3584 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
3586 2000-08-03 Miles Bader <miles@gnu.org>
3588 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3590 (comint-prompt-regexp, comint-get-old-input): Document dependence on
3591 comint-use-prompt-regexp-instead-of-fields.
3592 (comint-send-input): Add `input' field property to stuff we send to
3593 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
3594 (comint-output-filter): Add `output' field property to process
3595 output, if comint-use-prompt-regexp-instead-of-fields is nil.
3596 (comint-replace-by-expanded-history)
3597 (comint-get-old-input-default, comint-show-output)
3598 (comint-backward-matching-input, comint-forward-matching-input)
3599 (comint-next-prompt, comint-previous-prompt): Use field
3600 properties if comint-use-prompt-regexp-instead-of-fields is nil.
3601 (comint-line-beginning-position): New function.
3602 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
3603 (comint-replace-by-expanded-history-before-point): Use
3604 comint-line-beginning-position and line-end-position.
3605 (comint-last-output-overlay): New variable.
3606 (comint-mode): Make `comint-last-output-overlay' buffer-local.
3608 * shell.el (shell-prompt-pattern): Doc change.
3609 (shell-backward-command): Use line-beginning-position.
3611 * gud.el (gud-gdb-complete-command): Use
3612 comint-line-beginning-position.
3614 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
3615 comint-bol doesn't actually go to the beginning of the line.
3617 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
3618 if comint-use-prompt-regexp-instead-of-fields is non-nil.
3619 (try-expand-line-all-buffers): Likewise.
3621 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
3622 explicitly matching comint-prompt-regexp.
3623 (sql-copy-column): Use comint-line-beginning-position instead of
3624 explicitly matching comint-prompt-regexp.
3626 * progmodes/octave-inf.el (inferior-octave-complete): Use
3627 comint-line-beginning-position.
3629 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
3631 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
3632 looking for a prompt, use `forward-line 0' instead of
3633 `beginning-of-line', to avoid getting caught by an input field.
3635 2000-08-07 Gerd Moellmann <gerd@gnu.org>
3637 * files.el (shell-quote-wildcard-pattern): Make sure to return
3638 PATTERN, in the Unix case.
3640 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
3642 * play/zone.el (zone): Discard any pending input before running
3643 the randomly-chosen pgm.
3645 2000-08-07 Kenichi Handa <handa@etl.go.jp>
3647 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
3648 checking the existence of any multibyte characters.
3650 2000-08-06 Gerd Moellmann <gerd@gnu.org>
3652 * help.el (describe-mode): Test minor-mode symbol for being
3653 bound before testing its value for being nil.
3655 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
3656 `first', `second', and `third'.
3658 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
3659 (second): Make it an alias for `cadr'.
3661 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
3663 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
3664 types of display support faces now.
3666 2000-08-05 Gerd Moellmann <gerd@gnu.org>
3668 * pcvs.el (require): Require `cl' during compilation, only.
3670 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
3671 (toplevel): Remove `remq' and `remove' from autoloads.
3672 (cl-fake-autoloads): New variable. If set, arrange for an error
3673 when CL functions etc. are autoloaded.
3675 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
3677 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
3679 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
3680 popped up, but the user clicks outside the menu, return an empty
3681 regexp (that causes unhighlight-regexp to have no effect).
3683 * menu-bar.el (menu-bar-games-menu): Add Zone.
3685 * hi-lock.el (toplevel): Require font-lock.
3687 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3689 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
3690 (ebnf-8-bit-chars): New var for bug fix.
3691 (ebnf-string): Bug fix.
3693 2000-08-03 Sam Steingold <sds@gnu.org>
3695 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
3696 instead of `buffer-string'.
3697 (require 'cl): Always, not just when compiling.
3698 `ignore-errors' in `interactive', `list*', `defun*' &c make this
3701 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
3703 * international/mule-cmds.el (select-safe-coding-system): Make
3704 the message text about selecting a safe coding system more clear.
3706 2000-08-02 Gerd Moellmann <gerd@gnu.org>
3708 * hi-lock.el: New file.
3710 * play/zone.el: New file.
3712 * replace.el (occur): Set tab-width in the *Occur* buffer to the
3713 value of tab-width in the original buffer. Choose a line number
3714 format that's a multiple of the original buffer's tab width, so
3715 that lines appear right.
3717 * textmodes/ispell.el (ispell): New function, replacing an alias.
3718 Spell-check active region if in transient-mark-mode and mark
3719 is active; otherwise spell-check buffer.
3721 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3723 * ps-mule.el: Fix a customization problem on
3724 ps-mule-font-info-database-default.
3726 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
3728 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
3729 display-mouse-p instead of window-system.
3730 (ebrowse-member-mode-map): Ditto.
3732 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3734 * progmodes/ebnf2ps.el: Update ps-print functions call.
3735 Indentation fix. Doc fix.
3736 (ebnf-version): New version number (3.2).
3737 (ebnf-format-color, ebnf-begin-job): Code fix.
3739 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
3741 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
3742 font lock support on window-system.
3743 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
3745 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
3746 display-color-p, if fboundp, instead of window-system.
3748 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
3750 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
3751 instead of window-system.
3753 * wid-edit.el (widget-choose): Use display-mouse-p instead of
3755 (widget-choice-mouse-down-action): Use display-popup-menus-p
3756 instead of window-system.
3758 * strokes.el (strokes-file): Run the file name through
3759 convert-standard-filename.
3760 (strokes-mode): Call display-mouse-p instead of looking at
3761 window-system. Change the error message accordingly.
3763 * progmodes/cpp.el (toplevel): Support faces on tty's.
3765 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
3766 (lm-plot-square, lm-init-display): Don't use window-system.
3768 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
3769 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
3771 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
3772 instead of looking at window-system.
3774 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3776 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
3777 of testing if iswitchb-prepost-hooks is bound, because the
3778 latter will always be true when invoking a recursive minibuffer
3779 from an active Iswitchb buffer.
3781 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
3783 * files.el (shell-quote-wildcard-pattern): New function.
3784 (insert-directory): Call it. Only prepend "\" to command on Unix
3785 and GNU/Linux systems.
3787 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3789 * eshell/esh-groups.el: Change custom :link file names
3790 from `eshell.info' to `eshell'.
3792 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
3794 * dired.el (dired-build-subdir-alist): Expand subdirectory names
3795 correctly in recursive ange-ftp listings.
3797 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3799 * ps-print.el: Fix bug 1: if ps-font-size-internal,
3800 ps-header-font-size-internal and
3801 ps-header-title-font-size-internal variables are not set,
3802 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
3803 face text property is (foreground-color . COLOR) or
3804 `(background-color . COLOR)', ps-print crashes. Doc fix.
3805 (ps-print-version): New version number (5.2.4).
3806 (ps-plot-region): Code fix.
3807 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
3808 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
3811 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
3813 * glasses.el (glasses-make-readable): Fix uncapitalization of
3814 identifiers like `myXMLDocument'.
3816 2000-07-28 Karl Fogel <kfogel@red-bean.com>
3818 * mail/mail-hist.el (mail-hist-previous-input)
3819 (mail-hist-next-input): Do the obvious code factorization.
3820 (mail-hist-retrieve-and-insert): New func, contains common
3822 If inserting a message body, leave point at top.
3824 2000-07-28 Sam Steingold <sds@gnu.org>
3826 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
3827 Use `<=', not `<' to compare times!
3828 (ange-ftp-ls): Remove.
3830 2000-07-27 Gerd Moellmann <gerd@gnu.org>
3832 * play/cookie1.el: Add explanation of how to make cookie.el
3833 compatible with strfile(1) to comment.
3835 * subr.el (remove, remq): New functions.
3837 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
3838 escape `*' in regexps.
3839 (midnight-find): Reverse order of arguments in the funcall of
3842 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
3845 * play/meese.el: Add Commentary section.
3847 2000-07-27 Alex Schroeder <alex@gnu.org>
3849 * sql.el (sql-ms): Added autoload cookie.
3850 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
3851 (sql-oracle): Ditto.
3852 (sql-help): Doc change.
3854 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
3855 types and exceptions.
3857 2000-07-27 Alex Schroeder <alex@gnu.org>
3859 * sql.el (sql-placeholder-history): New variable.
3860 (sql-query-placeholders-and-send): New function that will query
3861 the user and replace placeholders with user input.
3862 (sql-oracle): If running on NT, set comint-input-sender to
3863 sql-query-placeholders-and-send.
3865 (sql-stop): If in the SQLi buffer, insert stop notification, else
3866 present it as a message.
3868 2000-07-27 Alex Schroeder <alex@gnu.org>
3870 * sql.el (sql-input-ring-separator): Doc change.
3871 (sql-input-ring-file-name): Doc change.
3872 (sql-interactive-mode): Use `sql-input-ring-separator' and
3873 `sql-input-ring-file-name' to set the comint-mode equivalents
3874 without making them local variables.
3875 (sql-stop): Don't bind `sql-input-ring-separator' and
3876 `sql-input-ring-file-name' dynamically to their comint-mode
3879 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3881 * international/mule.el (register-char-codings): New function.
3882 (make-coding-system): Handle `safe-chars' specification in the arg
3885 * international/mule-cmds.el
3886 (find-coding-systems-region-subset-p): This function deleted.
3887 (sort-coding-systems-predicate): New variable.
3888 (sort-coding-systems): New function.
3889 (find-coding-systems-region): Use
3890 find-coding-systems-region-internal.
3891 (find-coding-systems-string): Use find-coding-systems-region.
3892 (find-coding-systems-for-charsets): Check
3893 char-coding-system-table.
3894 (select-safe-coding-system-accept-default-p): New variable.
3895 (select-safe-coding-system): Mostly rewritten. New argument
3897 (select-message-coding-system): Call select-safe-coding-system
3898 with ACCEPT-DEFAULT-P arg.
3899 (reset-language-environment): Reset default-sendmail-coding-system
3900 to the default value iso-latin-1.
3901 (set-language-environment): Don't set the obsolete variable
3902 charset-origin-alist.
3904 * international/codepage.el (cp-coding-system-for-codepage-1):
3905 Give `safe-chars' property to make-coding-system.
3907 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
3908 calling select-message-coding-system twice.
3910 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
3911 instead of `safe-charsets'.
3912 (cyrillic-alternativnyj): Likewise.
3913 (ccl-encode-alternativnyj): Don't check the charset
3916 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3918 * composite.el (compose-chars-after): Preserve match data.
3920 2000-07-26 Sam Steingold <sds@gnu.org>
3922 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
3923 (ange-ftp-real-file-newer-than-file-p): New function.
3924 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
3925 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
3927 * tooltip.el (tooltip-float-time): Removed (use `float-time').
3928 * midnight.el (midnight-float-time): Ditto.
3930 2000-07-26 Andreas Schwab <schwab@suse.de>
3932 * files.el (normal-backup-enable-predicate): Correct
3933 interpretation of the return value of compare-strings.
3935 2000-07-26 Gerd Moellmann <gerd@gnu.org>
3937 * isearch.el (isearch-resume): New function.
3938 (isearch-done): Add something to command-history to resume
3940 (isearch-yank-line, isearch-yank-word): Use
3941 buffer-substring-no-properties instead of buffer-substring.
3943 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
3944 of flyspell-mouse-map.
3946 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
3947 duplicate definition.
3948 (makefile-mode): Remove duplicate setting of local-abbrev-table.
3950 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
3951 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
3953 2000-07-25 Sam Steingold <sds@gnu.org>
3955 * net/ange-ftp.el: Get modtime over the net.
3956 (ange-ftp-file-modtime): New function.
3957 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3958 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
3960 (ange-ftp-dot-to-slash): New function.
3961 (ange-ftp-fix-name-for-vms): Use it.
3963 * midnight.el (midnight-buffer-display-time): Use
3964 `with-current-buffer'.
3966 2000-07-25 Gerd Moellmann <gerd@gnu.org>
3968 * find-dired.el: Update copyright notice.
3969 (find-dired): Offer to kill a running `find'.
3971 * enriched.el (enriched-face-ans): For a `foreground-color'
3972 property, return '(("x-color" COLOR))' so that COLOR will be
3973 output as a parameter of the x-color annotation. Likewise for the
3974 `background-color' property. In the case of normal face
3975 properties, don't return annotations for unspecified foreground
3976 and background face attributes.
3978 2000-07-25 Kenichi Handa <handa@etl.go.jp>
3980 * language/japan-util.el (japanese-katakana-region): Fix handling
3983 2000-07-25 Miles Bader <miles@gnu.org>
3985 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
3986 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
3989 2000-07-24 Andrew Innes <andrewi@gnu.org>
3991 * timer.el (timer-activate-when-idle): Add optional parameter
3992 DONT-WAIT. Update docstring.
3993 (run-with-idle-timer): Specify extra parameter to
3994 timer-activate-when-idle, so that timer will be activated
3995 immediately if Emacs is already idle.
3997 * w32-fns.el (w32-using-nt): Fix docstring.
3999 2000-07-24 Dave Love <fx@gnu.org>
4001 * mouse.el (popup-menu): Set last-command-event.
4002 (mouse-major-mode-menu-prefix): Declare.
4004 2000-07-24 Gerd Moellmann <gerd@gnu.org>
4006 * textmodes/flyspell.el: Update to author's version 1.5d.
4008 * progmodes/hideshow.el: Update copyright notice.
4010 * vcursor.el: Set maintainer to FSF, since author cannot
4013 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
4015 * info.el (Info-goto-emacs-key-command-node): Leave a space after
4018 * mouse.el (popup-menu): Run the keymap through indirect-function,
4019 in case it was defined with define-prefix-key. If the menu is a
4020 list of keymaps, look up the binding of user's choice in each one
4022 (mouse-popup-menubar): If the global and local menu-bar keymaps
4023 don't have a prompt string, create one and insert it into the
4024 keymap. Don't barf if current-local-map returns nil.
4026 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
4028 * dired.el (dired-sort-R-check): Added to allow recursive listing
4030 (dired-sort-other): Use it.
4032 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4034 * Release of cc-mode 5.27
4036 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4038 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
4039 c-beginning-of-statement-1 that caused a bad case of recursion
4040 which could consume a lot of CPU in large classes in languages
4041 that have in-expression classes (i.e. Java and Pike).
4043 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
4044 statements before top level constructs (i.e. case 6 is moved
4045 before case 5 and is now case 4) to catch in-expression
4046 classes in top level expressions correctly.
4048 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4050 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
4051 objc-method-intro. Case 4 removed and case 5I added.
4053 * cc-langs.el (c-append-paragraph-start): New variable used by
4054 c-common-init to get paragraph-start correct.
4055 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4056 initialize paragraph-start to make it correct both with and
4057 without the javadoc special case.
4059 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4060 initialize paragraph-start for javadoc markup.
4062 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4063 change by defaulting this to t. It's motivated by the
4064 confusing behavior that otherwise arise from the style system
4065 when editing both java and non-java files at the same time
4066 (see the comments about style setting in c-common-init).
4068 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4070 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4071 similar to the one in c-fill-paragraph to check the fill
4072 prefix from the adaptive fill function for sanity.
4074 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4076 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4079 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4081 * cc-mode.texi Documented the change of cpp-macro.
4083 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4085 * cc-align.el (c-lineup-multi-inher): Handle lines with
4086 leading comma nicely. Extended to handle member initializers
4089 * cc-engine.el: (c-beginning-of-inheritance-list,
4090 c-guess-basic-syntax): Fixed recognition of inheritance lists
4091 when the lines begins with a comma.
4093 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4095 * cc-vars.el (c-offsets-alist): Changed default for
4096 member-init-cont to c-lineup-multi-inher since it now handles
4097 member initializers and indents better for leading commas.
4099 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4101 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
4102 handling that caused class open lines to be recognized as
4103 statement-conts in some cases.
4105 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
4106 guessed by the adaptive fill function unless point is on the
4107 first line of a block comment.
4109 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
4110 when the buffer ends with a macro continuation char.
4112 * cc-engine.el (c-guess-basic-syntax): Added support for
4113 function definitions as statements in Pike. The first
4114 statement in a lambda block is now labeled defun-block-intro
4115 instead of statement-block-intro.
4117 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
4118 so that the class surrounding point is selected, not the one
4119 innermost in the state.
4121 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
4122 recognition of switch labels having hanging multiline
4125 * cc-engine.el (c-beginning-of-member-init-list): Broke out
4126 some code in c-guess-basic-syntax to a separate function.
4127 * cc-engine.el (c-just-after-func-arglist-p): Fixed
4128 recognition of member inits with multiple line arglists.
4129 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
4130 member-init-cont when the commas are in funny places.
4132 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4134 * cc-defs.el (c-auto-newline): Removed this macro since it's
4137 * cc-engine.el (c-looking-at-bos): New helper function.
4138 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
4139 inexpr and toplevel classes apart in Pike.
4141 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
4144 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
4145 constant, since "class" can introduce an in-expression class
4148 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4150 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
4151 indentation on cpp-macro lines.
4153 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
4154 a syntax modifier like comment-intro, to make it possible to
4155 get syntactic indentation for preprocessor directives. It's
4156 incompatible wrt to lineup functions on cpp-macro, but it has
4157 no observable effect in the 99.9% common case where cpp-macro
4160 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4162 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
4163 member-init-cont when the preceding arglist is several lines.
4165 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4167 * cc-styles.el (c-style-alist): The basic offset for the BSD
4168 style corrected to 8.
4170 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4172 * cc-styles.el (c-style-alist): Adjusted the indentation of
4173 brace list openers in the gnu style.
4175 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4177 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
4179 * cc-cmds.el (c-electric-brace, c-electric-slash,
4180 c-electric-star, c-electric-semi&comma, c-electric-colon,
4181 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
4182 when c-syntactic-indentation is nil.
4184 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
4185 we were left at comments preceding the first statement when
4186 reaching the beginning of the buffer.
4188 * cc-vars.el (c-syntactic-indentation): New variable to turn
4189 off all syntactic indentation.
4191 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4193 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
4194 between the text and the block comment ender when it hangs,
4195 depending on how many there are before the fill.
4197 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4199 * cc-engine.el (c-beginning-of-closest-statement): New helper
4200 function to go back to the closest preceding statement start,
4201 which could be inside a conditional statement.
4202 * cc-engine.el (c-guess-basic-syntax): Use
4203 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4205 * cc-engine.el (c-guess-basic-syntax): Better handling of
4206 arglist-intro, arglist-cont-nonempty and arglist-close when
4207 the arglist is nested inside parens. Cases 7A, 7C and 7F
4210 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4211 up-to-date with javadoc 1.2.
4213 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4215 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4216 multiline Pike type decls.
4218 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4220 * cc-cmds.el (c-indent-new-comment-line): Always break
4221 multiline comments in multiline mode, regardless of
4224 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4226 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4227 fully::qualified::names in C++ member init lists. Preamble in
4230 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4232 * cc-langs.el (c-common-init): Handling of obsolete variables
4233 moved to c-initialize-cc-mode. More compatible style override
4234 when using global style variables.
4235 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4236 variables moved here.
4238 * cc-mode.texi: Documented the special behavior of
4239 c-special-indent-hook as a style variable. Don't talk about
4240 doing (c-make-styles-buffer-local t) in a mode hook, since
4241 that's already too late to work right.
4243 * cc-styles.el (c-make-styles-buffer-local): Flag style
4244 variable localness in c-style-variables-are-local-p to make
4245 the compatibility measure in c-common-init work well.
4247 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4248 longer contain set-from-style.
4249 * cc-styles.el (c-initialize-builtin-style): Don't check for
4250 set-from-style on c-special-indent-hook.
4251 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4252 copy-alist is sufficient now.
4254 * cc-styles.el (c-set-style, c-set-style-1,
4255 c-get-style-variables): Fixes to variable initialization so
4256 that duplicate entries in styles have the same effect
4257 regardless of DONT-OVERRIDE.
4259 * cc-styles.el (c-set-style-2): Fixed bug where the
4260 initialization of inheriting styles failed when the
4261 dont-override flag is set.
4263 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4266 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4268 * cc-defs.el (c-forward-comment): Removed the workaround
4269 introduced in 5.38 since it had worse side-effects. If a line
4270 contains the string "//\"", it regarded the // as a comment
4271 start since the \ temporarily doesn't have escape syntax.
4273 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4275 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4276 ada-xref.el before ada-prj.el, so that the Project menu is created
4277 when ada-prj tries to add to it.
4278 (ada-activate-keys-for-case): Suppress the characters that are not
4279 part of the Ada syntax. Better compatibility with else-mode
4280 (ada-adjust-case-interactive): When auto-casing is not active,
4281 correctly insert newlines (used to insert only ^M). Prevent the
4282 syntax table from being changed in case of an error
4283 (or '_' becomes part of a word and some commands are confused).
4284 Do nothing if ada-auto-case is nil.
4285 (ada-after-keyword-p): Ignore keywords that are also attributes
4286 (ada-batch-reformat): Update usage comment
4287 (ada-call-from-contextual-menu): New function
4288 (ada-case-read-exceptions): Reinitialize the casing exception list
4289 first to nil first, so that the casing exception file can be
4291 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4293 (ada-compile-goto-error): Fix regexp used to detect a file:line
4294 anywhere in the error message
4295 (ada-contextual-menu-last-point): New variable
4296 (ada-create-keymap): If the variable delete-key-deletes-forward is
4297 t on XEmacs, it means that DEL should delete one character
4299 (ada-create-menu): Use :included instead of :visible for XEmacs.
4300 New submenu "Options".
4301 (ada-end-stmt-re): Correctly indent "select ... then abort"
4303 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4304 even if they don't match ada-fill-comment-prefix Fix handling of
4305 paragraphs on the first or last line of a file.
4306 (ada-format-paramlist): Fix handling of default parameter values.
4307 (ada-get-body-name): New function.
4308 (ada-get-current-indent): Optimized by searchling directly for an
4309 existing generic part or a statement outside of it. Handle
4310 ada-indent-align-comments when indenting comments Replaced some
4311 regexps by testing directly the next character. This results in a
4312 huge speedup on some files. New indentation scheme for renames
4313 statements. Stop looking for the 'while' or 'for' associated with
4314 a 'loop' at the first semicolon encountered. A "return" can also
4315 match an anonymous access subprogram declaration.
4316 (ada-get-indent-noindent): Ignore strings and comments when
4317 looking for the keywords "record" and "private".
4318 (ada-goto-matching-decl-start): When matching "if", make sure we
4319 are not in fact seeing "end if". Ignore "when" statements except
4320 when initial keyword was "begin". Fix handling of nested
4321 procedures. Add a recursive call to this function to skip over
4322 other 'end' statmts. Fix indentation for "when .. => begin"
4323 (ada-in-open-paren-p): Fix indentation for complex boolean
4324 expressions, where 'and then', 'or else' and parenthesis
4325 statements are mixed up.
4326 (ada-in-paramlist-p): Skip comments while searching for the
4327 beginning Fix handling of operator declarations.
4328 (ada-indent-align-comments): New variable
4329 (ada-indent-current): Change the syntax table only in the
4330 protected section, so that we are sure it is restored correctly.
4331 (ada-indent-on-previous-lines): Use ada-use-indent and
4332 ada-with-indent Correctly indent "select ... then"
4333 (ada-indent-region): Slight speedup.
4334 (ada-indent-renames): New variable.
4335 (ada-last-which-function-subprog, ada-last-which-function-line):
4337 (ada-looking-at-semi-private): Correctly indent the 'private'
4338 keyword when it is the first word in a package declaration.
4339 (ada-loose-case-word): Stop searching if at the end of the buffer.
4340 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4341 even if point is not initially at the end of the word.
4342 (ada-matching-decl-start-re): Add "when".
4343 (ada-mode): Add support for abbrev-mode, outline-mode and
4344 which-func-mode Override the old find-file.el entry in
4345 ff-special-constructs since it is using the obsolete
4346 ada-spec-suffix variable
4347 (ada-no-auto-case): New function
4348 (ada-scan-paramlist): When parsing the argument type, accept
4349 spaces (as in "X 'Class", generated by Rational Rose).
4350 (ada-other-file-name): No longer loads the other file.
4351 (ada-popup-menu): Save and restore the current buffer and cursor
4352 position before and after displaying the menu.
4353 (ada-search-ignore-complex-boolean): New function.
4354 (ada-uncomment-region): Emacs21 already knows how to delete
4355 comments not starting in the first column.
4356 (ada-use-indent): New variable
4357 (ada-which-function): New function.
4358 (ada-with-indent): New variable
4359 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4360 can be batch-compiled from the command line.
4362 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4363 Add to the menu when the file is loaded, not in ada-mode-hook.
4364 Add -toolbar to the default ddd command Switches moved from
4365 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4366 ada-prj-default-comp-opt
4367 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4368 Reference Manual to the menu
4369 (ada-check-current): rewritten as a call to ada-compile-current
4370 (ada-compile): Removed.
4371 (ada-compile-application, ada-compile-current, ada-check-current):
4372 Set the compilation-search-path so that compile.el automatically
4373 finds the sources in src_dir. Automatic scrollong of the
4374 compilation buffer. C-uC-cC-c asks for confirmation before
4376 (ada-compile-current): New parameter, prj-field
4377 (ada-complete-identifier): Load the .ali file before doing
4379 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4380 conform to gnatmake's behavior.
4381 (ada-find-file-in-dir): New function
4382 (ada-find-references): Set the environment variables for gnatfind
4383 (ada-find-src-file-in-dir): New function.
4384 (ada-first-non-nil): Removed
4385 (ada-gdb-application): Add support for jdb, the java debugger.
4386 (ada-get-ada-file-name): Load the original-file first if not done
4388 (ada-get-all-references): Handles the new ali syntax (parent types
4389 are found between <>).
4390 (ada-initialize-runtime-library): New function
4391 (ada-mode-hook): Always load a project file when a file is opened,
4392 so that the casing exceptions are correctly read.
4393 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4394 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4395 to open the project file, since the latter does not work with
4396 speedbar Get default values before loading the prj file, or the
4397 default executable file name is wrong. Use the absolute value of
4398 src_dir to initialize ada-search-directories and
4399 compilation-search-path,... Add the standard runtime library to
4400 the search path for find-file.
4401 (ada-prj-default-debugger): Was missing an opening '{'
4402 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4404 (ada-prj-default-gnatmake-opt): New variable
4405 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4406 buffers, the project file is the default one Save the windows
4407 configuration before displaying the menu.
4408 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4409 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4410 ...) regexp-quote identifiers names to support operators +,
4412 (ada-remote): New function.
4413 (ada-run-application): Erase the output buffer before starting the
4414 run Support remote execution of the application. Use
4415 call-process, or the arguments are incorrectly parsed
4416 (ada-set-default-project-file): Reread the content of the active
4417 project file, not the one from the current buffer When a project
4418 file is set as the default project, all directories are
4419 automatically associated with it.
4420 (ada-set-environment): New function
4421 (ada-treat-cmd-string): New special variable ${current}
4422 (ada-treat-cmd-string): Revised. The substitution is now done for
4423 any ${...} substring
4424 (ada-xref-current): If no body was found, compiles the spec
4425 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4426 compiler to get rid of command line length limitations.
4427 (ada-xref-get-project-field): New function
4428 (ada-xref-project-files): New variable
4429 (ada-xref-runtime-library-specs-path)
4430 (ada-xref-runtime-library-ali-path): New variables
4431 (ada-xref-set-default-prj-values): Default run command now does a
4432 cd to the build directory. New field: main_unit Provide a default
4433 file name even if the current buffer has no prj file.
4436 Rewritten to show a tabbed-dialog.
4437 (ada-prj-add-ada-menu): Remove the map and name parameters.
4438 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
4440 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
4441 (ada-prj-load-from-file): New function
4442 (ada-prj-save): Always save fields that depend on the current buffer
4443 (ada-prj-show-value): New function
4445 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
4446 Ada mode. This will allow us to display the Ada menu in any buffer
4447 we want (for project items).
4448 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
4449 number of spaces in the header.
4451 2000-07-24 Dave Love <fx@gnu.org>
4453 * ediff-init.el (ediff-region-help-echo): Bind face-help.
4455 2000-07-23 Noah Friedman <friedman@splode.com>
4457 * type-break.el (type-break): perform autosave.
4458 Suggested by Stephen Gildea <gildea@intouchsys.com>.
4459 (type-break-do-query): Cancel query schedule while performing
4460 actual query, to avoid possibility of a second query being made
4461 while first one is already in progress.
4462 (type-break-time-stamp-format): New variable.
4463 (type-break-time-stamp): New function.
4464 (type-break-time-warning): Use it.
4465 (type-break-keystroke-warning): Use it.
4466 (type-break-noninteractive-query): Use it.
4468 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
4470 Use add-minor-mode to set minor-mode-alist, if available.
4471 (eldoc-echo-area-use-multiline-p): New user option.
4472 (eldoc-echo-area-multiline-supported-p): New variable.
4473 (eldoc-docstring-format-sym-doc): Use them.
4474 (eldoc-mode): If not using idle timers, append to local post and
4475 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
4476 (eldoc-display-message-no-interference-p): Don't interfere with
4478 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
4479 (eldoc-function-arglist): New function.
4480 (eldoc-function-argstring): Use it.
4482 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
4483 auto save directory exists before calling directory-files.
4485 2000-07-23 Dave Love <fx@gnu.org>
4487 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
4490 2000-07-21 Dave Love <fx@gnu.org>
4492 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
4493 now passed to the function. It now works properly.
4495 * smerge-mode.el (smerge-mode-menu): Fill it out.
4497 2000-07-20 Gerd Moellmann <gerd@gnu.org>
4499 * info-look.el (info-lookup): If *info* is shown in another frame
4500 on the same display, select that frame, instead of switching to
4501 the Info buffer in another window of the selected frame.
4503 * simple.el (universal-argument-map): Bind numeric keypad keys
4504 kp-0 to kp-9 and kp-subtract.
4505 (digit-argument): Handle these keys.
4507 2000-07-20 Dave Love <fx@gnu.org>
4509 * net/goto-addr.el (goto-address-fontify): Don't bother with
4510 buffer-modified and read-only stuff -- irrelevant with overlays.
4511 Put an extra property on the overlays and use it to clean up in
4512 case goto-address is re-run.
4514 2000-07-19 Richard M. Stallman <rms@gnu.org>
4516 * timer.el (run-with-idle-timer): Doc fix.
4518 * mail/mail-utils.el (mail-strip-quoted-names):
4519 Handle case where <...> appears inside "...".
4520 Use replace-match to edit the string more simply.
4521 (rmail-dont-reply-to): Cope with an unmatched ".
4523 2000-07-19 Dave Love <fx@gnu.org>
4525 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
4528 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
4529 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
4530 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
4532 2000-07-19 Gerd Moellmann <gerd@gnu.org>
4534 * textmodes/refer.el: Correct maintainer's email address.
4536 * progmodes/hideif.el: Correct author's email address.
4537 Fix typo in comment.
4541 * mail/mailheader.el: Correct author's mail address.
4543 * gnus/parse-time.el: Correct author's mail address.
4545 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
4547 * comint.el (comint-highlight-input, comint-highlight-face):
4549 (comint-input-ring-file-name): Change custom type.
4550 (comint-mode-map): Bind mouse-2.
4551 (comint-insert-clicked-input): New function.
4552 (comint-send-input): Handle input highlighting.
4554 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
4556 * mouse.el (popup-menu): New function.
4557 (mouse-major-mode-menu): Use it.
4559 2000-07-18 Dave Love <fx@gnu.org>
4561 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
4564 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4566 * faces.el (face-font-selection-order)
4567 (face-font-family-alternatives): Add custom type.
4569 2000-07-18 Dave Love <fx@gnu.org>
4571 * cus-edit.el (custom-variable-reset-saved)
4572 (custom-variable-reset-standard): Remove unused bindings.
4574 * rect.el (open-rectangle-line): Remove unused let.
4576 * hl-line.el (hl-line-highlight): Check hl-line-mode.
4578 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4580 * cdl.el: Fix `Maintainer' keyword.
4582 * play/pong.el: Add author's email address.
4584 2000-07-17 Sam Steingold <sds@gnu.org>
4586 * files.el (insert-directory): Call `split-string' instead of
4589 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4591 * mail/vms-pmail.el: Change maintainer to FSF.
4593 * net/goto-addr.el: Change maintainer to FSF.
4595 * recentf.el: Update from author.
4597 * info.el (Info-title-face-alist): Removed.
4599 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
4601 * eshell/eshell.el (eshell): Replace links to eshell.info with
4602 links to eshell, to avoid problems on systems where the manual is
4603 installed as `eshell'.
4604 * eshell/esh-cmd.el (eshell-cmd): Ditto.
4605 * eshell/em-smart.el (eshell-smart): Ditto.
4606 * eshell/em-banner.el (eshell-banner): Ditto.
4607 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
4609 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
4610 same-file check in the MS-DOS version (it does support inodes).
4612 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
4614 * eshell/eshell.el (eshell-directory-name):
4615 Run default directory name through convert-standard-filename.
4617 2000-07-18 Kenichi Handa <handa@etl.go.jp>
4619 * international/mule-cmds.el (select-safe-coding-system):
4620 Fix typo in the comment.
4622 * language/european.el (compound-text):
4623 Force katakana-jisx0201 to be designated to G1.
4625 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
4626 Don't translate some national variant characters of latin-jisx0201.
4627 (x-ctext): Force katakana-jisx0201 to be designated to G1.
4629 * international/kkc.el (kkc-after-update-conversion-functions):
4631 (kkc-update-conversion): Run functions in it at the tail.
4633 2000-07-16 John Wiegley <johnw@gnu.org>
4635 * lisp/align.el (align-newline-and-indent):
4636 Adding new function. for auto-aligning blocks of code on RET.
4637 (align-region): Fixed badly formatted minibuffer message.
4639 2000-07-17 Kenichi Handa <handa@etl.go.jp>
4641 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
4642 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
4643 the conversion list at first if appropriate.
4644 (kkc-next): Don't update kkc-next-count here.
4645 (kkc-prev): Don't update kkc-prev-count here.
4646 (kkc-show-conversion-list-update): Fix setting up of conversion
4649 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
4651 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
4653 2000-07-16 Dave Love <fx@gnu.org>
4655 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
4656 function to be more specific.
4658 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
4659 non-string help-echo.
4660 (widget-types-convert-widget): Defsubst it.
4661 (widget-echo-help): Try to cope with a help-echo function of two
4664 2000-07-15 Jason Rumney <jasonr@gnu.org>
4666 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4667 Declare as obsolete.
4669 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
4671 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4673 * hilit-chg.el: Fix typo.
4675 2000-07-14 Dave Love <fx@gnu.org>
4677 * info.el (Info-mode-menu): Fix use of :help, :enable.
4679 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
4681 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
4683 2000-07-13 Dave Love <fx@gnu.org>
4685 * emacs-lisp/easymenu.el: Doc fixes.
4686 (easy-menu-remove): Defalias to ignore.
4688 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
4689 Call throw correctly.
4691 2000-07-13 Gerd Moellmann <gerd@gnu.org>
4693 * faces.el (frame-background-mode): Doc fix.
4695 * simple.el (eval-expression-print-length): Change custom type to
4696 allow entering nil as value.
4698 2000-07-13 Dave Love <fx@gnu.org>
4700 * progmodes/fortran.el (fortran-imenu-generic-expression):
4701 Change definition layout.
4702 (fortran-mode-menu): Reinstate customize entries.
4704 * cus-edit.el (custom-group-menu-create, customize-menu-create):
4705 Use :filter, per old XEmacs code.
4707 2000-07-12 Gerd Moellmann <gerd@gnu.org>
4709 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
4710 event when deciding what to send to the terminal.
4712 2000-07-12 Dave Love <fx@gnu.org>
4714 * cus-start.el: Add optional version as 4th element of specs and
4715 use it for several things new in v21. Remove load-path. Fix type
4716 of line-number-display-limit.
4718 2000-07-11 Dave Love <fx@gnu.org>
4720 * progmodes/fortran.el: Don't require easymenu.
4721 Use repeat counts in various regexps.
4722 (fortran-mode-syntax-table): Defvar directly.
4723 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4724 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
4725 Use defvar, not defconst.
4726 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
4727 (fortran-mode): Set fortran-comment-line-start-skip,
4728 fortran-comment-line-start-skip, dabbrev-case-fold-search.
4729 (fortran-comment-indent): Use defsubst.
4730 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
4731 Use fortran-comment-indent, not fortran-comment-indent-function.
4732 (fortran-comment-region, fortran-electric-line-number): Simplify.
4733 (fortran-auto-fill): New function.
4734 (fortran-do-auto-fill): Deleted.
4735 (fortran-find-comment-start-skip):
4736 Check for non-null comment-start-skip.
4737 (fortran-auto-fill-mode, fortran-fill-statement):
4738 Use fortran-auto-fill.
4739 (fortran-fill): Use fortran-auto-fill. Check for null
4740 comment-start-skip. Simplify final clause and use end-of-line finally.
4742 * widget.el (widget-plist-member): New alias.
4744 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
4746 * eshell/esh-module.el (toplevel): Reference
4747 byte-compile-current-file only if it is bound.
4749 2000-07-10 Gerd Moellmann <gerd@gnu.org>
4751 * dired.el: Don't require `dired-aux'.
4753 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
4755 * dired-aux.el (dired-show-file-type): New function.
4756 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
4757 (dired-show-file-type): Add autoload.
4759 2000-07-10 Kenichi Handa <handa@etl.go.jp>
4761 * international/mule-diag.el (describe-font): Adjusted for the
4762 change of fontset-info.
4763 (print-fontset): Likewise.
4765 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
4767 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
4769 2000-07-07 Gerd Moellmann <gerd@gnu.org>
4771 * bindings.el: Bind `[delete]' to delete-char.
4773 * dired.el (dired-find-alternate-file): New function.
4774 (dired-mode-map): Bind `a' to dired-find-alternate-file.
4775 (toplevel): Require dired-aux when compiling.
4776 (dired-buffers): Move defvar within file to avoid compiler warning.
4778 * info.el (Info-last-search): Variable removed.
4779 (Info-search-history): New variable.
4780 (Info-search): New Info-search-history.
4782 * battery.el, info-look.el: Change author's mail address.
4784 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4786 * mail/rmail.el (rmail-clear-headers): Don't throw an error
4787 if rmail-ignored-headers is nil.
4788 (rmail-retry-failure): Bind rmail-ignored-headers and
4789 rmail-displayed-headers to nil.
4791 2000-07-06 Gerd Moellmann <gerd@gnu.org>
4793 * lpr.el (lpr-page-header-switches): Add `-h' switch.
4794 (print-region-1): Don't hard code `-h' here.
4796 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
4798 2000-07-01 Francesco Potorti` <pot@gnu.org>
4800 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
4801 exim can use "your message" instead of "the message".
4803 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
4805 * facemenu.el: Docstrings fixes.
4806 (facemenu-get-face): Don't use internal-find-face.
4807 (facemenu-iterate): Rename arg to match the docstring.
4809 * newcomment.el (uncomment-region): Be more careful when skipping
4810 backwards over `=' not to bump into BOBP.
4812 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
4814 * ediff-diff.el (ediff-wordify): Use syntax table.
4815 * ediff-init.el (ediff-has-face-support-p): Use
4816 ediff-color-display-p.
4817 (ediff-color-display-p): Use display-color-p, changed to defun
4819 Got rid of special cases for NeXT and OS/2.
4820 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
4823 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4825 * emacs-lisp/lucid.el: Require CL.
4826 (copy-tree, remprop): Remove, it's provided by CL.
4827 (map-keymap): Define in terms of cl-map-keymap.
4828 (extent-property, set-extent-end-glyph): New functions.
4830 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
4832 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4834 * Makefile.in (DONTCOMPILE): Add comment that the name may
4835 not be changed without changing the make-dist script.
4837 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
4838 (cl-mapc): Use mapc instead of cl-old-mapc.
4840 2000-07-05 Andrew Innes <andrewi@gnu.org>
4842 * makefile.nt: Add support for `bootstrap' and related targets.
4844 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4846 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
4847 (easy-menu-do-define): Use `menu-item' format.
4848 Handle case where easy-menu-create-menu returns a symbol.
4849 Manually call the potential top-level filter in the function binding.
4850 (easy-menu-filter-return): New arg NAME.
4851 Convert to a keymap if MENU is an XEmacs menu.
4852 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
4853 (easy-menu-converted-items-table, easy-menu-convert-item):
4854 New var and fun to memoize easy-menu-convert-item-1.
4855 (easy-menu-do-add-item): Use it.
4856 (easy-menu-create-menu): Use easy-menu-convert-item.
4857 Wrap easy-menu-filter-return around any :filter specification.
4858 Don't convert the menu if a filter was specified.
4859 Tell easy-menu-make-symbol not to check for MENU being an expression.
4860 (easy-menu-make-symbol): New arg NOEXP.
4862 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4864 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
4865 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
4866 (eval-defun): If called with prefix arg, instrument code for
4869 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
4870 similar to that of eval-defun.
4872 2000-07-04 Dave Love <fx@gnu.org>
4874 * hl-line.el (hl-line-overlay): Make it permanent-local.
4876 * calendar/todo-mode.el: Replaced with a working version, based on
4877 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
4879 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
4881 * paths.el (prune-directory-list): New function.
4882 (Info-default-directory-list): Rewritten to more methodically
4883 enumerate a big list of possible info directories (based on the
4884 list used by the standalone info reader).
4886 * info.el (info-initialize): Use prune-directory-list to remove
4887 non-existent directories from Info-directory-list.
4889 * paths.el (Info-default-directory-list): Try a list of possible
4890 info-directories instead of a single one. Add the possible
4891 info directory "/usr/share/info".
4893 * woman.el (woman-man.conf-path): Explicitly include the debian
4894 man-db config file "/etc/manpath.config".
4895 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
4896 are present in `manpath.config'.
4897 (woman-manpath): Include "/usr/share/man".
4899 2000-07-03 Gerd Moellmann <gerd@gnu.org>
4901 * frame.el (blink-cursor-mode): Don't hide cursor initially.
4903 * startup.el (command-line): Initialize blink-cursor based
4906 * frame.el (blink-cursor): Default to nil if not running under
4909 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
4910 (face-x-resources): Remove duplicate entry for :font.
4912 * textmodes/refer.el (refer-find-entry-internal): Use some-window
4913 instead of cycling through windows with next-window.
4915 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
4916 of cycling through windows with next-window.
4918 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
4919 of cycling through windows with next-window.
4921 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
4922 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
4923 instead of cycling through windows with next-window.
4925 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
4926 instead of cycling through windows with next-window.
4928 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
4929 of cycling through windows with next-window.
4931 * terminal.el (te-process-output): Use walk-windows instead of
4932 cycling through windows with next-window.
4934 * server.el (server-switch-buffer): Use some-window instead of
4935 cycling through windows with next-window.
4937 * window.el (some-window): New function.
4938 (walk-windows): Remove reference to walk-windows-start.
4940 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
4942 2000-07-03 Richard Stallman <rms@gnu.org>
4944 * window.el (walk-windows): Guarantee termination by keeping a list
4945 of all the windows already handled.
4947 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4949 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
4952 * man.el (Man-notify-when-ready): Don't use window-system. If
4953 Man-notify-method is newframe, and the display is not
4954 multi-frame, select the frame created for the man page.
4955 (Man-init-defvars): Doc fix.
4957 2000-06-28 Gerd Moellmann <gerd@gnu.org>
4959 * faces.el (region): Change background color for light background.
4961 * ediff-wind.el (ediff-setup-control-frame): Remove :box
4962 attribute from mode-line face of Ediff control frame.
4964 * replace.el (query-replace-map): Bind `e' like `E'.
4966 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4968 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
4969 Change name to "Select All".
4971 * dos-fns.el (convert-standard-filename): Fix last change.
4973 2000-06-27 Gerd Moellmann <gerd@gnu.org>
4975 * help.el (describe-variable): Don't insert a second `'s' in front
4976 of the string `value is shown below'. Since the syntax-table is
4977 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
4978 an existing `'s', so that this won't be deleted.
4980 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
4981 * pcmpl-unix.el: New files.
4983 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
4985 * wid-edit.el (widget-member): Use the new plist-member.
4987 2000-06-26 Gerd Moellmann <gerd@gnu.org>
4989 * replace.el (perform-replace): Undo change of 2000-04-04.
4990 Instead, move backward 1 character at the end of the loop when
4993 * faces.el (fringe): Change face for different backgrounds.
4995 * eshell/esh-module.el (toplevel): Load defgroup's differently;
4998 * eshell/*.el: Change spelling of the Free Software Foundation.
5000 * eshell/esh-toggle.el: Removed.
5002 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
5004 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
5007 2000-06-26 Alex Schroeder <alex@gnu.org>
5009 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
5010 `define-key'; instead of checking `(emacs-version)' check for
5011 `set-keymap-parent' and `set-keymap-name' directly. Add entries
5012 for `;' and `o' which might be electric.
5014 (sql-electric-stuff): New user option.
5015 (sql-magic-go): New function which uses `sql-electric-stuff'.
5016 (sql-magic-semicolon): New function which uses
5017 `sql-electric-stuff'.
5019 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
5022 (sql-oracle-options): New variable.
5023 (sql-oracle): Use it.
5025 (sql-imenu-generic-expression): Doc change.
5026 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
5029 (sql-informix): Added command line parameter "-" to force
5030 sql-informix-program to use stdout.
5032 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
5034 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
5035 (cp864-decode-table): Doc fix.
5036 (cp720-decode-table): New variable, supports the Arabic OEM
5037 codepage used by Windows.
5038 (cp737-decode-table): New, Greek OEM codepage used by Windows.
5040 2000-06-23 Dave Love <fx@gnu.org>
5042 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
5043 (font-lock-fontify-anchored-keywords): Use
5044 line-beginning-position.
5045 (global-font-lock-mode): Use mapc.
5047 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
5049 * eshell/esh-module.el: Require CL when compiling.
5051 2000-06-23 Gerd Moellmann <gerd@gnu.org>
5053 * comint.el (comint-substitute-in-file-name): Call replace-match
5054 with second and third arg t.
5056 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5057 Specify foreground color.
5059 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5062 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5064 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5065 cddr instead of cdddr.
5067 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5068 instead of copy-list.
5070 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5073 * subdirs.el: Add eshell subdirectory.
5075 * eshell: New subdirectory containing the Eshell package.
5077 * pcomplete.el: New file.
5079 2000-06-23 Paul Eggert <eggert@twinsun.com>
5081 * mail/mailpost.el (post-mail-send-it): Make sure file has
5082 proper permissions from birth.
5084 * files.el (basic-save-buffer-2): When temporarily setting
5085 file modes, set them to current modes plus 0200, not to 0777.
5087 * emerge.el (emerge-make-temp-file): Make sure file has proper
5088 permissions from birth.
5090 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5092 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5093 backup file name through convert-standard-filename.
5095 * dos-fns.el (convert-standard-filename): Convert leading
5096 directories as well. When long file names are supported, convert
5097 characters that are invalid in Windows file names.
5099 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5101 * ps-print.el: Fix bug: if ^L is the very first buffer character,
5102 ps-print crashes. New feature: page selection for printing. Create
5103 raw-text-unix coding system for XEmacs. Doc fix.
5104 (ps-print-version): New version number (5.2.3).
5105 (ps-plot-region): Bug fix.
5106 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
5107 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
5108 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
5110 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
5111 (ps-last-page): New vars.
5113 2000-06-21 Gerd Moellmann <gerd@gnu.org>
5115 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
5116 empty option string.
5118 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
5120 * man.el (man): Doc fix.
5122 2000-06-21 Kenichi Handa <handa@etl.go.jp>
5124 * international/mule-cmds.el (set-language-info-alist): Docstring
5127 2000-06-20 Gerd Moellmann <gerd@gnu.org>
5129 * version.el (emacs-version): Use ISO date format.
5131 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
5132 instead of `M-backspace'.
5134 * simple.el (turn-off-auto-fill): New function.
5136 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
5138 * jit-lock.el (with-buffer-prepared-for-jit-lock):
5139 Renamed from with-buffer-prepared-for-font-lock and use
5140 inhibit-modification-hooks rather than setting *-change-functions.
5141 Update all functions to use the new name.
5142 (jit-lock-first-unfontify-pos): New semantics (and doc).
5143 (jit-lock-mode): Make non-interactive.
5144 Don't automatically turn on font-lock.
5145 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
5146 Always use jit-lock-after-change.
5147 Remove and restore font-lock-after-change-function.
5148 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
5149 (jit-lock-after-unfontify-buffer): Remove.
5150 (jit-lock-stealth-fontify):
5151 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
5152 (jit-lock-after-change): Set the `fontified' text-prop to nil.
5154 2000-06-20 Sam Steingold <sds@gnu.org>
5156 * emacs-lisp/cl-indent.el (toplevel): Indent
5157 `print-unreadable-object' properly. Untabify.
5159 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5161 * textmodes/reftex.el (reftex-find-citation-regexp-format):
5162 Support for bibentry.
5163 (reftex-compile-variables): Fixed problem with end of section-re.
5165 * texmodes/reftex-dcr.el (reftex-view-crossref,
5166 reftex-view-crossref-from-bibtex):
5167 Deal with changed `reftex-find-citation-regexp-format'.
5168 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
5169 Replaced `remprop' with `put'.
5170 (reftex-view-crossref, reftex-view-crossref-when-idle):
5171 Support for bibentry.
5173 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
5174 New entry for bibentry package.
5176 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
5177 Regexp also matches "\nobibliography".
5179 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
5180 Call `reftex-ensure-write-access' before doing anything.
5181 (reftex-ensure-write-access): New function.
5183 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5185 * progmodes/idlwave.el: File re-installed (update to version 4.2)
5187 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
5189 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
5191 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
5194 2000-06-20 Dave Love <fx@gnu.org>
5196 * faces.el (frame-background-mode): Use set-default, not set, in
5198 (frame-update-faces, frame-update-face-colors): Define with
5201 * enriched.el (enriched-decode-foreground)
5202 (enriched-decode-background): Don't use internal-find-face.
5204 * apropos.el: Doc fixes.
5206 * cus-edit.el (customize-changed-options): Check arg.
5207 (customize-version-lessp): Don't require decimal point.
5209 * custom.el (defcustom, defgroup): Doc fix.
5211 * newcomment.el (comment) <defgroup>: Add :version.
5212 (comment-multi-line): Doc fix.
5214 * emulation/mlsupport.el (define-hooked-local-abbrev,
5215 define-hooked-global-abbrev): Fix, using define-abbrev.
5217 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5219 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5222 2000-06-19 Dave Love <fx@gnu.org>
5224 * menu-bar.el (menu-bar-options-save): New function.
5225 (menu-bar-options-menu): Use it.
5226 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5229 2000-06-19 Andreas Schwab <schwab@suse.de>
5231 * progmodes/etags.el (tags-query-replace): Put new parameters
5232 START and END at the end, for backward compatibility.
5234 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5236 * international/codepage.el:
5237 (cp-coding-system-for-codepage-1): Delete special codes for
5238 generating xxx-dos coding system because now a CCL based coding
5239 system can handle EOL conversion by default.
5241 * international/mule.el (make-coding-system): Generate subsidiary
5242 coding systems for EOL handling variants even for a CCL based
5245 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5247 * international/isearch-x.el (isearch-minibuffer-input-method)
5248 (isearch-minibuffer-input-method-function): These variables
5250 (isearch-with-input-method): Don't use the above variables.
5251 (isearch-process-search-multibyte-characters): Likewise. Call
5252 read-string with the arg INHERIT-INPUT-METHOD t.
5254 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5256 * font-lock.el (font-lock-after-fontify-buffer)
5257 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5259 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5260 Use consistent make-local-variable style for font-lock-fontified.
5261 (jit-lock-fontify-buffer):
5262 Don't bother checking for font-lock-mode and jit-lock-mode.
5264 * time.el: Remove trailing ^M that prevent CVS-merging.
5266 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5268 * Makefile.in (distclean): New target.
5270 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5272 * Makefile.in (srcdir): Define for update-subdirs.
5274 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5276 * find-lisp.el: New file.
5278 2000-06-16 Andrew Innes <andrewi@gnu.org>
5280 * time.el (display-time-mail-function): New variable, to allow
5281 external packages to indicate when new mail is available.
5282 (display-time-update): Use it.
5284 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5286 * international/mule.el (mule-version): Change version name to
5287 SAKAKI. AOI has already been used by Meadow.
5289 * international/quail.el (quail-show-guidance-buf): To find the
5290 bottom window (but minibuffer), pay attention to the height of
5293 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5295 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5296 menu-bar menus. Add help strings. Don't remove the Edit menu
5297 from the menu bar, as the menu bar has enough space now.
5299 * Makefile.in (SHELL): Make sure /bin/sh is used.
5301 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5302 characters, which use series of two ^H characters instead of one.
5304 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5306 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5307 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5309 (Info-find-node-2): Try a case-sensitive search first, then
5310 do a case-insensitive search.
5312 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5315 * complete.el (PC-env-vars-alist): New variable.
5316 (PC-complete-as-file-name): New function.
5317 (partial-completion-mode): Initialize PC-env-vars-alist from
5318 process-environment.
5319 (PC-do-completion): Handle completion of env vars.
5321 * info.el (Info-set-mode-line): Show file name in mode line,
5322 use `*Info*' instead of `Info:'.
5324 * startup.el (command-line-1): Change copyright messages to year
5327 2000-06-15 Dave Love <fx@gnu.org>
5329 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5332 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5334 * international/mule.el (set-buffer-file-coding-system): Almost
5335 rewritten to handle `undecided' as no-op.
5337 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5339 * Makefile.in: New file.
5341 * Makefile: Removed.
5343 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5344 (goto-address-highlight-keymap): Bind C-c RET.
5346 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5348 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5349 inherits buffer-file-coding-system of the current buffer.
5351 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5352 0. Give correct argument to set-auto-coding-function.
5353 (tar-expunge): For goto-char, use (point-min), not 0.
5354 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5355 (tar-subfile-save-buffer): Likewize.
5357 * international/mule.el
5358 (after-insert-file-set-buffer-file-coding-system): Call
5359 set-buffer-file-coding-system with the arg FORCE t.
5361 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5363 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5364 nil. Contemporary sendmails issue an X-Authentication-Warning if
5365 the sender is set with `-f'.
5367 2000-06-13 Dave Love <fx@gnu.org>
5369 * help.el (describe-function-1): Kluge around cases of functions
5370 fset to subrs whose doc doesn't match their symbol-name.
5372 * image.el (insert-image): Default STRING to a space.
5374 * info.el Doc fixes.
5375 (Info-build-node-completions): Match Ref tags.
5377 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5379 * frame.el (display-multi-frame-p, display-multi-font-p): New
5380 defaliases for display-graphic-p.
5382 * hl-line.el: Fixed a typo in commentary.
5384 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5386 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5389 2000-06-12 Dave Love <fx@gnu.org>
5391 * image.el (insert-image): Save a little consing.
5393 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5395 * language/tibet-util.el: Convert all tibetan-1-column characters
5396 to the corresponding tibetan characters.
5397 (tibetan-add-components): Delete code for the special treatment of
5400 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5402 (tibetan-vowel-transcription-alist): More rules added.
5403 (tibetan-composite-vowel-alist): New variable.
5404 (tibetan-precomposition-rule-alist): More rules added.
5406 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5408 * startup.el (command-line): Only call menu-bar-mode if interactive.
5410 * thingatpt.el (toplevel symbol-properties):
5411 * textmodes/makeinfo.el (makeinfo-compile):
5412 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5413 * progmodes/hideif.el (hif-compress-define-list)
5414 (hide-ifdef-use-define-alist):
5415 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5416 (ange-ftp-vms-add-file-entry):
5417 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5418 * man.el (Man-build-man-command):
5419 * mail/rnewspost.el (news-reply-header-hook):
5420 * info.el (Info-insert-dir):
5421 * emulation/mlconvert.el (backward-word, forward-word, setq):
5422 * emacs-lisp/gulp.el (gulp-send-requests):
5423 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5424 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5425 (byte-optimize-apply, end of file):
5426 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5427 (ad-make-freeze-definition):
5428 * startup.el (command-line, command-line-1): Don't quote lambdas.
5430 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5431 (cvs-cleanup-removed): New function.
5432 (cvs-cleanup-functions): New var.
5433 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5434 some flexibility in specifying additional entries to auto-cleanup.
5435 (cvs-quickdir): New function.
5436 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
5437 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
5438 (cvs-mode-find-file): Check that we are on a filename or dirname
5439 when invoked through a mouse-click.
5440 (cvs-full-path): Remove.
5441 (cvs-dired-action): Re-introduced.
5442 (cvs-dired-noselect): Use it.
5443 (vc-post-command-functions): use this new hook if available.
5445 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
5446 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
5447 (cvs-filename-map, cvs-dirname-map): Remove.
5448 (cvs-default-action): Remove.
5449 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
5450 if the arg is really a keymap.
5451 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
5452 Don't hardcode the mapping from state (aka type) to face, but check
5453 the var cvs-fi-<type>-face instead.
5454 (cvs-fileinfo-from-entries): New function.
5456 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
5458 (cvs-find-file-and-jump): Change default to be safer.
5459 (cvs-mode-diff-map): Define it as a function as well.
5460 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
5461 Bind mouse-2 in this global map rather than with text-properties.
5463 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
5464 file to resolve the ambiguity between C(conflict) and C(need-merge).
5466 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5468 * international/mule.el (set-buffer-file-coding-system): If
5469 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
5472 2000-06-12 Dave Love <fx@gnu.org>
5474 * wid-edit.el (widget-specify-button): Really suppress the face if
5477 2000-06-11 Gerd Moellmann <gerd@gnu.org>
5479 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
5481 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
5483 * imenu.el (imenu-generic-expression): Docstring fix.
5485 * composite.el (composition-function-table): Move the `put'
5486 below the autoload cookie so we can load the file before loaddefs.
5488 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
5490 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
5491 Handle easy-mmode-define-global-mode.
5492 For complex macros like define-minor-mode that can generate
5493 several autoload entries, try to autoload entries in the
5496 * emacs-lisp/easy-mmode.el (define-minor-mode):
5497 If KEYMAP is a symbol, just use it.
5498 Use byte-compile-current-file and load-file-name to infer the
5499 proper :require to pass to defcustom.
5500 Wrap the hook var into `progn' so as not to autoload it.
5501 Add a :autoload-end cookie.
5502 Be more careful about the evaluation of KEYMAP.
5503 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
5504 (define-derived-mode): Move define-abbrev-table outside of defvar.
5506 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
5508 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
5509 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
5510 (backup-compiled-files): Ignore errors during `tar'.
5511 (bootstrap): Make autoloads before elc files.
5513 2000-06-10 Kenichi Handa <handa@etl.go.jp>
5515 * international/mule.el (set-buffer-file-coding-system): If one of
5516 undecided-XXX is specified, change only EOL conversion.
5518 * international/mule-conf.el (unix): New alias for the coding
5519 system undecided-unix.
5521 2000-06-09 Dave Love <fx@gnu.org>
5523 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
5525 * progmodes/executable.el: Byte compile dynamic.
5526 (executable-insert): Change custom type.
5527 (executable-find): Add autoload cookie.
5528 (executable-make-buffer-file-executable-if-script-p): New
5529 function. After Noah Friedman.
5531 * files.el (after-save-hook): Customize, with
5532 executable-make-buffer-file-executable-if-script-p as an option.
5534 2000-06-09 Kenichi Handa <handa@etl.go.jp>
5536 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
5537 "tib24p-mule.bdf" for Tibetan.
5539 * composite.el (decompose-composite-char): Declare it as obsolete.
5541 * man.el (Man-fontify-manpage): Pay attention to underline and
5542 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
5544 2000-06-08 Gerd Moellmann <gerd@gnu.org>
5546 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
5547 Set maintainer to FSF since author isn't reachable.
5549 2000-06-08 Dave Love <fx@gnu.org>
5551 * international/mule-cmds.el (select-safe-coding-system): If
5552 DEFAULT-CODING-SYSTEM is not specified, also check the most
5553 preferred coding-system if buffer-file-coding-system is
5554 `undecided'. From Handa.
5556 2000-06-08 Kenichi Handa <handa@etl.go.jp>
5558 * international/mule.el
5559 (after-insert-file-set-buffer-file-coding-system): If the buffer
5560 size is greater than INSERTED, judget that we are not visiting.
5562 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
5564 * whitespace.el (defgroup whitespace): Comment out `:version'.
5565 XEmacs 20.4 has problems defining the group with this present.
5566 We'll have this commented out till get resolve the problem.
5568 2000-06-07 Gerd Moellmann <gerd@gnu.org>
5570 * align.el: Update from author.
5572 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
5574 * apropos.el (apropos-mode-hook): New user variable.
5575 (apropos-mode): Run apropos-mode-hook.
5577 2000-06-07 David Ponce <david@dponce.com>
5579 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
5580 commands. Require `wid-edit' at run-time.
5582 2000-06-07 David Ponce <david@dponce.com>
5584 * recentf.el: Added some "Commentary".
5585 (recentf-open-more-files, recentf-edit-list): Minor changes to
5586 move the point at the top of the file list. This behaviour is
5587 consistent with the menu one when the list contains a lot of
5589 (recentf-cleanup): Now displays the number of items removed from
5591 (recentf-relative-filter) New menu filter to show filenames
5592 relative to `default-directory'.
5594 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5596 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
5597 with/without giving an error if PostScript printer doesn't have this
5598 kind of page size. Zebra Stripe continues or restarts on next page.
5599 Manual/automatic paper feeding. Switch or not the header.
5600 (ps-print-version): New version number (5.2.2).
5601 (ps-windows-system): Include emx as a Windows system.
5602 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
5603 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
5604 (ps-background-text): Code fix.
5605 (ps-error-handler-message, ps-user-defined-prologue)
5606 (ps-print-prologue-header, ps-printer-name)
5607 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
5608 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
5609 (ps-use-face-background): Customization fix.
5610 (ps-n-up-database): Data fix.
5611 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
5612 (ps-switch-header): New vars.
5613 (ps-xemacs-color-name, ps-face-foreground-name)
5614 (ps-face-background-name, ps-boolean-constant): New funs.
5616 2000-06-07 Dave Love <fx@gnu.org>
5618 * allout.el: New version from Manheimer.
5620 2000-06-07 Kenichi Handa <handa@etl.go.jp>
5622 * textmodes/fill.el (fill-find-break-point): Check the validity of
5625 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5627 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5628 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5629 Call display-color-p and display-mouse-p instead of looking at
5632 2000-06-06 Dave Love <fx@gnu.org>
5634 * image.el (find-image): Doc fix. Return nil if image not found.
5635 (put-image, insert-image): Make STRING arg optional.
5637 2000-06-06 Kenichi Handa <handa@etl.go.jp>
5639 * language/vietnamese.el: Remove eval-when-compile.
5640 (viet-viscii-nonascii-translation-table): Define it as a
5641 translation table made from viet-viscii-decode-table.
5642 (viet-viscii-encode-table): Define it as a translation table made
5643 from the reverse map of above.
5644 (viet-vscii-nonascii-translation-table): Define it as a
5645 translation table made from viet-vscii-decode-table.
5646 (viet-vscii-encode-table): Define it as a translation table made
5647 from the reverse map of above.
5648 (ccl-decode-viscii): Use translate-character.
5649 (ccl-encode-viscii, ccl-encode-viscii-font)
5650 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
5653 * language/cyrillic.el: Remove eval-when-compile.
5654 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
5655 translation table made from cyrillic-koi8-r-decode-table.
5656 (cyrillic-koi8-r-encode-table): Define it as a translation table
5657 made from the reverse map of above.
5658 (ccl-decode-koi8): Use translate-character.
5659 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
5660 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
5661 a translation table made from cyrillic-alternativnyj-decode-table.
5662 (cyrillic-alternativnyj-encode-table): Define it as a translation
5663 table made from the reverse map of above.
5664 (ccl-decode-alternativnyj): Use translate-character.
5665 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
5668 * international/mule-diag.el (non-iso-charset-alist): Specify
5669 translation table symbol instead of translation table itself.
5670 (list-block-of-chars): CHARSET may be a translation table symbol.
5672 * international/mule.el (make-coding-system): If CODING-SYSTEM
5673 already exists, override it.
5675 * international/fontset.el: Use family `proportional' for Tibetan
5678 * international/ccl.el (ccl-compile-translate-character): Don't
5679 check if Rrr has property translation-table.
5680 (ccl-compile-map-multiple): Modified to avoid compiler warning.
5682 2000-06-05 Gerd Moellmann <gerd@gnu.org>
5684 * info.el: Bind case-fold-search to t when searching in case
5685 a user sets it to nil in a hook.
5687 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
5689 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5690 * hl-line.el (hl-line-mode): Use the new :global key argument.
5692 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
5693 (tar-clip-time-string): Prepend a space.
5694 (tar-grind-file-mode): Construct a string rather than modifying one.
5695 (tar-header-block-summarize): Fix docstring.
5696 Use `format' rather than an error-prone set of copy-loops.
5698 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
5699 (diff-goto-source, diff-unified->context, diff-context->unified)
5700 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
5701 understand the format output by the `-p' argument to diff.
5703 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
5704 (sh-re-done): Use defconst.
5705 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
5706 (sh-help-string-for-variable, sh-guess-basic-offset):
5707 Don't quote lambdas.
5708 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
5709 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
5711 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
5712 (mh-letter-mode): Derive from text-mode.
5713 This implicitly means that it now calls kill-all-local-variables.
5714 Also remove the Emacs-18 compatibility code.
5716 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
5717 Make use of symbol-property doc-string-elt.
5718 Use memq rather than a sequence of eq.
5719 (doc-string-elt): Fix the wrong or missing previously unused values.
5720 (autoload-print-form): New function extracted from
5721 generate-file-autoloads to allow recursion when handling progn
5722 so that defvar's and defun's docstrings are properly printed.
5723 (generate-file-autoloads): Use it.
5725 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
5726 Use find-file-hooks in the minor-mode function.
5727 Be careful not to loop indefinitely in the post-command-hook function.
5729 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
5731 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
5733 * ediff-diff.el (ediff-exec-process): Use --binary for fine
5734 differences whenever appropriate.
5735 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
5736 * viper.el (find-file, find-file-other-window): Get viper to do
5739 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
5741 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
5742 (jit-lock-fontify-buffer): New function for JIT refontification.
5743 (jit-lock-mode): Fix docstring.
5744 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
5745 Remove jit-lock-after-change from the _local_ hook.
5746 (jit-lock-function-1): Fix docstring.
5748 * info.el (Info-on-current-buffer): Initialize info.
5750 * newcomment.el (comment-indent): Ignore comment-indent-hook.
5752 * progmodes/tcl.el (tcl-indent-for-comment):
5753 Ignore comment-indent-hook.
5755 * emacs-lisp/easy-mmode.el: Require CL during compilation.
5756 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
5757 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
5758 and improve to use the lighter to guess the capitalization.
5759 (define-minor-mode): Inline code from easy-mmode-define-toggle.
5760 Add keyword arguments to specify global-ness or the custom group.
5761 Add local-map and help-echo properties to the lighter.
5762 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
5763 (easy-mmode-define-global-mode): New macro.
5765 2000-06-02 Dave Love <fx@gnu.org>
5767 * wid-edit.el: byte-compile-dynamic since we typically don't use
5768 all the widgets. Don't require cl or widget. Remove
5769 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
5770 (widget-read-event): Removed. Callers changed to use read-event.
5771 (widget-button-release-event-p): Renamed from
5772 button-release-event-p.
5773 (widget-field-add-space, widget-field-use-before-change):
5775 (widget-specify-field): Use keymap property, not local-map.
5776 (widget-specify-button): Obey :suppress-face.
5777 (widget-specify-insert): Use modern backquote syntax.
5778 (widget-image-directory): Renamed from widget-glyph-directory.
5779 (widget-image-enable): Renamed from widget-glyph-enable.
5780 (widget-image-find): Replaces widget-glyph-find.
5781 (widget-button-pressed-face): Move defvar.
5782 (widget-image-insert): Replaces widget-glyph-insert.
5783 (widget-convert): Use keywordp.
5784 (widget-leave-text, widget-children-value-delete): Use mapc.
5785 (widget-keymap): Remove XEmacs stuff.
5786 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
5787 (widget-button-click): Don't set point at the click, but re-centre
5788 if we scroll out of window. Rewritten for images v. glyphs &c.
5789 (widget-tabable-at): Use POS arg, not point.
5790 (widget-beginning-of-line, widget-end-of-line)
5791 (widget-item-value-create, widget-sublist, widget-princ-to-string)
5792 (widget-sexp-prompt-value, widget-echo-help): Simplify.
5793 (widget-default-create): Use widget-image-insert; some rewriting.
5794 (widget-visibility-value-create)
5795 (widget-push-button-value-create, widget-toggle-value-create): Use
5796 widget-image-insert.
5797 (checkbox): Create on and off images dynamically.
5798 (documentation-link): Change :help-echo.
5799 (widget-documentation-link-echo-help): Remove.
5801 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
5803 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
5805 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
5806 (easy-mmode-define-toggle, define-minor-mode): Use it.
5807 (easy-mmode-define-keymap): Docstring fix.
5808 (define-derived-mode): Default PARENT to fundamental-mode.
5809 Add the derived-mode-parent symbol-property.
5810 (easy-mmode-derived-mode-p): New function.
5812 2000-06-02 Dave Love <fx@gnu.org>
5814 * files.el (convert-standard-filename): Doc fix.
5815 (normal-backup-enable-predicate): New function.
5816 (backup-enable-predicate): Use it to replace the lambda form.
5818 * calendar/todo-mode.el: [This needs more work on the outline
5820 (todo) <defgroup>: Add :version.
5821 (todo-add-category): Don't use pushnew.
5822 (todo-cmd-raise): Fix typo.
5823 (todo-top-priorities): Change temp buffer name.
5824 (todo-category-alist): Avoid redundant lambda.
5825 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
5826 Use outline-next-heading.
5828 * autoarg.el: Rewritten to use define-minor-mode.
5829 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
5830 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
5832 2000-06-02 Kenichi Handa <handa@etl.go.jp>
5834 * isearch.el (isearch-other-meta-char): Fix previous change.
5836 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5838 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
5839 (log-edit-done): Only add the comment to the ring if it's different
5840 from the last comment entered.
5842 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
5844 2000-06-01 Dave Love <fx@gnu.org>
5846 * hl-line.el: Rewritten using define-minor-mode.
5848 * help.el (describe-function-1): Distinguish special form from
5849 builtin function. Sanity-check presence of arglist for builtins.
5851 2000-06-01 Kenichi Handa <handa@etl.go.jp>
5853 * international/characters.el: Fix syntax/category setting of
5856 * language/tibet-util.el (tibetan-add-components): Fixes for new
5857 encoding of Tibetan characters.
5858 (tibetan-decompose-precomposition-alist): New variable.
5859 (tibetan-decompose-region): Convert precomposed characters to
5860 non-precomposed characters.
5861 (tibetan-decompose-string): Likewise.
5862 (tibetan-composition-function): Fix args to
5863 thibetan-compose-string.
5865 * language/tibetan.el (tibetan-composable-pattern): More
5866 characters included.
5867 (tibetan-consonant-transcription-alist): Rule for "R" added.
5868 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
5870 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
5872 * language/lao-util.el (lao-composition-function): Fix args to
5875 * language/thai-util.el (thai-composition-function): Fix args to
5878 * isearch.el (isearch-update): Set disable-point-adjustment to t
5879 to prevent the point moving to the end of a composition when a
5880 part of a composition is searched.
5881 (isearch-other-meta-char): If the key invoking this command can be
5882 mapped by function-key-map to a printing char, call
5883 isearch-process-search-char directly.
5885 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5887 * emacs-lisp/bytecomp.el:
5889 * international/mule-cmds.el:
5890 * international/mule-util.el:
5891 * international/mule.el:
5894 * faces.el: Update calls to make-obsolete with a WHEN argument.
5896 * byte-run.el (make-obsolete, make-obsolete-variable):
5897 Add an optional WHEN argument and change the format of the
5898 symbol-property information.
5899 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
5900 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
5901 new obsolete-symbol-property format and print WHEN if it is provided.
5903 2000-05-31 Dave Love <fx@gnu.org>
5905 * loadhist.el (loadhist-hook-functions): Remove
5906 before-change-function, after-change-function.
5907 (unload-feature): Deal with symbols which are both bound and
5910 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
5911 before-change-function, after-change-function.
5913 * simple.el (newline): Don't bind before-change-function,
5914 after-change-function.
5916 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
5918 * whitespace.el (whitespace-rescan-timer-time): Update interval
5919 set to 600 seconds (10 minutes) instead of 60 seconds since
5920 a large number of whitespace buffers causes emacs to `freeze'
5921 for a considerable amount of time.
5923 * whitespace.el: Updated email address
5925 2000-05-31 Dave Love <fx@gnu.org>
5927 * add-log.el (change-log-font-lock-keywords) <function>: Add
5928 pattern for function of change.
5929 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
5930 acknowledgements patterns.
5932 2000-05-31 Kenichi Handa <handa@etl.go.jp>
5934 * isearch.el (isearch-printing-char): If keyboard coding system is
5935 being used, call isearch-process-search-multibyte-characters.
5937 * international/isearch-x.el: Mostly rewritten.
5939 * international/quail.el (quail-start-conversion): Don't include
5940 unhandled events in the returned events, but set them in
5941 unread-command-events. Exit if all inputs are deleted.
5943 2000-05-30 Jason Rumney <jasonr@gnu.org>
5945 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
5947 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
5948 Reenable code to create initial fontsets.
5949 Use set-fontset-font in place of put-charset-property.
5951 2000-05-30 Gerd Moellmann <gerd@gnu.org>
5953 * progmodes/perl-mode.el (perl-indent-line): When looking for a
5954 label, ensure that the first colon isn't followed by another.
5956 * paths.el (Info-default-directory-list): Doc fix.
5958 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
5959 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
5960 send a query containing USER only, not USER@HOST.
5962 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
5963 and rmail-msgend to compute the restriction at the end, instead of
5966 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5968 * dabbrev.el (dabbrev-expand): Don't display messages in the
5969 echo area if the minibuffer window is active.
5971 * jit-lock.el (jit-lock-mode): Add after change function to
5974 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
5976 * antlr-mode.el: New commands: hide/unhide actions,
5977 upcase/downcase literals.
5978 (antlr-tiny-action-length): New user option.
5979 (antlr-hide-actions): New command. Suggested by
5980 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
5981 (antlr-mode-map): New binding [C-c C-v].
5982 (antlr-mode-menu): New entries.
5983 (antlr-downcase-literals): New command.
5984 (antlr-upcase-literals): Ditto.
5986 * antlr-mode.el: Minor changes: indendation, mode-name.
5987 (antlr-indent-line): Indent cpp directive at column 0.
5988 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
5990 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
5991 (antlr-font-lock-additional-keywords): Workaround for intentional
5992 bug in XEmacs version of font-lock.
5993 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
5994 be used by a smarter version of `buffers-menu-grouping-function'.
5996 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5998 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
5999 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
6001 2000-05-29 Kenichi Handa <handa@etl.go.jp>
6003 * international/encoded-kb.el
6004 (encoded-kbd-iso2022-designation-map): Pay attention to that
6005 charset-iso-final-char return -1 for eight-bit-control and
6008 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6010 * speedbar.el (speedbar-use-images, speedbar-update-flag)
6011 (speedbar-easymenu-definition-base): Use display-graphic-p where
6012 available, instead of window-system.
6014 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6016 * international/codepage.el (cp-coding-system-for-codepage-1): Add
6017 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
6020 2000-05-26 Dave Love <fx@gnu.org>
6022 * disp-table.el (standard-display-underline): Don't use
6025 * mail/reporter.el: Maintainer change. Doc fixes.
6026 (reporter-version): Deleted.
6028 * emacs-lisp/elp.el: Maintainer change.
6029 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
6031 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
6033 * add-log.el (add-change-log-entry): Merge the current entry with the
6034 previous one if the previous one is empty.
6036 2000-05-26 Dave Love <fx@gnu.org>
6038 * loadhist.el (unload-feature): Fix interactive spec [from
6039 lijnzaad@ebi.ac.uk].
6041 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
6042 subr-arity to check primitives.
6043 (byte-compile-flush-pending, byte-compile-file-form-progn)
6044 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
6045 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
6048 2000-05-26 Kenichi Handa <handa@etl.go.jp>
6050 * international/fontset.el: Set family names of non-latin charsets
6051 in default fontset to "*".
6053 * international/mule-diag.el (print-fontset): Combine family part
6054 and registry part of the fontname by "-*-" instead of "-".
6056 * international/mule-cmds.el (encode-coding-char): Make strings
6057 multibyte before calling encode-coding-string.
6059 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6061 * derived.el: Fix keywords.
6062 (define-derived-mode): Only define if needed.
6064 * simple.el (fill-comment, comment-column, comment-start)
6065 (comment-start-skip, comment-end, comment-indent-function)
6066 (block-comment-start, block-comment-end, indent-for-comment)
6067 (set-comment-column, kill-comment, comment-padding, comment-region)
6068 (comment-multi-line, indent-new-comment-line): Remove.
6070 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6071 function names for comment operations.
6073 * newcomment.el: Add abundant autoload cookies.
6074 (comment-style): Don't depend on runtime data at compile-time.
6075 (comment-indent-hook): Remove.
6076 (comment-indent): Check if comment-indent-hook is bound.
6077 (comment-region): Docstring fix.
6079 2000-05-25 Dave Love <fx@gnu.org>
6081 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6082 byte-code-function-p.
6084 * mail/rmailsum.el: Add provide.
6086 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6088 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6091 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6093 * ediff-diff.el (ediff-exec-process): delete --binary option from
6094 non-buffer ediff jobs.
6096 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6098 * hilit-chg.el (highlight-changes-mode): Ask about color or
6099 grayscale support, not about window-system.
6101 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
6103 (ffap-highlight): Always default to t.
6105 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
6106 display-popup-menus-p instead of looking at window-system.
6108 * disp-table.el (standard-display-g1, standard-display-graphic):
6109 Only refuse to use string glyphs on X and MS-Windows.
6111 * avoid.el: Remove window-system from commentary, suggest to use
6112 display-*-p instead.
6114 * apropos.el (apropos-print): Use display-mouse-p instead of
6117 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6119 * international/codepage.el (cp-decoding-vector-for-codepage):
6120 Fill up unsupported characters with their own codes. From Kenichi
6123 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6125 * international/mule-diag.el (describe-char-after): Use
6126 display-graphic-p instead of window-system, so that this function
6129 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6131 * international/codepage.el (cp-make-coding-systems-for-codepage):
6132 Remove the eight-bit-graphic and eight-bit-control charsets from
6133 the list of charsets which we convert into `?'.
6135 2000-05-25 Kenichi Handa <handa@etl.go.jp>
6137 * international/mule-conf.el: Specify CHARSET-ID explicitely for
6139 (mule-unicode-0100-24ff, japanese-jisx0213-1,
6140 japanese-jisx0213-2): New charsets.
6142 * international/fontset.el: Setup default fontset for new charsets.
6144 2000-05-24 Dave Love <fx@gnu.org>
6146 * info.el (Info-find-node-2): Restructure [following "Vadim
6147 S. Solomin" <sovs@uic.nnov.ru>].
6149 * icomplete.el: Fix header for Finder.
6151 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
6153 * rmailout.el (rmail-output-to-rmail-file): Added optional param
6156 * rmail.el (rmail-automatic-folder-directives): New user variable.
6157 (rmail-show-message): Add call to `rmail-auto-file' during
6159 (rmail-auto-file): New function.
6161 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6163 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
6165 (ediff-test-utility,ediff-diff-mandatory-option)
6166 (ediff-reset-diff-options): Utilities for proper initialization of
6167 ediff-diff-options and ediff-diff3-options on Windows.
6169 * ediff-init.el (ediff-merge-filename-prefix): New customizable
6172 * ediff-mult.el (ediff-filegroup-action): Use
6173 ediff-merge-filename-prefix.
6175 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6177 * viper-ex.el (ex-write): Set selective display to nil.
6179 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6181 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
6182 aliases for hebrew-iso-8bit.
6184 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6186 * woman.el: New version from Francis J. Wright
6187 <F.J.Wright@Maths.QMW.ac.uk>.
6188 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
6189 names in environment variables regardless of the path separator.
6190 (woman-topic-all-completions-1): Don't call file-name-directory-p
6191 on all files, since woman-file-regexp already filters out any
6194 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6196 * international/quail.el (quail-start-translation): Don't change
6197 modified-p of the current buffer.
6198 (quail-start-conversion): Likewise.
6200 * international/kkc.el (kkc-region): Don't change modified-p of
6203 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6205 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6207 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6209 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6210 (speedbar-insert-button): Invisible text property fix.
6211 (speedbar-directory-plus): Renamed from speedbar-directory-+
6212 (speedbar-directory-minus): Renamed from speedbar-directory--
6213 (speedbar-page-plus): Renamed from speedbar-file-+
6214 (speedbar-page-minus): Renamed from speedbar-file--
6215 (speedbar-page): Renamed from speedbar-file-
6216 (speedbar-tag): Renamed from speedbar-tag-
6217 (speedbar-tag-plus): Renamed from speedbar-tag-+
6218 (speedbar-tag-minus): Renamed from speedbar-tag--
6219 (speedbar-expand-image-button-alist): Use above renames.
6221 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6222 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6223 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6224 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6225 * sb-pg.xpm: Renamed from sb-file.xpm
6226 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6227 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6229 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6231 * international/quail.el (quail-show-guidance-buf): Set
6232 current-input-method of the guidance buffer to the name of the
6233 curren input method.
6235 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6237 * progmodes/compile.el (compile-internal): Style typo.
6239 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6240 quote vars and functions in the docstring.
6242 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6244 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6245 Don't quote lambdas.
6247 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6249 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6251 * startup.el (command-line): Determine source file of compiled
6252 user init file differently. Warn if compiled user init file
6253 is older than its source file.
6255 * ffap.el (ffap-url-regexp): Add `https'.
6257 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6259 * files.el (make-backup-file-name-1): Replace slashes with `!'
6260 rather than `|' (which is not allowed on Windows). Replace the
6261 drive letters with a string "drive_X".
6263 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6265 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6267 * files.el (interpreter-mode-alist): Add `bash2'.
6269 2000-05-22 Dave Love <fx@gnu.org>
6271 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6273 (feature-file): Avoid calling symbol-name. Doc fix.
6274 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6275 (loadhist-hook-functions): Add mouse-position-function.
6276 (unload-feature): Change uses of mapcar.
6278 * files.el (parse-colon-path): Doc fix.
6279 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6280 (set-auto-mode): Use mapc.
6282 * complete.el (PC-look-for-include-file): Use :alnum: character
6284 (partial-completion-mode): Add autoload cookie.
6286 2000-05-22 Sam Steingold <sds@gnu.org>
6288 * info.el (Info-fontify-node): Fixed the call to
6289 `add-text-properties' (bug introduced on 2000-05-18).
6291 2000-05-22 Dave Love <fx@gnu.org>
6293 * bindings.el: Remove debug-ignored-errors set in other files.
6295 * progmodes/etags.el: Add to debug-ignored-errors.
6296 (visit-tags-table-buffer): Clear out buffers holding old tables
6297 when making a new list.
6298 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6301 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6303 (cmpl-string-case-type): Use character classes.
6306 * textmodes/ispell.el:
6309 * progmodes/compile.el: Add to debug-ignored-errors.
6311 * dabbrev.el: Add to debug-ignored-errors.
6312 (dabbrev-completion): Use mapc.
6314 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6316 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6317 (woman-mapcan, woman-parse-man.conf)
6318 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6319 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6320 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6322 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6323 (woman-manpath): Call woman-parse-man.conf.
6324 (woman-emulation): New defcustom, defaults to nroff.
6325 (woman-font-support): New defconst.
6326 (woman-use-symbol-font): New defcustom.
6327 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6329 Many functions: Doc fix.
6331 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6333 * international/quail.el (quail-simple-translation-keymap): Map
6334 128..255 to quail-self-insert-command.
6335 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6337 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6339 * help.el (help-manyarg-func-alist): Typo.
6341 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6342 intervals which makes it heaps simpler.
6344 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6345 the nested comment markers.
6347 * subr.el (remove-hook): Don't turn the hook's value into a list.
6349 2000-05-21 Dave Love <fx@gnu.org>
6351 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6352 are invalid characters.
6354 * international/mule-util.el (detect-coding-with-priority): Use
6355 mapc. Remove redundant lambda.
6357 * international/mule-diag.el (list-non-iso-charset-chars)
6358 (describe-fontset): Remove redundant lambda.
6360 * emulation/crisp.el (brief-mode): New alias.
6362 * emacs-lisp/ring.el (ring-elements): New function.
6364 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6365 (easy-menu-do-add-item): Use keywordp.
6367 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6369 * replace.el: Doc and error message fixes.
6370 (replace-highlight): Use facep, not internal-find-face.
6372 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6374 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6376 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6377 (log-edit-insert-changelog): Drop `:' as well.
6379 * log-view.el: Fix file description.
6380 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6382 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6383 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6385 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6386 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6387 Print a status message if the toggle is called interactively.
6388 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6389 for global minor modes and use `defcustom' for them.
6391 (easy-mmode-define-derived-mode): Remove.
6392 (define-derived-mode): Fancier default docstring.
6393 (easy-mmode-define-navigation): Signal an error rather than (ding).
6395 * newcomment.el (comment-styles): New `box-multi'.
6396 (comment-normalize-vars): Better default for comment-continue to
6397 avoid whitespace-only continuations.
6398 (comment-search-forward): Always move even in the no-syntax case.
6399 (comment-padright): Only obey N if it's only obeyed for padleft.
6400 (comment-make-extra-lines): Better handling of empty continuations.
6401 Use `=' for the filler if comment-start has only one character.
6402 (uncomment-region): Try handling the special `=' filler.
6403 (comment-region): Allow LINES even if MULTI is nil.
6404 (comment-box): Choose box style based on comment-style.
6406 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6408 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6409 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6411 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6413 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6414 and insert, not subst-char-in-region.
6416 * international/mule-diag.el (list-character-sets-1): Handle
6417 charsets eight-bit-control and eight-bit-graphic.
6418 (list-iso-charset-chars): Likewise.
6419 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6420 charactes as is. Use indent-to to align characters.
6422 * international/mule-cmds.el (find-multibyte-characters): Never
6423 exclude charsets eight-bit-control and eight-bit-graphic.
6425 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6427 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6428 Don't quote lambdas.
6430 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6432 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6434 * gud.el (gud-jdb-directories): Doc fix.
6436 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6438 * newcomment.el: New file.
6440 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6442 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
6444 2000-05-18 Andreas Schwab <schwab@suse.de>
6446 * dired.el (dired-between-files): Also skip lines beginning with
6449 2000-05-18 Gerd Moellmann <gerd@gnu.org>
6451 * msb.el (msb-menu-cond): Add choice `user'.
6453 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6455 * ps-print.el: Compatibility, customization and doc fix.
6456 (ps-printer-name-option): Replace defconst by defvar.
6457 (ps-postscript-code-directory): XEmacs compatibility.
6458 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
6460 (ps-user-defined-prologue, ps-print-prologue-header)
6461 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
6462 compatibility and code fix.
6463 (ps-print-background-image, ps-print-background-text):
6465 (ps-line-number-start, ps-n-up-on): New vars.
6467 2000-05-18 Espen Skoglund <esk@ira.uka.de>
6469 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
6470 the indent-comment function to just return the appropriate indent.
6472 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
6474 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
6475 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
6476 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
6478 2000-05-18 Dave Love <fx@gnu.org>
6480 * info.el (Info-fontify-node): Add intangible property as well as
6483 * calendar/appt.el (appt-make-list): Match all lines of entry.
6484 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
6486 2000-05-18 Kenichi Handa <handa@etl.go.jp>
6488 * international/mule-diag.el (describe-char-after): Call
6489 internal-char-font, not char-font. If internal-char-font returns
6490 nil, display "-- none --".
6492 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6494 * image.el (image-type-available-p): Don't reference image-types
6497 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
6499 * autoarg.el (autoarg-mode): Typo in the :set argument.
6501 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6503 * startup.el (command-line-1): Don't signal an error if the
6504 directory for auto-save-list files does not yet exist.
6506 2000-05-17 Kenichi Handa <handa@etl.go.jp>
6508 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
6510 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
6512 * subr.el (remove-hook): `setq' hook-value, not `set'.
6514 2000-05-16 Sam Steingold <sds@gnu.org>
6516 * info.el (debug-ignored-errors): More errors to ignore.
6518 2000-05-16 Dave Love <fx@gnu.org>
6520 * cus-edit.el: Don't require cl or easymenu.
6521 (custom-variable-prompt): Test standard-value property, not
6524 2000-05-16 Sam Steingold <sds@gnu.org>
6526 * subr.el (add-hook): `setq' hook-value, not `set'.
6528 2000-05-16 Gerd Moellmann <gerd@gnu.org>
6530 * startup.el (command-line-1): Mention the FAQ in the startup
6533 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
6535 * progmodes/compile.el (compilation-parse-errors): Collect
6536 `nomessage' regexps last.
6538 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
6540 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
6541 to the function name.
6543 2000-05-15 Dave Love <fx@gnu.org>
6545 * speedbar.el (speedbar-recenter): Typo.
6546 (speedbar-expand-line): Make arg optional.
6547 (speedbar-mode): Avoid a compiler warning.
6549 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6551 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
6552 user-specified option string is empty.
6554 * mouse.el (mouse-yank-at-click): Doc fix.
6556 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
6558 * term/internal.el (IT-character-translations): More updates of
6559 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
6562 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6564 * env.el (getenv): New function, interactively callable.
6565 (setenv, getenv): Remove autoload cookies.
6567 * loadup.el: Load `env'.
6569 * progmodes/f90.el: Change author's mail address.
6571 2000-05-14 Dave Love <fx@gnu.org>
6573 * mail/rmail.el (rmail-show-message-hook): Customize and offer
6574 goto-addr as an option.
6576 * help.el (help-xref-stack): Doc fix.
6577 (help-xref-following): New variable.
6578 (help-make-xrefs): Use it.
6579 (help-xref-go-back): Use position information from stack element.
6580 (help-follow): Make position in stack element a pair. Use
6581 help-xref-following.
6583 * autoarg.el: New file.
6585 * faces.el: Declare more functions obsolete.
6587 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
6588 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
6589 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
6590 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
6591 Remove all the setup-...-environment functions.
6593 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
6595 * speedbar.el: Updated the commentary section. xemacs20p now uses
6596 >= when detecting. Require `defimage' safely.
6597 (speedbar-easymenu-definition-base): Add toggle for images.
6598 (speedbar-easymenu-definition-special): Add flush cache & expand.
6599 (speedbar-visiting-tag-hook): Set new defaults. Added options.
6600 (speedbar-reconfigure-keymaps-hook): New variable.
6601 (speedbar-frame-parameters): Updated documentation.
6602 (speedbar-use-imenu-flag): Updated custom tag
6603 (speedbar-dynamic-tags-function-list): New variable.
6604 (speedbar-tag-hierarchy-method): Updated doc & custom.
6605 (speedbar-indentation-width, speedbar-indentation-width) New
6607 (speedbar-hide-button-brackets-flag): Customizable.
6608 (speedbar-vc-indicator): Doc update.
6609 (speedbar-ignored-path-expressions): Updated default value.
6610 (speedbar-supported-extension-expressions): Updated default value.
6611 (speedbar-syntax-table): Remove {} paren status.
6612 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
6613 as "+". Added overlay aliases.
6614 (speedbar-mode): Use `speedbar-mode-line-update' instead of
6615 `force-mode-line-update'.
6616 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
6617 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
6619 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
6620 (speedbar-item-info-tag-helper): Revamped to handle a wider range
6621 of arbitrary text, and new helper functions.
6622 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
6624 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
6625 (speedbar-directory-buttons): Update path search/expansion.
6626 (speedbar-make-tag-line): Pay attention to
6627 `speedbar-indentation-width'. Use more care w/ invisible
6629 (speedbar-change-expand-button-char): Call
6630 `speedbar-insert-image-button-maybe'.
6631 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
6632 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
6633 (speedbar-trim-words-tag-hierarchy)
6634 (speedbar-simple-group-tag-hierarchy): New functions
6635 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
6636 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
6638 (speedbar-mouse-set-point): New function
6639 (speedbar-power-click): Updated documentation.
6640 (speedbar-line-token, speedbar-goto-this-file): Handle more types
6642 (speedbar-expand-line, speedbar-contract-line): Make more robust
6644 (speedbar-expand-line): Takes universal argument to flush the
6646 (speedbar-flush-expand-line): New function.
6647 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
6648 Use new generator insertion method.
6649 (speedbar-fetch-dynamic-tags): New function.
6650 (speedbar-fetch-dynamic-imenu): Removed code now handled in
6651 `speedbar-fetch-dynamic-imenu'.
6652 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
6653 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
6654 "Revert Buffer" menu items.
6655 (speedbar-buffer-buttons-engine): Be smarter when creating a
6656 filename tag (for expansion purposes.).
6657 (speedbar-highlight-one-tag-line,
6658 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
6659 (speedbar-recenter): New functions.
6660 (defimage-speedbar): Image loading abstraction.
6661 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
6662 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
6663 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
6664 (speedbar-tag-type, speedbar-tag-mail): New images.
6665 (speedbar-expand-image-button-alist): New variable.
6666 (speedbar-insert-image-button-maybe): Insert an image over some
6669 2000-05-13 Kenichi Handa <handa@etl.go.jp>
6671 * international/mule-cmds.el (encode-coding-char): An ASCII
6672 character is always encodable.
6674 * international/mule-conf.el: Add more information in descriptions
6677 * international/mule-diag.el (describe-char-after): New function.
6678 (describe-font-internal): Adjusted for the change of font-info.
6679 (describe-font): Likewise.
6680 (print-fontset): Rewritten for the new fontset implementation.
6681 (describe-fontset): Include fontset alias names in completion.
6682 (list-fontsets): Adjusted for the change of print-fontset.
6684 * simple.el (what-cursor-position): If DETAIL is non-nil, call
6685 describe-char-after instead of displaying the detail in the echo
6687 (syntax-code-table): Format changed.
6688 (string-to-syntax): Adjusted for the above change.
6690 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
6692 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
6694 2000-05-12 Dave Love <fx@gnu.org>
6696 * calendar/todo-mode.el: Remove some compatibility stuff and CL
6697 dependence. Use line-{beginning,end}-position, not
6698 point-at{b,e}ol. Some doc fixes.
6699 (todo-position): New function. Fix callers of position to use it.
6700 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
6702 2000-05-12 Gerd Moellmann <gerd@gnu.org>
6704 * time.el (display-time-mail-icon): Use `:ascent center'.
6706 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
6707 handling FTP security extensions.
6709 2000-05-11 Dave Love <fx@gnu.org>
6711 * calendar/todo-mode.el: New file.
6713 2000-05-11 Gerd Moellmann <gerd@gnu.org>
6715 * comint.el (comint-read-input-ring): Move reference to
6716 comint-input-ring-size outside of the save-excursion. It was
6717 causing the default value to be the only one ever seen.
6719 * font-lock.el: Update copyright. Remove Simon Marshall's email
6720 address on request from him.
6722 * subr.el (substitute-key-definition): Add comment describing
6723 the meaning of PREFIX.
6725 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
6727 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
6729 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
6730 (add-minor-mode): Don't make the variable buffer-local and add a
6731 reference to define-minor-mode in the docstring.
6733 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
6734 HEADER/FOOTER and fix bug with trailing empty directory.
6735 (cvs-append-to-ignore): Use vc-editable-p if available.
6736 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
6737 (vc-do-command): Tweak advice to handle the new VC.
6739 * log-view.el (log-view-goto-rev): New function for the new VC.
6740 (log-view-minor-wrap): Use mark-active.
6742 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
6743 (log-edit-changelog-full-paragraphs): New var.
6744 (log-edit-insert-changelog): Remove a lonely leading `* file'.
6745 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
6746 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
6747 (log-edit-changelog-ours-p, log-edit-changelog-entries)
6748 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
6749 Replace the `cvs' prefix with `log-edit'.
6751 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
6753 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
6754 (diff-font-lock-defaults): Explicitly turn off multiline.
6755 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
6756 (diff-ediff-patch): Fix call to ediff-patch-file.
6757 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
6760 * frame.el (automatic-hscrolling): Typo.
6762 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
6764 2000-05-09 Sam Steingold <sds@goems.com>
6766 * apropos.el (apropos-print): use `describe-face' instead of
6767 `customize-face-other-window'.
6769 2000-05-09 Dave Love <fx@gnu.org>
6771 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
6773 * help.el (describe-variable): Have customize button pop the
6774 help-xref stack when invoked.
6775 (help-xref-symbol-regexp): Add `face'.
6776 (help-make-xrefs): Check for quoted face names and adapt regexp
6777 submatch numbers to cope.
6778 (help-xref-interned): Maybe insert face doc too. Separate
6779 sections with a line of hyphens.
6781 * faces.el: Some doc fixes. Declare some functions obsolete.
6782 (describe-face): Add customize button. Return the help
6785 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
6787 * term/internal.el (IT-character-translations): Fix last change.
6789 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6791 * woman.el: New file
6792 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
6794 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6796 * term/internal.el (IT-character-translations): Update ASCII
6797 simulations for greek-iso8859-7, add latin-iso8859-14 and
6800 * international/mule-cmds.el (set-language-info-alist): Call
6801 define-prefix-command with 3 arguments, to make the map suitable
6804 2000-05-07 Dave Love <fx@gnu.org>
6806 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
6808 2000-05-05 Dave Love <fx@gnu.org>
6810 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
6811 list in doc string. Don't quote keyword symbols.
6812 * emacs-lisp/cl.el: Likewise
6813 * emacs-lisp/cl-seq.el: Likewise
6815 2000-05-05 Gerd Moellmann <gerd@gnu.org>
6817 * abbrev.el (abbrev-mode): Make ARG optional.
6819 2000-05-04 Gerd Moellmann <gerd@gnu.org>
6821 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
6823 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
6825 * subr.el (substitute-key-definition): Clarify documentation.
6827 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
6829 * glasses.el (glasses-convert-to-unreadable): Use
6830 `glasses-separator' instead of the hard-wired "_".
6831 (glasses-mode): Call `glasses-make-unreadable' only in a single
6834 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
6836 * term/internal.el (cjk-codepages-alist): Add associations for
6837 Chinese and Korean codepages. Remove FIXME comment.
6839 2000-05-03 Dave Love <fx@gnu.org>
6841 * time.el (display-time-mail-face, display-time-use-mail-icon):
6843 (display-time-mail-icon): New variable.
6844 (display-time-string-forms): Use the above. Fix the local-map.
6846 2000-05-03 Gerd Moellmann <gerd@gnu.org>
6848 * replace.el (query-replace-map): Add binding for `E'.
6849 (query-replace-help): Extend help text.
6850 (perform-replace): Allow editing the replacement string.
6852 * make-mode.el (makefile-mode-abbrev-table): New variable.
6853 (makefile-mode): Set local abbrev table to
6854 makefile-mode-abbrev-table.
6855 (makefile-font-lock-keywords): Fontify includes and conditionals.
6857 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
6860 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
6861 mail-interactive-insert-alias.
6862 (mail-abbrev-complete-alias): New command.
6863 (mail-mode-map): Bind it to `M-TAB'.
6865 2000-05-03 Kenichi Handa <handa@etl.go.jp>
6867 * language/lao-util.el (lao-compose-region): New function.
6869 2000-05-02 Gerd Moellmann <gerd@gnu.org>
6871 * files.el (recover-session): Make directories as necessary
6872 if they don't exist yet.
6874 * calendar/cal-french.el
6875 (french-calendar-multibyte-special-days-array)
6876 (french-calendar-special-days-array): Change French text.
6877 (calendar-french-date-string): Change output.
6878 (calendar-goto-french-date): Likewise.
6880 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
6882 * wid-edit.el (widget-default-active): Obey `:always-active'.
6883 (widget-documentation-string-value-create): Set `:always-active'.
6885 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6887 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
6888 default prefix to `~/_emacs.d/auto-save.list/_s'.
6889 (normal-top-level): Create the directory for auto-save files, if
6890 it doesn't already exist (in the ms-dos case only).
6892 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6894 * international/mule-cmds.el (set-language-environment): Don't
6895 concat an integer (dos-codepage), use format instead.
6897 2000-05-02 Dave Love <fx@gnu.org>
6899 * help.el (help-xref-on-pp): Check for constant symbols.
6901 2000-04-29 Gerd Moellmann <gerd@gnu.org>
6903 * startup.el (normal-top-level): Put a condition-case around
6904 the code loading subdirs.el.
6906 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6908 * ps-print.el: Upside-down and face background color printing,
6909 line number step, doc fix.
6910 (ps-print-version): New version number (5.2).
6911 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
6912 (ps-face-attribute-list, ps-plot-with-face): Code fix.
6913 (ps-spool-config): Var fix.
6914 (ps-printer-name-option): Const fix.
6915 (ps-print-upside-down, ps-use-face-background)
6916 (ps-line-number-step): New vars.
6917 (ps-window-system, ps-lp-system): New consts.
6918 (ps-face-background): New fun.
6920 2000-04-28 Richard Stallman <rms@gnu.org>
6922 * files.el (make-auto-save-file-name):
6923 Apply auto-save-file-name-transforms to visited file name
6924 before generating auto save file name.
6925 (auto-save-file-name-transforms): New variable.
6927 * files.el (backup-enable-predicate):
6928 Correctly test for a file under a temporary directory.
6930 2000-04-28 Gerd Moellmann <gerd@gnu.org>
6932 * subr.el (add-minor-mode): Rewritten.
6934 2000-04-28 Kenichi Handa <handa@etl.go.jp>
6936 * mail/sendmail.el (sendmail-send-it): Set
6937 buffer-file-coding-system to the selected coding system for MIME
6940 2000-04-27 Gerd Moellmann <gerd@gnu.org>
6942 * dired.el (dired-move-to-filename-regexp): Allow format where
6943 YYYY is followed by two spaces.
6945 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
6946 in the second character class of the regexp.
6948 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
6951 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
6954 * subr.el (add-minor-mode): Use `set' instead of `setq'.
6956 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
6959 2000-04-27 Sen Nagata <sen@eccosys.com>
6961 * emacs-lisp/crm.el (crm-completion-table): New variable.
6962 (crm-collection-fn, crm-test-completion)
6963 (completing-read-multiple): Use it.
6965 2000-04-27 Dave Love <fx@gnu.org>
6967 * help.el (locate-library): Use mapc.
6968 (help-manyarg-func-alist): Add call-process-region.
6970 2000-04-26 Gerd Moellmann <gerd@gnu.org>
6972 * subr.el (add-minor-mode): Make argument MAP optional.
6974 * desktop.el (desktop-save): Save list of minor modes.
6975 (desktop-create-buffer): Restore minor modes.
6976 (desktop-minor-mode-table): New user-option.
6978 * subr.el (add-minor-mode): New function.
6980 * image.el (find-image): New function.
6981 (defimage): Rewritten to find image at load time.
6983 * startup.el (normal-top-level-add-to-load-path): Handle
6984 case that the default directory is not in load-path.
6986 * help.el: Old patch from Stefan Monnier.
6987 (help-xref-on-pp): New function.
6988 (describe-variable): Use it to display xrefs in a symbol's value.
6990 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
6992 * cus-edit.el (custom-face): Fix parenthesis.
6994 2000-04-26 Kenichi Handa <handa@etl.go.jp>
6996 * mail/rmail.el (rmail-expunge): When there are no deleted
6997 messages, do nothing.
6999 2000-04-26 Dave Love <fx@gnu.org>
7001 * international/mule-cmds.el (locale-translation-file-name):
7003 (set-locale-environment): Set it here (at runtime).
7005 2000-04-25 Gerd Moellmann <gerd@gnu.org>
7007 * replace.el (perform-replace): Add parameters START and END. Use
7008 them instead of the check for a region in Transient Mark mode.
7009 (query-replace-read-args): Return two more list elements for the
7010 start and end of the region in Transient Mark mode.
7011 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7012 (map-query-replace-regexp, replace-string, replace-regexp): Add
7013 optional last arguments START and END and pass them to
7016 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
7017 form with additional arguments for perform-replace.
7019 * progmodes/etags.el (tags-query-replace): Add parameters START
7020 and END. Construct a form with additional arguments for
7023 * simple.el (shell-command): Set default directory for "*Shell
7024 Command Output" buffer.
7026 * language/european.el (iso-latin-4): Fix typo.
7028 * emacs-lisp/crm.el: New file.
7030 2000-04-24 Dave Love <fx@gnu.org>
7032 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
7033 (Custom-reset-saved, Custom-reset-standard)
7034 (custom-group-value-create, custom-group-set, custom-group-save)
7035 (custom-group-reset-current, custom-group-reset-saved)
7036 (custom-group-reset-standard): Use mapc.
7037 (custom-buffer-create-internal): Disable undo when creating items.
7039 (custom-face): Avoid redundant lambda.
7041 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7043 * startup.el (auto-save-list-file-prefix): Set default to
7044 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
7046 2000-04-24 Sam Steingold <sds@gnu.org>
7048 * time-stamp.el (time-stamp-string-preprocess): Always convert
7049 `field-result' to a string.
7051 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7053 * frame.el (scrolling): New group.
7054 (automatic-hscrolling): New user-option.
7056 * startup.el (command-line-x-option-alist): Add `-lsp' and
7059 2000-04-19 Dave Love <fx@gnu.org>
7061 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7062 (cl-mapc): Rename from mapc. Fix the funcall.
7064 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7066 * simple.el (clone-indirect-buffer-other-window): New command.
7067 (clone-indirect-buffer): Add optional arg NORECROD.
7068 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7070 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7072 * window.el (count-screen-lines): New function.
7073 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7074 instead of window-buffer-height.
7076 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7077 non-existing variable comint-input-sentinel.
7078 (inferior-lisp-args-to-list): Removed.
7079 (inferior-lisp): Use split-string instead of
7080 inferior-lisp-args-to-list.
7082 * hexl.el (hexl-insert-hex-string): New command.
7084 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7087 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7089 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7090 at the start of an existing but empty folder.
7092 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7094 * ps-mule.el: Customization fix, doc fix.
7095 (ps-multibyte-buffer): Customization fix.
7097 2000-04-17 Richard M. Stallman <rms@gnu.org>
7099 * subr.el (read-passwd): Use read-char-exclusive.
7101 2000-04-17 Gerd Moellmann <gerd@gnu.org>
7103 * textmodes/texinfo.el (texinfo-insert-@email)
7104 (texinfo-insert-@emph, texinfo-insert-@quotation)
7105 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
7106 (texinfo-mode-map): Add key bindings for them.
7108 * files.el (basic-save-buffer-2): Use a template with `$'
7109 instead of `#' for VMS.
7111 * simple.el (clone-indirect-buffer): New function.
7113 2000-04-16 Stephen Eglen <stephen@gnu.org>
7115 * iswitchb.el (iswitchb-case): New function. If the user input
7116 contains any upper-case characters, the search is made
7119 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
7121 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
7123 (texinfo-font-lock-syntactic-keywords): New var.
7124 (texinfo-font-lock-keywords): Remove comment regexp.
7125 (texinfo-insert-block): New function.
7126 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
7127 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
7128 and font-lock-defaults. Use regexp-opt for outline-regexp.
7129 (texinfo-environments): New var.
7130 (texinfo-environment-regexp): Use regexp-opt and
7131 texinfo-environments.
7133 * textmodes/ispell.el (ispell-menu-map-needed): Check that
7134 ispell-process is bound since this might be eval'd before ispell
7136 (ispell-message): Use a tiny bit less magic and a bit more hard
7137 data to figure out what kind of sc-cite-regexp to use.
7139 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
7141 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
7142 (insert-cyclic-diary-entry): Unquote the lambda.
7144 * gud.el (gud-jdb-build-source-files-list): Fix typo.
7146 * files.el (backup-enable-predicate): Unquote the lambda.
7148 * cus-edit.el (custom-face, face): Unquote the lambda.
7150 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7152 * ps-print.el: Check for line-beginning-position definition.
7154 * ps-print.el: Fix counting lines in a region.
7155 (ps-print-version): New version number (5.1.5).
7156 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
7157 (ps-printing-region): Fun code fix.
7159 2000-04-15 Gerd Moellmann <gerd@gnu.org>
7161 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
7162 to file-directory-p.
7164 2000-04-14 Gerd Moellmann <gerd@gnu.org>
7166 * gud.el (gud-jdb-build-source-files-list): Check that directory
7167 exists before calling directory-files.
7169 2000-04-13 Dave Love <fx@gnu.org>
7171 * emacs-lisp/trace.el: Change maintainer. Use new backquote
7174 * emacs-lisp/cl-specs.el: Remove when, unless.
7176 * emacs-lisp/cl-extra.el: Don't quote keywords.
7177 (cl-old-mapc): New variable.
7179 (cl-map-intervals): Use with-current-buffer. Don't check for
7180 next-property-change.
7181 (cl-map-overlays): Use with-current-buffer.
7183 (copy-tree, remprop): Define unconditionally.
7185 * emacs-lisp/cl-compat.el (keywordp): Remove.
7187 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
7189 (edebug-spec): Enable keywordp.
7191 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
7194 * cus-start.el: Use keywordp.
7196 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7198 * diary-lib.el (include-other-diary-files): Fix the fix of
7199 2000-02-18 by doing a save-excursion.
7201 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7203 * ps-print.el: Customization fix, doc fix.
7204 (ps-print-version): New version number (5.1.4).
7205 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7206 (ps-print-preprint): Adjust code.
7207 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7208 (ps-print-prologue-header, ps-print-control-characters)
7209 (ps-spool-config): Customization fix.
7211 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7213 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7214 converted to the new menu-item format, names silightly changed,
7217 Support for spelling without async subprocesses:
7219 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7220 (ispell-session-buffer): New variables.
7221 (ispell-start-process, ispell-process-status,
7222 ispell-accept-output, ispell-send-string): New functions, for
7223 Ispell invocation when async subprocesses aren't supported.
7224 (ispell-word, ispell-pdict-save, ispell-command-loop,
7225 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7226 to process-send-string with calls to ispell-send-string, and
7227 accept-process-output with ispell-accept-output.
7228 (ispell-init-process): Call ispell-process-status instead of
7229 process-status with.
7230 (ispell-init-process): Call ispell-start-process. Call
7231 ispell-accept-output and ispell-send-string. Don't call
7232 process-kill-without-query and kill-process if they are unbound.
7233 (ispell-async-processp): New function.
7235 2000-04-12 Dave Love <fx@gnu.org>
7237 * info.el: Add debug-ignored-errors.
7238 (Info-mode-menu): Add some items.
7239 (Info-directory): Add autoload cookie.
7241 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7242 Modify `truncate-lines'. Make `describe-language-environment'
7243 always visible and add help. Modify `describe-key' help. Invoke
7244 Info-directory from `info'. New entry `emacs-manual'.
7246 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7248 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7249 propertized-buffer-identification.
7250 (ebrowse-update-member-buffer-mode-line): Likewise.
7251 (ebrowse--mode-strings): Removed.
7252 (ebrowse--mode-line-props): Removed.
7254 * files.el (auto-mode-alist): Add `EBROWSE'.
7256 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7257 space before testing for end of buffer.
7258 (ebrowse-load): Removed.
7259 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7260 (ebrowse-create-tree-buffer): Rewritten.
7261 (ebrowse-tree-mode): Read tree from buffer.
7263 * progmodes/ebrowse-ffh.el: Removed.
7265 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7267 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7269 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7271 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7274 2000-04-09 Dave Love <fx@gnu.org>
7276 * files.el (backup-enable-predicate): Use
7277 temporary-file-directory, small-temporary-file-directory.
7278 (make-backup-file-name-function, backup-directory-alist): New
7280 (make-backup-file-name-1): New function.
7281 (make-backup-file-name): Use it.
7282 (find-backup-file-name): Likewise. Use format for clarity, not
7284 (file-newest-backup): Use make-backup-file-name.
7286 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7288 * progmodes/ebrowse-ffh.el: New file.
7290 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7292 (ebrowse-load): Add autoload.
7294 * finder.el (finder-commentary): Add autoload cookie.
7296 * mail/rfc2368.el: Correct author's email address.
7298 * progmodes/ebrowse.el: New file.
7300 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7302 (easy-menu-do-add-item): Ditto.
7303 (easy-menu-define): Extend doc string.
7305 * jit-lock.el (with-buffer-unmodified): Use
7306 restore-buffer-modified-p.
7307 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7308 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7309 with-buffer-unmodified.
7311 2000-04-08 Dave Love <fx@gnu.org>
7313 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7316 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7318 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7319 (viper-flash-search-pattern): No operation when using Emacs
7320 doesn't support face.
7321 Use `viper-put-on-search-overlay'.
7323 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7325 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7328 * progmodes/make-mode.el: Some doc fixes.
7329 (makefile-mode-abbrev-table): New variable.
7330 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7331 (makefile-font-lock-keywords): Fontify includes and conditionals.
7332 (toplevel): Require `dabbrev' and `add-log' when compiling.
7334 * replace.el (perform-replace): Don't move forward one char
7335 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7336 to do that because it leaves point 1 position after the last
7337 replacement, after everything has been replaced.
7339 * jit-lock.el (with-buffer-unmodified): New macro.
7340 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7342 (jit-lock-function-1): Extracted from jit-lock-function; not
7343 preserving buffer's modified state.
7344 (jit-lock-function, jit-lock-stealth-fontify): Call
7345 jit-lock-function-1.
7347 * mail/rfc2368.el: Remove supernumerary copyright line.
7349 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7351 * glasses.el: Provide facilities for inserting space before left
7352 parentheses and uncapitalization of identifiers.
7353 (glasses-mode): Try to remove old overlays in all cases.
7355 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7357 * progmodes/compile.el (compile-internal): Display the compilation
7358 buffer in a different frame, if it's already displayed there.
7360 * mail/rfc2368.el: New file.
7362 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7363 header and insert its value as mail body.
7365 * subr.el (member-ignore-case): New function.
7367 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7368 (dabbrev--find-expansion): Ignore buffers matching a regexp
7369 from dabbrev-ignored-regexps.
7371 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7372 to extensions handled by gzip.
7374 2000-04-03 Richard M. Stallman <rms@gnu.org>
7376 * files.el (insert-directory): List the total free space
7377 along with the used space.
7379 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7380 line is followed by one that matches CITATION-REGEXP, end the
7383 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7385 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7386 (rmail-make-basic-summary-line): Use that option.
7388 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7390 * international/mule-cmds.el (encoded-string-description):
7391 Rewritten. Try pretty description for ISO 2022 escape sequences
7392 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7393 for hexadecimal format.
7395 2000-04-01 Dave Love <fx@gnu.org>
7397 * cpp.el: Change customization group to `c' from `C'.
7399 * vcursor.el (vcursor-move): Use display-color-p.
7401 * international/mule-util.el: Provide mule-utils.
7402 (string-to-sequence): Simplify and speed up.
7404 * international/mule.el (make-coding-system): Purecopy doc-string.
7406 * international/mule-cmds.el: Various menu changes.
7407 (describe-specified-language-support): Handle `Default'.
7408 (set-language-info): Purecopy `info'.
7410 2000-03-31 Andrew Innes <andrewi@gnu.org>
7412 * vc.el (vc-backend-diff): Return the correct status if we had to
7413 retry the rcsdiff command without the --brief option.
7415 2000-03-31 Dave Love <fx@gnu.org>
7417 * help.el (help-manyarg-func-alist): Correct several omissions.
7419 * add-log.el: Don't require cl, fortran.
7420 (add-log-current-defun-function): Doc fix.
7421 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7423 (change-log-version-rcs): Function deleted.
7424 (change-log-version-number-search): Doc fix. Use
7425 vc-workfile-version. Avoid CL dolist.
7426 (add-change-log-entry): Just call add-log-current-defun to get
7427 defun. Simplify somewhat.
7428 (change-log-get-method-definition-1): Likewise.
7429 (add-log-current-defun): Return nil if calling
7430 add-log-current-defun-function does so. Move Fortran stuff to
7431 fortran.el. Return string without properties.
7433 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7434 and :alpha: char classes.
7436 * mail/supercite.el: Defvar curline when compiling.
7437 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
7438 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
7439 rather than a-zA-Z0-9 to allow non-ASCII characters.
7441 2000-03-31 Gerd Moellmann <gerd@gnu.org>
7443 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
7445 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7448 * lpr.el (print-region-1): Use -d to specify printer name for
7449 systems `usg-unix-v*, `dgux', `hpux', `irix'.
7451 2000-03-31 Dave Love <fx@gnu.org>
7453 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
7454 for function definition in symbol's function value slot first
7455 instead of first consulting byte-compile-function-environment.
7457 2000-03-31 Kenichi Handa <handa@etl.go.jp>
7459 * language/european.el ("Polish"): New language environment.
7460 (setup-polish-environment): New function.
7462 2000-03-30 Gerd Moellmann <gerd@gnu.org>
7464 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7467 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
7468 trying to `load' the symbol of an autoload instead of the file
7469 recorded in the autoload. Fix error messages.
7471 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7473 * ps-print.el: PostScript programming fix for ghostview, doc fix.
7474 (ps-print-version): New version number (5.1.3).
7475 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
7476 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
7477 (ps-generate-postscript-with-faces): Code fix.
7478 (ps-color-values): XEmacs compatibility.
7479 (ps-print-background-image, ps-print-background-text, ps-printer-name)
7480 (ps-default-fg, ps-default-bg): Adjust customization.
7481 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
7482 (ps-color-scale): Renaming old ps-color-value fun.
7483 (ps-print-headers): Replace ps-print-header group to avoid conflict
7484 with ps-print-header variable.
7485 (ps-print-miscellany): New group.
7486 (ps-format-color, ps-rgb-color): New funs.
7487 (ps-default-foreground): New var.
7488 (ps-printer-name-option): New const.
7490 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
7493 (network-connection-host, network-connection-service): New variables
7494 (network-connection-mode): New mode, derived from comint-mode
7495 (network-connection-mode-setup): New function, saves host and
7496 service information in local variables.
7499 (locate-word-at-point): Added this function
7500 (locate): Default to using locate-word-at-point as input
7503 2000-03-29 Dave Love <fx@gnu.org>
7505 * calendar/appt.el: Doc fixes.
7506 (appt-check): Convert min-to-app to a string before passing to
7507 appt-disp-window-function or concat.
7508 (appt-delete-window): Remove test for frame-root-window.
7509 (appt-select-lowest-window, appt-convert-time): Simplify.
7511 * emacs-lisp/bytecomp.el: Doc fixes.
7512 (byte-compile-file-form-autoload): Update
7513 byte-compile-function-environment.
7515 2000-03-29 Andreas Schwab <schwab@suse.de>
7517 * emacs-lisp/autoload.el: Also print defsubst doc string
7520 * dired.el (dired-insert-directory): If dired-free-space-program
7521 failed just delete its output.
7523 2000-03-29 Dave Love <fx@gnu.org>
7525 * international/iso-cvt.el: Move provide to end. Doc fixes.
7526 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
7527 (iso-iso2sgml, iso-sgml2iso): New functions.
7528 (iso-cvt-define-menu): Fix some entries and use backquote for
7531 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
7533 2000-03-28 Gerd Moellmann <gerd@gnu.org>
7535 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
7536 ISO-DATE. If non-nil, return date in ISO 8601 format.
7538 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
7540 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
7541 if it ever becomes used.
7542 (log-edit-mode-hook): Default to vc-log-mode-hook.
7543 (log-edit-mode): Fix the docstring.
7545 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
7548 2000-03-26 Dave Love <fx@gnu.org>
7550 * net/browse-url.el (browse-url): Re-fix case of
7551 browse-url-browser-function being an alist.
7552 (browse-url): Add :link to defgroup.
7554 * files.el: Doc fixes.
7555 (file-truename): Include `[' in wildcard characters.
7556 (automount-dir-prefix): Customize.
7557 (find-file-wildcards): Add :version.
7558 (find-file-noselect): Simplify a mapcar call.
7560 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
7561 compatible with inf-lisp version.
7562 (eval-defun-1): Fix custom-declare-variable case.
7564 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
7566 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
7568 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7570 * Makefile (COMPILE_FIRST): New macro.
7571 (compile-files): Compile files from COMPILE_FIRST first.
7573 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
7576 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
7577 matching open parenthesis in column 0 to defun-prompt-regexp
7578 only if open-paren-in-column-0-is-defun-start is set.
7580 * sun-curs.el: Require CL at compile-time only.
7582 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
7583 instead of copy-list which is a function from CL.
7584 (msb--choose-menu, msb--mode-menu-cond)
7585 (msb--create-buffer-menu-2): Use dolist instead of mapc.
7586 (msb--init-file-alist): Use mapcar instead of mapcan.
7587 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
7588 `(' in column 0 in doc string.
7589 (msb--add-separators): Use mapcar instead of mapcan.
7591 * cus-dep.el: Require CL at compile-time only.
7593 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
7595 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7596 (byte-compile-warnings): New warning `noruntime'.
7597 (byte-compile-constants, byte-compile-variables): Fix docstring.
7598 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
7599 execute `eval-whenc-compile's body.
7600 (byte-compile-unresolved-functions): Fix docstring.
7601 (byte-compile-eval): New function.
7602 (byte-compile-callargs-warn): Check if the function will be available
7603 at runtime (via property `byte-compile-noruntime').
7604 (byte-compile-print-syms): New function.
7605 (byte-compile-warn-about-unresolved-functions): Also warn about
7606 `noruntime' functions (and use `byte-compile-print-syms').
7607 (byte-compile-file): Capitalize the message.
7609 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7611 * mail/rmail.el (rmail-confirm-expunge): New user-option.
7612 (rmail-expunge): Ask for confirmation depending on the setting
7613 of rmail-confirm-expunge.
7615 2000-03-23 Gerd Moellmann <gerd@gnu.org>
7617 * Makefile (bootstrap-clean): If $(emacs) exists, build
7618 loaddefs.el first. A loaddefs.el that's not up-to-date might
7619 cause a bootstrap failure because things don't autoload as
7622 2000-03-23 Dave Love <fx@gnu.org>
7624 * net/browse-url.el: Restore previous use of
7625 browse-url-maybe-new-window.
7627 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7629 * ps-print.el: Skip banner page fix.
7630 (ps-print-version): New version number (5.1.2).
7631 (ps-begin-file, ps-end-file, ps-generate): Code fix.
7633 2000-03-23 Dave Pearson <davep@davep.org>
7635 * net/quickurl.el Changed the type of parameter passed to the
7636 function defined by `quickurl-format-function'. Before only the
7637 text of the URL was passed. Now the whole URL structure is passed
7638 and the function is responsible for extracting the parts it
7639 requires. Changed the default of `quickurl-format-function'
7641 (quickurl-insert): Changed the `funcall' of
7642 `quickurl-format-function' to match the above change.
7643 (quickurl-list-insert): Changed the `url' case so that it makes
7644 use of `quickurl-format-function', previous to this the format was
7647 2000-03-22 Gerd Moellmann <gerd@gnu.org>
7649 * startup.el: Change some spellings for the X Window System.
7651 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
7653 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
7654 up the code and the regexp and make sure the cursor is temporarily
7655 moved to the suspicious line while querying the user.
7657 2000-03-22 Jason Rumney <jasonr@gnu.org>
7659 * w32-fns.el (w32-charset-info-alist): Initialize.
7661 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7663 * ps-print.el: N-up last page fix.
7664 (ps-print-version): New version number (5.1.1).
7665 (ps-end-file, ps-end-job, ps-generate): Code fix.
7667 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7669 * files.el (find-file-run-dired): Update docstring.
7670 (find-directory-functions): New hook.
7671 (find-file-noselect): Run find-directory-functions rather than
7672 calling dired directly.
7674 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
7676 * pcvs.el: Add a minimal leading commentary.
7677 (cvs-make-cvs-buffer): Change the header part by removing the startup
7678 message and adding a `Module' entry. Also replace the FOOTER and
7679 HEADER special fileinfos with the new support in ewoc for updating
7680 its own footer and header.
7681 (cvs-update-header): Update to use the header/footer of the ewoc.
7682 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
7683 (cvs-is-within-p): New function.
7684 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
7685 to only examine some subset of the buffers.
7687 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
7688 `format' instead of our own ad-hoc functions.
7689 Remove HEADER and FOOTER cases, now handled in the EWOC.
7690 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
7692 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
7693 output to avoid scaring the user.
7694 (cvs-parse-table): Catch message for non-up-to-date commits.
7696 * pcvs-defs.el (cvs-startup-message): Remove.
7697 (cvs-global-menu): New autoloaded menu.
7699 * pcvs-util.el (cvs-string-fill): Remove.
7701 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
7702 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
7703 PP part of it and also make it work for footers and headers.
7704 (ewoc-create): Drop POS and BUFFER arguments.
7705 Use the DLL's dummy node to store the end-of-footer position.
7706 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
7707 (ewoc-refresh): Remove unused `header' variable.
7708 (ewoc-(get|set)-hf): New functions.
7710 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
7711 log-view-*-(message|file) and use easy-mmode-define-navigation.
7712 (log-view-message-re): Match SCCS format as well.
7713 And match the revision line rather than the dashed separator line.
7714 (log-view-mode): Use the new define-derived-mode.
7715 (log-view-current-tag): Fill in with an actual implementation.
7717 * cvs-status.el (cvs-status-(prev|next)): Rename from
7718 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
7719 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
7720 to let the output "breathe" a little more (more readable).
7721 (cvs-status-mode): Use the new define-derived-mode.
7723 * smerge-mode.el (smerge-auto-leave): New function and variable.
7724 (smerge-basic-map): Rename from smerge-basic-keymap.
7725 Change the bindings for smerge-diff-*.
7726 (smerge-*-map): Use easy-mmode-defmap.
7727 (smerge-(next|prev)): Use easy-mmode-define-navigation.
7728 (smerge-keep-*): Use smerge-auto-leave.
7730 2000-03-21 Jason Rumney <jasonr@gnu.org>
7732 * cus-edit.el (custom-button-face): Use 3D look for w32.
7733 (custom-button-pressed-face): Likewise.
7735 2000-03-21 Gerd Moellmann <gerd@gnu.org>
7737 * progmodes/etags.el (tags-case-fold-search): New user-option.
7738 (tags-loop-eval): New function. Bind case-fold-search around eval
7739 depending on the value of tags-case-fold-search.
7740 (tags-loop-continue): Use tags-loop-eval.
7741 (find-tag-in-order): Bind case-fold-search depending on the value
7742 of tags-case-fold-search.
7744 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7746 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
7747 (diff-end-of-hunk): Return the end position for use in
7748 `easy-mmode-define-navigation'.
7749 (diff-recenter): Remove.
7750 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
7751 of `easy-mmode-define-navigation'.
7752 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
7753 previous renaming) and fix to use new names.
7754 (diff-merge-strings): Use \n as separator: simpler, faster.
7755 (diff-mode): Use `define-derived-mode'.
7757 * derived.el (define-derived-mode): Don't autoload anymore.
7758 Prefer the macro-only version provided by easy-mmode.el.
7760 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
7761 `easy-mmode-define-derived-mode'.
7762 Use `combine-run-hooks'.
7763 (easy-mmode-define-navigation): New macro.
7765 * subr.el (combine-run-hooks): New function.
7767 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
7769 * term/x-win.el: Fontsets related initialization is simplified.
7771 * international/mule-diag.el (describe-font): Don't refer to
7772 global-fontset-alist, instead call font-list.
7773 (describe-fontset, list-fontsets, mule-diag): Likewise.
7774 (print-fontset): Adjusted for the change of fontset
7777 * international/fontset.el (x-charset-registries): Variable
7778 removed, instead the corresponding data is stored in the default
7780 (register-alternate-fontnames): Function removed.
7781 (resolved-ascii-font): Variable removed.
7782 (x-compose-font-name): Ignore the second argument REDOCE.
7783 (x-complement-fontset-spec): Complement only an ASCII font and
7784 element for those charsets than can use that ASCII font.
7785 (generate-fontset-menu): Don't refer to global-fontset-alist,
7786 instead call fontset-list.
7787 (uninstantiated-fontset-alist): Variable removed.
7788 (x-style-funcs-alist): Likewise.
7789 (fontset-default-styles): Likewise.
7790 (x-modify-font-name): Function removed.
7791 (create-fontset-from-fontset-spec): Ignore the argument
7793 (create-fontset-from-ascii-font): Docsting adjusted for the above
7795 (instantiate-fontset, resolve-fontset-name): Functions removed.
7796 (fontset-list): Now implemented by C code.
7798 * faces.el (read-face-font): Fix TABLE arg to completing-read.
7799 (describe-face): Include `font' attribute in the description.
7801 2000-03-21 Kenichi Handa <handa@etl.go.jp>
7803 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
7805 2000-03-20 Gerd Moellmann <gerd@gnu.org>
7807 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
7808 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
7809 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
7811 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
7812 about behavior of set-buffer-modified-p wrt redisplay.
7814 2000-03-19 Richard M. Stallman <rms@gnu.org>
7816 * view.el (view-mode-disable): Kill local binding of view-read-only.
7818 2000-03-18 Gerd Moellmann <gerd@gnu.org>
7820 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
7821 is a string, convert it to a syntax cell using string-to-syntax.
7823 * simple.el (syntax-code-table, syntax-flag-table): New variables.
7824 (string-to-syntax): New function.
7826 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
7827 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
7828 try to use passive ftp mode.
7830 2000-03-17 Gerd Moellmann <gerd@gnu.org>
7832 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
7834 * simple.el (append-to-buffer): Update point of windows after
7837 * abbrev.el (inverse-add-abbrev): Identify word by first moving
7838 forward then moving backward. Reindent.
7840 * frame.el (other-frame): Call x-focus-frame only if
7841 focus-follows-mouse is off.
7843 2000-03-17 Dave Love <fx@gnu.org>
7845 * pcvs-util.el (cvs-strings->string): Rename
7846 replace-regexps-in-string.
7848 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
7850 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
7851 regexp for labels cannot span several lines.
7853 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
7854 `(setq :<key> ':<key>)' to the macro expansion.
7856 2000-03-16 Dave Love <fx@gnu.org>
7858 * progmodes/f90.el (f90): Put custom group under `languages', not
7860 (f90-mode-hook): Customize.
7861 (f90-mode): Set add-log-current-defun-function.
7862 (f90-current-defun): New function.
7864 2000-03-16 Gerd Moellmann <gerd@gnu.org>
7866 * cus-edit.el (custom-variable-tag-face): Handle case that
7867 default face's height is not a number.
7868 (custom-face-tag-face, custom-group-tag-face-1)
7869 (custom-group-tag-face): Ditto.
7870 (custom-group-tag-face-1): Add :group.
7872 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
7874 2000-03-15 Gerd Moellmann <gerd@gnu.org>
7876 * pcvs-defs.el (toplevel): Remove autoload cookie for form
7879 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7881 * ps-print.el: PostScript user-defined prologue, PostScript error
7883 (ps-print-version): New version number (5.1).
7884 (ps-user-defined-prologue, ps-error-handler-message)
7885 (ps-print-prologue-0, ps-error-handler-alist): New vars.
7886 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
7887 (ps-insert-string): New function.
7889 2000-03-15 Kenichi Handa <handa@etl.go.jp>
7891 * international/ccl.el (ccl-compile-expression): Don't generate
7892 invalid self-assignment code.
7894 2000-03-14 Dave Love <fx@gnu.org>
7896 * subr.el (replace-regexp-in-string): Renamed from
7897 replace-regexps-in-string. Doc fix.
7899 2000-03-12 Dave Love <fx@gnu.org>
7901 * cus-edit.el: Doc fixes.
7902 (customize-set-variable, customize-save-variable): Rename args for
7904 (custom-variable-tag-face, custom-face-tag-face)
7905 (custom-group-tag-face-1, custom-group-tag-face): Modify from
7906 style which user identify as hyperlink.
7907 (hook): Don't add undefined functions to the hook.
7908 (debug-ignored-errors): Transfer message from bindings.el.
7910 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7912 * recentf.el (recentf-keep-non-readable-files-p): Remove
7913 double/nested definition.
7915 2000-03-12 Dave Love <fx@gnu.org>
7917 * facemenu.el (facemenu-get-face): Use display-color-p.
7918 * enriched.el (enriched-decode-foreground): Likewise.
7919 (enriched-decode-background): Likewise.
7920 * isearch.el (isearch-highlight): Likewise.
7921 * info-look.el (info-lookup): Likewise.
7922 * simple.el (completion-setup-function): Likewise.
7924 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
7927 * bindings.el (mode-line-format): Fix line-number and
7928 column-number items. Add help-echo for the background.
7929 (mode-line-mule-info): Modify help-echo.
7931 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
7934 * files.el (load-file): Allow completion to .elc.
7936 * man.el: Doc fixes.
7937 (Man-init-defvars): Use display-color-p to set fontification.
7939 * play/hanoi.el (hanoi-internal): Don't use oddp.
7941 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7943 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
7945 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
7947 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
7949 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
7952 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
7954 * font-lock.el (font-lock-keywords): Fix the doc now that
7955 regexp-opt-depth is unnecessary.
7956 (save-buffer-state): Set an edebug spec.
7957 (font-lock-fontify-anchored-keywords): Properly handle the case when
7958 the matcher goes past the limit.
7960 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
7961 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
7963 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
7964 dll.el and cookie.el (from Elib) with heavy renaming and other
7967 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
7968 Autoload the functions used.
7969 (easy-mmode-define-syntax): Fix CL typo.
7970 (easy-mmode-define-derived-mode): Improve the docstring generation.
7972 2000-03-10 Gerd Moellmann <gerd@gnu.org>
7974 * textmodes/texinfo.el (texinfo-version): Variable and function
7977 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
7979 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
7980 allow more flexibility.
7981 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
7983 (easy-mmode-defmap, easy-mmode-defsyntax)
7984 (easy-mmode-define-derived-mode): New macros.
7986 2000-03-09 Didier Verna <didier@xemacs.org>
7988 * rect.el (replace-rectangle): New function.
7990 2000-03-09 Dave Love <fx@gnu.org>
7992 * progmodes/fortran.el (fortran-comment-line-start): Define as
7994 (fortran-comment-line-start-skip): Don't match cpp stuff.
7995 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
7996 (fortran-mode-map): Remove over-eager custom-menu-create for now.
7997 (fortran-mode): Don't set fortran-comment-line-start-skip,
7998 fortran-comment-line-start here. Set comment-start,
7999 add-log-current-defun.
8000 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
8001 (fortran-current-defun): New function.
8003 2000-03-09 Gerd Moellmann <gerd@gnu.org>
8005 * emacs-lisp/re-builder.el: New file.
8007 * mouse.el (mouse-drag-region): Don't run up-event handler
8008 if hscroll has changed.
8010 * octave-mod.el (octave-font-lock-keywords): To font-lock the
8011 builtin operators, use `font-lock-builtin-face' for Emacs and
8012 `font-lock-preprocessor-face' otherwise.
8014 * font-lock.el (lisp-font-lock-keywords-1): Highlight
8015 `(defun (setf foo)' differently.
8017 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
8019 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
8020 (regexp-opt): Update comment and adapt the code the new meaning of
8021 the `paren' argument of regex-opt-group for shy-groups.
8022 (regexp-opt-depth): Handle shy groups as well as backslashed
8024 (regexp-opt-group): Turn the leading comment into a docstring.
8025 Allow `paren' to be a string (the string to use to open a group).
8026 Remove open-presuf and close-presuf. Instead of checking for `all
8027 one-char' and then later on check for `several one-char', handle
8028 both cases close together. Also apply a more generic algorithm
8029 for suffixes (the mirror image of the algorithm used for
8030 prefixes). Use shy-groups. Use nreverse rather than reverse.
8031 (regexp-opt-try-suffix): Removed.
8033 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
8034 from comint-mode-map, so we can just inherit from it. Also, move
8035 the initialization into the `defvar' since there's no docstring
8036 anyway and it's fairly short.
8037 (inferior-scheme-mode): Define it as derived-mode: the code is
8038 shorter and this way we inherit from comint-mode-map rather than
8041 * subr.el (replace-regexps-in-string): Properly handle the case
8042 where we match an empty string.
8044 * comint.el (comint-exec-1): Add the current-dir to the exec-path
8045 when the command has a directory component (such as "./testml").
8046 Also fix a typo in the comment.
8048 2000-03-08 Gerd Moellmann <gerd@gnu.org>
8050 * Makefile (compile-files): Compile files one by one because
8051 that's the only way to ensure a clean compilation environment for
8052 each individual file.
8054 * frame.el (other-frame): Call x-focus-frame.
8056 2000-03-07 Dave Love <fx@gnu.org>
8058 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8059 :require to defcustom.
8061 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8064 * files.el (auto-mode-alist): Add configure.in.
8066 * progmodes/autoconf.el: New file.
8068 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8070 * mail/mh-e.el: Change maintainer to `none'.
8072 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8073 to remove-hook and add-hook.
8075 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8077 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8079 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8080 (sendmail-send-it): Conditionally add MIME headers specifying the
8083 2000-03-07 Dave Love <fx@gnu.org>
8085 * winner.el: Fix keywords, autoload cookies. Split
8086 eval-when-compile form to avoid compilation failure.
8088 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8090 * international/mule.el: Modify comment about coding system
8091 property `coding-category'.
8092 (make-coding-system): New argument EOL-TYPE. Pay attention to
8093 coding-category property of PROPERTIES.
8095 * international/mule-conf.el (coding-category-utf-8,
8096 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8097 categories. Include them in the argument for set-coding-priority.
8099 * international/mule-cmds.el (reset-language-environment): Include
8100 coding-category-utf-8, coding-category-utf-16-be, and
8101 coding-category-utf-16-le in the argument for set-coding-priority.
8102 (reset-language-environment): Initialize coding-category-utf-8,
8103 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
8105 2000-03-06 Karl Fogel <kfogel@red-bean.com>
8107 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
8108 code abstracted out of `bookmark-jump-noselect'. Now tries info
8109 extensions as well as compression extensions.
8110 (bookmark-jump-noselect): Use above new func.
8112 2000-03-03 Gerd Moellmann <gerd@gnu.org>
8114 * strokes.el: Change maintainer's mail address.
8116 2000-03-03 Kenichi Handa <handa@etl.go.jp>
8118 * international/mule-diag.el (list-character-sets): Make help-echo
8119 string by substitute-command-keys.
8120 (list-character-sets): Likewise.
8121 (sort-listed-character-sets): Call help-setup-xref.
8123 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8125 * time.el (display-time-mail-file): Add `none' to the list of
8128 2000-03-01 Dave Love <fx@gnu.org>
8130 * help.el (help-xref-go-back): Don't try to set position.
8132 * international/mule-diag.el (list-character-sets): Call
8133 help-setup-xref. Add help-echo to xrefs.
8134 (list-character-sets-1): Add help-echo to xrefs.
8136 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8138 * frame.el (blink-cursor-mode): Switch cursor on when turning
8141 * add-log.el (add-log-current-defun): Add support for
8144 * mail/rmail.el (rmail-quit-hook): New variable.
8146 2000-03-01 Dave Love <fx@gnu.org>
8148 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
8150 * help.el (help-xref-button): Add help-echo arg.
8151 (describe-function-1, describe-variable, help-make-xrefs): Use it.
8153 * faces.el (list-faces-display): Supply help-echo with
8156 * facemenu.el (list-text-properties-at): Set help-xref-stack to
8159 2000-03-01 Gerd Moellmann <gerd@gnu.org>
8161 * image.el (defimage): Look for image files in load-path.
8163 * frame.el (busy-cursor-delay-seconds): Change type to
8166 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8168 * recentf.el (recentf): Added version tag to the defgroup of
8171 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8173 * recentf.el (recentf-cleanup): Changed to remove excluded file
8175 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
8176 action to select/unselect a file.
8177 (recentf-edit-list): Code cleanup and improvement.
8178 (recentf-open-more-files-action): `recentf-open-more-files' button
8179 widget action to open a file.
8180 (recentf-open-more-files): No more use standard completion but
8182 (recentf-more-collection): Deleted.
8183 (recentf-more-history): Deleted.
8184 (recentf-setup-more-completion): Deleted.
8186 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8188 * recentf.el (recentf-mode): No more needs that Emacs is running
8189 under a window-system.
8191 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8193 * recentf.el (recentf-edit-list): New command to edit the recent
8194 list which allow the user to remove files.
8195 (recentf-edit-selected-items): New global variable, used by
8196 `recentf-edit-list' to hold the list of files to be removed from
8198 (recentf-make-menu-items): Updated to display a "Edit list..."
8199 menu item. Minor code cleanup.
8201 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8203 * recentf.el (recentf-open-more-files): New command to open files
8204 that are not displayed in the menu.
8205 (recentf-more-collection): New global variable holding the set of
8206 permissible completions used by `recentf-open-more-files'.
8207 (recentf-more-history): New global variable holding the history list
8208 used by `recentf-open-more-files' completion.
8209 (recentf-setup-more-completion): New function to setup completion for
8210 `recentf-open-more-files'.
8211 (recentf-make-menu-items): Updated to display a "More..." menu item.
8213 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8215 * recentf.el (recentf-menu-action): Doc fixed.
8217 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8219 * recentf.el (recentf-menu-filter): Doc updated.
8220 (recentf-update-menu-hook): Allow menu filters to force menu update.
8221 (recentf-make-menu-items): New menu filter handling.
8222 (recentf-make-menu-item): New helper function.
8223 (recentf-menu-elements): New menu handling function.
8224 (recentf-sort-ascending): Updated to new menu filter handling.
8225 (recentf-sort-descending): Updated to new menu filter handling.
8226 (recentf-sort-basenames-ascending): New menu filter function.
8227 (recentf-sort-basenames-descending): New menu filter function.
8228 (recentf-show-basenames): New menu filter function.
8229 (recentf-show-basenames-ascending): New menu filter function.
8230 (recentf-show-basenames-descending): New menu filter function.
8232 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8234 * diary-lib.el (list-diary-entries): Don't try to go forward at
8235 the end of the buffer.
8237 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8239 * international/mule-diag.el (list-character-sets): Completely
8241 (sort-listed-character-sets): New function.
8242 (list-character-sets-1): Completely rewritten.
8243 (list-character-sets-2): New function.
8244 (non-iso-charset-alist): New variable.
8245 (decode-codepage-char): New function.
8246 (charset-history): New variable.
8247 (read-charset) (list-block-of-chars)
8248 (list-iso-charset-chars)
8249 (list-non-iso-charset-chars)
8250 (list-charset-chars): New functions.
8251 (mule-diag): Call list-character-sets-2, not
8252 list-character-sets-2.
8253 (dump-charsets): Likewise.
8255 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8257 * dired-x.el (dired-filename-at-point): Add `@' to valid
8258 file name characters.
8259 (dired-filename-at-point): Handle ange-ftp file names.
8261 * frame.el (frame-notice-user-settings): Use assq-delete-all
8262 instead of assoc-delete-all.
8263 (frame-notice-user-settings): Ditto.
8265 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8268 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8270 * calculator.el (calculator-use-menu): New option.
8271 (calculator-initial-bindings): Changed some bindings to work as
8273 (calculator-forced-input): Removed.
8274 (calculator-restart-other-mode): New variable.
8275 (calculator-mode-map): Set up menu.
8277 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8279 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8282 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8284 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8285 translate all ESC key sequences.
8286 (viper-goto-mark-subr): restore markers for files for which
8288 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8289 * viper-util.el (viper-set-replace-overlay-glyphs,
8290 viper-set-replace-overlay): always check if the replacement
8292 * viper.el (viper-vi-state-mode-list): added major modes.
8293 * ediff-wind.el: minor comment changes.
8294 * ediff.el: copyright notice date fix.
8296 2000-02-27 Jason Rumney <jasonr@gnu.org>
8298 * faces.el (face-font-family-alternatives): Add arial to helv.
8299 (mode-line, header-line, tool-bar): Same default as x for w32.
8300 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8301 face-font-family-alternatives from working.
8302 * term/w32-win.el (mouse-set-font): Do not build fontset from
8305 2000-02-25 Sam Steingold <sds@goems.com>
8307 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8310 2000-02-25 Richard M. Stallman <rms@gnu.org>
8312 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8314 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8316 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8319 * frame.el (busy-cursor-delay-seconds): New option.
8321 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8323 * frame.el (show-cursor-in-non-selected-windows): New option.
8325 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8327 * diary-lib.el (include-other-diary-files): Undo the selective
8328 display in any included file and don't kill it.
8330 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8332 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8333 bar. Menu items converted to (menu-item format, help strings
8335 [downcase, upcase]: Don't enable on MS-DOS.
8336 [symlink, symlinks]: Don't show if make-symbolic-link is not
8338 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8340 2000-02-23 Dave Love <fx@gnu.org>
8342 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8343 (backward-kill-word): Revert addition of * to interactive spec --
8346 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8347 (backward-kill-sentence, kill-sentence): Likewise.
8349 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8350 scratch buffer name.
8351 (gud-format-command): Use int-to-string in ?l case. Simplify
8354 * term/w32-win.el (internal-face-interactive): Update prompt for
8357 * mail/footnote.el (footnote): Add :version to defgroup.
8358 (footnote-section-tag-regexp): Customize.
8359 (footnote-start-tag, footnote-end-tag): New option.
8360 (footnote-latin-regexp): New variable.
8361 (Footnote-latin): New function.
8362 (footnote-style-alist): Add element for latin style.
8363 (footnote-style): Moved.
8364 (Footnote-goto-footnote): Use eq to test arg.
8366 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8368 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8369 (byte-compile-trueconstp): Include keywords.
8370 (byte-optimize-quote, byte-optimize-lapcode): Use
8371 byte-compile-const-symbol-p.
8372 (byte-optimize-char-before): New optimization.
8374 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8375 (byte-compile-const-symbol-p): New function.
8376 (byte-compile-constp, byte-compile-out-toplevel)
8377 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8380 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8382 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8384 * international/encoded-kb.el: Be sure to update minor-mode-alist
8385 and minor-mode-map-alist.
8386 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8387 codes SS2 and SS3 correctly.
8388 (encoded-kbd-self-insert-ccl): New function.
8389 (encoded-kbd-setup-keymap): New function.
8390 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8391 by calling encoded-kbd-setup-keymap.
8393 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8395 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8398 2000-02-22 Dave Love <fx@gnu.org>
8400 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8401 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8403 (lisp-mode-syntax-table): Set up for #|...|# comments.
8404 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8405 classes. Match `defface'.
8406 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8407 (eval-defun-1): Fix for defcustom.
8408 (lisp-indent-region): Doc fix.
8410 * subr.el (when, unless, split-string): Doc fix.
8411 (read-passwd): Move call of clear-this-command-keys to the right
8413 (replace-regexps-in-string): New function.
8415 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8417 * help.el (describe-variable): Set syntax table to
8418 emacs-lisp-mode-syntax-table when moving forward over the
8421 2000-02-22 Dave Love <fx@gnu.org>
8423 * xt-mouse.el: Doc fixes.
8424 (xterm-mouse-position-function): New function, replacing advice of
8426 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8428 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8430 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8432 * format.el (format-annotate-single-property-change): Handle
8433 properties.with dotted-list values.
8434 (format-proper-list-p): New function.
8436 * enriched.el (enriched-face-ans): Handle '(foreground-color
8437 . COLOR) and (background-color . COLOR).
8439 2000-02-20 Dave Love <fx@gnu.org>
8441 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
8442 and assignments to it.
8443 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
8445 (make-flyspell-overlay): Use it.
8446 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
8448 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
8449 (lm-get-header-re): Defun, not defsubst.
8450 (lm-get-package-name): Defun, not defsubst. Simplify.
8451 (lm-version): Doc fix. Simplify.
8452 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
8453 (lm-crack-address, lm-last-modified-date, lm-commentary)
8454 (lm-verify, lm-synopsis): Simplify.
8455 (lm-report-bug): Require emacsbug. Use compose-mail.
8457 2000-02-20 Gerd Moellmann <gerd@gnu.org>
8459 * dired.el (dired-mode): Call propertized-buffer-identification
8460 to set mode-line-buffer-identification to something having
8461 the right text properties.
8463 * bindings.el (propertized-buffer-identification): New function.
8465 2000-02-20 Dave Love <fx@gnu.org>
8467 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
8468 check for t-mouse too.
8470 * cus-start.el: Make echo-keystrokes `number'.
8472 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
8474 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
8475 Don't call ring-empty-p unless tags-location-ring is bound.
8476 From Noah Friedman <friedman@splode.com>.
8478 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
8480 * progmodes/hideshow.el (hs-flag-region): No longer use
8481 `intangible' overlay property.
8483 (hs-toggle-hiding): New command.
8484 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
8486 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
8487 Fix omission bug: Run `hs-minor-mode-hook' for both activation
8490 2000-02-18 Gerd Moellmann <gerd@gnu.org>
8492 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
8494 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8496 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
8498 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
8499 of `*' to handle `(* ... *)' comments.
8501 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
8503 * faces.el (list-faces-display): Use display-mouse-p instead of
8506 * menu-bar.el (global-map): Menu-bar items converted to the new
8507 format (menu-item..., rearranged for better CUA compliance, and
8508 their names changed for better clarity. Help strings added.
8510 * international/mule-cmds.el (mule-menu-keymap)
8511 (describe-language-environment-map, set-coding-system-map)
8512 (setup-language-environment-map): Convert to new (menu-item...
8513 form, add help strings. Change names of menu items for better
8514 clarity. "Mule" menu-bar item removed (it's now in the "Options"
8517 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8519 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
8522 2000-02-16 Dave Love <fx@gnu.org>
8524 * faces.el: Don't require custom. Add more specific :groups to
8526 (set-face-attribute): Purecopy args.
8527 (read-face-name): Default to name at point and use it in prompt.
8528 Remove colon from arg in all callers.
8529 (list-faces-display): Hyperlink to face descriptions and customize
8532 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
8534 * wid-edit.el (widget-match-inline): An atom never matches a
8537 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8539 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8540 at ':' characters by call to split-string.
8542 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8544 * textmodes/bibtex.el: Added RCS version identification.
8546 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8548 * textmodes/bibtex.el: Some temporary comments removed.
8549 (bibtex-field-name, bibtex-entry-type): Made the relationship
8551 (bibtex-field-const): Allow capital letters.
8552 (bibtex-start-of-string): Deleted because unused.
8554 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8555 use the term 'reference' to describe a bibtex entry as a whole.
8556 Further, reference keys are no longer called 'labels'.
8557 (bibtex-keys): Renamed to bibtex-reference-keys.
8558 (bibtex-reformat-previous-labels): Renamed to
8559 bibtex-reformat-previous-reference-keys.
8560 (bibtex-reference-type): Renamed to bibtex-entry-type.
8561 (bibtex-reference-head): Renamed to bibtex-entry-head.
8562 (bibtex-reference-maybe-empty-head): Renamed to
8563 bibtex-entry-maybe-empty-head.
8564 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8565 (bibtex-search-reference): Renamed to bibtex-search-entry.
8566 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8567 bibtex-enclosing-entry-maybe-empty-head.
8568 (bibtex-entry-field-alist, bibtex-entry-head,
8569 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8570 bibtex-map-entries, bibtex-search-entry,
8571 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8572 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8573 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8574 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8575 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8576 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8577 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8579 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8581 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8583 (bibtex-format-field-delimiters): New function, functionality
8584 extracted from bibtex-format-entry.
8585 (bibtex-autokey-get-yearfield-digits): New function, functionality
8586 extracted from bibtex-autokey-get-yearfield.
8588 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8589 entries in order to avoid stack overflow in the regexp matcher if
8590 field contents become large.
8591 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8592 bibtex-field-string-part-not-braced,
8593 bibtex-field-string-part-no-inner-braces,
8594 bibtex-field-string-part-1-inner-brace,
8595 bibtex-field-string-part-2-inner-braces,
8596 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8597 bibtex-field-string-quoted, bibtex-field-string,
8598 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8599 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8600 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8601 as parsing is now performed by the following functions.
8602 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8603 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8604 bibtex-parse-field-string, bibtex-search-forward-field-string,
8605 bibtex-parse-association, bibtex-field-name-for-parsing,
8606 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8607 bibtex-search-forward-field, bibtex-search-backward-field,
8608 bibtex-start-of-field, bibtex-end-of-field,
8609 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8610 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8611 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8612 bibtex-parse-string, bibtex-search-forward-string,
8613 bibtex-search-backward-string, bibtex-start-of-string,
8614 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8615 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8616 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8617 entries. Instead of reporting the results of the parsing by
8618 match-beginning or match-end, these functions return data structures
8619 that hold the corresponding positions.
8620 (bibtex-enclosing-field): Changed to also report field boundaries by
8621 return values rather than by match-beginning or match-end. The
8622 following functions have been adapted to use the new parsing
8624 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8625 bibtex-enclosing-field, bibtex-format-entry,
8626 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8627 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8628 bibtex-print-help-message, bibtex-end-of-entry,
8629 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8630 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8631 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8633 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8634 bibtex-map-entries, bibtex-flash-head,
8635 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8636 bibtex-autokey-change, bibtex-autokey-get-namefield,
8637 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8638 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8639 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8640 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8641 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8642 order to make the new binding of case-fold-search immediately
8645 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8647 * textmodes/bibtex.el: Copyright notice is up to date.
8648 Added constant 'bibtex-maintainer-salutation.
8650 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8651 than make-temp-name, use match-string-no-properties and eliminate
8652 a quadratic behavior when building bibtex-strings.
8654 * bibtex.el (bibtex-reference-key): Accept string entries whose
8655 reference key contains upper case letters.
8657 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8659 * bibtex.el (bibtex-reference-head): Allow entries to start with
8662 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8664 * bibtex.el: Hiding of entry bodies is not longer provided by
8665 bibtex.el directly. Instead the hideshow package can be used.
8666 Added a special bibtex entry to hs-special-modes-alist.
8667 (bibtex-hs-forward-sexp): Added for hideshow.el.
8669 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8671 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8672 at ':' characters by call to split-string.
8674 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8676 * textmodes/bibtex.el: Added RCS version identification.
8678 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8680 * textmodes/bibtex.el: Some temporary comments removed.
8681 (bibtex-field-name, bibtex-entry-type): Made the relationship
8683 (bibtex-field-const): Allow capital letters.
8684 (bibtex-start-of-string): Deleted because unused.
8686 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8687 use the term 'reference' to describe a bibtex entry as a whole.
8688 Further, reference keys are no longer called 'labels'.
8689 (bibtex-keys): Renamed to bibtex-reference-keys.
8690 (bibtex-reformat-previous-labels): Renamed to
8691 bibtex-reformat-previous-reference-keys.
8692 (bibtex-reference-type): Renamed to bibtex-entry-type.
8693 (bibtex-reference-head): Renamed to bibtex-entry-head.
8694 (bibtex-reference-maybe-empty-head): Renamed to
8695 bibtex-entry-maybe-empty-head.
8696 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8697 (bibtex-search-reference): Renamed to bibtex-search-entry.
8698 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8699 bibtex-enclosing-entry-maybe-empty-head.
8700 (bibtex-entry-field-alist, bibtex-entry-head,
8701 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8702 bibtex-map-entries, bibtex-search-entry,
8703 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8704 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8705 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8706 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8707 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8708 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8709 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8711 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8713 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8715 (bibtex-format-field-delimiters): New function, functionality
8716 extracted from bibtex-format-entry.
8717 (bibtex-autokey-get-yearfield-digits): New function, functionality
8718 extracted from bibtex-autokey-get-yearfield.
8720 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8721 entries in order to avoid stack overflow in the regexp matcher if
8722 field contents become large.
8723 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8724 bibtex-field-string-part-not-braced,
8725 bibtex-field-string-part-no-inner-braces,
8726 bibtex-field-string-part-1-inner-brace,
8727 bibtex-field-string-part-2-inner-braces,
8728 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8729 bibtex-field-string-quoted, bibtex-field-string,
8730 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8731 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8732 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8733 as parsing is now performed by the following functions.
8734 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8735 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8736 bibtex-parse-field-string, bibtex-search-forward-field-string,
8737 bibtex-parse-association, bibtex-field-name-for-parsing,
8738 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8739 bibtex-search-forward-field, bibtex-search-backward-field,
8740 bibtex-start-of-field, bibtex-end-of-field,
8741 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8742 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8743 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8744 bibtex-parse-string, bibtex-search-forward-string,
8745 bibtex-search-backward-string, bibtex-start-of-string,
8746 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8747 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8748 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8749 entries. Instead of reporting the results of the parsing by
8750 match-beginning or match-end, these functions return data structures
8751 that hold the corresponding positions.
8752 (bibtex-enclosing-field): Changed to also report field boundaries by
8753 return values rather than by match-beginning or match-end. The
8754 following functions have been adapted to use the new parsing
8756 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8757 bibtex-enclosing-field, bibtex-format-entry,
8758 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8759 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8760 bibtex-print-help-message, bibtex-end-of-entry,
8761 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8762 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8763 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8765 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8766 bibtex-map-entries, bibtex-flash-head,
8767 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8768 bibtex-autokey-change, bibtex-autokey-get-namefield,
8769 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8770 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8771 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8772 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8773 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8774 order to make the new binding of case-fold-search immediately
8777 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8779 * textmodes/bibtex.el: Copyright notice is up to date.
8780 Added constant 'bibtex-maintainer-salutation.
8782 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8783 than make-temp-name, use match-string-no-properties and eliminate
8784 a quadratic behavior when building bibtex-strings.
8786 * bibtex.el (bibtex-reference-key): Accept string entries whose
8787 reference key contains upper case letters.
8789 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8791 * bibtex.el (bibtex-reference-head): Allow entries to start with
8794 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8796 * bibtex.el: Hiding of entry bodies is not longer provided by
8797 bibtex.el directly. Instead the hideshow package can be used.
8798 Added a special bibtex entry to hs-special-modes-alist.
8799 (bibtex-hs-forward-sexp): Added for hideshow.el.
8801 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8803 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
8804 proceedings entry type (for cross referencing). Thanks to Wagner
8805 Toledo Correa for the suggestion.
8807 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
8809 2000-02-14 Kenichi Handa <handa@etl.go.jp>
8811 * international/characters.el: Setup case table for Vietnamese.
8813 2000-02-12 Gerd Moellmann <gerd@gnu.org>
8815 * uniquify.el (toplevel): Require CL at compile time.
8816 (uniquify-push): Removed.
8818 * shadowfile.el (shadow-when): Removed.
8820 * tempo.el (tempo-dolist, tempo-mapc): Removed.
8821 (tempo-process-and-insert-string): Use dolist instead of
8824 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
8825 regexp for paragraph-start.
8827 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
8830 2000-02-10 Dave Love <fx@gnu.org>
8832 * wid-edit.el: (widgets) [defgroup]: Remove url link.
8833 (widget-color-choice-list, widget-color-history, widget-mouse-help):
8835 (widget-specify-field, widget-specify-button): Don't use
8836 widget-mouse-help as help-echo property.
8837 (default): Use #'ignore for :validate and :mouse-down-action.
8838 (checkbox): Add help-echo.
8839 (widget-sexp-validate): Rewritten to clarify error messages.
8840 (character): Use char-valid-p in :match function.
8841 (widget-color-complete): Use facemenu-color-alist.
8842 (widget-color-action): Use facemenu-read-color.
8844 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
8845 set up `caar' &c that we now have.
8847 2000-02-09 Ray Blaak <blaak@gnu.org>
8849 * delphi.el: Make resourcestring a declaration region, like const
8852 2000-02-09 Dave Love <fx@gnu.org>
8854 * bindings.el (mode-line-input-method-map): New variable.
8855 (mode-line-mule-info): Use it; fix last change.
8856 (mode-line-mode-menu): Move definition.
8857 (mode-line-mouse-sensitive-p): Deleted.
8858 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
8859 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
8862 * startup.el (command-line-1): Don't call
8863 make-mode-line-mouse-sensitive.
8865 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8867 * mail/rmail.el (rmail-retry-failure): Use
8868 rmail-beginning-of-message before rmail-toggle-header, because the
8869 former toggles headers.
8871 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
8873 * diff-mode.el (diff-kill-junk): New interactive function.
8874 (diff-reverse-direction): Use delete-and-extract-region.
8875 (diff-post-command-hook): Restrict the area so that the hook also works
8876 outside of any diff hunk. This is necessary for the minor-mode.
8877 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
8878 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
8880 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
8881 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
8882 so that it can be used more easily in <foo>-mode-hook. Also make sure
8883 to avoid duplicate entries.
8884 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
8885 (font-lock-remove-keywords): Just as was done for `add', allow it to
8886 work even if font-lock-mode is nil. Also make sure we don't modify
8887 any pre-existing list by forcing a copy-sequence. Finally rename
8888 `major-mode' to `mode'.
8889 (font-lock-fontify-syntactic-anchored-keywords)
8890 (font-lock-fontify-anchored-keywords)
8891 (font-lock-fontify-keywords-region): Use line-end-position.
8892 Don't make `font-lock-multiline' local (it's now done in
8893 font-lock-set-defaults).
8894 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
8895 move the `font-lock-fontified' creation to inside the `unless'.
8897 2000-02-06 Andrew Innes <andrewi@gnu.org>
8899 * term/w32-win.el (x-handle-args): Comment out call to message,
8900 which occurs before window system is initialized.
8902 * makefile.nt: Add support for recompiling lisp code.
8904 2000-02-04 Dave Love <fx@gnu.org>
8906 * bindings.el (mode-line-mule-info): Fix/extend last change.
8908 * completion.el: Replace completion-dolist with dolist.
8910 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
8913 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
8915 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
8916 environment names before they go into the section regexp.
8918 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
8919 char class in regexp.
8921 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
8922 `case-fold-search' to nil.
8924 * progmodes/idlwave.el (idlwave-template): Respect
8925 `idlwave-abbrev-change-case'.
8926 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
8927 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
8928 idlwave-while): respect `idlwave-reserved-word-upcase'.
8929 (idlwave-rw-case): New function.
8930 (idlwave-statement-match): Fixed problem with assignment regexp.
8931 (idlwave-font-lock-keywords): Improved regexp for keyword
8933 (idlwave-surround): New argument LENGTH to support padding of
8934 operators longer than 1 char.
8936 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
8937 idlwave-shell-expression-overlay. Implemented printing of
8938 expressions on higher levels of the calling stack.
8939 (idlwave-shell-display-level-in-calling-stack): Restore stack
8941 (idlwave-retrieve-expression-from-level): New function.
8942 (idlwave-shell-last-calling-stack): Variable removed.
8943 (idlwave-shell-reset): Argument action reversed (`visible' to
8944 `hidden'). Also remove stop-line overlay.
8945 (idlwave-shell-calling-stack-routine): New variable.
8946 (idlwave-shell-parse-stack-and-display): Messages now display
8947 negative level numbers.
8948 (idlwave-shell-mode): Set `modeline-format'.
8949 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
8950 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
8952 (idlwave-shell-print-expression-function): New option.
8954 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
8955 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
8956 `tool-bar' instead of `toolbar'.
8958 2000-02-02 Dave Love <fx@gnu.org>
8960 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
8961 emacs-lisp-mode-hook. Don't check for defalias being defined.
8963 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
8964 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
8965 the new builtins directly.
8967 * whitespace.el (whitespace): Add :version to defgroup.
8969 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
8972 * thingatpt.el (sexp-at-point, symbol-at-point)
8973 (number-at-point, list-at-point): Add autoload cookie.
8975 * recentf.el (recentf): Add :version to defgroup.
8977 * quickurl.el (quickurl): Add :version to defgroup.
8979 * elide-head.el (elide-head): Use point-marker more.
8981 * bs.el (bs): Add :version to defgroup.
8983 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
8985 * progmodes/delphi.el (delphi): Add :version to defgroup.
8987 2000-02-02 Gerd Moellmann <gerd@gnu.org>
8989 * ange-ftp.el (ange-ftp-write-region): Handle case that
8990 succeeding process operation sets a different coding system.
8992 * calculator.el: New file.
8994 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8996 * frame.el (frames-on-display-list, framep-on-display): New
8998 (display-mouse-p, display-popup-menus-p, display-graphic-p)
8999 (display-selections-p, display-screens, display-pixel-width)
9000 (display-pixel-height, display-mm-width, display-mm-height)
9001 (display-backing-store, display-save-under, display-planes)
9002 (display-color-cells, display-visual-class): New functions.
9004 * term/tty-colors.el (tty-color-gray-shades): New function.
9006 * faces.el (display-color-p): Use framep-on-display.
9007 (display-grayscale-p): New function.
9009 2000-01-31 Dave Love <fx@gnu.org>
9011 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
9012 (create-fontset-from-x-resource): Don't concat integers.
9014 2000-01-31 Inge Frick <inge@nada.kth.se>
9016 * view.el: Some changes in documentation. Removed some trailing
9017 whitespace. Changed some parameter names to agree with
9019 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
9020 window is not deleted. Modifies change 1998-04-26.
9022 2000-01-31 Gerd Moellmann <gerd@gnu.org>
9024 * windmove.el: New file.
9026 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9027 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9028 progmodes/ebnf-yac.el: Update copyright and license info.
9030 * jit-lock.el (jit-lock-function): Widen before calculating end
9032 (jit-lock-stealth-chunk-start): Rewritten.
9034 * info.el (Info-title-face-alist): Removed.
9035 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
9037 (Info-fontify-node): Use these faces.
9039 2000-01-30 Gerd Moellmann <gerd@gnu.org>
9041 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
9042 (cl-macro-list1): Recognize `&allow-other-keys' instead of
9043 `&allow-other-keywords'.
9045 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
9046 the list of directories scanned heuristically.
9048 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
9051 2000-01-30 Jason Rumney <jasonr@gnu.org>
9053 * w32-fns.el: Define w32-tty-standard-colors.
9055 * startup.el (command-line): Use w32-tty-standard-colors when in
9058 2000-01-30 Dave Love <fx@gnu.org>
9060 * jka-compr.el (jka-compr-load): Fix up load-history.
9062 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9064 * emacs-lisp/cl-macs.el: Revert previous change.
9066 2000-01-29 Dave Love <fx@gnu.org>
9068 * facemenu.el: Purecopy various strings.
9070 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9071 years. Deal with three-digit years.
9073 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9075 (help-back-label): Purecopy it.
9077 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9079 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9080 variable. If non-nil, order the buffer list according to the
9081 currently selected frame.
9082 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9083 non-nil, pass the selected frame to function buffer-list.
9085 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9087 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9089 2000-01-28 Dave Love <fx@gnu.org>
9091 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9093 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9094 Don't use lisp-indent-hook property.
9097 * subr.el: Move out indent and edebug specs for when and unless.
9099 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
9102 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
9105 2000-01-28 Gerd Moellmann <gerd@gnu.org>
9107 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
9108 `collecting' as synonym for `collect'.
9110 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
9111 for the case it contains spaces.
9113 * simple.el (what-cursor-position): Change formatting of
9116 * frame.el (delete-other-frames): New function.
9117 (toplevel): Bind it to C-x 5 1.
9119 * sort.el (sort-numeric-base): New option.
9120 (sort-numeric-fields): If number starts with `0' or `0[xX[',
9121 interpret it as octal or hexadecimal. Use sort-numeric-base
9124 * progmodes/glasses.el: New file.
9126 2000-01-27 Gerd Moellmann <gerd@gnu.org>
9128 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
9129 userids differently.
9131 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9132 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9133 progmodes/ebnf-yac.el: New files.
9135 2000-01-26 Dave Love <fx@gnu.org>
9137 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
9138 on a function with an empty body. [From Eric Ludlam.]
9140 2000-01-25 Andre Spiegel <spiegel@gnu.org>
9142 * vc.el (vc-version-diff): Make sure file name is expanded.
9144 2000-01-25 Gerd Moellmann <gerd@gnu.org>
9146 * scroll-bar.el (scroll-bar-timer): Variable removed.
9147 (scroll-bar-toolkit-scroll): Don't use a timer.
9149 2000-01-25 Kenichi Handa <handa@etl.go.jp>
9151 * language/thai-util.el (thai-composition-function): Delete
9154 2000-01-24 Dave Love <fx@gnu.org>
9156 * fortran.el (fortran-mode): Use beginning-of-defun-function,
9157 end-of-defun-function.
9159 * font-lock.el (turn-on-font-lock): Don't depend on window-system
9162 2000-01-22 Jason Rumney <jasonr@gnu.org>
9164 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
9165 conflicts with new face support.
9167 2000-01-22 Richard M. Stallman <rms@gnu.org>
9169 * replace.el (query-replace): Rename last arg to DELIMITED.
9170 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
9171 (query-replace-regexp): Likewise.
9173 2000-01-20 Richard M. Stallman <rms@gnu.org>
9175 * subr.el (with-syntax-table): Use make-symbol, not gensym.
9177 * emacs-lisp/lisp.el (beginning-of-defun-function):
9178 Variable renamed from beginning-of-defun.
9179 Do not call make-variable-buffer-local.
9180 (beginning-of-defun-raw): Use new variable name; doc fix.
9181 (beginning-of-defun): Doc fix.
9182 (end-of-defun-function): Variable renamed from end-of-defun.
9183 Do not call make-variable-buffer-local.
9184 (end-of-defun): Use new variable name; doc fix.
9186 * subr.el (dolist, dotimes): Copied from cl-macs.el
9189 * mail/undigest.el (rmail-digest-end-regexps):
9190 Variable replaces rmail-digest-end-regexp.
9191 Allows multiple regexps for detecting the end line.
9192 (undigestify-rmail-message): Corresponding changes.
9194 2000-01-19 Dave Love <fx@gnu.org>
9196 * files.el (user-init-file): Don't declare here -- is primitive.
9198 * startup.el (command-line): Check for compiled user-init-file and
9199 set to uncompiled version if necessary.
9201 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9203 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9204 (undigestify-rmail-message): Use it.
9206 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9208 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9210 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9213 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9215 * emacs-lisp/copyright.el (copyright-update): Removed the
9216 requirement for a trailing space from `copyright-regexp', to
9217 support copyrights with owner specified on a separate line..
9219 * align.el: New file.
9221 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9223 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9225 2000-01-13 Dave Love <fx@gnu.org>
9227 * ph.el: Removed. (Obsoleted by EUDC.)
9229 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9231 * net/eudc.el (toplevel): Remove autoloaded code installing
9232 menu with easymenu, because that causes build problems.
9234 * frame.el (frame-notice-user-settings): New variable.
9235 (frame-notice-user-settings): Don't modify frame parameters
9236 if called a second time.
9238 2000-01-13 Richard M. Stallman <rms@gnu.org>
9240 * frame.el (frame-notice-user-settings):
9241 Notice default-frame-parameters even for non-window frames.
9243 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9245 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9247 (eudc-bob-can-display-inline-images): Extend for Emacs.
9248 (eudc-bob-toggle-inline-display): Ditto.
9249 (eudc-bob-display-jpeg): Ditto.
9251 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9253 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9254 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9255 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9257 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9260 * subdirs.el: Add `net' directory.
9262 * net: New directory.
9264 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9265 eval-last-sexp. Don't bind debug-on-error here.
9266 (eval-last-sexp): New function. Bind debug-on-error if
9267 eval-expression-debug-on-error is non-nil.
9268 (eval-defun-2, eval-defun): Likewise.
9270 * simple.el (eval-expression): Don't bind debug-on-error if
9271 eval-expression-debug-on-error is nil. Detect changed
9272 debug-on-error, and propagate new value to global binding, if
9273 eval-expression-debug-on-error is non-nil,
9274 (eval-expression-debug-on-error): Change doc string.
9276 2000-01-11 Richard M. Stallman <rms@gnu.org>
9278 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9280 * emacs-lisp/lisp-mode.el (with-syntax-table):
9281 Set up lisp-indent-function property.
9283 * subr.el (with-syntax-table): Moved from simple.el.
9285 * simple.el (with-syntax-table): Moved to subr.el.
9287 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9289 * tmm.el (tmm-shortcut): Delete region after prompt instead
9292 * textmodes/fill.el (fill-common-string-prefix): New function.
9293 (fill-context-prefix): Use the longest common prefix of first
9294 and second line fill prefix, if there is one.
9296 2000-01-11 Richard M. Stallman <rms@gnu.org>
9298 * array.el (array-mode): Don't use make-variable-buffer-local.
9299 Use make-local-variable for `truncate-lines'.
9301 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9303 * add-log.el (add-log-current-defun): Handle user-defined
9304 add-log-current-function returning nil,
9306 * add-log.el (add-change-log-entry): Insert version number
9307 if having found a current function
9309 * add-log.el (add-log-current-defun): Call
9310 `add-log-current-defun-function'. Try matches at level 0 and
9311 level 1. Strip whitespace from defun found.
9313 2000-01-10 John Wiegley <johnw@gnu.org>
9315 * allout.el (isearch-done/outline-provisions): Added `edit'
9316 argument to correspond with the current definition of
9319 2000-01-10 Dave Love <fx@gnu.org>
9321 * elide-head.el (elide-head): Use point-marker, not point.
9323 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9325 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9326 before and after the year 2000.
9328 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9331 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9333 * ispell.el: Only define dictionaries in menus when they exist.
9334 (version18p): New variable.
9335 (version20p): New variable.
9336 (xemacsp): New variable.
9337 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9338 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9339 (ispell-dictionary-alist6): Russian command lines no longer accept
9341 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9342 (ispell-dictionary-alist): Add koi8-r to customize definition.
9343 (check-ispell-version): Added documentation string. Returns
9344 library path when called non-interactively.
9345 (ispell-menu-map-needed): Uses new variables.
9346 (ispell-library-path): New variable.
9347 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9348 (ispell-word): Improved documentation string. Test for valid
9349 character mappings. Correctly check typed in word changes that can
9350 result in single words split into multiple words. Returns
9352 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9353 replace in recursive query replace mode. Help message for
9354 recursive edit mode.
9355 (ispell-show-choices): Protect against bad framepop bindings.
9356 (ispell-help): Fix to work with XEmacs.
9357 (ispell-highlight-spelling-error): Use new variables.
9358 (ispell-overlay-window): Fix to work with XEmacs.
9359 (ispell-parse-output): Passed and returns location information
9360 tracking spelling corrections. Doesn't recheck same word on
9362 (ispell-init-process): Protect against bogus XEmacs variable binding.
9363 Fix call to single argument in sleep-for. Use new variables.
9364 (ispell-region): Passed and returns location information tracking
9365 spelling corrections. Doesn't check same word on current line.
9366 Improved documentation string. Doesn't resend a line already
9367 checked to the ispell process - fixes bug in LaTeX parsing.
9368 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9369 (ispell-skip-region): No longer skips <TT> in SGML.
9370 (ispell-process-line): Tracks location information with spelling
9371 corrections. Added documentation string. Accounts for words
9372 already accepted on this line. Don't allow query-replace on line
9373 starting with math characters. Doesn't resend a line already sent
9374 to ispell process. Fixes alignment error bug.
9376 2000-01-10 Richard M. Stallman <rms@gnu.org>
9378 * dired-x.el (dired-guess-shell-alist-default):
9379 Suggest xloadimage, which is free, not xv, which isn't.
9381 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9382 Don't ever include the host name or user name in the value.
9384 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9386 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9389 2000-01-09 Stephen Eglen <stephen@gnu.org>
9391 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9394 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9396 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9398 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9400 * progmodes/cperl-mode.el: Replace ^F with ^L.
9402 * sendmail.el (toplevel): Provide `sendmail' when compiling
9403 before `require'ing rmail and mailalias to prevent infinite
9406 2000-01-08 Dave Love <fx@gnu.org>
9408 * emacs-lisp/backquote.el: Remove inappropriate customization
9409 (allowing custom.el to use backquote).
9411 2000-01-07 Dave Love <fx@gnu.org>
9413 * add-log.el (add-log-debugging): Deleted.
9414 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9415 file. Remove debugging code.
9416 (change-log-get-method-definition, change-log-name): Add doc.
9417 (change-log-sortable-date-at): New function.
9418 (change-log-merge): New command.
9420 * time.el (display-time-string-forms): Make the Mail string active.
9421 (display-time-update): Provide help-echo for load average.
9423 * bindings.el (make-mode-line-mouse2-map): New function.
9424 (mode-line-modified): Use it and simplify.
9425 (mode-line-mule-info): Provide help-echo info.
9426 (minor-mode-alist): Activate the strings.
9427 (make-mode-line-mouse-sensitive): Simplify for
9428 mode-line-buffer-identification.
9430 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9432 * play/pong.el: New file.
9434 2000-01-06 Dave Love <fx@gnu.org>
9436 * array.el: Assorted cleanups for compiler warnings, doc strings,
9437 `array-' prefix for symbols.
9439 2000-01-05 Dave Love <fx@gnu.org>
9441 * textmodes/outline.el (outline-mode-menu-bar-map): Add
9442 outline-headers-as-kill.
9443 (outline-mode): Define imenu-generic-expression.
9444 (outline-headers-as-kill): New command.
9446 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
9447 from paragraph-start.
9448 (paragraph-indent-minor-mode): New command.
9450 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
9451 M-C-e, M-C-h, C-j, C-xnd, TAB.
9452 (fortran-mode): Set beginning-of-defun, end-of-defun.
9453 (fortran-column-ruler): Simplify.
9454 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
9455 (fortran-with-subprogram-narrowing): Likewise.
9456 (fortran-indent-subprogram): Call mark-defun.
9457 (fortran-check-for-matching-do): Change narrowing.
9459 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
9460 (cl-lucid-hash-tag): Delete.
9461 (cl-hash-table-p): Correct test for native table.
9462 (cl-hash-table-count): Use hash-table-count.
9464 * browse-url.el (browse-url): Fix case of
9465 browse-url-browser-function being an alist.
9467 2000-01-05 Carsten Dominik <cd@gnu.org>
9469 * textmodes/reftex-vars.el (reftex-parse-file-extension)
9470 (reftex-index-phrase-file-extension): New options.
9472 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
9473 Use new option `reftex-index-phrase-file-extension'.
9475 * textmodes/reftex.el (reftex-access-parse-file): Use new option
9476 `reftex-parse-file-extension'.
9478 2000-01-05 Dave Love <fx@gnu.org>
9480 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
9481 (beginning-of-defun-raw): Use it.
9482 (end-of-defun): New variable.
9483 (end-of-defun): Use it.
9484 (check-parens): New command.
9486 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
9488 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
9489 (hs-show-block): Don't use `mapcar' when not accumulating.
9491 Fix buglet in local variables initialization.
9493 2000-01-05 Andreas Schwab <schwab@suse.de>
9495 * hscroll.el (hscroll): Doc fix.
9497 2000-01-05 Carsten Dominik <cd@gnu.org>
9499 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
9502 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
9504 (idlwave-customize): load must read file idlw-shell.el.
9505 (idlwave-create-customize-menu): load must read file idlw-shell.el.
9507 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
9509 * progmodes/idlw-shell.el: Also provide idlwave-shell
9510 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
9511 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
9513 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
9514 both reftex-dcr and reftex-vcr.
9516 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
9518 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9520 * ps-print.el: PostScript code now is in separate files, doc fix.
9521 (ps-print-version): New version number (5.0.3).
9522 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
9524 (ps-spool-config): Initialization fix.
9525 (ps-print-prologue-1, ps-print-prologue-2)
9526 (ps-print-duplex-feature): PostScript code moved to separated file.
9527 (ps-background-image): Little code reformating.
9528 (ps-begin-file, ps-begin-job): Fix code.
9529 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
9530 (ps-prologue-file): New fun.
9532 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9534 * ps-vars.el: Eliminated.
9536 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
9539 * ps-print.el: ps-vars eliminated, doc fix.
9540 (ps-print-version): New version number (5.0.2).
9541 (ps-spool-config): Initialization fix.
9542 (ps-print-customize): New fun.
9544 2000-01-04 Gerd Moellmann <gerd@gnu.org>
9546 * autorevert.el (auto-revert-mode): Return value of
9549 2000-01-04 Dave Love <fx@gnu.org>
9551 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
9554 2000-01-03 Dave Love <fx@gnu.org>
9556 * elide-head.el (elide-head) [defgroup]: Add :version.
9558 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
9559 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
9560 `cl-hash-table-p', not `hash-table-p'.
9561 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
9563 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9565 * faces.el (face-read-integer, read-face-attribute)
9566 (color-defined-p, color-values): unspecified-{f,b}g are now
9569 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
9571 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
9572 at comment end, and re-insert them after filling.
9574 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9576 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
9577 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
9578 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
9580 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9582 * term/x-win.el (xw-defined-colors): Call color-supported-p,
9583 the new name of face-color-supported-p.
9585 * term/w32-win.el (xw-defined-colors): Likewise.
9587 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9589 * simple.el (completion-setup-function): Count completion-size
9590 from minibuffer-prompt-end, not from point-min.
9592 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9594 * faces.el (read-face-attribute, defined-colors, color-defined-p):
9595 Pass the frame to tty-color-* functions.
9596 (display-color-p, frame-set-background-mode): Pass the frame to
9597 tty-display-color-p.
9599 * term/tty-colors.el (tty-defined-color-alist): Renamed from
9601 (tty-color-alist, tty-modify-color-alist): New functions.
9602 (tty-color-define, tty-color-clear, tty-color-approximate)
9603 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
9604 an optional parameter FRAME.
9606 2000-01-01 Gerd Moellmann <gerd@gnu.org>
9608 * image.el (create-image, defimage): Don't assume image data is a
9611 * image.el (defimage): Handle specifications containing :data
9613 (image-type-from-data): New function.
9614 (image-type-from-file-header): Use it.
9615 (create-image): Add parameter DATA-P.
9617 See ChangeLog.8 for earlier changes.
9620 ;; coding: iso-2022-7bit-unix