1 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
4 (outline-mode): Use define-derived-mode.
6 * progmodes/perl-mode.el (perl-mode):
7 * progmodes/awk-mode.el (awk-mode):
8 * progmodes/asm-mode.el (asm-mode):
9 Don't gratuitously override the default for comment-column.
11 * emacs-lisp/lisp.el (lisp-complete-symbol):
12 Distinguish the let-binding case from the funcall case.
13 (forward-sexp-function): New variable.
14 (forward-sexp): Use it.
16 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
17 (easy-mmode-defmap): Remove the now useless autoload.
19 * time.el (display-time-mode): Use define-minor-mode.
21 * subr.el (add-minor-mode): Don't eval NAME.
22 Don't depend on the presence of TOGGLE-FUN for any special behavior.
23 Use if rather than cond.
25 * simple.el (read-expression-map): Define more properly.
26 (comment-indent-hook): Remove.
27 (string-to-syntax): Bug fix.
29 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
30 (cvs-ediff-diff): Fix typo.
31 (cvs-revert-if-needed): Don't bother preserving read-only.
33 * paren.el (show-paren-mode): Use define-minor-mode.
35 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
36 (toggle-auto-compression): Remove.
37 (jka-compr-build-file-regexp): Remove useless grouping.
39 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
40 Avoid user-reserved bindings.
41 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
42 (diff-header-face): Revert to grey85.
44 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
46 * complete.el (partial-completion-mode) <defcustom>: Remove.
47 (partial-completion-mode): Use define-minor-mode.
48 (PC-do-completion): Understand `completion-auto-help = delay'
49 to mean to popup the completion buffer only the second time.
50 (PC-include-file-all-completions, PC-include-file-all-completions)
51 (PC-include-file-all-completions): Don't quote lambda.
53 * comint.el (comint-mode-hook): Docstring fix.
54 (comint-mode): Use define-derived-mode.
55 (comint-mode-map): Remove obsolete comment.
56 (make-comint): Minor stylistic change.
57 (comint-insert-clicked-input): Be more careful to find the overlay.
58 Use this-command-keys rather than hardcoding mouse-2.
60 * font-lock.el: Replace confusing (,@ with ,
61 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
62 Don't use regexp-opt-depth. Spice up the regexp for args.
63 Don't distinguish between cmds that can take an opt arg or not.
64 Use `append' and `prepend' rather than `keep'.
66 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
67 (latex-outline-regexp): New var.
68 (latex-outline-level): New fun.
69 (latex-section-alist): New var.
70 (latex-imenu-create-index): Use it. Use `push' as well.
71 (tex-shell-map): Initialize it properly.
72 (tex-mode): Minor stylistic change.
73 (plain-tex-mode): Use define-derived-mode.
74 (latex-mode): Use define-derived-mode.
75 Construct the paragraph regexps in a more readable way.
76 Set the buffer-local outline-{level,regexp} vars.
77 (slitex-mode): Derive from latex-mode.
78 (tex-common-initialization): Don't kill-all-vars anymore.
79 Add setting for comment-add and font-lock-defaults.
80 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
81 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
82 (tex-start-tex): New arg DIR (and send a chdir command for it).
83 Also display the shell buffer and save it in tex-last-buffer-texed.
84 (tex-region): Use expand-file-name rather than concat.
85 Remove code made useless by changes in tex-start-tex.
86 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
88 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
90 2000-09-28 Dave Love <fx@gnu.org>
92 * eshell/eshell.el (eshell) <defgroup>: Add :version.
94 2000-09-28 Gerd Moellmann <gerd@gnu.org>
96 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
99 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
101 * info.el (Info-extract-pointer): Undo last change.
102 Instead, fix the position of the `bound' arg to re-search-backward.
104 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
106 * info.el (Info-extract-pointer):
107 Widen more carefully, to avoid finding pointers in other nodes.
108 (Info-index): Use push.
110 2000-09-27 Gerd Moellmann <gerd@gnu.org>
112 * frame.el (set-frame-font): Remove call to obsolete function
114 (set-foreground-color, set-background-color): Likewise for
115 frame-update-face-colors.
117 2000-09-27 Miles Bader <miles@gnu.org>
119 * image-file.el: New file.
121 2000-09-27 Gerd Moellmann <gerd@gnu.org>
123 * frame.el (frame-notice-user-settings): Don't call
124 frame-update-faces, which is a no-op now.
126 * ediff-wind.el (ediff-control-frame-parameters): Add zero
129 2000-09-27 Dave Love <fx@gnu.org>
131 * mouse.el: Fix last change.
133 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
135 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
137 2000-09-22 Kenichi Handa <handa@etl.go.jp>
139 * international/quail.el (quail-help): The output message is
142 2000-09-26 Dave Love <fx@gnu.org>
144 * mouse.el (popup-menu): If POSITION is nil, set it using
147 2000-09-25 Sam Steingold <sds@gnu.org>
149 * net/browse-url.el (browse-url-file-url): Check for null maps.
151 2000-09-26 Gerd Moellmann <gerd@gnu.org>
153 * frame.el (frame-notice-user-settings): Don't add a
154 tool-bar-lines frame parameter to default-frame-alist in batch mode.
156 * frame.el (frame-notice-user-settings):
157 Make tool-bar-mode and default-frame-alist consistent.
159 * toolbar/tool-bar.el (tool-bar-help): New function.
161 2000-09-25 Gerd Moellmann <gerd@gnu.org>
163 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
164 current-load-list in top-level forms. Else this leaks a cons cell
165 every time a defun is called.
167 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
169 2000-09-25 Dave Love <fx@gnu.org>
171 * startup.el (fancy-splash-head): Check XPM is available.
173 * autoinsert.el (auto-insert): Doc fix.
174 (auto-insert-alist): Following GNU notices, don't say `copyright
175 _by_'. Use line-beginning-position.
176 (auto-insert): Check buffer-file-name is non-nil before use.
178 2000-09-25 Gerd Moellmann <gerd@gnu.org>
180 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
181 starting with `@def' or `@multitable', in addition to ones
182 specified by the user in auto-fill-inhibit-regexp.
184 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
186 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
187 rmail-dont-reply-to-names matches the empty string.
189 2000-09-25 Gerd Moellmann <gerd@gnu.org>
191 * startup.el (command-line-1, fancy-splash-text): Change the
192 text to sound more friendly.
194 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
196 * progmodes/hideshow.el: Update author email address.
197 Generally, sync w/ maintainer version 5.22.
198 (hs-hide-all-non-comment-function): New var.
199 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
200 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
201 (hs-show-region): Delete this command.
202 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
204 2000-09-22 Dave Love <fx@gnu.org>
206 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
207 (hl-line-highlight): Specify buffer when moving overlay.
209 * progmodes/fortran.el (fortran-mode): Locally set
210 normal-auto-fill-function.
211 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
212 (fortran-mode-map): Adjust auto-fill menu entry.
214 2000-09-22 Gerd Moellmann <gerd@gnu.org>
216 * vc-rcs.el (toplevel): Require `vc' when compiling.
218 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
220 2000-09-22 Andre Spiegel <spiegel@gnu.org>
222 * vc.el (vc-switch-backend): Signal an error if the file is not
223 registered under the new backend.
225 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
226 without explicit revision number.
228 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
230 * diff-mode.el (diff-file-header-face): Reset to its previous value.
231 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
232 (diff-xor): New function.
233 (diff-find-source-location): Use it. Fix a stupid name clash.
234 (diff-hunk-status-msg): New function.
235 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
236 (diff-test-hunk): Use diff-find-source-location.
237 (diff-goto-source): Favor the `reverse'.
238 (diff-hunk-text): Properly handle one-sided context diffs.
239 (diff-apply-hunk): When done, advance to the next hunk.
241 2000-09-21 Gerd Moellmann <gerd@gnu.org>
243 * startup.el (command-line): If frame was created with a non-zero
244 tool-bar-lines parameter, switch tool-bar-mode on.
246 * add-log.el (change-log-date-face, change-log-name-face)
247 (change-log-email-face, change-log-file-face)
248 (change-log-list-face, change-log-conditionals-face)
249 (change-log-function-face, change-log-acknowledgement-face):
250 New faces, inheriting from font-lock faces.
251 (change-log-font-lock-keywords): Use them.
253 2000-09-21 Dave Love <fx@gnu.org>
255 * progmodes/cperl-mode.el (top-level): Clean up
256 `eval-when-compile's and assorted defvars.
257 (cperl-invalid-face): Don't double-quote value. Change custom
259 (cperl-mode): Set normal-auto-fill-function and don't zap
261 (cperl-imenu--function-name-regexp-perl): Renamed from
262 imenu-example--function-name-regexp-perl.
263 (cperl-imenu--create-perl-index): Renamed from
264 imenu-example--create-perl-index.
265 (cperl-xsub-scan): Don't require cl.
267 * msb.el (msb-mode-map): Use substitute-key-definition.
268 (msb-mode): Use msb-mode-map.
270 2000-09-21 Andre Spiegel <spiegel@gnu.org>
272 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
274 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
275 (vc-switch-backend): New function.
276 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
277 (vc-register): Fix prompt.
278 (vc-unregister, vc-default-unregister): New functions.
279 (vc-version-diff): Handle empty buffer in sentinel.
281 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
282 (vc-rcs-state-heuristic): Use it to guess the state of files with
284 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
285 been set with -b, but not created yet.
286 (vc-rcs-fetch-master-state): With non-strict locking, compare file
287 contents in order to find the state.
288 (vc-rcs-checkin): Allow creation of branches with no changes.
289 (vc-rcs-unregister, vc-rcs-receive-file)
290 (vc-rcs-set-non-strict-locking): New functions.
292 * vc-hooks.el (vc-name): Force correct computation of the value
293 in case it is missing.
295 2000-09-21 Gerd Moellmann <gerd@gnu.org>
297 * startup.el (fancy-splash-tail): Use a different foreground
298 color on a dark frame background.
300 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
302 * info.el: Use the correct capitalization when making Info-mode
303 and Info-edit-mode `special' modes.
305 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
307 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
308 (diff-mode): Add support for add-log.el.
309 (diff-hunk-text): Use char offsets rather than line offsets.
310 (diff-find-source-location): Replace LINE with line-offset (nil
311 if not found) and always set POS to a meaningful position.
312 Adapt to the new char-offsets.
313 (diff-apply-hunk): Drop support for the unused `select' POPUP.
314 Adapt to the new diff-find-source-location.
315 (diff-goto-source): Adapt to the new diff-find-source-location.
317 * add-log.el (add-log-file-name): New function (split out of
318 add-change-log-entry).
319 (add-change-log-entry): Use it.
320 Call add-log-file-name-function with the changelog file name if
321 the current buffer is not associated with any file.
322 Avoid find-file if the selected window is dedicated.
324 * diff-mode.el (diff-find-source-location):
325 Move code from diff-apply-hunk. Return buffer rather than file.
326 (diff-apply-hunk): Use the new result from diff-find-source-location.
327 (diff-goto-source): Use the new diff-find-source-location.
329 2000-09-20 Dave Love <fx@gnu.org>
331 * iswitchb.el: Some doc fixes.
332 (iswitchb-mode-map): Define completely initially. Inherit
333 minibuffer-local-map.
334 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
336 (iswitchb-global-map): New variable.
337 (iswitchb-summaries-to-end): Amalgamate regexps.
338 (iswitchb-mode): New.
339 (iswitchb-mode-hook): New variable.
340 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
343 2000-09-20 Gerd Moellmann <gerd@gnu.org>
345 * ehelp.el (electric-help): New defgroup.
346 (electric-help-shrink-window): New user-option.
347 (with-electric-help): Use it.
349 * window.el (shrink-window-if-larger-than-buffer): If face
350 `mode-line' has a :box, and we're on a graphical frame, add 1
351 to the needed window height.
353 * frame.el (frame-notice-user-settings): Add a last parameter nil
354 to a call to `append', because the last list passed to `append' is
355 not copied, and so subsequent calls to assq-delete-all will modify
358 * startup.el (fancy-splash-image): Change :type.
359 (fancy-splash-head): Use an XBM image if appropriate.
360 (command-line-1): Show splash screens in more cases.
362 * startup.el (fancy-splash-text): Don't quote faces.
364 * dired.el (dired-font-lock-keywords): Undo last change.
365 (dired-readin): Bind indent-tabs-mode to nil.
367 * startup.el (fancy-splash-head): If frame's background mode
368 is `dark', change the black background of the image to gray.
369 (fancy-splash-screens): Display startup echo area message.
370 (display-startup-echo-area-message): New function.
372 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
374 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
376 * info.el (info-header-node): Tweak for color ttys.
378 * faces.el (face-valid-attribute-values): Make sure directories we
379 search for stipples both exist and are readable before trying to
382 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
385 * jka-compr.el (with-auto-compression-mode): New macro.
387 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
388 (custom-group-tag-face, custom-variable-tag-face): Use relative
389 :height and inherit from `variable-pitch' face instead of
391 * hi-lock.el (hi-black-hb): Likewise.
393 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
394 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
395 toolbar-add-item, if image doesn't have a mask add a `:mask
398 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
400 * diff-mode.el: Docstring fixes.
401 (diff-header-face, diff-comment-face): New faces.
402 (diff-font-lock-keywords): Highlight a bit differently.
403 (diff-find-source-location): Don't return SPAN any more.
404 (diff-hunk-text): Don't bother erasing the temp buffer.
405 (diff-find-text): Drop argument LINE.
406 (diff-apply-hunk): Update calls to diff-find-text.
407 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
409 * calendar/calendar.el: Docstring fixes.
410 (calendar-make-alist): Don't quote lambda.
411 (calendar-star-date): Use make-local-variable.
413 2000-09-19 Dave Love <fx@gnu.org>
415 * toolbar/tool-bar.el: Renamed from toolbar.el.
416 Change `toolbar' to `tool-bar' generally in symbols.
417 Make some items invisible in `special' major modes.
418 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
421 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
423 (fancy-splash-delay, fancy-splash-image): Remove :version here.
425 2000-09-19 Gerd Moellmann <gerd@gnu.org>
427 * progmodes/sh-script.el (sh-search-word): Remove call to
430 * files.el (find-file-suppress-same-file-warnings): New
432 (find-file-noselect): Use it.
434 * startup.el (fancy-splash-delay, fancy-splash-image): Add
436 (fancy-splash-screen): Defgroup.
438 * add-log.el (change-log-font-lock-keywords): Match names
439 more exactly for the case that font-lock-constant-face is
442 2000-09-19 Richard M. Stallman <rms@gnu.org>
444 * progmodes/sh-script.el (sh-search-word): Rewritten for
447 2000-09-19 Andre Spiegel <spiegel@gnu.org>
449 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
451 2000-09-19 Gerd Moellmann <gerd@gnu.org>
453 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
454 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
455 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
456 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
457 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
458 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
459 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
460 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
461 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
462 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
463 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
464 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
466 * startup.el (fancy-splash-text): New variable.
467 (fancy-splash-delay, fancy-splash-image): New user-options.
468 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
469 (fancy-splash-screens): New functions.
470 (command-line-1): If display has a `display' frame parameter, has
471 colors, and we have XPM support, show more fancy splash screens.
473 2000-09-19 Dave Love <fx@gnu.org>
475 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
476 with null `help'. Use modern backquote syntax.
478 2000-09-19 Gerd Moellmann <gerd@gnu.org>
480 * font-lock.el (font-lock-mode): Change message telling the user
481 that ``the buffer is too big''.
483 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
484 for instance for the case that tab-width is 2.
486 2000-09-18 Gerd Moellmann <gerd@gnu.org>
488 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
489 toolbar-add-item, if image doesn't have a mask add a `:mask
492 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
494 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
495 and return a cons if it's non-nil.
496 (diff-apply-hunk): Try to jump to the line in the source text
497 corresponding to the position of point in the in the hunk.
499 * info.el (Info-title-3-face, Info-title-2-face)
500 (Info-title-1-face): Use face inheritance and relative sizes
501 instead of hard-wiring things.
503 * faces.el (secondary-selection): Make dark-background variant sane.
505 2000-09-16 Andrew Innes <andrewi@gnu.org>
507 * makefile.nt (compile-files): No need to make .elc files
508 read-only, since they aren't under VC now.
510 * makefile.w32-in (compile-files-CMD): No need to make .elc files
511 read-only, since they aren't under VC now.
513 2000-09-17 Dave Love <fx@gnu.org>
515 * tmm.el: Replace mapcar with mapc in several places.
517 * loadhist.el (unload-feature): Maybe call elp-restore-list and
520 * international/latin1-disp.el: New file.
522 * calendar/cal-move.el (scroll-calendar-left)
523 (scroll-calendar-right): Make arg optional (for active mode line).
525 * calendar/calendar.el (calendar-mode-line-format): Make fields
527 (calendar-read-date, calendar-read-date, calendar-window-list):
529 (calendar-month-name): Use aref, not sref.
531 * view.el (minor-mode-alist): Propertize the string.
533 * international/characters.el (standard-case-table): Add entries
536 2000-09-18 Miles Bader <miles@gnu.org>
538 * info.el (info-node, info-xref): Add dark-background variants.
540 * faces.el (header-line): Change defaults to be less confusing
541 when mixed with mode-lines.
543 * info.el (Info-fontify-node): Make a few cleanups.
544 Add extra `help-echo' and `local-map' props to node xrefs.
545 Use header-specific faces for node-names & xrefs.
546 (Info-use-header-line): New variable.
547 (info-header-xref, info-header-node): New faces.
548 (Info-setup-header-line): New function.
549 (Info-select-node): Call Info-setup-header-line when enabled.
550 (Info-extract-pointer): Work even if the header line is hidden.
551 (Info-header-line): New variable.
553 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
555 * vms-patch.el (print-region-function): Don't quote lambda.
557 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
559 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
560 (lm-get-header-re): Allow spaces between the header and the colon.
561 (lm-header): Allow $ in non-RCS headers.
562 (lm-header-multiline): Put the strings back into order.
563 Stop at an empty line. Don't require two space chars if the
564 line is clearly not another header line.
566 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
567 (popup-menu-popup): Remove.
569 2000-09-15 Gerd Moellmann <gerd@gnu.org>
571 * toolbar/toolbar.el (toolbar-add-item): Use the same image
572 specification if or if not tool-bar item contains an `:enabled'
575 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
576 current buffer has no file name.
578 2000-09-15 Dave Love <fx@gnu.org>
580 * strokes.el: Sync with maintainer's current version with changes
581 for Emacs, but avoid runtime cl and levents.
582 (toplevel): Change autoloads and compilation requires.
583 (strokes-version, strokes-bug-address, strokes-lift): Values
585 (strokes-xpm-header, strokes-insinuated): New variable.
586 (strokes): Add :link.
587 (strokes-mode): Customized.
588 (strokes-while-inhibiting-garbage-collector): New macro.
589 (strokes-remassoc): Avoid remove-if.
590 (strokes-fix-button2-command): Don't use ad-do-it.
591 (strokes-insinuate): New function.
592 (strokes-button-press-event-p, strokes-button-release-event-p):
593 New functions, used instead of non-`strokes-' versions..
594 (strokes-mouse-event-p): Rewritten.
595 (strokes-event-closest-point): Avoid event-point.
596 (strokes-get-grid-position): Avoid cdadr, caadr
597 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
599 (strokes-help): Use with-output-to-temp-buffer.
600 (strokes-window-configuration-changed-p): New function.
601 (strokes-update-window-configuration): Use buffer-live-p,
602 strokes-window-configuration-changed-p.
603 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
604 (strokes-char-face): New face.
605 (strokes-char-table, strokes-base64-chars): New variable.
606 (strokes-xpm-for-stroke, strokes-list-strokes)
607 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
608 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
609 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
610 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
611 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
614 2000-09-15 Gerd Moellmann <gerd@gnu.org>
616 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
618 * image.el (create-image): Doc fix.
620 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
621 instead of `:heuristic-mask t'.
623 2000-09-14 Andrew Innes <andrewi@gnu.org>
625 * makefile.w32-in: Revert to Unix line endings.
627 2000-09-14 Andrew Innes <andrewi@gnu.org>
629 * makefile.w32-in: Add bootstrap support. Also copy lisp source
632 * makefile.nt (DONTCOMPILE): Fix typo.
634 * shell.el (shell-write-history-on-exit): New function.
635 (shell-dumb-shell-regexp): New custom variable.
636 (shell-mode): Make shell-write-history-on-exit the process
637 sentinel if shell name matches shell-dumb-shell-regexp.
639 * w32-fns.el: Comment out before-init-hook function which resets
640 source-directory based; this breaks bootstrap.
642 2000-09-14 Dave Love <fx@gnu.org>
644 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
645 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
646 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
647 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
648 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
649 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
650 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
651 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
652 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
654 * toolbar/toolbar.el: New.
656 * subdirs.el: Add toolbar.
658 2000-09-14 Gerd Moellmann <gerd@gnu.org>
660 * indent.el (indent-for-tab-command): Doc fix.
662 2000-09-14 Alex Schroeder <alex@gnu.org>
664 * ansi-color.el (ansi-colors): Doc change.
665 (ansi-color-get-face): Simplified regexp.
666 (ansi-color-faces-vector): Added more faces, doc change.
667 (ansi-color-names-vector): Doc change.
668 (ansi-color-regexp): Simplified regexp.
669 (ansi-color-parameter-regexp): New regexp.
670 (ansi-color-filter-apply): Doc change.
671 (ansi-color-filter-region): Doc change.
672 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
673 deal with zero length parameters.
674 (ansi-color-apply-on-region): Doc change.
675 (ansi-color-map): Doc change.
676 (ansi-color-map-update): Removed debugging message.
677 (ansi-color-get-face-1): Added condition-case to trap
678 args-out-of-range errors.
679 (ansi-color-get-face): Doc change.
680 (ansi-color-make-face): Removed.
681 (ansi-color-for-shell-mode): New option.
683 2000-09-13 Kenichi Handa <handa@etl.go.jp>
685 * international/quail.el (quail-start-translation): Translate KEY
686 if necessary even if it doesn't have any mapping in the current
688 (quail-start-conversion): Likewise.
689 (quail-help): The output message is improved.
691 2000-09-13 Miles Bader <miles@gnu.org>
693 * comint.el (comint-output-filter): Revert to using
694 `insert-before-markers'. Add bletcherous hack to undo damage
695 caused by `insert-before-markers'. Put `front-sticky' property on
696 overlays created here so that the field code understands how the
697 overlay works. Use a let when making comint-last-prompt-overlay,
698 so that the code is easier to read.
700 2000-09-13 Dave Love <fx@gnu.org>
702 * wid-edit.el (widget-default-format-handler): DTRT when
703 doc-property is a function.
705 2000-09-12 Francesco Potorti` <pot@gnu.org>
707 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
708 filed name if it's not there.
710 2000-09-12 Dave Love <fx@gnu.org>
712 * simple.el (read-mail-command): Doc fix.
713 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
715 * vc.el (vc-dired-listing-switches): Fix :version.
717 * vc-hooks.el: Doc fixes.
719 * subr.el (add-minor-mode): Use toggle-fun arg.
721 * speedbar.el: Add :version to several defcustoms.
723 * imenu.el (imenu--truncate-items, imenu--cleanup)
724 (imenu--generic-function): Avoid mapcar.
725 (imenu--replace-spaces): Function removed.
726 (imenu--completion-buffer): Use subst-char-in-string.
727 (imenu-add-to-menubar): Use keymap inheritance.
729 2000-09-12 Miles Bader <miles@gnu.org>
731 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
732 (diff-mode-map): Bind `diff-test-hunk'.
733 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
735 2000-09-11 Gerd Moellmann <gerd@gnu.org>
737 * bytecomp.el (byte-compile-defvar): Undo last change
738 because it breaks '(make-variable-buffer-local (defvar ...)'
739 which is used at least in dired.
741 2000-09-12 Kenichi Handa <handa@etl.go.jp>
743 * international/quail.el (quail-define-package): Docstring
746 2000-09-12 Kenichi Handa <handa@etl.go.jp>
748 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
749 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
750 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
751 docstring of "chinese-py".
753 * international/quail.el (quail-translation-docstring): New
755 (quail-show-keyboard-layout): Docstring modified.
756 (quail-select-current): Likewise.
757 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
758 infinite recursive call.
759 (quail-help): Check quail-translation-docstring. Format of the
761 (quail-help-insert-keymap-description): Adjusted for the above
764 2000-09-11 Gerd Moellmann <gerd@gnu.org>
766 * bytecomp.el (byte-compile-defvar): Only cons onto
767 current-load-list in top-level forms. Else this leaks a cons cell
768 every time a defun is called.
770 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
772 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
773 Now understands non-unified diffs. Some functionality moved into
774 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
775 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
776 modify anything. Only reposition point in the patched file if the
777 patch succeeds. Only pop up another window if POPUP is true.
778 Emit a message describing what happened if successful, and at what
779 line-offset. Automatically detect reversed hunks and do something
781 (diff-hunk-text, diff-find-text): New functions.
782 (diff-filter-lines): Function removed.
783 (diff-test-hunk): New function.
784 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
786 2000-09-10 Dave Love <fx@gnu.org>
788 * textmodes/tildify.el: Minor doc/commentary fixes.
789 (tildify) <defgroup>: Add :version.
791 * faces.el (face-x-resources): Make custom type more specific.
792 (frame-background-mode): Use mapc.
793 (region) <defcustom>: Add :version.
795 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
797 * vc-sccs.el (vc-sccs-register):
798 * vc-rcs.el (vc-rcs-register):
799 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
800 * vc.el (vc-register): Clear file's properties.
802 2000-09-08 Gerd Moellmann <gerd@gnu.org>
804 * faces.el (face-spec-set): Only face-spec-reset-face when
807 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
809 * help.el (help-insert-xref-button): Fix a typo in doc string.
811 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
813 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
814 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
817 * menu-bar.el (read-mail-item-name): New function.
818 (menu-bar-tools-menu): Use it to compute and display the package
820 (menu-bar-tools-menu): Fix typo in GUD's help string.
822 2000-09-07 Dave Love <fx@gnu.org>
824 * diff-mode.el (diff-mouse-goto-source): New function.
826 * vc-sccs.el: Doc fixes.
827 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
829 * vc-rcs.el: Doc fixes.
830 (vc-rcs-register-switches, vc-rcs-checkin-switches)
831 (vc-rcs-checkout-switches, vc-rcs-header)
832 (vc-rcs-master-templates): Add or change :version.
834 * vc-cvs.el: Doc fixes.
835 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
836 (vc-cvs-stay-local): Add :version.
838 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
840 2000-09-07 Kenichi Handa <handa@etl.go.jp>
842 * international/quail.el (quail-help): Fix previous change.
844 2000-09-07 Gerd Moellmann <gerd@gnu.org>
846 * faces.el (color-values): Doc fix.
848 * faces.el (frame-set-background-mode): Use frame-parameter
849 instead of frame-parameters.
851 * frame.el (filtered-frame-list): Reduce consing.
852 (frames-on-display-list): Call frame-parameter instead of
855 2000-09-07 Kenichi Handa <handa@etl.go.jp>
857 * language/devan-util.el (devanagari-to-indian-region): In the
858 loop, change the following char, not preceding char.
860 2000-09-07 Gerd Moellmann <gerd@gnu.org>
862 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
863 instead of frame-parameters.
865 * faces.el (set-face-attribute): Simplify by calling
866 internal-set-lisp-face-attribute with FRAME being 0.
868 * vc.el: Remove `Id' version control keyword.
870 2000-09-07 Kenichi Handa <handa@etl.go.jp>
872 * help.el (help-make-xrefs): Adjusted for the change of
873 help-xref-mule-regexp.
874 (help-insert-xref-button): New function.
876 * international/mule-cmds.el (help-xref-mule-regexp-template):
877 Include the pattern for character set.
880 * international/quail.el: Don't require face.
882 (quail-other-command): Dummy command to make quail-help work better.
883 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
884 (quail-keyboard-layout-substitution): New variable.
885 (quail-update-keyboard-layout): New function.
886 (quail-keyboard-layout-type): New customizable variable.
887 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
888 (quail-keyboard-translate): Pay attention to
889 quail-keyboard-layout-substitution.
890 (quail-insert-kbd-layout): New function.
891 (quail-show-keyboard-layout): New function.
892 (quail-get-translation): If the definition is a vector of length
893 1, and the element is a string of length 1, return the character
895 (quail-update-current-translations): Fix the case of
896 relative-index out of range.
897 (quail-build-decode-map, quail-insert-decode-map): New Functions.
898 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
899 Show key sequences for all available characters.
900 (quail-help-insert-keymap-description): Don't show such verbose
901 key bindings as quail-self-insert-command.
903 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
904 Format changed, and each element now have extra documentations.
905 (tit-process-header): Delete invalid characters from TIT-PROMPT.
906 Adjusted for the change of quail-cxterm-package-ext-info.
908 2000-09-06 Gerd Moellmann <gerd@gnu.org>
910 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
911 requiring it leads to a recursive loading of vc.el and vc-hooks.el
914 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
916 * vc.el: (toplevel): Don't require `dired' at run-time.
917 (vc-dired-resynch-file): Remove autoload cookie.
919 2000-09-05 Andre Spiegel <spiegel@gnu.org>
921 * vc.el: Made several backend functions optional.
922 (vc-default-responsible-p): New function.
923 (vc-merge): Use RET for first version to trigger merge-news, not
925 (vc-annotate): Handle backends that do not support annotation.
926 (vc-default-merge-news): Removed. The existence of a merge-news
927 implementation is now checked on caller sites.
929 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
932 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
933 special case that has been removed from the default in vc-hooks.el.
935 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
937 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
939 2000-09-05 Andre Spiegel <spiegel@gnu.org>
941 * vc-hooks.el: Require vc during compilation.
942 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
943 macro `with-vc-properties' in vc.el.
944 (vc-file-getprop): Doc fix.
945 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
947 * vc.el: Require dired-aux during compilation.
948 (vc-name-assoc-file): Moved to vc-sccs.el.
949 (with-vc-properties): New macro.
950 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
951 vc-finish-steal): Use it.
952 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
953 to the backend-specific function is now supposed to do the checkout,
955 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
957 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
958 set file properties; that gets done in the generic code now.
960 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
961 Changed parameter list, added code from vc.el that does the
962 checkout, possibly with a double-take.
964 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
965 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
966 the above under the new name.
967 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
968 parameter list, added checkout command.
969 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
970 properties; that gets done in the generic code now.
972 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
974 * vc.el: Docstring fixes (courtesy of checkdoc).
976 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
978 * vc.el (vc-checkout-writable-buffer-hook)
979 (vc-checkout-writable-buffer): Remove.
980 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
981 (vc-log-mode): Make it into a clean derived major mode.
982 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
983 vc-log-mode if log-edit is not available.
984 (vc-dired-mode-map): Don't set-keymap-parent yet.
985 (vc-dired-mode): Do set-keymap-parent here.
986 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
988 2000-09-05 Gerd Moellmann <gerd@gnu.org>
990 * faces.el (set-face-attribute, face-spec-reset-face)
991 (face-spec-set): Avoid consing by removing calls to `apply'.
993 * frame.el (frame-parameter): Move to C code.
995 2000-09-05 Dave Love <fx@gnu.org>
997 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
998 insert-before-markers-and-inherit. Now checked systematically!
1000 2000-09-05 Alex Schroeder <alex@gnu.org>
1002 * sql.el (sql-postgres): Use sql-postgres-options.
1003 (sql-postgres-options): New variable.
1005 2000-09-05 Alex Schroeder <alex@gnu.org>
1007 * sql.el (sql-mode-menu): Work around missing variable mark-active
1009 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1010 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1013 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1015 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1017 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1019 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1021 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1023 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1024 don't support anything else under SCCS yet.
1026 * vc-hooks.el: Minor doc fixes.
1028 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1030 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1031 not necessary. If verbose in state `needs-patch', do the same as
1032 under `up-to-date'. When NOT verbose and `needs-patch', check out
1033 latest version instead of `merge-news'.
1034 (vc-next-action-dired): Don't mess with default-directory here; it
1035 breaks other parts of dired. It is the job of the
1036 backend-specific functions to adjust it temporarily if they need it.
1037 (vc-next-action): Remove a special CVS case.
1038 (vc-clear-headers): New optional arg FILE.
1039 (vc-checkin, vc-checkout): Set properties vc-state and
1040 vc-checkout-time properly.
1041 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1042 (vc-print-log): Use new backend function `show-log-entry'.
1043 (vc-cancel-version): Do the checks in a different order. Added a
1044 FIXME concerning RCS-only code.
1046 * vc-rcs.el (vc-rcs-show-log-entry): New function.
1047 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
1049 * vc-cvs.el (vc-cvs-show-log-entry): New function.
1051 * vc-hooks.el (vc-default-mode-line-string): Show state
1052 `needs-patch' as a `-' too.
1054 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1056 * vc.el (vc-responsible-backend): New optional arg REGISTER.
1057 (vc-default-could-register): New function.
1058 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
1059 (vc-resynch-buffer): Call vc-dired-resynch-file.
1060 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
1061 vc-resynch-buffer instead of vc-resynch-window.
1062 (vc-next-action-dired): Don't redisplay here, that gets done as a
1063 result of the individual file operations.
1064 (vc-retrieve-snapshot): Corrected prompt order.
1066 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
1068 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
1070 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
1071 hostname regexps. Updated all callers.
1072 (vc-cvs-responsible-p): Handle directories as well.
1073 (vc-cvs-could-register): New function.
1074 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
1075 properties up-to-date.
1077 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
1078 user whether to create one.
1080 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1082 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
1083 check out a non-existing file.
1085 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
1086 workfile does not exist.
1088 * vc.el (vc-version-diff): Use `require' to check for existence of
1091 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1093 * vc-cvs.el (vc-cvs-registered): Use new function
1094 vc-cvs-parse-entry to do the actual work.
1096 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1098 * vc-hooks.el (vc-find-backend-function): If function doesn't
1099 exist, return nil instead of error.
1100 (vc-call-backend): Doc fix.
1102 * vc.el (vc-do-command): Doc fix.
1103 (vc-finish-logentry): When checking in from vc-dired, choose the
1104 right backend for logentry check.
1105 (vc-dired-mode-map): Inherit from dired-mode-map.
1106 (vc-dired-mode): Local value of dired-move-to-filename-regexp
1108 (vc-dired-state-info): Removed, updated caller.
1109 (vc-default-dired-state-info): Use parentheses instead of hyphens.
1110 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
1111 (vc-dired-listing-switches): New variable.
1112 (vc-directory): Use it, instead of dired-listing-switches.
1114 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
1115 (vc-cvs-dir-state): New function.
1116 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
1117 (vc-cvs-parse-entry): New function, also to be used in
1120 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1122 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
1123 *or* single-window-frames.
1125 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1127 * vc.el (vc-update-changelog): Split into generic part and default
1128 implementation. Doc string adapted.
1129 (vc-default-update-changelog): New function. Call the `rcs2log'
1130 script in exec-directory, to fix a long-standing nuisance.
1132 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
1133 simply signals an error.
1135 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1137 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
1138 control-flow more clear and to avoid running `cvs' twice.
1140 * vc.el (vc-next-action-on-file): Doc fix.
1141 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1142 (vc-print-log): Eval `file' before constructing the continuation.
1144 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1146 * vc.el (vc-next-action-on-file): Corrected several messages.
1147 (vc-merge): Add prefix arg `merge-news'; handle it.
1149 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1150 is not reached. It is.
1151 (vc-cvs-merge): Set state to 'edited after merge.
1152 (vc-cvs-merge-news): Set workfile version to nil if not known.
1153 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1155 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1156 via stdout. (Merge from main line.)
1158 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1160 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1163 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1165 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1166 against kill-all-local-variables.
1167 (vc-log-edit): Don't save vc-parent-buffer any more.
1168 (vc-last-comment-match): Initialize to an empty string.
1169 (vc-post-command-functions): New hook.
1170 (vc-do-command): Run it.
1171 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1172 (vc-finish-logentry): Only add the comment to the ring if it's
1173 different from the last comment entered.
1174 (vc-new-comment-index): New function.
1175 (vc-previous-comment): Use it. Make the minibuffer message
1176 slightly less terse.
1177 (vc-comment-search-reverse): Make it work forward as well. Don't
1178 set vc-comment-ring-index if no match is found. Use
1179 vc-new-comment-index.
1180 (vc-comment-search-forward): Use vc-comment-search-reverse.
1181 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1182 define-derived-mode will do it for us. Bind `v' to a keymap that
1183 inherits from vc-prefix-map so that we can bind `vt' without
1185 (vc-retrieve-snapshot): Parenthesis typo.
1187 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1188 to 1. Make sure to switch to *vc* before looking for an error
1189 message. Use vc-parse-buffer.
1191 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1193 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1195 (vc-retrieve-snapshot): Split into two parts.
1196 (vc-default-retrieve-snapshot): New function.
1198 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1199 (vc-cvs-retrieve-snapshot): New function (untested).
1200 (vc-cvs-stay-local): Default to t.
1201 (vc-cvs-remote-p): New function and property.
1202 (vc-cvs-state): Stay local only if the above is t.
1203 (vc-handle-cvs): Removed.
1204 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1205 done via vc-handled-backends now.
1206 (vc-cvs-header): Escape Id.
1208 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1210 * vc.el (vc-do-command): Remove unused commands.
1211 (vc-version-diff): Make sure default-directory ends with a slash.
1212 Move the window commands into a vc-exec-after.
1213 (vc-print-log): Move more of the code into the `vc-exec-after'.
1215 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1217 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1218 (vc-print-log): Search current revision from beginning of buffer.
1219 (vc-revert-buffer): Clear echo area after the diff is finished.
1220 (vc-prefix-map): Removed definition of "t" for terse display in vc
1222 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1223 definition of "vt" for terse display.
1224 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1226 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1228 * vc.el (vc-exec-after): Avoid caddr.
1230 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1232 * vc.el (vc-exec-after): New function.
1233 (vc-do-command): Use it to add a termination message for async
1235 (vc-checkout): Try to handle a missing-backend situation.
1236 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1237 of a directory with a backend using async diffs.
1238 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1241 * vc-sccs.el (vc-sccs-state-heuristic): Use
1242 file-ownership-preserved-p.
1244 * vc-rcs.el (vc-rcs-state-heuristic): Use
1245 file-ownership-preserved-p.
1246 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1248 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1250 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1253 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1254 when there are no changes.
1256 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1258 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1260 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1262 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1264 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1266 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1267 the `fset' outside of the defvar so that it works even if
1268 vc-prefix-map was already defined.
1269 (vc-setup-buffer): New function, split out of vc-do-command.
1270 (vc-do-command): Allow BUFFER to be t to mean `just use the
1271 current buffer without any fuss'.
1272 (vc-version-diff): Change the `diff' backend operation to just put
1273 the diff in the current buffer without erasing it. Always use
1274 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1275 shrink-window-if-larger-than-buffer.
1276 (vc-print-log): Change the `print-log' backend operation to just
1277 put the log in the current buffer without erasing it. Protect
1278 shrink-window-if-larger-than-buffer.
1279 (vc-update-change-log): Fix setd typo.
1281 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1282 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1284 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1285 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1288 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1289 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1290 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1292 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1294 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1295 not possible, use vc-BACKEND-workfile-unchanged-p.
1296 (vc-default-workfile-unchanged-p): New function. Delegates to a
1297 full vc-BACKEND-diff.
1299 * vc-hooks.el (vc-simple-command): Removed.
1301 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1302 instead of vc-simple-command.
1303 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1304 avoid doing a diff when opening a file.
1305 (vc-rcs-state): Added check for unlocked-changes.
1306 (vc-rcs-header): Escape Id.
1307 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1308 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1311 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1312 (vc-sccs-diff): Remove optional arg CMP.
1313 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1314 SCCS-specific function.
1316 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1319 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1321 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1322 (with-vc-file, vc-merge): Use vc-editable-p.
1323 (vc-do-command): Remove unused var vc-file and fix the
1324 doubly-defined `status' var. Add a user message when starting an
1326 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1327 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1328 Use with-current-buffer.
1329 (vc-buffer-sync): Use unless.
1330 (vc-next-action-on-file): If the file is 'edited by read-only,
1331 make it read-write instead of trying to commit.
1332 (vc-version-diff, vc-update-change-log): Use `setq
1333 default-directory' rather than `cd'.
1334 (vc-log-edit): Don't forget to set default-directory in the
1337 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1338 (vc-sccs-state-heuristic): Use file-writable-p instead of
1340 (vc-sccs-checkout): Use `unless'.
1342 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1343 of comparing userids.
1344 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1345 Simplify the logic by eliminating unreachable code.
1346 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1347 just do a recursive call if we need to retry.
1348 (vc-rcs-checkout): Handle the case where rcs is missing by making
1349 the buffer read-write if requested and re-signalling the error.
1351 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1353 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1355 * vc-hooks.el (vc-handled-backends): Docstring change.
1356 (vc-ignore-vc-files): Mark obsolete.
1357 (vc-registered): Check vc-ignore-vc-files.
1358 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1361 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1363 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1365 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1366 files since ange-ftp already has vc-registered return nil.
1368 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1369 (vc-sccs-workfile-version): Use with-temp-buffer and new
1370 vc-parse-buffer and don't bother setting the property.
1371 (vc-sccs-add-triple): Use with-current-buffer and
1373 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1375 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1376 derives from the old vc-parse-buffer but uses the revision number
1377 rather than the date (much easier to compare robustly).
1378 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1379 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1380 locking-user more directly. Check strict locking and set
1381 checkout-model appropriately.
1382 (vc-rcs-parse-locks): Remove.
1383 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
1384 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
1385 (vc-rcs-system-release): Use with-current-buffer and
1387 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
1389 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
1390 (vc-simple-command): Docstring fix.
1391 (vc-registered): Align the way the file-handler is called with the
1392 way the function itself works.
1393 (vc-file-owner): Remove.
1395 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
1396 extraction of fields and call to file-attributes because of a
1397 temporary bug in rcp.el.
1398 (vc-cvs-fetch-status): Use with-current-buffer.
1400 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1402 * vc.el (vc-do-command): Use file-relative-name.
1403 (vc-responsible-backend): Use vc-backend if possible.
1404 (vc-create-snapshot): Improve the `interactive' spec. Add support
1405 for branches and dispatch to backend-specific `create-snapshot'.
1406 (vc-default-create-snapshot): New function, containing the bulk of
1407 the old vc-create-snapshot.
1408 (vc-retrieve-snapshot): Improve the interactive spec.
1410 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
1411 (vc-backend-hook-functions): Remove.
1412 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
1413 (vc-backend): Reintroduce the test for `file = nil' now that I
1414 know why it was there (and added a comment to better remember).
1416 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
1417 code from vc-sccs-hooks.el.
1418 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
1420 (vc-sccs-responsible-p): Use expand-file-name instead of concat
1421 and file-directory-p instead of file-exists-p.
1422 (vc-sccs-check-headers): Simplify the regexp.
1424 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
1425 from vc-rcs-hooks.el. Don't require 'vc anymore.
1426 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
1427 file-directory-p instead of file-exists-p.
1429 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
1430 from vc-cvs-hooks.el.
1431 (proto vc-cvs-registered): Require 'vc-cvs instead of
1432 'vc-cvs-hooks. Don't require 'vc anymore.
1433 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
1434 file-directory-p instead of file-exists-p.
1435 (vc-cvs-create-snapshot): New function, replacing
1437 (vc-cvs-assign-name): Remove.
1439 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1441 * vc-cvs.el (vc-cvs-header): New var.
1443 * vc-rcs.el (vc-rcs-exists): Remove.
1444 (vc-rcs-header): New var.
1446 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
1447 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
1448 (vc-sccs-header): New var.
1450 * vc.el (vc-do-command): Get rid of the `last' argument.
1451 (vc-header-alist): Remove, replaced by vc-X-header.
1452 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
1453 (vc-dired-hook): Use expand-file-name instead of concat.
1454 (vc-directory): Use file-name-as-directory.
1455 (vc-snapshot-precondition, vc-create-snapshot)
1456 (vc-retrieve-snapshot): Allow the command to operate on any
1459 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
1460 just removing the 'WORKFILE argument or by removing the 'MASTER
1461 argument and replacing `file' with (vc-name file).
1463 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1465 * vc.el: Update Copyright and add a crude list of backend funs.
1466 (vc-writable-p): New function.
1467 (with-vc-file): Use vc-writable-p.
1468 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
1469 (vc-register): Avoid vc-name.
1470 (vc-locking-user): Remove.
1471 (vc-steal-lock): Make the `owner' arg non-optional.
1472 (vc-merge): Use vc-writable-p instead of vc-locking-user and
1474 (vc-default-dired-state-info): Use vc-state instead of
1475 vc-locking-user and return special strings for special states.
1476 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
1477 and get rid of one of the special CVS cases.
1478 (vc-cancel-version): prettify error message with \\[...].
1479 (vc-rename-master): New function.
1480 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
1481 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
1482 the CVS special case generic.
1483 (vc-default-record-rename): Remove.
1484 (vc-file-tree-walk-internal): Only call FUNC for files that are
1485 under control of some VC backend and replace `concat' with
1487 (vc-file-tree-walk): Update docstring.
1488 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
1489 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
1491 * vc-sccs.el (vc-sccs-rename-file): Renamed from
1492 vc-sccs-record-rename. Use `find-file-noselect' rather than
1493 `find-file' and call `vc-rename-master' to do the actual move.
1494 (vc-sccs-diff): Remove unused `backend' variable.
1496 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
1497 to delay loading of vc-sccs until it is really used.
1498 (vc-sccs-master-templates): Preload.
1499 (vc-sccs-state): Update call to vc-sccs-parse-locks.
1500 (vc-sccs-project-dir): Remove (merged into
1501 vc-sccs-search-project-dir).
1502 (vc-sccs-search-project-dir): Rewrite using file name handling ops
1503 rather than `concat', make sure it is preloaded and don't bother
1504 to check that the file actually exists.
1505 (vc-sccs-parse-locks): Remove unused `file' argument, remove
1506 `locks' argument (use buffer's content instead) and eliminate n^2
1509 * vc-rcs.el: Update Copyright.
1510 (vc-rcs-rename-file): New function.
1511 (vc-rcs-diff): Remove unused `backend' variable.
1513 * vc-hooks.el: Update Copyright.
1514 (vc-backend): Don't accept a nil argument any more.
1515 (vc-up-to-date-p): Turn into a defsubst.
1516 (vc-possible-master): New function.
1517 (vc-check-master-templates): Use `vc-possible-master' and allow
1518 funs in vc-X-master-templates to return a non-existent file.
1520 * vc-cvs.el: Update Copyright.
1521 (vc-cvs-diff): Remove unused `backend' variable.
1522 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
1524 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
1526 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1528 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
1529 since it can be called from vc-rcs.el.
1530 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
1532 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1534 * vc.el (vc-version-diff): Expand file name read from the
1535 minibuffer. Handle the case when a previous version number can't
1536 be guessed. Give suitable messages when there were no differences
1538 (vc-clear-headers): Call backend-specific implementation, if one
1540 (vc-cancel-version): Made error checks generic. When done, clear
1541 headers generically, too.
1543 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
1544 from vc-clear-headers in vc.el.
1546 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
1548 (vc-rcs-latest-on-branch-p): Made second argument VERSION
1549 optional. Handle the case when it's not there.
1551 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1553 * vc.el (vc-locking-user): Moved from vc-hooks.el.
1555 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1557 * vc-hooks.el (vc-loadup): Remove.
1558 (vc-find-backend-function): Use `require'. Also, handle the case
1559 where vc-BACKEND-hooks.el doesn't exist.
1560 (vc-call-backend): Cleanup.
1562 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1564 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
1565 vc-rcs-grab-templates)
1566 (vc-rcs-registered): Remove. The default function works as well.
1567 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
1568 vc-sccs-grab-templates)
1569 (vc-sccs-registered): Remove. The default function works as well.
1571 * vc.el (vc-version-diff): Left out a vc- in call to
1573 (vc-default-dired-state-info, vc-default-record-rename)
1574 (vc-default-merge-news): Update for the new backend argument.
1576 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
1577 using the default function.
1578 (vc-call-backend): If calling the default function, pass it the
1579 backend as first argument. Update the docstring accordingly.
1580 (vc-default-state-heuristic, vc-default-mode-line-string): Update
1581 for the new backend argument.
1582 (vc-make-backend-sym): Renamed from vc-make-backend-function.
1583 (vc-find-backend-function): Use the new name.
1584 (vc-default-registered): New function.
1586 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1588 * vc.el (vc-merge): Use vc-find-backend-function.
1590 * vc-hooks.el (vc-backend-functions): Remove.
1591 (vc-loadup): Don't setup 'vc-functions.
1592 (vc-find-backend-function): New function.
1593 (vc-call-backend): Use above fun and populate 'vc-functions
1595 (vc-backend-defines): Remove.
1597 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1599 * vc.el (vc-register): Put a FIXME note for a newly found bug.
1600 Call vc-call-backend without the leading vc-.
1601 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
1602 (vc-check-headers): Call vc-call-backend without the leading vc-.
1603 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
1604 (vc-annotate-display): Replace confusing use of `cond' with `or'.
1605 Call vc-call-backend without the leading vc-.
1607 * vc-cvs.el (tail): Provide vc-cvs.
1608 * vc-sccs.el (tail): Provide vc-sccs.
1609 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
1611 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
1612 (vc-make-backend-function, vc-call): Pass names without leading
1613 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
1614 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
1615 (vc-call-backend): Always try to load vc-X-hooks.
1616 (vc-registered): Remove vc- in call to vc-call-backend.
1618 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1620 * vc.el (vc-process-filter): New function.
1621 (vc-do-command): Setup `vc-process-filter' for the async process.
1622 (vc-maybe-resolve-conflicts): New function to reduce
1623 code-duplication. Additionally, it puts the buffer in
1624 `smerge-mode' if applicable.
1625 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
1626 calling `merge-news'.
1627 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
1628 (vc-log-edit): New function. Replacement for `vc-log-mode' by
1629 interfacing to log-edit.el.
1630 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
1631 log-edit is available.
1632 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
1634 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1636 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
1637 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
1638 defvar and the initialization.
1639 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
1641 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
1642 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
1644 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
1646 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1648 * vc.el (vc-file-clear-masterprops): Removed.
1649 (vc-checkin, vc-revert-buffer): Removed calls to the above.
1650 (vc-version-diff): Use buffer-size without argument.
1651 (vc-register): Heed vc-initial-comment.
1653 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
1656 * vc-rcs.el (vc-rcs-register): Parse command output to find master
1657 file name and workfile version.
1658 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
1660 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
1661 vc-file-clear-masterprops.
1663 * vc-sccs.el (vc-sccs-checkout): Removed call to
1664 vc-file-clear-masterprops. If writable, set vc-state to 'edited
1665 rather than user login name.
1668 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1670 * vc.el (vc-workfile-unchanged-p): Remove unused argument
1671 `want-differences-if-changed' and simplify.
1672 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
1673 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
1674 output (which is invalid for async vc-diff) to decide whether to
1675 do the revert silently or not.
1677 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1679 * vc-hooks.el (vc-loadup): Load files quietly.
1680 (vc-call-backend): Oops, brain fart.
1682 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1684 * vc-cvs.el (vc-cvs-state): Typo.
1685 (vc-cvs-merge-news): Return the status code rather than the error msg.
1687 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1689 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
1690 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
1691 vc-state or vc-up-to-date-p.
1692 (vc-merge): Use vc-backend-defines to check whether merging is
1693 possible. Set state to 'edited after successful merge.
1695 * vc-hooks.el (vc-locking-user): If locked by the calling user,
1696 return that name. Redocumented.
1698 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1700 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
1701 new `vc-state' semantics.
1702 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
1703 'vc-locking-user to the current user.
1704 (vc-merge): Inline vc-backend-merge. Comment out code that I
1705 don't understand and hence can't adapt to the new `vc-state' and
1706 `vc-locking-user' semantics.
1707 (vc-backend-merge): Remove.
1709 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
1710 rather than 'vc-locking-user.
1712 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
1714 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
1715 (vc-state): Don't use 'reserved any more. Just use the same
1716 convention as the one used for vc-<backend>-state where the
1717 locking user (as a string) is returned.
1718 (vc-locking-user): Update, based on the above convention. The
1719 'vc-locking-user property has disappeared.
1720 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
1722 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
1723 with a heuristic one.
1724 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
1725 (vc-cvs-checkin): Do a trivial parse to set the state in case of
1726 error. That allows us to get to 'needs-merge even in the
1727 stay-local case. There's still no way to detect 'needs-patch in
1728 such a setup (or to force an update for that matter).
1729 (vc-cvs-logentry-check): Remove, the default works as well.
1731 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1733 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
1735 * vc.el (vc-do-command): kill-all-local-variables, to reset any
1736 major-mode in which the buffer might have been put earlier. Use
1737 `remove' and `when'. Allow `okstatus' to be `async' and use
1738 `start-process' in this case.
1739 (vc-version-diff): Handle the case where the diff looks empty
1740 because of the use of an async process.
1742 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1744 * vc.el (vc-next-action-on-file): Removed optional parameter
1745 `simple'. Recompute state unconditionally.
1746 (vc-default-toggle-read-only): Removed.
1748 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
1749 (vc-toggle-read-only): Undid prev change.
1751 * vc-cvs.el (vc-cvs-stay-local): Renamed from
1752 vc-cvs-simple-toggle. Redocumented.
1753 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
1754 (vc-cvs-toggle-read-only): Removed.
1756 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1758 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
1759 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
1760 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
1761 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
1762 still is. So maybe it should be removed.
1763 (vc-head-version, vc-find-binary): Remove.
1764 (vc-recompute-state): Move from vc-hooks.el.
1765 (vc-next-action-on-file): Add a `simple' argument to allow
1766 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
1767 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
1768 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
1769 (vc-dired-mode-map): Properly defvar it.
1770 (vc-print-log): Call log-view-mode if available.
1771 (small-temporary-file-directory): defvar instead of use boundp.
1772 (vc-merge-news): Moved to vc-cvs.el.
1773 (vc-default-merge-news): New function.
1775 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
1776 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
1777 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
1778 unknown `vc-latest-version' function. It should probably refer to
1779 vc-workfile-version or somesuch, but it's very unclear to me and I
1780 don't have SCCS to test things.
1782 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
1783 (vc-sccs-state-heuristic): Fix typo.
1784 (vc-sccs-workfile-unchanged-p): Add missing argument.
1786 * vc-rcs.el: Require vc and vc-rcs-hooks.
1787 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
1788 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
1789 (vc-release-greater-or-equal-p): Move from vc.
1790 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
1791 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
1792 (vc-rcs-checkout): Add a missing `new-version' argument in the
1793 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
1795 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
1796 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
1797 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
1798 than the apparently unbound `workfile-version'.
1800 * vc-hooks.el (vc-master-templates): Def the obsolete var.
1801 (vc-file-prop-obarray): Use `make-vector'.
1802 (vc-backend-functions): Add new hookable functions
1803 vc-toggle-read-only, vc-record-rename and vc-merge-news.
1804 (vc-loadup): If neither backend nor default functions exist, use
1805 the backend function rather than nil.
1806 (vc-call-backend): If the function if not bound yet, try to load
1807 the non-hook file to see if it provides it.
1808 (vc-call): New macro plus use it wherever possible.
1809 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
1810 nor `vc-find-binary' since it's only called from
1811 vc-mistrust-permission which is only used once the backend is known.
1812 (vc-checkout-model): Fix parenthesis.
1813 (vc-recompute-state, vc-prefix-map): Move to vc.el.
1815 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
1816 (vc-cvs-release, vc-cvs-system-release): Remove.
1817 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
1818 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
1820 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
1821 (vc-cvs-toggle-read-only): First cut at a function to allow a
1822 cvs-status-free vc-toggle-read-only.
1823 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
1824 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
1825 vc-cvs-status. Also set vc-state rather than vc-locking-user.
1826 (vc-cvs-checkout): Modify access rights directly if the user
1827 requested not to use `cvs edit'. And refresh the mode line.
1829 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
1830 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
1832 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1834 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
1835 workfile' that got lost when the code was extracted from vc.el.
1836 And merged the tail with the rest of the code (not possible in the
1837 old vc.el where the tail was shared among all backends). And
1838 explicitly set the state to 'edited if `writable' is set.
1840 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
1841 (vc-cvs-state): Be careful to return the value from
1843 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
1844 property but return it instead. Also be careful to handle a nil
1845 or "" `rev' when workfile is non-nil (it was handled properly when
1848 * vc.el: Removed those pesky unnecessary `(function' quotes.
1849 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
1850 directly in the defvar.
1851 (vc-do-command): Bind inhibit-read-only so as to properly handle
1852 the case where the destination buffer has been made read-only.
1853 (vc-diff): Delegate to vc-version-diff in all cases.
1854 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
1855 (vc-annotate-mode-variables): Removed (code moved partly to
1856 defvars and partly to vc-annotate-add-menu).
1857 (vc-annotate-mode): Turned into a derived-mode.
1858 (vc-annotate-add-menu): Moved in code in
1859 vc-annotate-mode-variables.
1860 (vc-update-change-log): Use make-temp-file if available.
1862 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
1864 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
1865 `vc-checkout-model' updated to `vc-cvs-update-model'.
1867 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1869 * vc.el (vc-next-action-on-file): Added handling of state
1871 (vc-checkout-carefully): Is now practically obsolete, unless the
1872 above is too slow to be enabled unconditionally.
1873 (vc-update-change-log): Fixed typo.
1875 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
1877 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
1878 Now handles state `unlocked-changes'.
1879 (vc-sccs-workfile-unchanged-p): New function, to support the above.
1881 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
1883 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
1884 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
1886 (vc-rcs-workfile-unchanged-p): Renamed from
1887 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
1888 function yet, but supposed to become one soon.
1890 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
1892 (vc-call-backend): Changed error message.
1893 (vc-state): Added description of state `unlocked-changes'.
1895 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1897 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
1898 always return t in CVS-controlled directories.
1900 * vc.el (vc-responsible-backend): New function.
1901 (vc-register): Largely rewritten.
1902 (vc-admin): Removed (implementation moved into vc-register).
1903 (vc-checkin): Redocumented.
1904 (vc-finish-logentry): If no backend defined yet (because we are in
1905 the process of registering), use the responsible backend.
1907 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1908 Updated function lists.
1909 (vc-call-backend): Fixed typo.
1911 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
1913 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
1914 Removed query option. Redocumented.
1916 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1918 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
1920 * vc.el: Updated callers of `vc-checkout-required' to use
1921 `vc-checkout-model'.
1923 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1925 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
1926 stuff updated to reference this function instead of the old
1927 `vc-backend-release-p'.
1929 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1931 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
1932 vc-checkout-model. Return appropriate values. Updated callers.
1934 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1936 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
1937 (vc-backend-revert): Function moved into `vc-revert';
1938 `vc-next-action' must be updated to accomodate this change.
1939 (vc-backend-steal): Function moved into `vc-finish-steal'.
1940 (vc-backend-logentry-check): Function moved into
1941 `vc-finish-logentry'.
1942 (vc-backend-printlog): Function moved into `vc-print-log'.
1943 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
1944 (vc-backend-assign-name): Function moved into
1945 `vc-create-snapshot'.
1947 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1949 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
1950 Rename to vc-checkout-model. Return appropriate values.
1953 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
1954 to vc-checkout-model.
1955 (vc-checkout-required): Rename to vc-checkout-model.
1956 Re-implement and re-comment.
1957 (vc-after-save): Use vc-checkout-model.
1959 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1961 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
1962 Update to use the vc-BACKEND-diff functions instead.
1963 `vc-diff' is now working.
1965 * vc-rcs.el (vc-rcs-logentry-check): New function.
1967 * vc-cvs.el (vc-cvs-logentry-check): New function.
1969 * vc-sccs.el (vc-sccs-diff): Function changed name from
1970 `vc-backend-diff'. This makes `vc-diff' work.
1972 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
1973 of functions possibly implemented in a vc-BACKEND library.
1974 (vc-checkout-required): Fix bug that caused an error to be
1975 signaled during `vc-after-save'.
1978 This checkin is made with our new VC code base for the very first time.
1979 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
1981 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
1982 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
1984 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
1985 updated to `vc-uses-locking'.
1986 (vc-checkout-required): Call to backend function.
1987 `vc-checkout-required' updated to `vc-uses-locking' instead.
1989 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
1990 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
1992 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
1993 to match the split into various backends.
1994 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
1995 (vc-retrieve-snapshot): Bug fix.
1997 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1999 * vc-sccs.el (vc-sccs-release): Doc fix.
2001 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2003 * vc.el (vc-next-action-on-file): Bug found and fixed.
2004 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2005 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2007 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2008 (vc-rcs-checkout): Name space cleaned up. No more revision number
2009 crunching function names that are not prefixed with vc-rcs.
2010 (vc-rcs-checkout-model): Function added. References to
2011 `vc-checkout-model' replaced.
2013 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2015 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2016 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2017 still need to be split, and implemented for RCS).
2019 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2021 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2023 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2024 required by the vc.el file.
2026 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2027 required by the vc.el file.
2028 (vc-rcs-exists): Function added.
2030 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2031 required by the vc.el file.
2033 * vc.el (vc-admin): Updated to handle selection of appropriate
2034 backend. Current implementation is crufty and need re-thinking.
2036 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2038 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2040 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2041 beginning of annotate buffers correctly.
2043 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
2044 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
2045 functionality updated quite a lot to support multiple backends.
2046 Variables `vc-annotate-mode', `vc-annotate-buffers',
2047 `vc-annotate-backend' added.
2049 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
2050 `vc-annotate-difference' added to supported backend functions.
2052 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2054 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
2055 Use with-temp-file instead of /bin/sh. Merged from mainline
2057 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2059 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
2061 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
2063 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
2065 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2067 * vc-hooks.el: vc-state-heuristic added to
2068 vc-backend-hook-functions.
2070 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
2072 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
2074 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
2075 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
2076 state to `reserved'.
2078 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
2079 `vc-checkout-required'. Rename the `locked' state to `reserved'.
2081 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2083 * vc-rcs-hooks.el: Implement new state model. Hardly anything
2086 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
2088 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
2089 if defined. (Merged from main line, slightly adapted.)
2091 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
2092 millenium problem (merged from mainline).
2094 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2096 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
2097 part and moved the non-BACKEND stuff to vc.el.
2099 * vc.el: Split the annotate feature into a BACKEND specific part
2100 and moved it from the vc-cvs.el file to this one.
2102 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2104 * vc-hooks.el: Implement new state model.
2105 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
2106 (vc-locking-user): Simplify. Now only needed if the file is
2107 locked by somebody else.
2108 (vc-lock-from-permissions): Remove. Functionality is in
2109 vc-sccs-hooks.el and vc-rcs-hooks.el now.
2110 (vc-mode-line-string): New name for former vc-status. Adapted.
2111 (vc-mode-line): Adapt to use the above. Remove optional parameter.
2113 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
2114 Various simplifications and adaptations all over the place.
2116 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
2117 Simplify and adapt the rest.
2119 * vc.el (vc-resynch-window): Add TODO comment: check for
2120 interaction with view mode according to recent RCS change.
2121 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
2123 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2125 * vc.el: Convert the remaining function comments to docstrings.
2127 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2129 * vc.el (vc-backend-release, vc-release-greater-or-equal)
2130 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
2131 (vc-minor-part, vc-previous-version): Functions that operate and
2132 compare revision numbers got proper documentation. Comments added
2133 about their possible removal.
2135 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2137 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
2138 the vc-backend.el files.
2140 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2142 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2143 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2144 (vc-rcs-previous-version): Functions added.
2146 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2148 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2150 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2152 * vc-hooks.el (vc-master-templates): Is really obsolete.
2153 Comment out the definition for now. What is the right procedure
2155 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2157 (vc-default-registered): Remove.
2158 (vc-check-master-templates): New function; does mostly what the
2160 (vc-locking-user): Don't rely on the backend to set the property.
2162 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2163 Rewrite documentation.
2164 (vc-rcs-templates-grabbed): New variable.
2165 (vc-rcs-grab-templates): New function.
2166 (vc-rcs-registered): Rewrite to use above mechanism.
2168 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2169 Rewrite documentation.
2170 (vc-sccs-templates-grabbed): New variable.
2171 (vc-sccs-grab-templates): New function.
2172 (vc-sccs-registered): Rewrite to use above mechanism.
2173 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2174 Don't throw the result, simply return it.
2176 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2177 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2178 (vc-cvs-registered): Does the check itself now. Simplify.
2180 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2183 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2185 * vc-cvs.el (vc-cvs-diff): New function.
2187 * vc-sccs.el (vc-sccs-diff): New function.
2189 * vc-rcs.el (vc-rcs-diff): New function.
2190 (vc-rcs-checkout): Bug (typo) found and fixed.
2191 (vc-rcs-register-switches): New variable.
2193 * vc.el (vc-backend-diff): Function removed and placed in the
2196 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2198 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2200 * vc.el (vc-backend-checkout): Function removed and replaced in
2201 the vc-backend.el files.
2203 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2205 * vc.el (vc-backend-admin): Removed and replaced in the
2206 vc-backend.el files.
2208 * vc.el (Martin): Removed all the annotate functionality since it
2209 is CVS backend specific.
2211 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2213 * spec.txt: Added specification of vc-state.
2215 * vc-sccs-hooks.el (vc-sccs-master-properties):
2216 Remove handling of vc-latest-version and
2217 vc-your-latest-version. What used to be vc-latest-version, is now
2218 returned as vc-workfile-version.
2219 (vc-sccs-workfile-version): Adapt.
2221 2000-09-04 Dave Love <fx@gnu.org>
2223 * vc.el: [Merged from mainline.]
2224 (vc-dired-mode): Make the dired-move-to-filename-regexp
2225 regexp match the date, to avoid treating date as file size.
2226 Add YYYY S option to WESTERN/
2228 2000-09-04 Dave Love <fx@gnu.org>
2230 * vc.el: Require `compile' when compiling.
2231 (vc-logentry-check-hook): New option.
2232 (vc-steal-lock): Use compose-mail.
2233 (vc-dired-mode-map): Defvar when compiling.
2234 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2235 vc-sccs.el and renamed. Callers changed.
2236 (vc-backend-checkout, vc-backend-logentry-check)
2237 (vc-backend-merge-news): Doc fix.
2238 (vc-default-logentry-check): New function.
2239 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2240 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2241 (vc-backend-merge): Doc fix. Use backend functions.
2242 (vc-check-headers): Use backend functions.
2244 * vc-cvs.el: Require vc when compiling.
2245 (vc-cvs-register-switches): Doc fix.
2246 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2247 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2248 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2249 New functions (code from vc.el).
2250 (vc-annotate-display-default): Fix interactive spec.
2251 (vc-annotate-time-span): Doc fix.
2253 * vc-rcs.el: Require vc when compiling.
2254 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2255 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2256 (vc-rcs-checkin): New functions (code from vc.el).
2257 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2259 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2261 * vc-sccs.el: Require vc when compiling.
2262 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2263 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2265 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2267 (vc-sccs-add-triple, vc-sccs-record-rename)
2268 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2269 (vc-sccs-admin): Doc fix.
2271 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2273 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2274 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2275 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2278 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2280 * vc-cvs.el: Moved the annotate functionality from vc.el.
2281 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2283 2000-09-04 Dave Love <fx@gnu.org>
2285 * vc.el (vc-backend-release): Call vc-system-release.
2287 * vc-sccs.el (vc-sccs-system-release):
2288 Renamed from vc-sccs-backend-release.
2290 * vc-rcs.el (vc-rcs-system-release):
2291 Renamed from vc-rcs-backend-release.
2293 * vc-cvs.el (vc-cvs-system-release):
2294 Renamed from vc-cvs-backend-release.
2296 2000-09-04 Dave Love <fx@gnu.org>
2298 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2300 (vc-backend-release): Dispatch to backend functions.
2301 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2302 probably needs attention.]
2304 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2305 (vc-sccs-backend-release): New function.
2307 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2308 (vc-cvs-backend-release): New function.
2310 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2312 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2313 (vc-default-dired-state-info): New function.
2314 (vc-dired-state-info): Dispatch to backends.
2315 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2317 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2318 from vc.el and renamed.
2320 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2322 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2323 (vc-version-other-window, vc-backend-assign-name): Removed
2324 references to vc-latest-version; sometimes changed into
2325 vc-workfile-version.
2327 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2328 vc-rcs-master-workfile-version.
2329 (vc-rcs-workfile-version): Use the above. Don't call
2330 vc-latest-version (that was unreachable code, anyway).
2331 (vc-rcs-fetch-master-properties): Doc fix.
2333 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2334 (vc-backend-hook-functions): Removed them from this list, too.
2335 (vc-fetch-properties): Removed.
2336 (vc-workfile-version): Doc fix.
2338 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2339 (vc-rcs-workfile-version, vc-rcs-locking-user)
2340 (vc-rcs-uses-locking): Use it.
2342 * vc-hooks.el (vc-consult-rcs-headers):
2343 Moved into vc-rcs-hooks.el, under the name
2344 vc-rcs-consult-headers.
2346 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2348 (vc-cvs-find-master): Use this name only; correct different
2349 versions of the name.
2351 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2353 (vc-sccs-locking-user): Use the latter.
2355 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2358 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2360 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2361 functions are implementation details of those two backends.
2363 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2365 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2366 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2368 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2369 (vc-sccs-parse-locks): SCCS-specific code moved here from
2372 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2373 code moved here from vc-hooks.
2375 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2376 into back-end specific parts and removed. Callers not updated
2377 yet; because I guess these callers will disappear into back-end
2378 specific files anyway.
2380 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2382 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
2383 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
2386 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
2387 Store yes/no in the property, and return t/nil. Updated all
2390 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
2391 vc-sccs-uses-locking. Don't set property.
2392 (vc-sccs-locking-user): Don't set property.
2394 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
2395 vc-cvs-uses-locking. Don't set property here; leave that to
2397 (vc-cvs-locking-user): Reflect above change. Streamlined.
2399 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
2400 vc-rcs-uses-locking.
2401 (vc-rcs-locking-user): Reflect above change.
2403 2000-09-04 Dave Love <fx@gnu.org>
2405 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
2407 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
2409 * vc-hooks.el (vc-checkout-model): Punt to backends.
2411 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
2413 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
2415 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
2418 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
2421 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
2422 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
2424 * vc-hooks.el (vc-default-locking-user): New function.
2425 (vc-locking-user, vc-workfile-version): Punt to backends.
2427 2000-09-04 Dave Love <fx@gnu.org>
2429 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
2430 (vc-master-workfile-version): Moved from vc-hooks.
2432 * vc-rcs-hooks.el: Fix duplicate code in last change.
2434 * vc-rcs-hooks.el: Require vc-hooks when compiling.
2435 (vc-rcs-master-templates): Improve :type.
2436 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
2437 vc-master-workfile-version): Moved from vc-hooks.
2439 * vc-sccs-hooks.el: Require vc-hooks when compiling.
2440 (vc-sccs-master-templates): Improve :type.
2441 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
2443 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
2445 * vc-cvs-hooks.el: Require vc-hooks when compiling.
2446 (vc-cvs-master-templates): Improve :type. Use
2447 vc-cvs-find-cvs-master.
2448 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
2450 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
2452 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
2453 Moved to vc-cvs-hooks.
2455 * vc-hooks.el: Add doc strings in various places. Simplify the
2457 (vc-handled-backends): New user variable.
2458 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
2461 2000-09-04 Dave Love <fx@gnu.org>
2463 * vc.el: Some doc fixes for autoloaded and interactive functions.
2464 Fix compilation warnings from ediff stuff.
2465 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
2467 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
2469 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
2471 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
2473 2000-09-04 Dave Love <fx@gnu.org>
2475 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2477 (vc-make-backend-function, vc-loadup, vc-call-backend)
2478 (vc-backend-defines): New functions.
2480 * vc-hooks.el: Various doc fixes.
2481 (vc-default-back-end, vc-follow-symlinks): Custom fix.
2482 (vc-match-substring): Function removed. Callers changed to use
2484 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
2487 2000-09-04 Dave Love <fx@gnu.org>
2489 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
2491 (vc-sccs-project-dir, vc-search-sccs-project-dir)
2492 (vc-sccs-registered): Doc fix.
2494 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
2495 (vc-cvs-registered): Doc fix.
2497 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
2498 (vc-rcs-registered): Doc fix.
2500 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2502 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
2504 * vc-hooks.el: vc-registered has been renamed
2505 vc-default-registered. Some functions have been moved to the
2506 backend specific files. they all support the
2507 vc-BACKEND-registered functions.
2509 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2511 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
2513 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
2515 2000-09-04 Dave Love <fx@gnu.org>
2517 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
2518 menu-bar-update-hook.
2520 * help.el (help-manyarg-func-alist): Add
2521 find-operation-coding-system.
2523 * wid-edit.el (widget-sexp-validate): Fix garbled code.
2525 * custom.el (custom-set-variables): Print message about errors in
2528 2000-09-03 Andrew Innes <andrewi@gnu.org>
2530 * makefile.w32-in: Change to DOS line endings.
2532 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2534 * mouse.el (mouse-popup-menubar): Supply the prompt string for
2535 minor-mode keymaps, if they don't have one.
2537 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2539 * eshell/esh-module.el (eval-when-compile): Don't lose if
2540 esh-module.el's file name is truncated to DOS 8+3 limits.
2542 2000-09-01 John Wiegley <johnw@gnu.org>
2544 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
2545 predicate, which caused entries in the completion list to be
2548 2000-08-30 John Wiegley <johnw@gnu.org>
2550 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
2551 sending to subprocesses. Also, hook pre-command-hook if
2552 `eshell-send-direct-to-subprocesses' is non-nil.
2553 (eshell-send-direct-to-subprocesses): New config variable. If t,
2554 subprocess input is send immediately.
2555 (eshell-toggle-direct-send): New function.
2556 (eshell-self-insert-command): New function.
2557 (eshell-intercept-commands): New function.
2558 (eshell-send-input): If direct subprocess sending is enabled,
2559 don't echo any input to the Eshell buffer. Let the subprocess
2560 handle that. This requires "stty echo" in bash, for example.
2562 2000-08-28 John Wiegley <johnw@gnu.org>
2564 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
2565 completion function for Eshell's implementation of `unset'.
2567 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2569 * info.el (Info-directory-list): Doc fix.
2571 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
2573 * filecache.el (file-cache-add-directory-using-find): Don't quote
2574 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
2576 2000-08-31 Kenichi Handa <handa@etl.go.jp>
2578 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
2581 2000-08-30 Andrew Innes <andrewi@gnu.org>
2583 * timer.el (run-with-idle-timer): Undo last change, so that timer
2584 is not activated immediately if Emacs is already idle. Some
2585 existing code relies on this behaviour.
2587 2000-08-30 Miles Bader <miles@gnu.org>
2589 * frame.el (set-frame-font): Do completion of font-name for
2592 2000-08-30 Kenichi Handa <handa@etl.go.jp>
2594 * international/quail.el (quail-start-translation): Bind locally
2595 last-command-event, last-command, and this-command.
2596 (quail-start-conversion): Likewise.
2597 (quail-self-insert-command): Fix docstring.
2599 2000-08-29 Gerd Moellmann <gerd@gnu.org>
2601 * progmodes/executable.el
2602 (executable-make-buffer-file-executable-if-script-p): Check that
2603 buffer contains at least 2 characters.
2605 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2607 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
2609 2000-08-29 Dave Love <fx@gnu.org>
2611 * diff-mode.el (diff-mode) <defgroup>: Add :version.
2612 (diff-mode-shared-map): Bind mouse-2.
2613 (diff-imenu-generic-expression): New variable.
2614 (diff-mode): Use it.
2616 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
2617 (mouse-popup-menubar): Add minor mode menus.
2618 (popup-menu): Check for lookup-key returning number.
2620 2000-08-29 Miles Bader <miles@gnu.org>
2622 * comint.el (comint-send-input): Create overlays using the proper
2623 front/read-advance arguments.
2625 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2627 * ps-print.el: Even/odd pages printing. Doc fix.
2628 (ps-print-version): New version number (6.0).
2629 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
2630 (ps-background, ps-begin-file, ps-begin-job): Code fix.
2631 (ps-print-duplex-feature): Variable eliminated.
2632 (ps-even-or-odd-pages): New variable.
2634 * progmodes/ebnf2ps.el: Doc fix.
2635 (ebnf-version): New version (3.3).
2636 (ebnf-user-arrow): Change variable customization to sexp.
2637 (ebnf-user-arrow): Function eliminated.
2638 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
2640 2000-08-29 Kenichi Handa <handa@etl.go.jp>
2642 * help.el (help-xref-mule-regexp): New variable.
2643 (help-make-xrefs): Handle help-xref-mule-regexp.
2645 * international/mule-cmds.el (help-xref-mule-regexp-template): New
2647 (describe-input-method): Temporarily activate the specfied input
2648 method to display the information.
2649 (describe-language-environment): Hyperlinks to mule related items.
2651 * international/mule-diag.el (charset-multibyte-form-string): New
2653 (list-character-sets-1): Use charset-multibyte-form-string.
2654 (describe-character-set): New function.
2655 (describe-coding-system): Hyperlinks to safe character sets.
2657 * international/quail.el (quail-help): New arg PACKAGE.
2658 Hyperlinks to mule related items.
2659 (quail-help-insert-keymap-description): Use
2660 substitute-command-keys instead of describe-bindings.
2661 (quail-translation-help): Hyperlinks to mule related items.
2663 2000-08-28 John Wiegley <johnw@gnu.org>
2665 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
2666 have a defsubst call itself. Made `eshell-flatten-list' back into
2669 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
2670 catch, in case re-centering point at bottom messes up the display.
2671 This happens frequently in Emacs 21, due I believe to variable
2674 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
2675 to call `find-tag-interactive'.
2677 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
2678 the list of remember directories.
2680 2000-08-28 John Wiegley <johnw@gnu.org>
2682 * align.el: Test align-region-separate to see if it's a symbol.
2684 2000-08-28 John Wiegley <johnw@gnu.org>
2686 * eshell/esh-util.el (eshell-flatten-list): Made this function
2687 into a defsubst form. It gets used very frequently, although
2688 calls don't occur all that often.
2690 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
2693 * eshell/esh-cmd.el (eshell-rewrite-while-command):
2694 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
2696 (eshell-copy-handles): Created a new macro for duplicating the
2697 current set of open handles. This is needed by the looping
2699 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
2700 is not incorrectly stomped on.
2702 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
2703 declaration for pcomplete-use-paring.
2704 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
2705 value of eshell-cmpl-use-paring.
2706 * pcomplete.el (pcomplete-use-paring): New config variable, to
2707 indicate whether paring should be used.
2708 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
2709 completion alternatives that have already been used.
2711 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
2712 bound to C-c C-y, which will repeat the previous N arguments
2713 (based on prefix argument).
2714 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
2716 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
2717 if there is no *Help* buffer. This is for XEmacs, which renames
2718 its help buffers uniquely. TODO: Find out what the current buffer
2721 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
2722 first entry that correlates to a passwd/group number. Later
2723 entries (used for group/user name aliasing to multiple IDs) are
2726 * eshell/em-xtra.el (eshell/expr):
2727 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
2728 (eshell-grep, eshell/diff, eshell/locate):
2729 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
2730 argument list, before passing it to the system command.
2732 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
2733 `find-tag' for use at final position in Eshell buffers (which
2734 otherwise triggers an error on Emacs 21).
2735 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
2736 buffer, if it is currently bound to `find-tag'.
2738 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
2739 in the list of matched Makefile names.
2740 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
2741 directory, prefer its contents to Makefile.
2743 * eshell/em-dirs.el (eshell/cd): cd commands that look up
2744 directory parts (like "cd old new", or "cd =regexp"), are now case
2745 sensitive on non-Windows/DOS platforms.
2747 * eshell/esh-mode.el (eshell-parse-command-input): When a user
2748 types RET after an open delimiter (like "), display a message
2749 indicating that Eshell is waiting for the closing delimiter.
2751 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
2752 environment variables.
2754 * eshell/em-unix.el (eshell/diff): Added logic to fail more
2755 gracefully if the user enters incorrect arguments.
2757 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
2760 * eshell/esh-var.el (eshell-interpolate-variable):
2761 * eshell/esh-mode.el (eshell-move-argument):
2762 * eshell/em-unix.el (eshell-du-sum-directory):
2763 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
2764 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
2767 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
2768 to ensure the `preserve' flag gets propagated when doing recursive
2771 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
2773 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
2774 Don't convert \n into \0177 in memory.
2775 (eshell-read-history, eshell-write-history): Convert \n to \0177,
2776 and back again, when reading and writing.
2778 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
2780 * eshell/esh-util.el (eshell-processp): Added to relieve constant
2781 testing of `fboundp' on `processp'.
2783 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
2784 (eshell/jobs): Don't call process-list if it is not bound.
2785 (eshell-gather-process-output): Support systems where async
2786 subprocesses aren't supported.
2787 (eshell-scratch-buffer, eshell-last-sync-output-start): New
2790 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
2791 eshell-do-eval returns t.
2792 (eshell-do-pipelines-synchronously): New defmacro.
2793 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
2794 when async subprocesses aren't supported.
2795 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
2796 if async subprocesses aren't supported.
2797 (eshell-resume-command): Don't assume STATUS is a string.
2799 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
2801 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
2802 (eshell-close-target, eshell-get-target): Use eshell-processp.
2803 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
2805 (eshell-get-target, eshell-create-handles): Doc fix.
2807 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
2809 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
2810 criterion to include commands that output something, as long as it
2811 leaves both the command and the end-of-buffer visible when the
2813 (eshell-review-quick-commands): Adjust the help doc string
2816 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
2818 * locate.el (locate): Cleaned up locate command's interactive prompting
2819 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
2821 * filecache.el (file-cache-case-fold-search): New variable
2822 (file-cache-assoc-function): New variable
2823 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
2824 Use file-cache-case-fold-search variable
2825 (file-cache-add-file): Use file-cache-assoc-function
2826 (file-cache-delete-file): likewise
2827 (file-cache-directory-name): likewise
2828 (file-cache-debug-read-from-minibuffer): likewise
2830 2000-08-28 Gerd Moellmann <gerd@gnu.org>
2832 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
2833 (abbrev-table-name): New function.
2834 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
2835 If non-nil list local abbrev, only.
2837 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
2839 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
2840 from Gnus support code, and use special article copy buffer
2841 `(gnus-original-article-buffer)' instead. This allows to get rid
2842 of article-hide-headers usage (which breaks in the latest Gnus
2843 version). Thanks to Detlev Zundel.
2845 2000-08-28 Kenichi Handa <handa@etl.go.jp>
2847 * international/quail.el (quail-use-package): Hide "... loaded"
2849 (quail-start-translation, quail-start-conversion): Likewise.
2851 * international/kkc.el (kkc-region): Hide "... loaded" message.
2853 2000-08-27 Dave Love <fx@gnu.org>
2855 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
2857 2000-08-27 Miles Bader <miles@gnu.org>
2859 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
2861 2000-08-27 Kenichi Handa <handa@etl.go.jp>
2863 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
2864 'ja-dic-cnv), not (require 'skkdic-cnv).
2866 2000-08-26 Miles Bader <miles@gnu.org>
2868 * faces.el (face-x-resources): Add entry for :inherit.
2869 * cus-face.el (custom-face-attributes): Add support for :inherit
2870 attribute. Add support for relative face heights.
2871 (custom-face-attributes-get): Treat `nil' as being a default value
2872 for :inherit (as well as `unspecified').
2874 * faces.el (set-face-attribute): Update doc string.
2875 (face-attribute-name-alist): Add :inherit.
2876 (face-valid-attribute-values): Handle :inherit.
2877 (face-read-string): Rephrase prompt to be less confusing.
2878 Assume that DEFAULT is a string, since we must return a string.
2879 (face-read-integer): Use `format' to turn DEFAULT into an
2880 acceptable default for face-read-string. Match NEW-VALUE against
2881 the string "unspecified", not the symbol `unspecified', since
2882 that's what face-read-string returns.
2883 (read-face-attribute): Lookup a name for old-value in valid, and
2884 use it as a default if we find one. Treat all values from
2885 face-read-string as strings. If the default is used, don't do any
2886 more processing on the value, just use the old value directly.
2887 (read-face-and-attribute, modify-face): Tweak prompt.
2888 (read-face-name): Don't assume prompt ends with a space.
2890 * faces.el (describe-face): Add support for :inherit attribute.
2892 2000-08-25 Kenichi Handa <handa@etl.go.jp>
2894 * terminal.el (terminal-emulator): Fix args to `concat'. Now
2895 concat doesn't accept interger.
2897 * international/kkc.el: Remove SKK from Keywords. Require
2898 ja-dic-utl instead of skkdic-utl.
2900 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
2901 Provide ja-dic-cnv instead of skkdic-cnv.
2902 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
2903 (iso-2022-7bit-short): Add safe-charsets property.
2904 (skkdic-convert-postfix): Search Japanese chou-on character in
2905 addition to Hiragana character.
2906 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
2907 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
2908 (batch-skkdic-convert): Likewise.
2910 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
2911 Provide ja-dic-utl instead of skkdic-utl.
2912 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
2914 2000-08-24 Dave Love <fx@gnu.org>
2916 * disp-table.el (standard-display-default): Make the test of `l'
2919 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
2922 * international/iso-ascii.el: Make pilcrow convenient string
2923 consistent with section.
2924 (iso-ascii-display): Set up multibyte characters as well as
2927 2000-08-24 Kenichi Handa <handa@etl.go.jp>
2929 * international/mule-cmds.el (reset-language-environment): Set
2930 default-process-coding-system to '(undecided . iso-latin-1), which
2931 makes process I/O almost consistent with file I/O. Call this
2932 function when mule-cmds.el[c] is loaded.
2934 2000-08-22 Andrew Innes <andrewi@gnu.org>
2936 * makefile.w32-in: New file.
2938 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
2940 * comint.el (comint-output-filter): Compare end of
2941 comint-last-output-overlay with the start of the newly inserted
2942 text, not the end, when deciding whether to extend it.
2943 Set saved-point's insertion type to advance after insertion.
2945 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
2946 since this is now done independently of font-lock mode.
2948 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2950 * server.el (server-kill-new-buffers): New user option.
2951 (server-existing-buffer): New buffer-local variable.
2952 (server-visit-files): When using an existing buffer, set
2953 server-existing-buffer to t.
2954 (server-buffer-done): If server-kill-new-buffers is t, kill the
2955 buffer, unless it was already present before visiting it with
2958 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
2960 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
2961 even if the display doesn't support colors: some displays will
2962 support bold/underline faces.
2964 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2966 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
2968 * startup.el (command-line): If user's init file had an error,
2969 add explanatory text to *Messages*.
2971 2000-08-21 Kenichi Handa <handa@etl.go.jp>
2973 * man.el (Man-getpage-in-background): Decode the process output by
2974 the system locale coding system.
2976 2000-08-20 Dave Love <fx@gnu.org>
2978 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
2979 Don't test x-popup-menu.
2980 (function) <complete-function>: Complete only fbound symbols.
2981 <validate, value>: New.
2982 (variable) <complete-function>: Complete only bound symbols.
2983 (coding-system): Add :base-only, :complete-function, :validate,
2984 :value, :prompt-match.
2985 (widget-coding-system-prompt-value): Use read-coding-system and
2987 (editable-field): Add :help-echo.
2988 (widget-push-button-gui, widget-push-button-cache)
2989 (widget-gui-action, widget-editable-list-gui): COmment out, along
2991 (widget-at): Make arg optional.
2992 (widget-echo-help): Adjust for current help-echo calling sequence.
2993 (widget-specify-field, widget-specify-button)
2994 (widget-specify-insert, widget-get-sibling, widget-image-find)
2995 (widget-convert, widget-insert, widget-leave-text)
2996 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
2997 (widget-setup, widget-field-find, widget-before-change)
2998 (widget-after-change, widget-default-complete)
2999 (widget-default-create, widget-default-delete)
3000 (widget-push-button-value-create, editable-field)
3001 (widget-field-prompt-value, widget-field-validate)
3002 (widget-choice-value-create, widget-choice-action)
3003 (widget-choice-validate, widget-checklist-add-item)
3004 (widget-radio-add-item, widget-radio-chosen)
3005 (widget-radio-value-inline, widget-editable-list-value-create)
3006 (widget-editable-list-entry-create)
3007 (widget-documentation-link-add)
3008 (widget-documentation-string-value-create)
3009 (widget-regexp-validate, widget-file-complete)
3010 (widget-sexp-validate, widget-plist-convert-widget)
3011 (widget-plist-convert-widget, widget-alist-convert-widget)
3012 (widget-alist-convert-widget, widget-color-complete): Simplify,
3013 particularly to avoid bindings which aren't optimized out.
3015 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3017 (down-list, backward-up-list, up-list, kill-sexp)
3018 (backward-kill-sexp, mark-sexp): Make arg optional.
3019 (lisp-complete-symbol): Add optional arg PREDICATE.
3021 * cus-start.el: Add display-buffer-reuse-frames,
3022 file-coding-system-alist.
3024 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3026 * startup.el (command-line): Clear realized faces after
3027 modifying TTY color mappings.
3029 2000-08-20 Miles Bader <miles@gnu.org>
3031 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3032 merely a subset of FACE's attributes.
3034 2000-08-19 Miles Bader <miles@gnu.org>
3036 * comint.el (comint-output-filter): Save the point with a marker,
3037 not just a buffer position.
3039 * international/mule.el (set-buffer-process-coding-system): Make
3040 interactive prompt less confusing.
3042 2000-08-19 Gerd Moellmann <gerd@gnu.org>
3044 * hilit-chg.el: General cleanup of doc strings, comments and
3047 2000-08-19 Miles Bader <miles@gnu.org>
3049 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
3050 Compiler macro removed; beginning-of-line is no longer always
3051 equivalent to forward-line, in the presence of fields.
3053 * comint.el (comint-output-filter): Remove ad-hoc saving of
3054 restriction, and just use save-restriction, now that it works
3055 correctly. Don't adjust comint-last-input-start to account for
3056 our insertion; it shouldn't have moved because we don't use
3057 insert-before-markers anymore. Comment out call to
3058 `force-mode-line-update'; why is it here?
3060 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
3061 while checking for prompt to delete. Use `forward-line 0'
3062 instead of beginning-of-line.
3063 (gud-filter): Temporarily widen gud comint buffer while
3066 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
3068 * progmodes/sh-script.el: Big bag of typos.
3070 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
3071 check since ispell-process is not bound when ispell is not yet loaded.
3073 2000-08-18 Dave Love <fx@gnu.org>
3075 * image.el (find-image): Copy `spec' before using plist-put.
3077 2000-08-18 Gerd Moellmann <gerd@gnu.org>
3079 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
3082 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
3083 backward-kill-sexp, analogous to kill-sexp.
3085 * progmodes/icon.el (icon-indent-line)
3086 (icon-is-continuation-line): Handle comments specially.
3088 2000-08-17 Ken Stevens <k.stevens@ieee.org>
3090 * ispell.el: Set to standard author/maintainer/keyword fields.
3091 Fine tuning to menu map appearance and operation, and added help.
3092 Remove `start' and `end' error messages when compiling.
3093 (ispell-choices-win-default-height): Fixed comment string.
3094 (ispell-dictionary-alist-1): Fixed regexp in castellano and
3095 castellano8 dictionaries.
3096 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
3097 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
3098 dictionary, added italiano dictionary.
3099 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
3101 (ispell-tex-skip-alists): Added psfig support.
3102 (ispell-skip-html): Renamed from ispell-skip-sgml.
3103 (ispell-begin-skip-region-regexp, ispell-skip-region)
3104 (ispell-minor-check): Improved html skipping support to skip across
3105 code, and recognize `&' commands without propper `;' syntax;
3106 (ispell-process-line): Fix alignment error when manually
3107 correcting spelling.
3108 (ispell): Fix comment string.
3109 (ispell-add-per-file-word-list): Always put word list on new line.
3111 2000-08-17 Gerd Moellmann <gerd@gnu.org>
3113 * format.el (format-encode-run-method): Fix error message to say
3114 `encode' instead of `decode'. Use save-window-excursion around
3115 shell-command-on-region as in format-decode-run-method because
3116 shell-command-on-region can display a buffer with error output.
3117 (format-decode): Don't record undo information for the decoding.
3118 (format-annotate-function): Add parameter FORMAT-COUNT. Make
3119 that number part of the temporary buffer name so that more than
3120 one decoding using a temporary buffer can happen safely.
3122 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
3123 of `A-z' in the regexp.
3125 * hilit-chg.el: Fix typos in commentary.
3127 * help.el (view-emacs-news): Rewritten for new naming scheme
3130 * startup.el (command-line): Pop to *Messages* in case an error
3131 is signaled while loading user-init-file.
3133 2000-08-17 Andreas Schwab <schwab@suse.de>
3135 * files.el (insert-directory): Don't lose original file name,
3136 undoing an undocumented change.
3138 2000-08-17 Alex Schroeder <alex@gnu.org>
3140 * sql.el (sql-magic-go): Use comint-bol.
3141 (sql-copy-column): Use comint-line-beginning-position.
3142 (comint-line-beginning-position): Define a replacement for
3143 comint-line-beginning-position if it is not fboundp.
3145 2000-08-17 Alex Schroeder <alex@gnu.org>
3147 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3148 it didn't have any effect anyway.
3150 2000-08-17 Alex Schroeder <alex@gnu.org>
3152 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3153 --pset and pager=off instead of sending \\o|cat at the beginning
3156 2000-08-17 Miles Bader <miles@gnu.org>
3158 * progmodes/octave-inf.el: Add compatibility definition of
3159 comint-line-beginning-position.
3161 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3163 * startup.el (normal-top-level): Look in each dir in load-path for
3164 a leim-list.el file too. This assures of loading leim-list.el
3165 that is created at Emacs installation time even if a user have his
3168 2000-08-17 Miles Bader <miles@gnu.org>
3170 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3171 foreground color to black if the background is dark.
3173 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3175 * loadhist.el (unload-feature): Typo.
3177 * finder.el (finder-compile-keywords):
3178 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3179 to the generated file.
3181 * mail/mh-e.el (mh-make-local-vars):
3182 Replace make-variable-buffer-local with make-local-variable.
3185 * options.el (Edit-options-{set,toggle,t,nil}):
3186 * mail/mailabbrev.el (mail-abbrevs-mode):
3187 * textmodes/tex-mode.el (tex-expand-files):
3188 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3190 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3192 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3193 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3194 Allow going past the last element.
3195 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3196 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3197 (cvs-mouse-toggle-mark): Don't move point.
3198 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3200 * progmodes/compile.el (grep): Provide a default set of files.
3201 (next-error): Docstring fix.
3202 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3204 * emacs-lisp/easy-mmode.el (define-minor-mode):
3205 Use `symbol-value' to keep the byte-compiler quiet.
3207 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3208 (diff-find-source-location): New fun, extracted from diff-goto-source.
3209 (diff-goto-source): Use it.
3210 (diff-next-complex-hunk, diff-filter-lines): New function.
3211 (diff-apply-hunk): New command.
3213 * smerge-mode.el (smerge-mode-menu): Doc fix.
3215 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3217 2000-08-16 Dave Love <fx@gnu.org>
3219 * windmove.el (windmove) <defgroup>: Add :version.
3221 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3222 (goto-address-fontify-p, goto-address-highlight-p)
3223 (goto-address-url-face, goto-address-url-mouse-face)
3224 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3225 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3226 (goto-address-fontify, goto-address-at-mouse): Simplify,
3227 (goto-address-at-point): browse-url-url-at-point,
3228 goto-address-find-address-at-point can return nil.
3229 (goto-address-find-address-at-point): Return nil on failure.
3231 * align.el (align) <defgroup>: Add :version.
3233 * calculator.el (calculator): Add :version.
3234 (calculator): Use two lines for calculator window if `modeline'
3237 * play/5x5.el: Doc fixes.
3238 (5x5) <defgroup>: Add :version.
3240 * play/fortune.el (fortune) <defgroup>: Add :version.
3241 (fortune-append): Fix error message.
3242 (fortune-from-region): Doc fix.
3244 * play/pong.el (pong): Doc fix.
3246 * play/morse.el: Keywords, commentary, autoloads.
3248 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3250 * desktop.el (desktop-save): Don't look at symbol-value of a
3251 member of minor-mode-alist, unless it is boundp.
3253 2000-08-16 Sam Steingold <sds@gnu.org>
3255 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3256 `while'; use `with-current-buffer' instead of `save-excursion'.
3257 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3259 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3261 * international/ccl.el (declare-ccl-program): Docstring modified.
3262 (ccl-execute-with-args): Likewise.
3264 2000-08-16 Miles Bader <miles@gnu.org>
3266 * progmodes/sql.el: Add compatibility definition of
3267 comint-line-beginning-position.
3269 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3271 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3272 'buffer-menu' property.
3273 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3275 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3276 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3279 * buff-menu.el (list-buffers-noselect): Don't display the
3280 *Buffer List* buffer.
3282 * font-lock.el: Require jit-lock to prevent a very late
3283 `Loading jit-lock' message.
3285 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3286 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3289 2000-08-15 Miles Bader <miles@gnu.org>
3291 * textmodes/ispell.el (ispell-graphic-p): New constant.
3292 (ispell-choices-win-default-height, ispell-help): Use
3293 `ispell-graphic-p' instead of `xemacsp'.
3295 2000-08-15 Dave Love <fx@gnu.org>
3297 * simple.el: Autoload widget-convert when compiling.
3298 (mail-user-agent): Doc fix.
3300 * help.el (function-called-at-point, variable-at-point): Use
3302 (help-manyarg-func-alist): Add insert-and-inherit.
3304 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3306 * delsel.el (delsel-unload-hook): New function.
3308 * find-file.el: Doc fixes. Move provide to end.
3309 (ff) <defgroup>: Add :link.
3310 (ff-goto-click): Deleted.
3311 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3312 Use mouse-set-point.
3314 * textmodes/tildify.el: Doc fixes.
3315 (tildify) <defgroup>: Add:version.
3317 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3318 (glasses-custom-set): Use set-default, not set.
3319 (minor-mode-alist): Propertize the lighter.
3320 (glasses-mode): Provide optional arg.
3322 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3323 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3324 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3325 option. Provide :type.
3326 (cwarn-configuration): Provide :type.
3327 (cwarn-mode): Doc fix.
3329 * add-log.el (change-log-merge): Doc fix.
3330 (change-log-redate): New command.
3332 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3334 (browse-url): Use dolist, not mapcar.
3335 (browse-url-at-point): Check for null url.
3336 (browse-url-event-buffer, browse-url-event-point): Functions
3338 (browse-url-at-mouse, browse-url-netscape): Simplify.
3340 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3342 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3343 Fix previous change to mapcan.
3344 (msb--init-file-alist, msb--add-separators)
3345 (msb--make-keymap-menu): Simplify.
3346 (msb--choose-file-menu): Use copy-sequence.
3347 (msb-mode-map): Add title to keymap.
3348 (msb-unload-hook): New function.
3350 * bs.el: Fix indentation.
3351 (bs) <defgroup>: Add :links.
3353 (bs-apply-sort-faces): Don't use window-system.
3354 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3356 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3358 * calendar/timeclock.el (timeclock-file): Run .timelog through
3359 convert-standard-filename.
3361 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3363 * emacs-lisp/authors.el: New file.
3365 * paren.el (show-paren-priority): New user option.
3366 (show-paren-function): Set overlay priorities to
3367 show-paren-priority.
3369 2000-08-14 Miles Bader <miles@gnu.org>
3371 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3372 beginning-of-line with inhibit-field-text-motion bound.
3374 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3376 * calendar/timeclock.el: New file.
3378 2000-08-14 David Ponce <david@dponce.com>
3380 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
3381 `widget-button-click'. so that one can use left mouse button to
3382 click on dialog buttons.
3384 2000-08-14 Emmanuel Briot <briot@gnat.com>
3386 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
3387 identifiers, since XML is case sensitive
3389 2000-08-12 Miles Bader <miles@gnu.org>
3391 * comint.el (comint-output-filter): Don't bother frobbing
3392 window-start, it doesn't seem to be necessary.
3394 * comint.el (comint-send-string, comint-send-region): Make into
3395 real functions. Snapshot the prompt before sending.
3397 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3399 * info.el (Info-find-emacs-command-nodes): Rewrite to use
3400 technique similar to Info-index, instead of relying on specific
3401 names of relevant Index nodes.
3402 (Info-goto-emacs-command-node): Bind Info-history to nil when
3403 going to the first node found by Info-find-emacs-command-nodes.
3405 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3407 * menu-bar.el (menu-bar-help-menu): Add a :help string.
3409 2000-08-10 Miles Bader <miles@gnu.org>
3411 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
3413 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3415 * info.el (Info-file-list-for-emacs): More elements for the
3416 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
3419 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
3421 * comint.el (comint-send-input): Make the newline boundary overlay
3422 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
3423 (comint-output-filter): Use `insert' instead of
3424 `insert-before-markers'. Extend comint-last-output-overlay when
3425 necessary since we can't rely on insert-before-markers to do it.
3426 * gud.el (gud-filter): Use `with-current-buffer' instead of
3427 save-excursion when inserting the output, so that point gets
3428 updated correctly; the old method relied on a rather dodgy
3429 side-effect of comint-output-filter to avoid the effect of
3432 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3434 * files.el (recover-file): Call insert-directory instead of
3435 invoking `ls' directly.
3437 2000-08-10 Miles Bader <miles@gnu.org>
3439 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
3440 (comint-last-prompt-overlay): New variables.
3441 (comint-output-filter): Implement prompt highlighting.
3442 (comint-snapshot-last-prompt): New function.
3443 (comint-send-input): Snapshot the last prompt.
3444 Use comint-highlight-input-face.
3445 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
3446 Use defface instead of defcustom.
3447 (send-invisible, comint-send-eof): Snapshot the last prompt.
3448 (comint-delchar-or-maybe-eof): Use comint-send-eof.
3449 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
3451 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
3453 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
3454 (regexp-opt-group): Use a list of chars for `letters'.
3455 (regexp-opt-charset): `chars' is now a list of chars.
3456 Use a char-table rather than a vector so it works for multibyte chars.
3458 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
3459 Set cvs-minor-current-files to the selected fileinfo.
3460 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
3461 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
3463 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
3465 * files.el (insert-directory): Don't call access-file on
3466 directories on DOS and Windows.
3468 2000-08-09 Kenichi Handa <handa@etl.go.jp>
3470 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
3471 longer if necessary.
3472 (ccl-embed-code): Call ccl-embed-data to store CODE in
3475 2000-08-09 Miles Bader <miles@gnu.org>
3477 * comint.el (comint-output-filter): Properly handle the case where
3478 the text surrounded by comint-last-output-overlay was deleted.
3480 2000-08-08 Gerd Moellmann <gerd@gnu.org>
3482 * info.el (Info-insert-dir): Use Info-additional-directory-list if
3484 (Info-file-list-for-emacs): Remove "info" from the list because
3485 that leads to trying to use the documentation from file `info'
3486 in various situations where it isn't appropriate, for instance
3489 * ffap.el (ffap-read-file-or-url-internal): Handle case that
3490 DIR and/or STRING are nil.
3492 * progmodes/compile.el (compilation-setup): Make variable
3493 compilation-error-screen-columns buffer-local, as some comment
3494 in the code suggests it should be.
3496 * files.el (auto-mode-interpreter-regexp): New variable.
3497 (set-auto-mode): Use it.
3499 * indent.el (indent-for-tab-command): Doc fix.
3501 * mouse-sel.el (mouse-sel-mode): Doc fix.
3503 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
3506 * help.el (print-help-return-message): When
3507 display-buffer-reuse-frames is set, let the help window been quit,
3508 instead of deleting it, which might delete a reused frame.
3510 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
3512 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
3513 rename a directory to a name that differs only by its letter case.
3515 2000-08-08 Kenichi Handa <handa@etl.go.jp>
3517 * international/quail.el (quail-define-rules): Handle Quail decode
3518 map correctly. Add code for supporting annotations.
3519 (quail-install-decode-map): New function.
3520 (quail-defrule-internal): New optional arguments decode-map and
3522 (quail-advice): New function.
3524 2000-08-07 Sam Steingold <sds@gnu.org>
3526 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
3527 `defconst', `define-condition', `with-slots'.
3528 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
3530 2000-08-03 Miles Bader <miles@gnu.org>
3532 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3534 (comint-prompt-regexp, comint-get-old-input): Document dependence on
3535 comint-use-prompt-regexp-instead-of-fields.
3536 (comint-send-input): Add `input' field property to stuff we send to
3537 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
3538 (comint-output-filter): Add `output' field property to process
3539 output, if comint-use-prompt-regexp-instead-of-fields is nil.
3540 (comint-replace-by-expanded-history)
3541 (comint-get-old-input-default, comint-show-output)
3542 (comint-backward-matching-input, comint-forward-matching-input)
3543 (comint-next-prompt, comint-previous-prompt): Use field
3544 properties if comint-use-prompt-regexp-instead-of-fields is nil.
3545 (comint-line-beginning-position): New function.
3546 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
3547 (comint-replace-by-expanded-history-before-point): Use
3548 comint-line-beginning-position and line-end-position.
3549 (comint-last-output-overlay): New variable.
3550 (comint-mode): Make `comint-last-output-overlay' buffer-local.
3552 * shell.el (shell-prompt-pattern): Doc change.
3553 (shell-backward-command): Use line-beginning-position.
3555 * gud.el (gud-gdb-complete-command): Use
3556 comint-line-beginning-position.
3558 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
3559 comint-bol doesn't actually go to the beginning of the line.
3561 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
3562 if comint-use-prompt-regexp-instead-of-fields is non-nil.
3563 (try-expand-line-all-buffers): Likewise.
3565 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
3566 explicitly matching comint-prompt-regexp.
3567 (sql-copy-column): Use comint-line-beginning-position instead of
3568 explicitly matching comint-prompt-regexp.
3570 * progmodes/octave-inf.el (inferior-octave-complete): Use
3571 comint-line-beginning-position.
3573 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
3575 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
3576 looking for a prompt, use `forward-line 0' instead of
3577 `beginning-of-line', to avoid getting caught by an input field.
3579 2000-08-07 Gerd Moellmann <gerd@gnu.org>
3581 * files.el (shell-quote-wildcard-pattern): Make sure to return
3582 PATTERN, in the Unix case.
3584 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
3586 * play/zone.el (zone): Discard any pending input before running
3587 the randomly-chosen pgm.
3589 2000-08-07 Kenichi Handa <handa@etl.go.jp>
3591 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
3592 checking the existence of any multibyte characters.
3594 2000-08-06 Gerd Moellmann <gerd@gnu.org>
3596 * help.el (describe-mode): Test minor-mode symbol for being
3597 bound before testing its value for being nil.
3599 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
3600 `first', `second', and `third'.
3602 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
3603 (second): Make it an alias for `cadr'.
3605 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
3607 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
3608 types of display support faces now.
3610 2000-08-05 Gerd Moellmann <gerd@gnu.org>
3612 * pcvs.el (require): Require `cl' during compilation, only.
3614 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
3615 (toplevel): Remove `remq' and `remove' from autoloads.
3616 (cl-fake-autoloads): New variable. If set, arrange for an error
3617 when CL functions etc. are autoloaded.
3619 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
3621 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
3623 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
3624 popped up, but the user clicks outside the menu, return an empty
3625 regexp (that causes unhighlight-regexp to have no effect).
3627 * menu-bar.el (menu-bar-games-menu): Add Zone.
3629 * hi-lock.el (toplevel): Require font-lock.
3631 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3633 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
3634 (ebnf-8-bit-chars): New var for bug fix.
3635 (ebnf-string): Bug fix.
3637 2000-08-03 Sam Steingold <sds@gnu.org>
3639 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
3640 instead of `buffer-string'.
3641 (require 'cl): Always, not just when compiling.
3642 `ignore-errors' in `interactive', `list*', `defun*' &c make this
3645 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
3647 * international/mule-cmds.el (select-safe-coding-system): Make
3648 the message text about selecting a safe coding system more clear.
3650 2000-08-02 Gerd Moellmann <gerd@gnu.org>
3652 * hi-lock.el: New file.
3654 * play/zone.el: New file.
3656 * replace.el (occur): Set tab-width in the *Occur* buffer to the
3657 value of tab-width in the original buffer. Choose a line number
3658 format that's a multiple of the original buffer's tab width, so
3659 that lines appear right.
3661 * textmodes/ispell.el (ispell): New function, replacing an alias.
3662 Spell-check active region if in transient-mark-mode and mark
3663 is active; otherwise spell-check buffer.
3665 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3667 * ps-mule.el: Fix a customization problem on
3668 ps-mule-font-info-database-default.
3670 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
3672 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
3673 display-mouse-p instead of window-system.
3674 (ebrowse-member-mode-map): Ditto.
3676 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3678 * progmodes/ebnf2ps.el: Update ps-print functions call.
3679 Indentation fix. Doc fix.
3680 (ebnf-version): New version number (3.2).
3681 (ebnf-format-color, ebnf-begin-job): Code fix.
3683 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
3685 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
3686 font lock support on window-system.
3687 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
3689 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
3690 display-color-p, if fboundp, instead of window-system.
3692 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
3694 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
3695 instead of window-system.
3697 * wid-edit.el (widget-choose): Use display-mouse-p instead of
3699 (widget-choice-mouse-down-action): Use display-popup-menus-p
3700 instead of window-system.
3702 * strokes.el (strokes-file): Run the file name through
3703 convert-standard-filename.
3704 (strokes-mode): Call display-mouse-p instead of looking at
3705 window-system. Change the error message accordingly.
3707 * progmodes/cpp.el (toplevel): Support faces on tty's.
3709 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
3710 (lm-plot-square, lm-init-display): Don't use window-system.
3712 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
3713 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
3715 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
3716 instead of looking at window-system.
3718 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3720 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
3721 of testing if iswitchb-prepost-hooks is bound, because the
3722 latter will always be true when invoking a recursive minibuffer
3723 from an active Iswitchb buffer.
3725 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
3727 * files.el (shell-quote-wildcard-pattern): New function.
3728 (insert-directory): Call it. Only prepend "\" to command on Unix
3729 and GNU/Linux systems.
3731 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3733 * eshell/esh-groups.el: Change custom :link file names
3734 from `eshell.info' to `eshell'.
3736 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
3738 * dired.el (dired-build-subdir-alist): Expand subdirectory names
3739 correctly in recursive ange-ftp listings.
3741 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3743 * ps-print.el: Fix bug 1: if ps-font-size-internal,
3744 ps-header-font-size-internal and
3745 ps-header-title-font-size-internal variables are not set,
3746 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
3747 face text property is (foreground-color . COLOR) or
3748 `(background-color . COLOR)', ps-print crashes. Doc fix.
3749 (ps-print-version): New version number (5.2.4).
3750 (ps-plot-region): Code fix.
3751 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
3752 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
3755 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
3757 * glasses.el (glasses-make-readable): Fix uncapitalization of
3758 identifiers like `myXMLDocument'.
3760 2000-07-28 Karl Fogel <kfogel@red-bean.com>
3762 * mail/mail-hist.el (mail-hist-previous-input)
3763 (mail-hist-next-input): Do the obvious code factorization.
3764 (mail-hist-retrieve-and-insert): New func, contains common
3766 If inserting a message body, leave point at top.
3768 2000-07-28 Sam Steingold <sds@gnu.org>
3770 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
3771 Use `<=', not `<' to compare times!
3772 (ange-ftp-ls): Remove.
3774 2000-07-27 Gerd Moellmann <gerd@gnu.org>
3776 * play/cookie1.el: Add explanation of how to make cookie.el
3777 compatible with strfile(1) to comment.
3779 * subr.el (remove, remq): New functions.
3781 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
3782 escape `*' in regexps.
3783 (midnight-find): Reverse order of arguments in the funcall of
3786 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
3789 * play/meese.el: Add Commentary section.
3791 2000-07-27 Alex Schroeder <alex@gnu.org>
3793 * sql.el (sql-ms): Added autoload cookie.
3794 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
3795 (sql-oracle): Ditto.
3796 (sql-help): Doc change.
3798 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
3799 types and exceptions.
3801 2000-07-27 Alex Schroeder <alex@gnu.org>
3803 * sql.el (sql-placeholder-history): New variable.
3804 (sql-query-placeholders-and-send): New function that will query
3805 the user and replace placeholders with user input.
3806 (sql-oracle): If running on NT, set comint-input-sender to
3807 sql-query-placeholders-and-send.
3809 (sql-stop): If in the SQLi buffer, insert stop notification, else
3810 present it as a message.
3812 2000-07-27 Alex Schroeder <alex@gnu.org>
3814 * sql.el (sql-input-ring-separator): Doc change.
3815 (sql-input-ring-file-name): Doc change.
3816 (sql-interactive-mode): Use `sql-input-ring-separator' and
3817 `sql-input-ring-file-name' to set the comint-mode equivalents
3818 without making them local variables.
3819 (sql-stop): Don't bind `sql-input-ring-separator' and
3820 `sql-input-ring-file-name' dynamically to their comint-mode
3823 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3825 * international/mule.el (register-char-codings): New function.
3826 (make-coding-system): Handle `safe-chars' specification in the arg
3829 * international/mule-cmds.el
3830 (find-coding-systems-region-subset-p): This function deleted.
3831 (sort-coding-systems-predicate): New variable.
3832 (sort-coding-systems): New function.
3833 (find-coding-systems-region): Use
3834 find-coding-systems-region-internal.
3835 (find-coding-systems-string): Use find-coding-systems-region.
3836 (find-coding-systems-for-charsets): Check
3837 char-coding-system-table.
3838 (select-safe-coding-system-accept-default-p): New variable.
3839 (select-safe-coding-system): Mostly rewritten. New argument
3841 (select-message-coding-system): Call select-safe-coding-system
3842 with ACCEPT-DEFAULT-P arg.
3843 (reset-language-environment): Reset default-sendmail-coding-system
3844 to the default value iso-latin-1.
3845 (set-language-environment): Don't set the obsolete variable
3846 charset-origin-alist.
3848 * international/codepage.el (cp-coding-system-for-codepage-1):
3849 Give `safe-chars' property to make-coding-system.
3851 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
3852 calling select-message-coding-system twice.
3854 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
3855 instead of `safe-charsets'.
3856 (cyrillic-alternativnyj): Likewise.
3857 (ccl-encode-alternativnyj): Don't check the charset
3860 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3862 * composite.el (compose-chars-after): Preserve match data.
3864 2000-07-26 Sam Steingold <sds@gnu.org>
3866 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
3867 (ange-ftp-real-file-newer-than-file-p): New function.
3868 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
3869 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
3871 * tooltip.el (tooltip-float-time): Removed (use `float-time').
3872 * midnight.el (midnight-float-time): Ditto.
3874 2000-07-26 Andreas Schwab <schwab@suse.de>
3876 * files.el (normal-backup-enable-predicate): Correct
3877 interpretation of the return value of compare-strings.
3879 2000-07-26 Gerd Moellmann <gerd@gnu.org>
3881 * isearch.el (isearch-resume): New function.
3882 (isearch-done): Add something to command-history to resume
3884 (isearch-yank-line, isearch-yank-word): Use
3885 buffer-substring-no-properties instead of buffer-substring.
3887 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
3888 of flyspell-mouse-map.
3890 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
3891 duplicate definition.
3892 (makefile-mode): Remove duplicate setting of local-abbrev-table.
3894 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
3895 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
3897 2000-07-25 Sam Steingold <sds@gnu.org>
3899 * net/ange-ftp.el: Get modtime over the net.
3900 (ange-ftp-file-modtime): New function.
3901 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3902 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
3904 (ange-ftp-dot-to-slash): New function.
3905 (ange-ftp-fix-name-for-vms): Use it.
3907 * midnight.el (midnight-buffer-display-time): Use
3908 `with-current-buffer'.
3910 2000-07-25 Gerd Moellmann <gerd@gnu.org>
3912 * find-dired.el: Update copyright notice.
3913 (find-dired): Offer to kill a running `find'.
3915 * enriched.el (enriched-face-ans): For a `foreground-color'
3916 property, return '(("x-color" COLOR))' so that COLOR will be
3917 output as a parameter of the x-color annotation. Likewise for the
3918 `background-color' property. In the case of normal face
3919 properties, don't return annotations for unspecified foreground
3920 and background face attributes.
3922 2000-07-25 Kenichi Handa <handa@etl.go.jp>
3924 * language/japan-util.el (japanese-katakana-region): Fix handling
3927 2000-07-25 Miles Bader <miles@gnu.org>
3929 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
3930 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
3933 2000-07-24 Andrew Innes <andrewi@gnu.org>
3935 * timer.el (timer-activate-when-idle): Add optional parameter
3936 DONT-WAIT. Update docstring.
3937 (run-with-idle-timer): Specify extra parameter to
3938 timer-activate-when-idle, so that timer will be activated
3939 immediately if Emacs is already idle.
3941 * w32-fns.el (w32-using-nt): Fix docstring.
3943 2000-07-24 Dave Love <fx@gnu.org>
3945 * mouse.el (popup-menu): Set last-command-event.
3946 (mouse-major-mode-menu-prefix): Declare.
3948 2000-07-24 Gerd Moellmann <gerd@gnu.org>
3950 * textmodes/flyspell.el: Update to author's version 1.5d.
3952 * progmodes/hideshow.el: Update copyright notice.
3954 * vcursor.el: Set maintainer to FSF, since author cannot
3957 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
3959 * info.el (Info-goto-emacs-key-command-node): Leave a space after
3962 * mouse.el (popup-menu): Run the keymap through indirect-function,
3963 in case it was defined with define-prefix-key. If the menu is a
3964 list of keymaps, look up the binding of user's choice in each one
3966 (mouse-popup-menubar): If the global and local menu-bar keymaps
3967 don't have a prompt string, create one and insert it into the
3968 keymap. Don't barf if current-local-map returns nil.
3970 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
3972 * dired.el (dired-sort-R-check): Added to allow recursive listing
3974 (dired-sort-other): Use it.
3976 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3978 * Release of cc-mode 5.27
3980 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3982 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
3983 c-beginning-of-statement-1 that caused a bad case of recursion
3984 which could consume a lot of CPU in large classes in languages
3985 that have in-expression classes (i.e. Java and Pike).
3987 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
3988 statements before top level constructs (i.e. case 6 is moved
3989 before case 5 and is now case 4) to catch in-expression
3990 classes in top level expressions correctly.
3992 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3994 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
3995 objc-method-intro. Case 4 removed and case 5I added.
3997 * cc-langs.el (c-append-paragraph-start): New variable used by
3998 c-common-init to get paragraph-start correct.
3999 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4000 initialize paragraph-start to make it correct both with and
4001 without the javadoc special case.
4003 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4004 initialize paragraph-start for javadoc markup.
4006 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4007 change by defaulting this to t. It's motivated by the
4008 confusing behavior that otherwise arise from the style system
4009 when editing both java and non-java files at the same time
4010 (see the comments about style setting in c-common-init).
4012 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4014 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4015 similar to the one in c-fill-paragraph to check the fill
4016 prefix from the adaptive fill function for sanity.
4018 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4020 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4023 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4025 * cc-mode.texi Documented the change of cpp-macro.
4027 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4029 * cc-align.el (c-lineup-multi-inher): Handle lines with
4030 leading comma nicely. Extended to handle member initializers
4033 * cc-engine.el: (c-beginning-of-inheritance-list,
4034 c-guess-basic-syntax): Fixed recognition of inheritance lists
4035 when the lines begins with a comma.
4037 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4039 * cc-vars.el (c-offsets-alist): Changed default for
4040 member-init-cont to c-lineup-multi-inher since it now handles
4041 member initializers and indents better for leading commas.
4043 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4045 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
4046 handling that caused class open lines to be recognized as
4047 statement-conts in some cases.
4049 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
4050 guessed by the adaptive fill function unless point is on the
4051 first line of a block comment.
4053 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
4054 when the buffer ends with a macro continuation char.
4056 * cc-engine.el (c-guess-basic-syntax): Added support for
4057 function definitions as statements in Pike. The first
4058 statement in a lambda block is now labeled defun-block-intro
4059 instead of statement-block-intro.
4061 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
4062 so that the class surrounding point is selected, not the one
4063 innermost in the state.
4065 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
4066 recognition of switch labels having hanging multiline
4069 * cc-engine.el (c-beginning-of-member-init-list): Broke out
4070 some code in c-guess-basic-syntax to a separate function.
4071 * cc-engine.el (c-just-after-func-arglist-p): Fixed
4072 recognition of member inits with multiple line arglists.
4073 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
4074 member-init-cont when the commas are in funny places.
4076 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4078 * cc-defs.el (c-auto-newline): Removed this macro since it's
4081 * cc-engine.el (c-looking-at-bos): New helper function.
4082 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
4083 inexpr and toplevel classes apart in Pike.
4085 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
4088 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
4089 constant, since "class" can introduce an in-expression class
4092 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4094 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
4095 indentation on cpp-macro lines.
4097 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
4098 a syntax modifier like comment-intro, to make it possible to
4099 get syntactic indentation for preprocessor directives. It's
4100 incompatible wrt to lineup functions on cpp-macro, but it has
4101 no observable effect in the 99.9% common case where cpp-macro
4104 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4106 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
4107 member-init-cont when the preceding arglist is several lines.
4109 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4111 * cc-styles.el (c-style-alist): The basic offset for the BSD
4112 style corrected to 8.
4114 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4116 * cc-styles.el (c-style-alist): Adjusted the indentation of
4117 brace list openers in the gnu style.
4119 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4121 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
4123 * cc-cmds.el (c-electric-brace, c-electric-slash,
4124 c-electric-star, c-electric-semi&comma, c-electric-colon,
4125 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
4126 when c-syntactic-indentation is nil.
4128 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
4129 we were left at comments preceding the first statement when
4130 reaching the beginning of the buffer.
4132 * cc-vars.el (c-syntactic-indentation): New variable to turn
4133 off all syntactic indentation.
4135 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4137 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
4138 between the text and the block comment ender when it hangs,
4139 depending on how many there are before the fill.
4141 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4143 * cc-engine.el (c-beginning-of-closest-statement): New helper
4144 function to go back to the closest preceding statement start,
4145 which could be inside a conditional statement.
4146 * cc-engine.el (c-guess-basic-syntax): Use
4147 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4149 * cc-engine.el (c-guess-basic-syntax): Better handling of
4150 arglist-intro, arglist-cont-nonempty and arglist-close when
4151 the arglist is nested inside parens. Cases 7A, 7C and 7F
4154 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4155 up-to-date with javadoc 1.2.
4157 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4159 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4160 multiline Pike type decls.
4162 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4164 * cc-cmds.el (c-indent-new-comment-line): Always break
4165 multiline comments in multiline mode, regardless of
4168 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4170 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4171 fully::qualified::names in C++ member init lists. Preamble in
4174 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4176 * cc-langs.el (c-common-init): Handling of obsolete variables
4177 moved to c-initialize-cc-mode. More compatible style override
4178 when using global style variables.
4179 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4180 variables moved here.
4182 * cc-mode.texi: Documented the special behavior of
4183 c-special-indent-hook as a style variable. Don't talk about
4184 doing (c-make-styles-buffer-local t) in a mode hook, since
4185 that's already too late to work right.
4187 * cc-styles.el (c-make-styles-buffer-local): Flag style
4188 variable localness in c-style-variables-are-local-p to make
4189 the compatibility measure in c-common-init work well.
4191 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4192 longer contain set-from-style.
4193 * cc-styles.el (c-initialize-builtin-style): Don't check for
4194 set-from-style on c-special-indent-hook.
4195 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4196 copy-alist is sufficient now.
4198 * cc-styles.el (c-set-style, c-set-style-1,
4199 c-get-style-variables): Fixes to variable initialization so
4200 that duplicate entries in styles have the same effect
4201 regardless of DONT-OVERRIDE.
4203 * cc-styles.el (c-set-style-2): Fixed bug where the
4204 initialization of inheriting styles failed when the
4205 dont-override flag is set.
4207 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4210 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4212 * cc-defs.el (c-forward-comment): Removed the workaround
4213 introduced in 5.38 since it had worse side-effects. If a line
4214 contains the string "//\"", it regarded the // as a comment
4215 start since the \ temporarily doesn't have escape syntax.
4217 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4219 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4220 ada-xref.el before ada-prj.el, so that the Project menu is created
4221 when ada-prj tries to add to it.
4222 (ada-activate-keys-for-case): Suppress the characters that are not
4223 part of the Ada syntax. Better compatibility with else-mode
4224 (ada-adjust-case-interactive): When auto-casing is not active,
4225 correctly insert newlines (used to insert only ^M). Prevent the
4226 syntax table from being changed in case of an error
4227 (or '_' becomes part of a word and some commands are confused).
4228 Do nothing if ada-auto-case is nil.
4229 (ada-after-keyword-p): Ignore keywords that are also attributes
4230 (ada-batch-reformat): Update usage comment
4231 (ada-call-from-contextual-menu): New function
4232 (ada-case-read-exceptions): Reinitialize the casing exception list
4233 first to nil first, so that the casing exception file can be
4235 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4237 (ada-compile-goto-error): Fix regexp used to detect a file:line
4238 anywhere in the error message
4239 (ada-contextual-menu-last-point): New variable
4240 (ada-create-keymap): If the variable delete-key-deletes-forward is
4241 t on XEmacs, it means that DEL should delete one character
4243 (ada-create-menu): Use :included instead of :visible for XEmacs.
4244 New submenu "Options".
4245 (ada-end-stmt-re): Correctly indent "select ... then abort"
4247 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4248 even if they don't match ada-fill-comment-prefix Fix handling of
4249 paragraphs on the first or last line of a file.
4250 (ada-format-paramlist): Fix handling of default parameter values.
4251 (ada-get-body-name): New function.
4252 (ada-get-current-indent): Optimized by searchling directly for an
4253 existing generic part or a statement outside of it. Handle
4254 ada-indent-align-comments when indenting comments Replaced some
4255 regexps by testing directly the next character. This results in a
4256 huge speedup on some files. New indentation scheme for renames
4257 statements. Stop looking for the 'while' or 'for' associated with
4258 a 'loop' at the first semicolon encountered. A "return" can also
4259 match an anonymous access subprogram declaration.
4260 (ada-get-indent-noindent): Ignore strings and comments when
4261 looking for the keywords "record" and "private".
4262 (ada-goto-matching-decl-start): When matching "if", make sure we
4263 are not in fact seeing "end if". Ignore "when" statements except
4264 when initial keyword was "begin". Fix handling of nested
4265 procedures. Add a recursive call to this function to skip over
4266 other 'end' statmts. Fix indentation for "when .. => begin"
4267 (ada-in-open-paren-p): Fix indentation for complex boolean
4268 expressions, where 'and then', 'or else' and parenthesis
4269 statements are mixed up.
4270 (ada-in-paramlist-p): Skip comments while searching for the
4271 beginning Fix handling of operator declarations.
4272 (ada-indent-align-comments): New variable
4273 (ada-indent-current): Change the syntax table only in the
4274 protected section, so that we are sure it is restored correctly.
4275 (ada-indent-on-previous-lines): Use ada-use-indent and
4276 ada-with-indent Correctly indent "select ... then"
4277 (ada-indent-region): Slight speedup.
4278 (ada-indent-renames): New variable.
4279 (ada-last-which-function-subprog, ada-last-which-function-line):
4281 (ada-looking-at-semi-private): Correctly indent the 'private'
4282 keyword when it is the first word in a package declaration.
4283 (ada-loose-case-word): Stop searching if at the end of the buffer.
4284 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4285 even if point is not initially at the end of the word.
4286 (ada-matching-decl-start-re): Add "when".
4287 (ada-mode): Add support for abbrev-mode, outline-mode and
4288 which-func-mode Override the old find-file.el entry in
4289 ff-special-constructs since it is using the obsolete
4290 ada-spec-suffix variable
4291 (ada-no-auto-case): New function
4292 (ada-scan-paramlist): When parsing the argument type, accept
4293 spaces (as in "X 'Class", generated by Rational Rose).
4294 (ada-other-file-name): No longer loads the other file.
4295 (ada-popup-menu): Save and restore the current buffer and cursor
4296 position before and after displaying the menu.
4297 (ada-search-ignore-complex-boolean): New function.
4298 (ada-uncomment-region): Emacs21 already knows how to delete
4299 comments not starting in the first column.
4300 (ada-use-indent): New variable
4301 (ada-which-function): New function.
4302 (ada-with-indent): New variable
4303 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4304 can be batch-compiled from the command line.
4306 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4307 Add to the menu when the file is loaded, not in ada-mode-hook.
4308 Add -toolbar to the default ddd command Switches moved from
4309 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4310 ada-prj-default-comp-opt
4311 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4312 Reference Manual to the menu
4313 (ada-check-current): rewritten as a call to ada-compile-current
4314 (ada-compile): Removed.
4315 (ada-compile-application, ada-compile-current, ada-check-current):
4316 Set the compilation-search-path so that compile.el automatically
4317 finds the sources in src_dir. Automatic scrollong of the
4318 compilation buffer. C-uC-cC-c asks for confirmation before
4320 (ada-compile-current): New parameter, prj-field
4321 (ada-complete-identifier): Load the .ali file before doing
4323 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4324 conform to gnatmake's behavior.
4325 (ada-find-file-in-dir): New function
4326 (ada-find-references): Set the environment variables for gnatfind
4327 (ada-find-src-file-in-dir): New function.
4328 (ada-first-non-nil): Removed
4329 (ada-gdb-application): Add support for jdb, the java debugger.
4330 (ada-get-ada-file-name): Load the original-file first if not done
4332 (ada-get-all-references): Handles the new ali syntax (parent types
4333 are found between <>).
4334 (ada-initialize-runtime-library): New function
4335 (ada-mode-hook): Always load a project file when a file is opened,
4336 so that the casing exceptions are correctly read.
4337 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4338 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4339 to open the project file, since the latter does not work with
4340 speedbar Get default values before loading the prj file, or the
4341 default executable file name is wrong. Use the absolute value of
4342 src_dir to initialize ada-search-directories and
4343 compilation-search-path,... Add the standard runtime library to
4344 the search path for find-file.
4345 (ada-prj-default-debugger): Was missing an opening '{'
4346 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4348 (ada-prj-default-gnatmake-opt): New variable
4349 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4350 buffers, the project file is the default one Save the windows
4351 configuration before displaying the menu.
4352 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4353 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4354 ...) regexp-quote identifiers names to support operators +,
4356 (ada-remote): New function.
4357 (ada-run-application): Erase the output buffer before starting the
4358 run Support remote execution of the application. Use
4359 call-process, or the arguments are incorrectly parsed
4360 (ada-set-default-project-file): Reread the content of the active
4361 project file, not the one from the current buffer When a project
4362 file is set as the default project, all directories are
4363 automatically associated with it.
4364 (ada-set-environment): New function
4365 (ada-treat-cmd-string): New special variable ${current}
4366 (ada-treat-cmd-string): Revised. The substitution is now done for
4367 any ${...} substring
4368 (ada-xref-current): If no body was found, compiles the spec
4369 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4370 compiler to get rid of command line length limitations.
4371 (ada-xref-get-project-field): New function
4372 (ada-xref-project-files): New variable
4373 (ada-xref-runtime-library-specs-path)
4374 (ada-xref-runtime-library-ali-path): New variables
4375 (ada-xref-set-default-prj-values): Default run command now does a
4376 cd to the build directory. New field: main_unit Provide a default
4377 file name even if the current buffer has no prj file.
4380 Rewritten to show a tabbed-dialog.
4381 (ada-prj-add-ada-menu): Remove the map and name parameters.
4382 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
4384 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
4385 (ada-prj-load-from-file): New function
4386 (ada-prj-save): Always save fields that depend on the current buffer
4387 (ada-prj-show-value): New function
4389 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
4390 Ada mode. This will allow us to display the Ada menu in any buffer
4391 we want (for project items).
4392 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
4393 number of spaces in the header.
4395 2000-07-24 Dave Love <fx@gnu.org>
4397 * ediff-init.el (ediff-region-help-echo): Bind face-help.
4399 2000-07-23 Noah Friedman <friedman@splode.com>
4401 * type-break.el (type-break): perform autosave.
4402 Suggested by Stephen Gildea <gildea@intouchsys.com>.
4403 (type-break-do-query): Cancel query schedule while performing
4404 actual query, to avoid possibility of a second query being made
4405 while first one is already in progress.
4406 (type-break-time-stamp-format): New variable.
4407 (type-break-time-stamp): New function.
4408 (type-break-time-warning): Use it.
4409 (type-break-keystroke-warning): Use it.
4410 (type-break-noninteractive-query): Use it.
4412 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
4414 Use add-minor-mode to set minor-mode-alist, if available.
4415 (eldoc-echo-area-use-multiline-p): New user option.
4416 (eldoc-echo-area-multiline-supported-p): New variable.
4417 (eldoc-docstring-format-sym-doc): Use them.
4418 (eldoc-mode): If not using idle timers, append to local post and
4419 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
4420 (eldoc-display-message-no-interference-p): Don't interfere with
4422 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
4423 (eldoc-function-arglist): New function.
4424 (eldoc-function-argstring): Use it.
4426 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
4427 auto save directory exists before calling directory-files.
4429 2000-07-23 Dave Love <fx@gnu.org>
4431 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
4434 2000-07-21 Dave Love <fx@gnu.org>
4436 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
4437 now passed to the function. It now works properly.
4439 * smerge-mode.el (smerge-mode-menu): Fill it out.
4441 2000-07-20 Gerd Moellmann <gerd@gnu.org>
4443 * info-look.el (info-lookup): If *info* is shown in another frame
4444 on the same display, select that frame, instead of switching to
4445 the Info buffer in another window of the selected frame.
4447 * simple.el (universal-argument-map): Bind numeric keypad keys
4448 kp-0 to kp-9 and kp-subtract.
4449 (digit-argument): Handle these keys.
4451 2000-07-20 Dave Love <fx@gnu.org>
4453 * net/goto-addr.el (goto-address-fontify): Don't bother with
4454 buffer-modified and read-only stuff -- irrelevant with overlays.
4455 Put an extra property on the overlays and use it to clean up in
4456 case goto-address is re-run.
4458 2000-07-19 Richard M. Stallman <rms@gnu.org>
4460 * timer.el (run-with-idle-timer): Doc fix.
4462 * mail/mail-utils.el (mail-strip-quoted-names):
4463 Handle case where <...> appears inside "...".
4464 Use replace-match to edit the string more simply.
4465 (rmail-dont-reply-to): Cope with an unmatched ".
4467 2000-07-19 Dave Love <fx@gnu.org>
4469 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
4472 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
4473 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
4474 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
4476 2000-07-19 Gerd Moellmann <gerd@gnu.org>
4478 * textmodes/refer.el: Correct maintainer's email address.
4480 * progmodes/hideif.el: Correct author's email address.
4481 Fix typo in comment.
4485 * mail/mailheader.el: Correct author's mail address.
4487 * gnus/parse-time.el: Correct author's mail address.
4489 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
4491 * comint.el (comint-highlight-input, comint-highlight-face):
4493 (comint-input-ring-file-name): Change custom type.
4494 (comint-mode-map): Bind mouse-2.
4495 (comint-insert-clicked-input): New function.
4496 (comint-send-input): Handle input highlighting.
4498 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
4500 * mouse.el (popup-menu): New function.
4501 (mouse-major-mode-menu): Use it.
4503 2000-07-18 Dave Love <fx@gnu.org>
4505 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
4508 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4510 * faces.el (face-font-selection-order)
4511 (face-font-family-alternatives): Add custom type.
4513 2000-07-18 Dave Love <fx@gnu.org>
4515 * cus-edit.el (custom-variable-reset-saved)
4516 (custom-variable-reset-standard): Remove unused bindings.
4518 * rect.el (open-rectangle-line): Remove unused let.
4520 * hl-line.el (hl-line-highlight): Check hl-line-mode.
4522 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4524 * cdl.el: Fix `Maintainer' keyword.
4526 * play/pong.el: Add author's email address.
4528 2000-07-17 Sam Steingold <sds@gnu.org>
4530 * files.el (insert-directory): Call `split-string' instead of
4533 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4535 * mail/vms-pmail.el: Change maintainer to FSF.
4537 * net/goto-addr.el: Change maintainer to FSF.
4539 * recentf.el: Update from author.
4541 * info.el (Info-title-face-alist): Removed.
4543 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
4545 * eshell/eshell.el (eshell): Replace links to eshell.info with
4546 links to eshell, to avoid problems on systems where the manual is
4547 installed as `eshell'.
4548 * eshell/esh-cmd.el (eshell-cmd): Ditto.
4549 * eshell/em-smart.el (eshell-smart): Ditto.
4550 * eshell/em-banner.el (eshell-banner): Ditto.
4551 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
4553 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
4554 same-file check in the MS-DOS version (it does support inodes).
4556 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
4558 * eshell/eshell.el (eshell-directory-name):
4559 Run default directory name through convert-standard-filename.
4561 2000-07-18 Kenichi Handa <handa@etl.go.jp>
4563 * international/mule-cmds.el (select-safe-coding-system):
4564 Fix typo in the comment.
4566 * language/european.el (compound-text):
4567 Force katakana-jisx0201 to be designated to G1.
4569 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
4570 Don't translate some national variant characters of latin-jisx0201.
4571 (x-ctext): Force katakana-jisx0201 to be designated to G1.
4573 * international/kkc.el (kkc-after-update-conversion-functions):
4575 (kkc-update-conversion): Run functions in it at the tail.
4577 2000-07-16 John Wiegley <johnw@gnu.org>
4579 * lisp/align.el (align-newline-and-indent):
4580 Adding new function. for auto-aligning blocks of code on RET.
4581 (align-region): Fixed badly formatted minibuffer message.
4583 2000-07-17 Kenichi Handa <handa@etl.go.jp>
4585 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
4586 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
4587 the conversion list at first if appropriate.
4588 (kkc-next): Don't update kkc-next-count here.
4589 (kkc-prev): Don't update kkc-prev-count here.
4590 (kkc-show-conversion-list-update): Fix setting up of conversion
4593 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
4595 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
4597 2000-07-16 Dave Love <fx@gnu.org>
4599 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
4600 function to be more specific.
4602 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
4603 non-string help-echo.
4604 (widget-types-convert-widget): Defsubst it.
4605 (widget-echo-help): Try to cope with a help-echo function of two
4608 2000-07-15 Jason Rumney <jasonr@gnu.org>
4610 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4611 Declare as obsolete.
4613 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
4615 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4617 * hilit-chg.el: Fix typo.
4619 2000-07-14 Dave Love <fx@gnu.org>
4621 * info.el (Info-mode-menu): Fix use of :help, :enable.
4623 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
4625 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
4627 2000-07-13 Dave Love <fx@gnu.org>
4629 * emacs-lisp/easymenu.el: Doc fixes.
4630 (easy-menu-remove): Defalias to ignore.
4632 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
4633 Call throw correctly.
4635 2000-07-13 Gerd Moellmann <gerd@gnu.org>
4637 * faces.el (frame-background-mode): Doc fix.
4639 * simple.el (eval-expression-print-length): Change custom type to
4640 allow entering nil as value.
4642 2000-07-13 Dave Love <fx@gnu.org>
4644 * progmodes/fortran.el (fortran-imenu-generic-expression):
4645 Change definition layout.
4646 (fortran-mode-menu): Reinstate customize entries.
4648 * cus-edit.el (custom-group-menu-create, customize-menu-create):
4649 Use :filter, per old XEmacs code.
4651 2000-07-12 Gerd Moellmann <gerd@gnu.org>
4653 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
4654 event when deciding what to send to the terminal.
4656 2000-07-12 Dave Love <fx@gnu.org>
4658 * cus-start.el: Add optional version as 4th element of specs and
4659 use it for several things new in v21. Remove load-path. Fix type
4660 of line-number-display-limit.
4662 2000-07-11 Dave Love <fx@gnu.org>
4664 * progmodes/fortran.el: Don't require easymenu.
4665 Use repeat counts in various regexps.
4666 (fortran-mode-syntax-table): Defvar directly.
4667 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4668 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
4669 Use defvar, not defconst.
4670 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
4671 (fortran-mode): Set fortran-comment-line-start-skip,
4672 fortran-comment-line-start-skip, dabbrev-case-fold-search.
4673 (fortran-comment-indent): Use defsubst.
4674 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
4675 Use fortran-comment-indent, not fortran-comment-indent-function.
4676 (fortran-comment-region, fortran-electric-line-number): Simplify.
4677 (fortran-auto-fill): New function.
4678 (fortran-do-auto-fill): Deleted.
4679 (fortran-find-comment-start-skip):
4680 Check for non-null comment-start-skip.
4681 (fortran-auto-fill-mode, fortran-fill-statement):
4682 Use fortran-auto-fill.
4683 (fortran-fill): Use fortran-auto-fill. Check for null
4684 comment-start-skip. Simplify final clause and use end-of-line finally.
4686 * widget.el (widget-plist-member): New alias.
4688 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
4690 * eshell/esh-module.el (toplevel): Reference
4691 byte-compile-current-file only if it is bound.
4693 2000-07-10 Gerd Moellmann <gerd@gnu.org>
4695 * dired.el: Don't require `dired-aux'.
4697 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
4699 * dired-aux.el (dired-show-file-type): New function.
4700 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
4701 (dired-show-file-type): Add autoload.
4703 2000-07-10 Kenichi Handa <handa@etl.go.jp>
4705 * international/mule-diag.el (describe-font): Adjusted for the
4706 change of fontset-info.
4707 (print-fontset): Likewise.
4709 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
4711 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
4713 2000-07-07 Gerd Moellmann <gerd@gnu.org>
4715 * bindings.el: Bind `[delete]' to delete-char.
4717 * dired.el (dired-find-alternate-file): New function.
4718 (dired-mode-map): Bind `a' to dired-find-alternate-file.
4719 (toplevel): Require dired-aux when compiling.
4720 (dired-buffers): Move defvar within file to avoid compiler warning.
4722 * info.el (Info-last-search): Variable removed.
4723 (Info-search-history): New variable.
4724 (Info-search): New Info-search-history.
4726 * battery.el, info-look.el: Change author's mail address.
4728 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4730 * mail/rmail.el (rmail-clear-headers): Don't throw an error
4731 if rmail-ignored-headers is nil.
4732 (rmail-retry-failure): Bind rmail-ignored-headers and
4733 rmail-displayed-headers to nil.
4735 2000-07-06 Gerd Moellmann <gerd@gnu.org>
4737 * lpr.el (lpr-page-header-switches): Add `-h' switch.
4738 (print-region-1): Don't hard code `-h' here.
4740 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
4742 2000-07-01 Francesco Potorti` <pot@gnu.org>
4744 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
4745 exim can use "your message" instead of "the message".
4747 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
4749 * facemenu.el: Docstrings fixes.
4750 (facemenu-get-face): Don't use internal-find-face.
4751 (facemenu-iterate): Rename arg to match the docstring.
4753 * newcomment.el (uncomment-region): Be more careful when skipping
4754 backwards over `=' not to bump into BOBP.
4756 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
4758 * ediff-diff.el (ediff-wordify): Use syntax table.
4759 * ediff-init.el (ediff-has-face-support-p): Use
4760 ediff-color-display-p.
4761 (ediff-color-display-p): Use display-color-p, changed to defun
4763 Got rid of special cases for NeXT and OS/2.
4764 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
4767 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4769 * emacs-lisp/lucid.el: Require CL.
4770 (copy-tree, remprop): Remove, it's provided by CL.
4771 (map-keymap): Define in terms of cl-map-keymap.
4772 (extent-property, set-extent-end-glyph): New functions.
4774 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
4776 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4778 * Makefile.in (DONTCOMPILE): Add comment that the name may
4779 not be changed without changing the make-dist script.
4781 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
4782 (cl-mapc): Use mapc instead of cl-old-mapc.
4784 2000-07-05 Andrew Innes <andrewi@gnu.org>
4786 * makefile.nt: Add support for `bootstrap' and related targets.
4788 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4790 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
4791 (easy-menu-do-define): Use `menu-item' format.
4792 Handle case where easy-menu-create-menu returns a symbol.
4793 Manually call the potential top-level filter in the function binding.
4794 (easy-menu-filter-return): New arg NAME.
4795 Convert to a keymap if MENU is an XEmacs menu.
4796 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
4797 (easy-menu-converted-items-table, easy-menu-convert-item):
4798 New var and fun to memoize easy-menu-convert-item-1.
4799 (easy-menu-do-add-item): Use it.
4800 (easy-menu-create-menu): Use easy-menu-convert-item.
4801 Wrap easy-menu-filter-return around any :filter specification.
4802 Don't convert the menu if a filter was specified.
4803 Tell easy-menu-make-symbol not to check for MENU being an expression.
4804 (easy-menu-make-symbol): New arg NOEXP.
4806 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4808 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
4809 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
4810 (eval-defun): If called with prefix arg, instrument code for
4813 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
4814 similar to that of eval-defun.
4816 2000-07-04 Dave Love <fx@gnu.org>
4818 * hl-line.el (hl-line-overlay): Make it permanent-local.
4820 * calendar/todo-mode.el: Replaced with a working version, based on
4821 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
4823 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
4825 * paths.el (prune-directory-list): New function.
4826 (Info-default-directory-list): Rewritten to more methodically
4827 enumerate a big list of possible info directories (based on the
4828 list used by the standalone info reader).
4830 * info.el (info-initialize): Use prune-directory-list to remove
4831 non-existent directories from Info-directory-list.
4833 * paths.el (Info-default-directory-list): Try a list of possible
4834 info-directories instead of a single one. Add the possible
4835 info directory "/usr/share/info".
4837 * woman.el (woman-man.conf-path): Explicitly include the debian
4838 man-db config file "/etc/manpath.config".
4839 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
4840 are present in `manpath.config'.
4841 (woman-manpath): Include "/usr/share/man".
4843 2000-07-03 Gerd Moellmann <gerd@gnu.org>
4845 * frame.el (blink-cursor-mode): Don't hide cursor initially.
4847 * startup.el (command-line): Initialize blink-cursor based
4850 * frame.el (blink-cursor): Default to nil if not running under
4853 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
4854 (face-x-resources): Remove duplicate entry for :font.
4856 * textmodes/refer.el (refer-find-entry-internal): Use some-window
4857 instead of cycling through windows with next-window.
4859 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
4860 of cycling through windows with next-window.
4862 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
4863 of cycling through windows with next-window.
4865 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
4866 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
4867 instead of cycling through windows with next-window.
4869 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
4870 instead of cycling through windows with next-window.
4872 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
4873 of cycling through windows with next-window.
4875 * terminal.el (te-process-output): Use walk-windows instead of
4876 cycling through windows with next-window.
4878 * server.el (server-switch-buffer): Use some-window instead of
4879 cycling through windows with next-window.
4881 * window.el (some-window): New function.
4882 (walk-windows): Remove reference to walk-windows-start.
4884 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
4886 2000-07-03 Richard Stallman <rms@gnu.org>
4888 * window.el (walk-windows): Guarantee termination by keeping a list
4889 of all the windows already handled.
4891 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4893 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
4896 * man.el (Man-notify-when-ready): Don't use window-system. If
4897 Man-notify-method is newframe, and the display is not
4898 multi-frame, select the frame created for the man page.
4899 (Man-init-defvars): Doc fix.
4901 2000-06-28 Gerd Moellmann <gerd@gnu.org>
4903 * faces.el (region): Change background color for light background.
4905 * ediff-wind.el (ediff-setup-control-frame): Remove :box
4906 attribute from mode-line face of Ediff control frame.
4908 * replace.el (query-replace-map): Bind `e' like `E'.
4910 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4912 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
4913 Change name to "Select All".
4915 * dos-fns.el (convert-standard-filename): Fix last change.
4917 2000-06-27 Gerd Moellmann <gerd@gnu.org>
4919 * help.el (describe-variable): Don't insert a second `'s' in front
4920 of the string `value is shown below'. Since the syntax-table is
4921 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
4922 an existing `'s', so that this won't be deleted.
4924 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
4925 * pcmpl-unix.el: New files.
4927 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
4929 * wid-edit.el (widget-member): Use the new plist-member.
4931 2000-06-26 Gerd Moellmann <gerd@gnu.org>
4933 * replace.el (perform-replace): Undo change of 2000-04-04.
4934 Instead, move backward 1 character at the end of the loop when
4937 * faces.el (fringe): Change face for different backgrounds.
4939 * eshell/esh-module.el (toplevel): Load defgroup's differently;
4942 * eshell/*.el: Change spelling of the Free Software Foundation.
4944 * eshell/esh-toggle.el: Removed.
4946 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
4948 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
4951 2000-06-26 Alex Schroeder <alex@gnu.org>
4953 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
4954 `define-key'; instead of checking `(emacs-version)' check for
4955 `set-keymap-parent' and `set-keymap-name' directly. Add entries
4956 for `;' and `o' which might be electric.
4958 (sql-electric-stuff): New user option.
4959 (sql-magic-go): New function which uses `sql-electric-stuff'.
4960 (sql-magic-semicolon): New function which uses
4961 `sql-electric-stuff'.
4963 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
4966 (sql-oracle-options): New variable.
4967 (sql-oracle): Use it.
4969 (sql-imenu-generic-expression): Doc change.
4970 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
4973 (sql-informix): Added command line parameter "-" to force
4974 sql-informix-program to use stdout.
4976 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
4978 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
4979 (cp864-decode-table): Doc fix.
4980 (cp720-decode-table): New variable, supports the Arabic OEM
4981 codepage used by Windows.
4982 (cp737-decode-table): New, Greek OEM codepage used by Windows.
4984 2000-06-23 Dave Love <fx@gnu.org>
4986 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
4987 (font-lock-fontify-anchored-keywords): Use
4988 line-beginning-position.
4989 (global-font-lock-mode): Use mapc.
4991 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
4993 * eshell/esh-module.el: Require CL when compiling.
4995 2000-06-23 Gerd Moellmann <gerd@gnu.org>
4997 * comint.el (comint-substitute-in-file-name): Call replace-match
4998 with second and third arg t.
5000 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5001 Specify foreground color.
5003 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5006 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5008 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5009 cddr instead of cdddr.
5011 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5012 instead of copy-list.
5014 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5017 * subdirs.el: Add eshell subdirectory.
5019 * eshell: New subdirectory containing the Eshell package.
5021 * pcomplete.el: New file.
5023 2000-06-23 Paul Eggert <eggert@twinsun.com>
5025 * mail/mailpost.el (post-mail-send-it): Make sure file has
5026 proper permissions from birth.
5028 * files.el (basic-save-buffer-2): When temporarily setting
5029 file modes, set them to current modes plus 0200, not to 0777.
5031 * emerge.el (emerge-make-temp-file): Make sure file has proper
5032 permissions from birth.
5034 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5036 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5037 backup file name through convert-standard-filename.
5039 * dos-fns.el (convert-standard-filename): Convert leading
5040 directories as well. When long file names are supported, convert
5041 characters that are invalid in Windows file names.
5043 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5045 * ps-print.el: Fix bug: if ^L is the very first buffer character,
5046 ps-print crashes. New feature: page selection for printing. Create
5047 raw-text-unix coding system for XEmacs. Doc fix.
5048 (ps-print-version): New version number (5.2.3).
5049 (ps-plot-region): Bug fix.
5050 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
5051 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
5052 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
5054 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
5055 (ps-last-page): New vars.
5057 2000-06-21 Gerd Moellmann <gerd@gnu.org>
5059 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
5060 empty option string.
5062 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
5064 * man.el (man): Doc fix.
5066 2000-06-21 Kenichi Handa <handa@etl.go.jp>
5068 * international/mule-cmds.el (set-language-info-alist): Docstring
5071 2000-06-20 Gerd Moellmann <gerd@gnu.org>
5073 * version.el (emacs-version): Use ISO date format.
5075 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
5076 instead of `M-backspace'.
5078 * simple.el (turn-off-auto-fill): New function.
5080 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
5082 * jit-lock.el (with-buffer-prepared-for-jit-lock):
5083 Renamed from with-buffer-prepared-for-font-lock and use
5084 inhibit-modification-hooks rather than setting *-change-functions.
5085 Update all functions to use the new name.
5086 (jit-lock-first-unfontify-pos): New semantics (and doc).
5087 (jit-lock-mode): Make non-interactive.
5088 Don't automatically turn on font-lock.
5089 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
5090 Always use jit-lock-after-change.
5091 Remove and restore font-lock-after-change-function.
5092 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
5093 (jit-lock-after-unfontify-buffer): Remove.
5094 (jit-lock-stealth-fontify):
5095 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
5096 (jit-lock-after-change): Set the `fontified' text-prop to nil.
5098 2000-06-20 Sam Steingold <sds@gnu.org>
5100 * emacs-lisp/cl-indent.el (toplevel): Indent
5101 `print-unreadable-object' properly. Untabify.
5103 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5105 * textmodes/reftex.el (reftex-find-citation-regexp-format):
5106 Support for bibentry.
5107 (reftex-compile-variables): Fixed problem with end of section-re.
5109 * texmodes/reftex-dcr.el (reftex-view-crossref,
5110 reftex-view-crossref-from-bibtex):
5111 Deal with changed `reftex-find-citation-regexp-format'.
5112 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
5113 Replaced `remprop' with `put'.
5114 (reftex-view-crossref, reftex-view-crossref-when-idle):
5115 Support for bibentry.
5117 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
5118 New entry for bibentry package.
5120 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
5121 Regexp also matches "\nobibliography".
5123 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
5124 Call `reftex-ensure-write-access' before doing anything.
5125 (reftex-ensure-write-access): New function.
5127 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5129 * progmodes/idlwave.el: File re-installed (update to version 4.2)
5131 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
5133 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
5135 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
5138 2000-06-20 Dave Love <fx@gnu.org>
5140 * faces.el (frame-background-mode): Use set-default, not set, in
5142 (frame-update-faces, frame-update-face-colors): Define with
5145 * enriched.el (enriched-decode-foreground)
5146 (enriched-decode-background): Don't use internal-find-face.
5148 * apropos.el: Doc fixes.
5150 * cus-edit.el (customize-changed-options): Check arg.
5151 (customize-version-lessp): Don't require decimal point.
5153 * custom.el (defcustom, defgroup): Doc fix.
5155 * newcomment.el (comment) <defgroup>: Add :version.
5156 (comment-multi-line): Doc fix.
5158 * emulation/mlsupport.el (define-hooked-local-abbrev,
5159 define-hooked-global-abbrev): Fix, using define-abbrev.
5161 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5163 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5166 2000-06-19 Dave Love <fx@gnu.org>
5168 * menu-bar.el (menu-bar-options-save): New function.
5169 (menu-bar-options-menu): Use it.
5170 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5173 2000-06-19 Andreas Schwab <schwab@suse.de>
5175 * progmodes/etags.el (tags-query-replace): Put new parameters
5176 START and END at the end, for backward compatibility.
5178 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5180 * international/codepage.el:
5181 (cp-coding-system-for-codepage-1): Delete special codes for
5182 generating xxx-dos coding system because now a CCL based coding
5183 system can handle EOL conversion by default.
5185 * international/mule.el (make-coding-system): Generate subsidiary
5186 coding systems for EOL handling variants even for a CCL based
5189 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5191 * international/isearch-x.el (isearch-minibuffer-input-method)
5192 (isearch-minibuffer-input-method-function): These variables
5194 (isearch-with-input-method): Don't use the above variables.
5195 (isearch-process-search-multibyte-characters): Likewise. Call
5196 read-string with the arg INHERIT-INPUT-METHOD t.
5198 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5200 * font-lock.el (font-lock-after-fontify-buffer)
5201 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5203 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5204 Use consistent make-local-variable style for font-lock-fontified.
5205 (jit-lock-fontify-buffer):
5206 Don't bother checking for font-lock-mode and jit-lock-mode.
5208 * time.el: Remove trailing ^M that prevent CVS-merging.
5210 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5212 * Makefile.in (distclean): New target.
5214 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5216 * Makefile.in (srcdir): Define for update-subdirs.
5218 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5220 * find-lisp.el: New file.
5222 2000-06-16 Andrew Innes <andrewi@gnu.org>
5224 * time.el (display-time-mail-function): New variable, to allow
5225 external packages to indicate when new mail is available.
5226 (display-time-update): Use it.
5228 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5230 * international/mule.el (mule-version): Change version name to
5231 SAKAKI. AOI has already been used by Meadow.
5233 * international/quail.el (quail-show-guidance-buf): To find the
5234 bottom window (but minibuffer), pay attention to the height of
5237 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5239 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5240 menu-bar menus. Add help strings. Don't remove the Edit menu
5241 from the menu bar, as the menu bar has enough space now.
5243 * Makefile.in (SHELL): Make sure /bin/sh is used.
5245 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5246 characters, which use series of two ^H characters instead of one.
5248 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5250 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5251 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5253 (Info-find-node-2): Try a case-sensitive search first, then
5254 do a case-insensitive search.
5256 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5259 * complete.el (PC-env-vars-alist): New variable.
5260 (PC-complete-as-file-name): New function.
5261 (partial-completion-mode): Initialize PC-env-vars-alist from
5262 process-environment.
5263 (PC-do-completion): Handle completion of env vars.
5265 * info.el (Info-set-mode-line): Show file name in mode line,
5266 use `*Info*' instead of `Info:'.
5268 * startup.el (command-line-1): Change copyright messages to year
5271 2000-06-15 Dave Love <fx@gnu.org>
5273 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5276 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5278 * international/mule.el (set-buffer-file-coding-system): Almost
5279 rewritten to handle `undecided' as no-op.
5281 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5283 * Makefile.in: New file.
5285 * Makefile: Removed.
5287 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5288 (goto-address-highlight-keymap): Bind C-c RET.
5290 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5292 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5293 inherits buffer-file-coding-system of the current buffer.
5295 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5296 0. Give correct argument to set-auto-coding-function.
5297 (tar-expunge): For goto-char, use (point-min), not 0.
5298 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5299 (tar-subfile-save-buffer): Likewize.
5301 * international/mule.el
5302 (after-insert-file-set-buffer-file-coding-system): Call
5303 set-buffer-file-coding-system with the arg FORCE t.
5305 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5307 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5308 nil. Contemporary sendmails issue an X-Authentication-Warning if
5309 the sender is set with `-f'.
5311 2000-06-13 Dave Love <fx@gnu.org>
5313 * help.el (describe-function-1): Kluge around cases of functions
5314 fset to subrs whose doc doesn't match their symbol-name.
5316 * image.el (insert-image): Default STRING to a space.
5318 * info.el Doc fixes.
5319 (Info-build-node-completions): Match Ref tags.
5321 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5323 * frame.el (display-multi-frame-p, display-multi-font-p): New
5324 defaliases for display-graphic-p.
5326 * hl-line.el: Fixed a typo in commentary.
5328 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5330 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5333 2000-06-12 Dave Love <fx@gnu.org>
5335 * image.el (insert-image): Save a little consing.
5337 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5339 * language/tibet-util.el: Convert all tibetan-1-column characters
5340 to the corresponding tibetan characters.
5341 (tibetan-add-components): Delete code for the special treatment of
5344 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5346 (tibetan-vowel-transcription-alist): More rules added.
5347 (tibetan-composite-vowel-alist): New variable.
5348 (tibetan-precomposition-rule-alist): More rules added.
5350 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5352 * startup.el (command-line): Only call menu-bar-mode if interactive.
5354 * thingatpt.el (toplevel symbol-properties):
5355 * textmodes/makeinfo.el (makeinfo-compile):
5356 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5357 * progmodes/hideif.el (hif-compress-define-list)
5358 (hide-ifdef-use-define-alist):
5359 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5360 (ange-ftp-vms-add-file-entry):
5361 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5362 * man.el (Man-build-man-command):
5363 * mail/rnewspost.el (news-reply-header-hook):
5364 * info.el (Info-insert-dir):
5365 * emulation/mlconvert.el (backward-word, forward-word, setq):
5366 * emacs-lisp/gulp.el (gulp-send-requests):
5367 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5368 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5369 (byte-optimize-apply, end of file):
5370 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5371 (ad-make-freeze-definition):
5372 * startup.el (command-line, command-line-1): Don't quote lambdas.
5374 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5375 (cvs-cleanup-removed): New function.
5376 (cvs-cleanup-functions): New var.
5377 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5378 some flexibility in specifying additional entries to auto-cleanup.
5379 (cvs-quickdir): New function.
5380 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
5381 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
5382 (cvs-mode-find-file): Check that we are on a filename or dirname
5383 when invoked through a mouse-click.
5384 (cvs-full-path): Remove.
5385 (cvs-dired-action): Re-introduced.
5386 (cvs-dired-noselect): Use it.
5387 (vc-post-command-functions): use this new hook if available.
5389 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
5390 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
5391 (cvs-filename-map, cvs-dirname-map): Remove.
5392 (cvs-default-action): Remove.
5393 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
5394 if the arg is really a keymap.
5395 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
5396 Don't hardcode the mapping from state (aka type) to face, but check
5397 the var cvs-fi-<type>-face instead.
5398 (cvs-fileinfo-from-entries): New function.
5400 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
5402 (cvs-find-file-and-jump): Change default to be safer.
5403 (cvs-mode-diff-map): Define it as a function as well.
5404 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
5405 Bind mouse-2 in this global map rather than with text-properties.
5407 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
5408 file to resolve the ambiguity between C(conflict) and C(need-merge).
5410 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5412 * international/mule.el (set-buffer-file-coding-system): If
5413 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
5416 2000-06-12 Dave Love <fx@gnu.org>
5418 * wid-edit.el (widget-specify-button): Really suppress the face if
5421 2000-06-11 Gerd Moellmann <gerd@gnu.org>
5423 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
5425 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
5427 * imenu.el (imenu-generic-expression): Docstring fix.
5429 * composite.el (composition-function-table): Move the `put'
5430 below the autoload cookie so we can load the file before loaddefs.
5432 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
5434 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
5435 Handle easy-mmode-define-global-mode.
5436 For complex macros like define-minor-mode that can generate
5437 several autoload entries, try to autoload entries in the
5440 * emacs-lisp/easy-mmode.el (define-minor-mode):
5441 If KEYMAP is a symbol, just use it.
5442 Use byte-compile-current-file and load-file-name to infer the
5443 proper :require to pass to defcustom.
5444 Wrap the hook var into `progn' so as not to autoload it.
5445 Add a :autoload-end cookie.
5446 Be more careful about the evaluation of KEYMAP.
5447 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
5448 (define-derived-mode): Move define-abbrev-table outside of defvar.
5450 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
5452 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
5453 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
5454 (backup-compiled-files): Ignore errors during `tar'.
5455 (bootstrap): Make autoloads before elc files.
5457 2000-06-10 Kenichi Handa <handa@etl.go.jp>
5459 * international/mule.el (set-buffer-file-coding-system): If one of
5460 undecided-XXX is specified, change only EOL conversion.
5462 * international/mule-conf.el (unix): New alias for the coding
5463 system undecided-unix.
5465 2000-06-09 Dave Love <fx@gnu.org>
5467 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
5469 * progmodes/executable.el: Byte compile dynamic.
5470 (executable-insert): Change custom type.
5471 (executable-find): Add autoload cookie.
5472 (executable-make-buffer-file-executable-if-script-p): New
5473 function. After Noah Friedman.
5475 * files.el (after-save-hook): Customize, with
5476 executable-make-buffer-file-executable-if-script-p as an option.
5478 2000-06-09 Kenichi Handa <handa@etl.go.jp>
5480 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
5481 "tib24p-mule.bdf" for Tibetan.
5483 * composite.el (decompose-composite-char): Declare it as obsolete.
5485 * man.el (Man-fontify-manpage): Pay attention to underline and
5486 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
5488 2000-06-08 Gerd Moellmann <gerd@gnu.org>
5490 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
5491 Set maintainer to FSF since author isn't reachable.
5493 2000-06-08 Dave Love <fx@gnu.org>
5495 * international/mule-cmds.el (select-safe-coding-system): If
5496 DEFAULT-CODING-SYSTEM is not specified, also check the most
5497 preferred coding-system if buffer-file-coding-system is
5498 `undecided'. From Handa.
5500 2000-06-08 Kenichi Handa <handa@etl.go.jp>
5502 * international/mule.el
5503 (after-insert-file-set-buffer-file-coding-system): If the buffer
5504 size is greater than INSERTED, judget that we are not visiting.
5506 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
5508 * whitespace.el (defgroup whitespace): Comment out `:version'.
5509 XEmacs 20.4 has problems defining the group with this present.
5510 We'll have this commented out till get resolve the problem.
5512 2000-06-07 Gerd Moellmann <gerd@gnu.org>
5514 * align.el: Update from author.
5516 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
5518 * apropos.el (apropos-mode-hook): New user variable.
5519 (apropos-mode): Run apropos-mode-hook.
5521 2000-06-07 David Ponce <david@dponce.com>
5523 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
5524 commands. Require `wid-edit' at run-time.
5526 2000-06-07 David Ponce <david@dponce.com>
5528 * recentf.el: Added some "Commentary".
5529 (recentf-open-more-files, recentf-edit-list): Minor changes to
5530 move the point at the top of the file list. This behaviour is
5531 consistent with the menu one when the list contains a lot of
5533 (recentf-cleanup): Now displays the number of items removed from
5535 (recentf-relative-filter) New menu filter to show filenames
5536 relative to `default-directory'.
5538 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5540 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
5541 with/without giving an error if PostScript printer doesn't have this
5542 kind of page size. Zebra Stripe continues or restarts on next page.
5543 Manual/automatic paper feeding. Switch or not the header.
5544 (ps-print-version): New version number (5.2.2).
5545 (ps-windows-system): Include emx as a Windows system.
5546 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
5547 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
5548 (ps-background-text): Code fix.
5549 (ps-error-handler-message, ps-user-defined-prologue)
5550 (ps-print-prologue-header, ps-printer-name)
5551 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
5552 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
5553 (ps-use-face-background): Customization fix.
5554 (ps-n-up-database): Data fix.
5555 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
5556 (ps-switch-header): New vars.
5557 (ps-xemacs-color-name, ps-face-foreground-name)
5558 (ps-face-background-name, ps-boolean-constant): New funs.
5560 2000-06-07 Dave Love <fx@gnu.org>
5562 * allout.el: New version from Manheimer.
5564 2000-06-07 Kenichi Handa <handa@etl.go.jp>
5566 * textmodes/fill.el (fill-find-break-point): Check the validity of
5569 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5571 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5572 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5573 Call display-color-p and display-mouse-p instead of looking at
5576 2000-06-06 Dave Love <fx@gnu.org>
5578 * image.el (find-image): Doc fix. Return nil if image not found.
5579 (put-image, insert-image): Make STRING arg optional.
5581 2000-06-06 Kenichi Handa <handa@etl.go.jp>
5583 * language/vietnamese.el: Remove eval-when-compile.
5584 (viet-viscii-nonascii-translation-table): Define it as a
5585 translation table made from viet-viscii-decode-table.
5586 (viet-viscii-encode-table): Define it as a translation table made
5587 from the reverse map of above.
5588 (viet-vscii-nonascii-translation-table): Define it as a
5589 translation table made from viet-vscii-decode-table.
5590 (viet-vscii-encode-table): Define it as a translation table made
5591 from the reverse map of above.
5592 (ccl-decode-viscii): Use translate-character.
5593 (ccl-encode-viscii, ccl-encode-viscii-font)
5594 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
5597 * language/cyrillic.el: Remove eval-when-compile.
5598 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
5599 translation table made from cyrillic-koi8-r-decode-table.
5600 (cyrillic-koi8-r-encode-table): Define it as a translation table
5601 made from the reverse map of above.
5602 (ccl-decode-koi8): Use translate-character.
5603 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
5604 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
5605 a translation table made from cyrillic-alternativnyj-decode-table.
5606 (cyrillic-alternativnyj-encode-table): Define it as a translation
5607 table made from the reverse map of above.
5608 (ccl-decode-alternativnyj): Use translate-character.
5609 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
5612 * international/mule-diag.el (non-iso-charset-alist): Specify
5613 translation table symbol instead of translation table itself.
5614 (list-block-of-chars): CHARSET may be a translation table symbol.
5616 * international/mule.el (make-coding-system): If CODING-SYSTEM
5617 already exists, override it.
5619 * international/fontset.el: Use family `proportional' for Tibetan
5622 * international/ccl.el (ccl-compile-translate-character): Don't
5623 check if Rrr has property translation-table.
5624 (ccl-compile-map-multiple): Modified to avoid compiler warning.
5626 2000-06-05 Gerd Moellmann <gerd@gnu.org>
5628 * info.el: Bind case-fold-search to t when searching in case
5629 a user sets it to nil in a hook.
5631 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
5633 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5634 * hl-line.el (hl-line-mode): Use the new :global key argument.
5636 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
5637 (tar-clip-time-string): Prepend a space.
5638 (tar-grind-file-mode): Construct a string rather than modifying one.
5639 (tar-header-block-summarize): Fix docstring.
5640 Use `format' rather than an error-prone set of copy-loops.
5642 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
5643 (diff-goto-source, diff-unified->context, diff-context->unified)
5644 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
5645 understand the format output by the `-p' argument to diff.
5647 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
5648 (sh-re-done): Use defconst.
5649 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
5650 (sh-help-string-for-variable, sh-guess-basic-offset):
5651 Don't quote lambdas.
5652 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
5653 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
5655 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
5656 (mh-letter-mode): Derive from text-mode.
5657 This implicitly means that it now calls kill-all-local-variables.
5658 Also remove the Emacs-18 compatibility code.
5660 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
5661 Make use of symbol-property doc-string-elt.
5662 Use memq rather than a sequence of eq.
5663 (doc-string-elt): Fix the wrong or missing previously unused values.
5664 (autoload-print-form): New function extracted from
5665 generate-file-autoloads to allow recursion when handling progn
5666 so that defvar's and defun's docstrings are properly printed.
5667 (generate-file-autoloads): Use it.
5669 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
5670 Use find-file-hooks in the minor-mode function.
5671 Be careful not to loop indefinitely in the post-command-hook function.
5673 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
5675 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
5677 * ediff-diff.el (ediff-exec-process): Use --binary for fine
5678 differences whenever appropriate.
5679 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
5680 * viper.el (find-file, find-file-other-window): Get viper to do
5683 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
5685 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
5686 (jit-lock-fontify-buffer): New function for JIT refontification.
5687 (jit-lock-mode): Fix docstring.
5688 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
5689 Remove jit-lock-after-change from the _local_ hook.
5690 (jit-lock-function-1): Fix docstring.
5692 * info.el (Info-on-current-buffer): Initialize info.
5694 * newcomment.el (comment-indent): Ignore comment-indent-hook.
5696 * progmodes/tcl.el (tcl-indent-for-comment):
5697 Ignore comment-indent-hook.
5699 * emacs-lisp/easy-mmode.el: Require CL during compilation.
5700 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
5701 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
5702 and improve to use the lighter to guess the capitalization.
5703 (define-minor-mode): Inline code from easy-mmode-define-toggle.
5704 Add keyword arguments to specify global-ness or the custom group.
5705 Add local-map and help-echo properties to the lighter.
5706 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
5707 (easy-mmode-define-global-mode): New macro.
5709 2000-06-02 Dave Love <fx@gnu.org>
5711 * wid-edit.el: byte-compile-dynamic since we typically don't use
5712 all the widgets. Don't require cl or widget. Remove
5713 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
5714 (widget-read-event): Removed. Callers changed to use read-event.
5715 (widget-button-release-event-p): Renamed from
5716 button-release-event-p.
5717 (widget-field-add-space, widget-field-use-before-change):
5719 (widget-specify-field): Use keymap property, not local-map.
5720 (widget-specify-button): Obey :suppress-face.
5721 (widget-specify-insert): Use modern backquote syntax.
5722 (widget-image-directory): Renamed from widget-glyph-directory.
5723 (widget-image-enable): Renamed from widget-glyph-enable.
5724 (widget-image-find): Replaces widget-glyph-find.
5725 (widget-button-pressed-face): Move defvar.
5726 (widget-image-insert): Replaces widget-glyph-insert.
5727 (widget-convert): Use keywordp.
5728 (widget-leave-text, widget-children-value-delete): Use mapc.
5729 (widget-keymap): Remove XEmacs stuff.
5730 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
5731 (widget-button-click): Don't set point at the click, but re-centre
5732 if we scroll out of window. Rewritten for images v. glyphs &c.
5733 (widget-tabable-at): Use POS arg, not point.
5734 (widget-beginning-of-line, widget-end-of-line)
5735 (widget-item-value-create, widget-sublist, widget-princ-to-string)
5736 (widget-sexp-prompt-value, widget-echo-help): Simplify.
5737 (widget-default-create): Use widget-image-insert; some rewriting.
5738 (widget-visibility-value-create)
5739 (widget-push-button-value-create, widget-toggle-value-create): Use
5740 widget-image-insert.
5741 (checkbox): Create on and off images dynamically.
5742 (documentation-link): Change :help-echo.
5743 (widget-documentation-link-echo-help): Remove.
5745 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
5747 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
5749 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
5750 (easy-mmode-define-toggle, define-minor-mode): Use it.
5751 (easy-mmode-define-keymap): Docstring fix.
5752 (define-derived-mode): Default PARENT to fundamental-mode.
5753 Add the derived-mode-parent symbol-property.
5754 (easy-mmode-derived-mode-p): New function.
5756 2000-06-02 Dave Love <fx@gnu.org>
5758 * files.el (convert-standard-filename): Doc fix.
5759 (normal-backup-enable-predicate): New function.
5760 (backup-enable-predicate): Use it to replace the lambda form.
5762 * calendar/todo-mode.el: [This needs more work on the outline
5764 (todo) <defgroup>: Add :version.
5765 (todo-add-category): Don't use pushnew.
5766 (todo-cmd-raise): Fix typo.
5767 (todo-top-priorities): Change temp buffer name.
5768 (todo-category-alist): Avoid redundant lambda.
5769 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
5770 Use outline-next-heading.
5772 * autoarg.el: Rewritten to use define-minor-mode.
5773 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
5774 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
5776 2000-06-02 Kenichi Handa <handa@etl.go.jp>
5778 * isearch.el (isearch-other-meta-char): Fix previous change.
5780 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5782 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
5783 (log-edit-done): Only add the comment to the ring if it's different
5784 from the last comment entered.
5786 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
5788 2000-06-01 Dave Love <fx@gnu.org>
5790 * hl-line.el: Rewritten using define-minor-mode.
5792 * help.el (describe-function-1): Distinguish special form from
5793 builtin function. Sanity-check presence of arglist for builtins.
5795 2000-06-01 Kenichi Handa <handa@etl.go.jp>
5797 * international/characters.el: Fix syntax/category setting of
5800 * language/tibet-util.el (tibetan-add-components): Fixes for new
5801 encoding of Tibetan characters.
5802 (tibetan-decompose-precomposition-alist): New variable.
5803 (tibetan-decompose-region): Convert precomposed characters to
5804 non-precomposed characters.
5805 (tibetan-decompose-string): Likewise.
5806 (tibetan-composition-function): Fix args to
5807 thibetan-compose-string.
5809 * language/tibetan.el (tibetan-composable-pattern): More
5810 characters included.
5811 (tibetan-consonant-transcription-alist): Rule for "R" added.
5812 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
5814 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
5816 * language/lao-util.el (lao-composition-function): Fix args to
5819 * language/thai-util.el (thai-composition-function): Fix args to
5822 * isearch.el (isearch-update): Set disable-point-adjustment to t
5823 to prevent the point moving to the end of a composition when a
5824 part of a composition is searched.
5825 (isearch-other-meta-char): If the key invoking this command can be
5826 mapped by function-key-map to a printing char, call
5827 isearch-process-search-char directly.
5829 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5831 * emacs-lisp/bytecomp.el:
5833 * international/mule-cmds.el:
5834 * international/mule-util.el:
5835 * international/mule.el:
5838 * faces.el: Update calls to make-obsolete with a WHEN argument.
5840 * byte-run.el (make-obsolete, make-obsolete-variable):
5841 Add an optional WHEN argument and change the format of the
5842 symbol-property information.
5843 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
5844 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
5845 new obsolete-symbol-property format and print WHEN if it is provided.
5847 2000-05-31 Dave Love <fx@gnu.org>
5849 * loadhist.el (loadhist-hook-functions): Remove
5850 before-change-function, after-change-function.
5851 (unload-feature): Deal with symbols which are both bound and
5854 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
5855 before-change-function, after-change-function.
5857 * simple.el (newline): Don't bind before-change-function,
5858 after-change-function.
5860 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
5862 * whitespace.el (whitespace-rescan-timer-time): Update interval
5863 set to 600 seconds (10 minutes) instead of 60 seconds since
5864 a large number of whitespace buffers causes emacs to `freeze'
5865 for a considerable amount of time.
5867 * whitespace.el: Updated email address
5869 2000-05-31 Dave Love <fx@gnu.org>
5871 * add-log.el (change-log-font-lock-keywords) <function>: Add
5872 pattern for function of change.
5873 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
5874 acknowledgements patterns.
5876 2000-05-31 Kenichi Handa <handa@etl.go.jp>
5878 * isearch.el (isearch-printing-char): If keyboard coding system is
5879 being used, call isearch-process-search-multibyte-characters.
5881 * international/isearch-x.el: Mostly rewritten.
5883 * international/quail.el (quail-start-conversion): Don't include
5884 unhandled events in the returned events, but set them in
5885 unread-command-events. Exit if all inputs are deleted.
5887 2000-05-30 Jason Rumney <jasonr@gnu.org>
5889 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
5891 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
5892 Reenable code to create initial fontsets.
5893 Use set-fontset-font in place of put-charset-property.
5895 2000-05-30 Gerd Moellmann <gerd@gnu.org>
5897 * progmodes/perl-mode.el (perl-indent-line): When looking for a
5898 label, ensure that the first colon isn't followed by another.
5900 * paths.el (Info-default-directory-list): Doc fix.
5902 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
5903 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
5904 send a query containing USER only, not USER@HOST.
5906 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
5907 and rmail-msgend to compute the restriction at the end, instead of
5910 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5912 * dabbrev.el (dabbrev-expand): Don't display messages in the
5913 echo area if the minibuffer window is active.
5915 * jit-lock.el (jit-lock-mode): Add after change function to
5918 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
5920 * antlr-mode.el: New commands: hide/unhide actions,
5921 upcase/downcase literals.
5922 (antlr-tiny-action-length): New user option.
5923 (antlr-hide-actions): New command. Suggested by
5924 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
5925 (antlr-mode-map): New binding [C-c C-v].
5926 (antlr-mode-menu): New entries.
5927 (antlr-downcase-literals): New command.
5928 (antlr-upcase-literals): Ditto.
5930 * antlr-mode.el: Minor changes: indendation, mode-name.
5931 (antlr-indent-line): Indent cpp directive at column 0.
5932 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
5934 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
5935 (antlr-font-lock-additional-keywords): Workaround for intentional
5936 bug in XEmacs version of font-lock.
5937 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
5938 be used by a smarter version of `buffers-menu-grouping-function'.
5940 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5942 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
5943 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
5945 2000-05-29 Kenichi Handa <handa@etl.go.jp>
5947 * international/encoded-kb.el
5948 (encoded-kbd-iso2022-designation-map): Pay attention to that
5949 charset-iso-final-char return -1 for eight-bit-control and
5952 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5954 * speedbar.el (speedbar-use-images, speedbar-update-flag)
5955 (speedbar-easymenu-definition-base): Use display-graphic-p where
5956 available, instead of window-system.
5958 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5960 * international/codepage.el (cp-coding-system-for-codepage-1): Add
5961 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
5964 2000-05-26 Dave Love <fx@gnu.org>
5966 * disp-table.el (standard-display-underline): Don't use
5969 * mail/reporter.el: Maintainer change. Doc fixes.
5970 (reporter-version): Deleted.
5972 * emacs-lisp/elp.el: Maintainer change.
5973 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
5975 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
5977 * add-log.el (add-change-log-entry): Merge the current entry with the
5978 previous one if the previous one is empty.
5980 2000-05-26 Dave Love <fx@gnu.org>
5982 * loadhist.el (unload-feature): Fix interactive spec [from
5983 lijnzaad@ebi.ac.uk].
5985 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
5986 subr-arity to check primitives.
5987 (byte-compile-flush-pending, byte-compile-file-form-progn)
5988 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
5989 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
5992 2000-05-26 Kenichi Handa <handa@etl.go.jp>
5994 * international/fontset.el: Set family names of non-latin charsets
5995 in default fontset to "*".
5997 * international/mule-diag.el (print-fontset): Combine family part
5998 and registry part of the fontname by "-*-" instead of "-".
6000 * international/mule-cmds.el (encode-coding-char): Make strings
6001 multibyte before calling encode-coding-string.
6003 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6005 * derived.el: Fix keywords.
6006 (define-derived-mode): Only define if needed.
6008 * simple.el (fill-comment, comment-column, comment-start)
6009 (comment-start-skip, comment-end, comment-indent-function)
6010 (block-comment-start, block-comment-end, indent-for-comment)
6011 (set-comment-column, kill-comment, comment-padding, comment-region)
6012 (comment-multi-line, indent-new-comment-line): Remove.
6014 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6015 function names for comment operations.
6017 * newcomment.el: Add abundant autoload cookies.
6018 (comment-style): Don't depend on runtime data at compile-time.
6019 (comment-indent-hook): Remove.
6020 (comment-indent): Check if comment-indent-hook is bound.
6021 (comment-region): Docstring fix.
6023 2000-05-25 Dave Love <fx@gnu.org>
6025 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6026 byte-code-function-p.
6028 * mail/rmailsum.el: Add provide.
6030 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6032 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6035 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6037 * ediff-diff.el (ediff-exec-process): delete --binary option from
6038 non-buffer ediff jobs.
6040 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6042 * hilit-chg.el (highlight-changes-mode): Ask about color or
6043 grayscale support, not about window-system.
6045 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
6047 (ffap-highlight): Always default to t.
6049 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
6050 display-popup-menus-p instead of looking at window-system.
6052 * disp-table.el (standard-display-g1, standard-display-graphic):
6053 Only refuse to use string glyphs on X and MS-Windows.
6055 * avoid.el: Remove window-system from commentary, suggest to use
6056 display-*-p instead.
6058 * apropos.el (apropos-print): Use display-mouse-p instead of
6061 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6063 * international/codepage.el (cp-decoding-vector-for-codepage):
6064 Fill up unsupported characters with their own codes. From Kenichi
6067 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6069 * international/mule-diag.el (describe-char-after): Use
6070 display-graphic-p instead of window-system, so that this function
6073 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6075 * international/codepage.el (cp-make-coding-systems-for-codepage):
6076 Remove the eight-bit-graphic and eight-bit-control charsets from
6077 the list of charsets which we convert into `?'.
6079 2000-05-25 Kenichi Handa <handa@etl.go.jp>
6081 * international/mule-conf.el: Specify CHARSET-ID explicitely for
6083 (mule-unicode-0100-24ff, japanese-jisx0213-1,
6084 japanese-jisx0213-2): New charsets.
6086 * international/fontset.el: Setup default fontset for new charsets.
6088 2000-05-24 Dave Love <fx@gnu.org>
6090 * info.el (Info-find-node-2): Restructure [following "Vadim
6091 S. Solomin" <sovs@uic.nnov.ru>].
6093 * icomplete.el: Fix header for Finder.
6095 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
6097 * rmailout.el (rmail-output-to-rmail-file): Added optional param
6100 * rmail.el (rmail-automatic-folder-directives): New user variable.
6101 (rmail-show-message): Add call to `rmail-auto-file' during
6103 (rmail-auto-file): New function.
6105 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6107 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
6109 (ediff-test-utility,ediff-diff-mandatory-option)
6110 (ediff-reset-diff-options): Utilities for proper initialization of
6111 ediff-diff-options and ediff-diff3-options on Windows.
6113 * ediff-init.el (ediff-merge-filename-prefix): New customizable
6116 * ediff-mult.el (ediff-filegroup-action): Use
6117 ediff-merge-filename-prefix.
6119 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6121 * viper-ex.el (ex-write): Set selective display to nil.
6123 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6125 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
6126 aliases for hebrew-iso-8bit.
6128 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6130 * woman.el: New version from Francis J. Wright
6131 <F.J.Wright@Maths.QMW.ac.uk>.
6132 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
6133 names in environment variables regardless of the path separator.
6134 (woman-topic-all-completions-1): Don't call file-name-directory-p
6135 on all files, since woman-file-regexp already filters out any
6138 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6140 * international/quail.el (quail-start-translation): Don't change
6141 modified-p of the current buffer.
6142 (quail-start-conversion): Likewise.
6144 * international/kkc.el (kkc-region): Don't change modified-p of
6147 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6149 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6151 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6153 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6154 (speedbar-insert-button): Invisible text property fix.
6155 (speedbar-directory-plus): Renamed from speedbar-directory-+
6156 (speedbar-directory-minus): Renamed from speedbar-directory--
6157 (speedbar-page-plus): Renamed from speedbar-file-+
6158 (speedbar-page-minus): Renamed from speedbar-file--
6159 (speedbar-page): Renamed from speedbar-file-
6160 (speedbar-tag): Renamed from speedbar-tag-
6161 (speedbar-tag-plus): Renamed from speedbar-tag-+
6162 (speedbar-tag-minus): Renamed from speedbar-tag--
6163 (speedbar-expand-image-button-alist): Use above renames.
6165 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6166 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6167 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6168 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6169 * sb-pg.xpm: Renamed from sb-file.xpm
6170 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6171 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6173 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6175 * international/quail.el (quail-show-guidance-buf): Set
6176 current-input-method of the guidance buffer to the name of the
6177 curren input method.
6179 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6181 * progmodes/compile.el (compile-internal): Style typo.
6183 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6184 quote vars and functions in the docstring.
6186 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6188 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6189 Don't quote lambdas.
6191 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6193 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6195 * startup.el (command-line): Determine source file of compiled
6196 user init file differently. Warn if compiled user init file
6197 is older than its source file.
6199 * ffap.el (ffap-url-regexp): Add `https'.
6201 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6203 * files.el (make-backup-file-name-1): Replace slashes with `!'
6204 rather than `|' (which is not allowed on Windows). Replace the
6205 drive letters with a string "drive_X".
6207 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6209 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6211 * files.el (interpreter-mode-alist): Add `bash2'.
6213 2000-05-22 Dave Love <fx@gnu.org>
6215 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6217 (feature-file): Avoid calling symbol-name. Doc fix.
6218 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6219 (loadhist-hook-functions): Add mouse-position-function.
6220 (unload-feature): Change uses of mapcar.
6222 * files.el (parse-colon-path): Doc fix.
6223 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6224 (set-auto-mode): Use mapc.
6226 * complete.el (PC-look-for-include-file): Use :alnum: character
6228 (partial-completion-mode): Add autoload cookie.
6230 2000-05-22 Sam Steingold <sds@gnu.org>
6232 * info.el (Info-fontify-node): Fixed the call to
6233 `add-text-properties' (bug introduced on 2000-05-18).
6235 2000-05-22 Dave Love <fx@gnu.org>
6237 * bindings.el: Remove debug-ignored-errors set in other files.
6239 * progmodes/etags.el: Add to debug-ignored-errors.
6240 (visit-tags-table-buffer): Clear out buffers holding old tables
6241 when making a new list.
6242 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6245 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6247 (cmpl-string-case-type): Use character classes.
6250 * textmodes/ispell.el:
6253 * progmodes/compile.el: Add to debug-ignored-errors.
6255 * dabbrev.el: Add to debug-ignored-errors.
6256 (dabbrev-completion): Use mapc.
6258 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6260 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6261 (woman-mapcan, woman-parse-man.conf)
6262 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6263 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6264 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6266 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6267 (woman-manpath): Call woman-parse-man.conf.
6268 (woman-emulation): New defcustom, defaults to nroff.
6269 (woman-font-support): New defconst.
6270 (woman-use-symbol-font): New defcustom.
6271 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6273 Many functions: Doc fix.
6275 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6277 * international/quail.el (quail-simple-translation-keymap): Map
6278 128..255 to quail-self-insert-command.
6279 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6281 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6283 * help.el (help-manyarg-func-alist): Typo.
6285 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6286 intervals which makes it heaps simpler.
6288 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6289 the nested comment markers.
6291 * subr.el (remove-hook): Don't turn the hook's value into a list.
6293 2000-05-21 Dave Love <fx@gnu.org>
6295 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6296 are invalid characters.
6298 * international/mule-util.el (detect-coding-with-priority): Use
6299 mapc. Remove redundant lambda.
6301 * international/mule-diag.el (list-non-iso-charset-chars)
6302 (describe-fontset): Remove redundant lambda.
6304 * emulation/crisp.el (brief-mode): New alias.
6306 * emacs-lisp/ring.el (ring-elements): New function.
6308 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6309 (easy-menu-do-add-item): Use keywordp.
6311 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6313 * replace.el: Doc and error message fixes.
6314 (replace-highlight): Use facep, not internal-find-face.
6316 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6318 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6320 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6321 (log-edit-insert-changelog): Drop `:' as well.
6323 * log-view.el: Fix file description.
6324 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6326 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6327 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6329 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6330 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6331 Print a status message if the toggle is called interactively.
6332 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6333 for global minor modes and use `defcustom' for them.
6335 (easy-mmode-define-derived-mode): Remove.
6336 (define-derived-mode): Fancier default docstring.
6337 (easy-mmode-define-navigation): Signal an error rather than (ding).
6339 * newcomment.el (comment-styles): New `box-multi'.
6340 (comment-normalize-vars): Better default for comment-continue to
6341 avoid whitespace-only continuations.
6342 (comment-search-forward): Always move even in the no-syntax case.
6343 (comment-padright): Only obey N if it's only obeyed for padleft.
6344 (comment-make-extra-lines): Better handling of empty continuations.
6345 Use `=' for the filler if comment-start has only one character.
6346 (uncomment-region): Try handling the special `=' filler.
6347 (comment-region): Allow LINES even if MULTI is nil.
6348 (comment-box): Choose box style based on comment-style.
6350 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6352 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6353 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6355 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6357 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6358 and insert, not subst-char-in-region.
6360 * international/mule-diag.el (list-character-sets-1): Handle
6361 charsets eight-bit-control and eight-bit-graphic.
6362 (list-iso-charset-chars): Likewise.
6363 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6364 charactes as is. Use indent-to to align characters.
6366 * international/mule-cmds.el (find-multibyte-characters): Never
6367 exclude charsets eight-bit-control and eight-bit-graphic.
6369 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6371 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6372 Don't quote lambdas.
6374 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6376 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6378 * gud.el (gud-jdb-directories): Doc fix.
6380 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6382 * newcomment.el: New file.
6384 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6386 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
6388 2000-05-18 Andreas Schwab <schwab@suse.de>
6390 * dired.el (dired-between-files): Also skip lines beginning with
6393 2000-05-18 Gerd Moellmann <gerd@gnu.org>
6395 * msb.el (msb-menu-cond): Add choice `user'.
6397 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6399 * ps-print.el: Compatibility, customization and doc fix.
6400 (ps-printer-name-option): Replace defconst by defvar.
6401 (ps-postscript-code-directory): XEmacs compatibility.
6402 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
6404 (ps-user-defined-prologue, ps-print-prologue-header)
6405 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
6406 compatibility and code fix.
6407 (ps-print-background-image, ps-print-background-text):
6409 (ps-line-number-start, ps-n-up-on): New vars.
6411 2000-05-18 Espen Skoglund <esk@ira.uka.de>
6413 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
6414 the indent-comment function to just return the appropriate indent.
6416 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
6418 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
6419 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
6420 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
6422 2000-05-18 Dave Love <fx@gnu.org>
6424 * info.el (Info-fontify-node): Add intangible property as well as
6427 * calendar/appt.el (appt-make-list): Match all lines of entry.
6428 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
6430 2000-05-18 Kenichi Handa <handa@etl.go.jp>
6432 * international/mule-diag.el (describe-char-after): Call
6433 internal-char-font, not char-font. If internal-char-font returns
6434 nil, display "-- none --".
6436 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6438 * image.el (image-type-available-p): Don't reference image-types
6441 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
6443 * autoarg.el (autoarg-mode): Typo in the :set argument.
6445 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6447 * startup.el (command-line-1): Don't signal an error if the
6448 directory for auto-save-list files does not yet exist.
6450 2000-05-17 Kenichi Handa <handa@etl.go.jp>
6452 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
6454 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
6456 * subr.el (remove-hook): `setq' hook-value, not `set'.
6458 2000-05-16 Sam Steingold <sds@gnu.org>
6460 * info.el (debug-ignored-errors): More errors to ignore.
6462 2000-05-16 Dave Love <fx@gnu.org>
6464 * cus-edit.el: Don't require cl or easymenu.
6465 (custom-variable-prompt): Test standard-value property, not
6468 2000-05-16 Sam Steingold <sds@gnu.org>
6470 * subr.el (add-hook): `setq' hook-value, not `set'.
6472 2000-05-16 Gerd Moellmann <gerd@gnu.org>
6474 * startup.el (command-line-1): Mention the FAQ in the startup
6477 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
6479 * progmodes/compile.el (compilation-parse-errors): Collect
6480 `nomessage' regexps last.
6482 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
6484 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
6485 to the function name.
6487 2000-05-15 Dave Love <fx@gnu.org>
6489 * speedbar.el (speedbar-recenter): Typo.
6490 (speedbar-expand-line): Make arg optional.
6491 (speedbar-mode): Avoid a compiler warning.
6493 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6495 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
6496 user-specified option string is empty.
6498 * mouse.el (mouse-yank-at-click): Doc fix.
6500 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
6502 * term/internal.el (IT-character-translations): More updates of
6503 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
6506 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6508 * env.el (getenv): New function, interactively callable.
6509 (setenv, getenv): Remove autoload cookies.
6511 * loadup.el: Load `env'.
6513 * progmodes/f90.el: Change author's mail address.
6515 2000-05-14 Dave Love <fx@gnu.org>
6517 * mail/rmail.el (rmail-show-message-hook): Customize and offer
6518 goto-addr as an option.
6520 * help.el (help-xref-stack): Doc fix.
6521 (help-xref-following): New variable.
6522 (help-make-xrefs): Use it.
6523 (help-xref-go-back): Use position information from stack element.
6524 (help-follow): Make position in stack element a pair. Use
6525 help-xref-following.
6527 * autoarg.el: New file.
6529 * faces.el: Declare more functions obsolete.
6531 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
6532 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
6533 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
6534 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
6535 Remove all the setup-...-environment functions.
6537 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
6539 * speedbar.el: Updated the commentary section. xemacs20p now uses
6540 >= when detecting. Require `defimage' safely.
6541 (speedbar-easymenu-definition-base): Add toggle for images.
6542 (speedbar-easymenu-definition-special): Add flush cache & expand.
6543 (speedbar-visiting-tag-hook): Set new defaults. Added options.
6544 (speedbar-reconfigure-keymaps-hook): New variable.
6545 (speedbar-frame-parameters): Updated documentation.
6546 (speedbar-use-imenu-flag): Updated custom tag
6547 (speedbar-dynamic-tags-function-list): New variable.
6548 (speedbar-tag-hierarchy-method): Updated doc & custom.
6549 (speedbar-indentation-width, speedbar-indentation-width) New
6551 (speedbar-hide-button-brackets-flag): Customizable.
6552 (speedbar-vc-indicator): Doc update.
6553 (speedbar-ignored-path-expressions): Updated default value.
6554 (speedbar-supported-extension-expressions): Updated default value.
6555 (speedbar-syntax-table): Remove {} paren status.
6556 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
6557 as "+". Added overlay aliases.
6558 (speedbar-mode): Use `speedbar-mode-line-update' instead of
6559 `force-mode-line-update'.
6560 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
6561 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
6563 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
6564 (speedbar-item-info-tag-helper): Revamped to handle a wider range
6565 of arbitrary text, and new helper functions.
6566 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
6568 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
6569 (speedbar-directory-buttons): Update path search/expansion.
6570 (speedbar-make-tag-line): Pay attention to
6571 `speedbar-indentation-width'. Use more care w/ invisible
6573 (speedbar-change-expand-button-char): Call
6574 `speedbar-insert-image-button-maybe'.
6575 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
6576 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
6577 (speedbar-trim-words-tag-hierarchy)
6578 (speedbar-simple-group-tag-hierarchy): New functions
6579 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
6580 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
6582 (speedbar-mouse-set-point): New function
6583 (speedbar-power-click): Updated documentation.
6584 (speedbar-line-token, speedbar-goto-this-file): Handle more types
6586 (speedbar-expand-line, speedbar-contract-line): Make more robust
6588 (speedbar-expand-line): Takes universal argument to flush the
6590 (speedbar-flush-expand-line): New function.
6591 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
6592 Use new generator insertion method.
6593 (speedbar-fetch-dynamic-tags): New function.
6594 (speedbar-fetch-dynamic-imenu): Removed code now handled in
6595 `speedbar-fetch-dynamic-imenu'.
6596 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
6597 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
6598 "Revert Buffer" menu items.
6599 (speedbar-buffer-buttons-engine): Be smarter when creating a
6600 filename tag (for expansion purposes.).
6601 (speedbar-highlight-one-tag-line,
6602 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
6603 (speedbar-recenter): New functions.
6604 (defimage-speedbar): Image loading abstraction.
6605 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
6606 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
6607 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
6608 (speedbar-tag-type, speedbar-tag-mail): New images.
6609 (speedbar-expand-image-button-alist): New variable.
6610 (speedbar-insert-image-button-maybe): Insert an image over some
6613 2000-05-13 Kenichi Handa <handa@etl.go.jp>
6615 * international/mule-cmds.el (encode-coding-char): An ASCII
6616 character is always encodable.
6618 * international/mule-conf.el: Add more information in descriptions
6621 * international/mule-diag.el (describe-char-after): New function.
6622 (describe-font-internal): Adjusted for the change of font-info.
6623 (describe-font): Likewise.
6624 (print-fontset): Rewritten for the new fontset implementation.
6625 (describe-fontset): Include fontset alias names in completion.
6626 (list-fontsets): Adjusted for the change of print-fontset.
6628 * simple.el (what-cursor-position): If DETAIL is non-nil, call
6629 describe-char-after instead of displaying the detail in the echo
6631 (syntax-code-table): Format changed.
6632 (string-to-syntax): Adjusted for the above change.
6634 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
6636 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
6638 2000-05-12 Dave Love <fx@gnu.org>
6640 * calendar/todo-mode.el: Remove some compatibility stuff and CL
6641 dependence. Use line-{beginning,end}-position, not
6642 point-at{b,e}ol. Some doc fixes.
6643 (todo-position): New function. Fix callers of position to use it.
6644 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
6646 2000-05-12 Gerd Moellmann <gerd@gnu.org>
6648 * time.el (display-time-mail-icon): Use `:ascent center'.
6650 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
6651 handling FTP security extensions.
6653 2000-05-11 Dave Love <fx@gnu.org>
6655 * calendar/todo-mode.el: New file.
6657 2000-05-11 Gerd Moellmann <gerd@gnu.org>
6659 * comint.el (comint-read-input-ring): Move reference to
6660 comint-input-ring-size outside of the save-excursion. It was
6661 causing the default value to be the only one ever seen.
6663 * font-lock.el: Update copyright. Remove Simon Marshall's email
6664 address on request from him.
6666 * subr.el (substitute-key-definition): Add comment describing
6667 the meaning of PREFIX.
6669 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
6671 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
6673 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
6674 (add-minor-mode): Don't make the variable buffer-local and add a
6675 reference to define-minor-mode in the docstring.
6677 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
6678 HEADER/FOOTER and fix bug with trailing empty directory.
6679 (cvs-append-to-ignore): Use vc-editable-p if available.
6680 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
6681 (vc-do-command): Tweak advice to handle the new VC.
6683 * log-view.el (log-view-goto-rev): New function for the new VC.
6684 (log-view-minor-wrap): Use mark-active.
6686 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
6687 (log-edit-changelog-full-paragraphs): New var.
6688 (log-edit-insert-changelog): Remove a lonely leading `* file'.
6689 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
6690 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
6691 (log-edit-changelog-ours-p, log-edit-changelog-entries)
6692 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
6693 Replace the `cvs' prefix with `log-edit'.
6695 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
6697 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
6698 (diff-font-lock-defaults): Explicitly turn off multiline.
6699 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
6700 (diff-ediff-patch): Fix call to ediff-patch-file.
6701 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
6704 * frame.el (automatic-hscrolling): Typo.
6706 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
6708 2000-05-09 Sam Steingold <sds@goems.com>
6710 * apropos.el (apropos-print): use `describe-face' instead of
6711 `customize-face-other-window'.
6713 2000-05-09 Dave Love <fx@gnu.org>
6715 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
6717 * help.el (describe-variable): Have customize button pop the
6718 help-xref stack when invoked.
6719 (help-xref-symbol-regexp): Add `face'.
6720 (help-make-xrefs): Check for quoted face names and adapt regexp
6721 submatch numbers to cope.
6722 (help-xref-interned): Maybe insert face doc too. Separate
6723 sections with a line of hyphens.
6725 * faces.el: Some doc fixes. Declare some functions obsolete.
6726 (describe-face): Add customize button. Return the help
6729 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
6731 * term/internal.el (IT-character-translations): Fix last change.
6733 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6735 * woman.el: New file
6736 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
6738 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6740 * term/internal.el (IT-character-translations): Update ASCII
6741 simulations for greek-iso8859-7, add latin-iso8859-14 and
6744 * international/mule-cmds.el (set-language-info-alist): Call
6745 define-prefix-command with 3 arguments, to make the map suitable
6748 2000-05-07 Dave Love <fx@gnu.org>
6750 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
6752 2000-05-05 Dave Love <fx@gnu.org>
6754 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
6755 list in doc string. Don't quote keyword symbols.
6756 * emacs-lisp/cl.el: Likewise
6757 * emacs-lisp/cl-seq.el: Likewise
6759 2000-05-05 Gerd Moellmann <gerd@gnu.org>
6761 * abbrev.el (abbrev-mode): Make ARG optional.
6763 2000-05-04 Gerd Moellmann <gerd@gnu.org>
6765 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
6767 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
6769 * subr.el (substitute-key-definition): Clarify documentation.
6771 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
6773 * glasses.el (glasses-convert-to-unreadable): Use
6774 `glasses-separator' instead of the hard-wired "_".
6775 (glasses-mode): Call `glasses-make-unreadable' only in a single
6778 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
6780 * term/internal.el (cjk-codepages-alist): Add associations for
6781 Chinese and Korean codepages. Remove FIXME comment.
6783 2000-05-03 Dave Love <fx@gnu.org>
6785 * time.el (display-time-mail-face, display-time-use-mail-icon):
6787 (display-time-mail-icon): New variable.
6788 (display-time-string-forms): Use the above. Fix the local-map.
6790 2000-05-03 Gerd Moellmann <gerd@gnu.org>
6792 * replace.el (query-replace-map): Add binding for `E'.
6793 (query-replace-help): Extend help text.
6794 (perform-replace): Allow editing the replacement string.
6796 * make-mode.el (makefile-mode-abbrev-table): New variable.
6797 (makefile-mode): Set local abbrev table to
6798 makefile-mode-abbrev-table.
6799 (makefile-font-lock-keywords): Fontify includes and conditionals.
6801 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
6804 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
6805 mail-interactive-insert-alias.
6806 (mail-abbrev-complete-alias): New command.
6807 (mail-mode-map): Bind it to `M-TAB'.
6809 2000-05-03 Kenichi Handa <handa@etl.go.jp>
6811 * language/lao-util.el (lao-compose-region): New function.
6813 2000-05-02 Gerd Moellmann <gerd@gnu.org>
6815 * files.el (recover-session): Make directories as necessary
6816 if they don't exist yet.
6818 * calendar/cal-french.el
6819 (french-calendar-multibyte-special-days-array)
6820 (french-calendar-special-days-array): Change French text.
6821 (calendar-french-date-string): Change output.
6822 (calendar-goto-french-date): Likewise.
6824 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
6826 * wid-edit.el (widget-default-active): Obey `:always-active'.
6827 (widget-documentation-string-value-create): Set `:always-active'.
6829 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6831 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
6832 default prefix to `~/_emacs.d/auto-save.list/_s'.
6833 (normal-top-level): Create the directory for auto-save files, if
6834 it doesn't already exist (in the ms-dos case only).
6836 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6838 * international/mule-cmds.el (set-language-environment): Don't
6839 concat an integer (dos-codepage), use format instead.
6841 2000-05-02 Dave Love <fx@gnu.org>
6843 * help.el (help-xref-on-pp): Check for constant symbols.
6845 2000-04-29 Gerd Moellmann <gerd@gnu.org>
6847 * startup.el (normal-top-level): Put a condition-case around
6848 the code loading subdirs.el.
6850 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6852 * ps-print.el: Upside-down and face background color printing,
6853 line number step, doc fix.
6854 (ps-print-version): New version number (5.2).
6855 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
6856 (ps-face-attribute-list, ps-plot-with-face): Code fix.
6857 (ps-spool-config): Var fix.
6858 (ps-printer-name-option): Const fix.
6859 (ps-print-upside-down, ps-use-face-background)
6860 (ps-line-number-step): New vars.
6861 (ps-window-system, ps-lp-system): New consts.
6862 (ps-face-background): New fun.
6864 2000-04-28 Richard Stallman <rms@gnu.org>
6866 * files.el (make-auto-save-file-name):
6867 Apply auto-save-file-name-transforms to visited file name
6868 before generating auto save file name.
6869 (auto-save-file-name-transforms): New variable.
6871 * files.el (backup-enable-predicate):
6872 Correctly test for a file under a temporary directory.
6874 2000-04-28 Gerd Moellmann <gerd@gnu.org>
6876 * subr.el (add-minor-mode): Rewritten.
6878 2000-04-28 Kenichi Handa <handa@etl.go.jp>
6880 * mail/sendmail.el (sendmail-send-it): Set
6881 buffer-file-coding-system to the selected coding system for MIME
6884 2000-04-27 Gerd Moellmann <gerd@gnu.org>
6886 * dired.el (dired-move-to-filename-regexp): Allow format where
6887 YYYY is followed by two spaces.
6889 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
6890 in the second character class of the regexp.
6892 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
6895 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
6898 * subr.el (add-minor-mode): Use `set' instead of `setq'.
6900 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
6903 2000-04-27 Sen Nagata <sen@eccosys.com>
6905 * emacs-lisp/crm.el (crm-completion-table): New variable.
6906 (crm-collection-fn, crm-test-completion)
6907 (completing-read-multiple): Use it.
6909 2000-04-27 Dave Love <fx@gnu.org>
6911 * help.el (locate-library): Use mapc.
6912 (help-manyarg-func-alist): Add call-process-region.
6914 2000-04-26 Gerd Moellmann <gerd@gnu.org>
6916 * subr.el (add-minor-mode): Make argument MAP optional.
6918 * desktop.el (desktop-save): Save list of minor modes.
6919 (desktop-create-buffer): Restore minor modes.
6920 (desktop-minor-mode-table): New user-option.
6922 * subr.el (add-minor-mode): New function.
6924 * image.el (find-image): New function.
6925 (defimage): Rewritten to find image at load time.
6927 * startup.el (normal-top-level-add-to-load-path): Handle
6928 case that the default directory is not in load-path.
6930 * help.el: Old patch from Stefan Monnier.
6931 (help-xref-on-pp): New function.
6932 (describe-variable): Use it to display xrefs in a symbol's value.
6934 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
6936 * cus-edit.el (custom-face): Fix parenthesis.
6938 2000-04-26 Kenichi Handa <handa@etl.go.jp>
6940 * mail/rmail.el (rmail-expunge): When there are no deleted
6941 messages, do nothing.
6943 2000-04-26 Dave Love <fx@gnu.org>
6945 * international/mule-cmds.el (locale-translation-file-name):
6947 (set-locale-environment): Set it here (at runtime).
6949 2000-04-25 Gerd Moellmann <gerd@gnu.org>
6951 * replace.el (perform-replace): Add parameters START and END. Use
6952 them instead of the check for a region in Transient Mark mode.
6953 (query-replace-read-args): Return two more list elements for the
6954 start and end of the region in Transient Mark mode.
6955 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6956 (map-query-replace-regexp, replace-string, replace-regexp): Add
6957 optional last arguments START and END and pass them to
6960 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
6961 form with additional arguments for perform-replace.
6963 * progmodes/etags.el (tags-query-replace): Add parameters START
6964 and END. Construct a form with additional arguments for
6967 * simple.el (shell-command): Set default directory for "*Shell
6968 Command Output" buffer.
6970 * language/european.el (iso-latin-4): Fix typo.
6972 * emacs-lisp/crm.el: New file.
6974 2000-04-24 Dave Love <fx@gnu.org>
6976 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
6977 (Custom-reset-saved, Custom-reset-standard)
6978 (custom-group-value-create, custom-group-set, custom-group-save)
6979 (custom-group-reset-current, custom-group-reset-saved)
6980 (custom-group-reset-standard): Use mapc.
6981 (custom-buffer-create-internal): Disable undo when creating items.
6983 (custom-face): Avoid redundant lambda.
6985 2000-04-24 Gerd Moellmann <gerd@gnu.org>
6987 * startup.el (auto-save-list-file-prefix): Set default to
6988 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
6990 2000-04-24 Sam Steingold <sds@gnu.org>
6992 * time-stamp.el (time-stamp-string-preprocess): Always convert
6993 `field-result' to a string.
6995 2000-04-24 Gerd Moellmann <gerd@gnu.org>
6997 * frame.el (scrolling): New group.
6998 (automatic-hscrolling): New user-option.
7000 * startup.el (command-line-x-option-alist): Add `-lsp' and
7003 2000-04-19 Dave Love <fx@gnu.org>
7005 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7006 (cl-mapc): Rename from mapc. Fix the funcall.
7008 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7010 * simple.el (clone-indirect-buffer-other-window): New command.
7011 (clone-indirect-buffer): Add optional arg NORECROD.
7012 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7014 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7016 * window.el (count-screen-lines): New function.
7017 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7018 instead of window-buffer-height.
7020 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7021 non-existing variable comint-input-sentinel.
7022 (inferior-lisp-args-to-list): Removed.
7023 (inferior-lisp): Use split-string instead of
7024 inferior-lisp-args-to-list.
7026 * hexl.el (hexl-insert-hex-string): New command.
7028 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7031 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7033 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7034 at the start of an existing but empty folder.
7036 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7038 * ps-mule.el: Customization fix, doc fix.
7039 (ps-multibyte-buffer): Customization fix.
7041 2000-04-17 Richard M. Stallman <rms@gnu.org>
7043 * subr.el (read-passwd): Use read-char-exclusive.
7045 2000-04-17 Gerd Moellmann <gerd@gnu.org>
7047 * textmodes/texinfo.el (texinfo-insert-@email)
7048 (texinfo-insert-@emph, texinfo-insert-@quotation)
7049 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
7050 (texinfo-mode-map): Add key bindings for them.
7052 * files.el (basic-save-buffer-2): Use a template with `$'
7053 instead of `#' for VMS.
7055 * simple.el (clone-indirect-buffer): New function.
7057 2000-04-16 Stephen Eglen <stephen@gnu.org>
7059 * iswitchb.el (iswitchb-case): New function. If the user input
7060 contains any upper-case characters, the search is made
7063 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
7065 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
7067 (texinfo-font-lock-syntactic-keywords): New var.
7068 (texinfo-font-lock-keywords): Remove comment regexp.
7069 (texinfo-insert-block): New function.
7070 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
7071 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
7072 and font-lock-defaults. Use regexp-opt for outline-regexp.
7073 (texinfo-environments): New var.
7074 (texinfo-environment-regexp): Use regexp-opt and
7075 texinfo-environments.
7077 * textmodes/ispell.el (ispell-menu-map-needed): Check that
7078 ispell-process is bound since this might be eval'd before ispell
7080 (ispell-message): Use a tiny bit less magic and a bit more hard
7081 data to figure out what kind of sc-cite-regexp to use.
7083 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
7085 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
7086 (insert-cyclic-diary-entry): Unquote the lambda.
7088 * gud.el (gud-jdb-build-source-files-list): Fix typo.
7090 * files.el (backup-enable-predicate): Unquote the lambda.
7092 * cus-edit.el (custom-face, face): Unquote the lambda.
7094 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7096 * ps-print.el: Check for line-beginning-position definition.
7098 * ps-print.el: Fix counting lines in a region.
7099 (ps-print-version): New version number (5.1.5).
7100 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
7101 (ps-printing-region): Fun code fix.
7103 2000-04-15 Gerd Moellmann <gerd@gnu.org>
7105 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
7106 to file-directory-p.
7108 2000-04-14 Gerd Moellmann <gerd@gnu.org>
7110 * gud.el (gud-jdb-build-source-files-list): Check that directory
7111 exists before calling directory-files.
7113 2000-04-13 Dave Love <fx@gnu.org>
7115 * emacs-lisp/trace.el: Change maintainer. Use new backquote
7118 * emacs-lisp/cl-specs.el: Remove when, unless.
7120 * emacs-lisp/cl-extra.el: Don't quote keywords.
7121 (cl-old-mapc): New variable.
7123 (cl-map-intervals): Use with-current-buffer. Don't check for
7124 next-property-change.
7125 (cl-map-overlays): Use with-current-buffer.
7127 (copy-tree, remprop): Define unconditionally.
7129 * emacs-lisp/cl-compat.el (keywordp): Remove.
7131 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
7133 (edebug-spec): Enable keywordp.
7135 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
7138 * cus-start.el: Use keywordp.
7140 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7142 * diary-lib.el (include-other-diary-files): Fix the fix of
7143 2000-02-18 by doing a save-excursion.
7145 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7147 * ps-print.el: Customization fix, doc fix.
7148 (ps-print-version): New version number (5.1.4).
7149 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7150 (ps-print-preprint): Adjust code.
7151 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7152 (ps-print-prologue-header, ps-print-control-characters)
7153 (ps-spool-config): Customization fix.
7155 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7157 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7158 converted to the new menu-item format, names silightly changed,
7161 Support for spelling without async subprocesses:
7163 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7164 (ispell-session-buffer): New variables.
7165 (ispell-start-process, ispell-process-status,
7166 ispell-accept-output, ispell-send-string): New functions, for
7167 Ispell invocation when async subprocesses aren't supported.
7168 (ispell-word, ispell-pdict-save, ispell-command-loop,
7169 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7170 to process-send-string with calls to ispell-send-string, and
7171 accept-process-output with ispell-accept-output.
7172 (ispell-init-process): Call ispell-process-status instead of
7173 process-status with.
7174 (ispell-init-process): Call ispell-start-process. Call
7175 ispell-accept-output and ispell-send-string. Don't call
7176 process-kill-without-query and kill-process if they are unbound.
7177 (ispell-async-processp): New function.
7179 2000-04-12 Dave Love <fx@gnu.org>
7181 * info.el: Add debug-ignored-errors.
7182 (Info-mode-menu): Add some items.
7183 (Info-directory): Add autoload cookie.
7185 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7186 Modify `truncate-lines'. Make `describe-language-environment'
7187 always visible and add help. Modify `describe-key' help. Invoke
7188 Info-directory from `info'. New entry `emacs-manual'.
7190 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7192 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7193 propertized-buffer-identification.
7194 (ebrowse-update-member-buffer-mode-line): Likewise.
7195 (ebrowse--mode-strings): Removed.
7196 (ebrowse--mode-line-props): Removed.
7198 * files.el (auto-mode-alist): Add `EBROWSE'.
7200 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7201 space before testing for end of buffer.
7202 (ebrowse-load): Removed.
7203 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7204 (ebrowse-create-tree-buffer): Rewritten.
7205 (ebrowse-tree-mode): Read tree from buffer.
7207 * progmodes/ebrowse-ffh.el: Removed.
7209 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7211 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7213 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7215 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7218 2000-04-09 Dave Love <fx@gnu.org>
7220 * files.el (backup-enable-predicate): Use
7221 temporary-file-directory, small-temporary-file-directory.
7222 (make-backup-file-name-function, backup-directory-alist): New
7224 (make-backup-file-name-1): New function.
7225 (make-backup-file-name): Use it.
7226 (find-backup-file-name): Likewise. Use format for clarity, not
7228 (file-newest-backup): Use make-backup-file-name.
7230 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7232 * progmodes/ebrowse-ffh.el: New file.
7234 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7236 (ebrowse-load): Add autoload.
7238 * finder.el (finder-commentary): Add autoload cookie.
7240 * mail/rfc2368.el: Correct author's email address.
7242 * progmodes/ebrowse.el: New file.
7244 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7246 (easy-menu-do-add-item): Ditto.
7247 (easy-menu-define): Extend doc string.
7249 * jit-lock.el (with-buffer-unmodified): Use
7250 restore-buffer-modified-p.
7251 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7252 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7253 with-buffer-unmodified.
7255 2000-04-08 Dave Love <fx@gnu.org>
7257 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7260 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7262 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7263 (viper-flash-search-pattern): No operation when using Emacs
7264 doesn't support face.
7265 Use `viper-put-on-search-overlay'.
7267 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7269 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7272 * progmodes/make-mode.el: Some doc fixes.
7273 (makefile-mode-abbrev-table): New variable.
7274 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7275 (makefile-font-lock-keywords): Fontify includes and conditionals.
7276 (toplevel): Require `dabbrev' and `add-log' when compiling.
7278 * replace.el (perform-replace): Don't move forward one char
7279 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7280 to do that because it leaves point 1 position after the last
7281 replacement, after everything has been replaced.
7283 * jit-lock.el (with-buffer-unmodified): New macro.
7284 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7286 (jit-lock-function-1): Extracted from jit-lock-function; not
7287 preserving buffer's modified state.
7288 (jit-lock-function, jit-lock-stealth-fontify): Call
7289 jit-lock-function-1.
7291 * mail/rfc2368.el: Remove supernumerary copyright line.
7293 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7295 * glasses.el: Provide facilities for inserting space before left
7296 parentheses and uncapitalization of identifiers.
7297 (glasses-mode): Try to remove old overlays in all cases.
7299 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7301 * progmodes/compile.el (compile-internal): Display the compilation
7302 buffer in a different frame, if it's already displayed there.
7304 * mail/rfc2368.el: New file.
7306 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7307 header and insert its value as mail body.
7309 * subr.el (member-ignore-case): New function.
7311 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7312 (dabbrev--find-expansion): Ignore buffers matching a regexp
7313 from dabbrev-ignored-regexps.
7315 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7316 to extensions handled by gzip.
7318 2000-04-03 Richard M. Stallman <rms@gnu.org>
7320 * files.el (insert-directory): List the total free space
7321 along with the used space.
7323 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7324 line is followed by one that matches CITATION-REGEXP, end the
7327 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7329 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7330 (rmail-make-basic-summary-line): Use that option.
7332 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7334 * international/mule-cmds.el (encoded-string-description):
7335 Rewritten. Try pretty description for ISO 2022 escape sequences
7336 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7337 for hexadecimal format.
7339 2000-04-01 Dave Love <fx@gnu.org>
7341 * cpp.el: Change customization group to `c' from `C'.
7343 * vcursor.el (vcursor-move): Use display-color-p.
7345 * international/mule-util.el: Provide mule-utils.
7346 (string-to-sequence): Simplify and speed up.
7348 * international/mule.el (make-coding-system): Purecopy doc-string.
7350 * international/mule-cmds.el: Various menu changes.
7351 (describe-specified-language-support): Handle `Default'.
7352 (set-language-info): Purecopy `info'.
7354 2000-03-31 Andrew Innes <andrewi@gnu.org>
7356 * vc.el (vc-backend-diff): Return the correct status if we had to
7357 retry the rcsdiff command without the --brief option.
7359 2000-03-31 Dave Love <fx@gnu.org>
7361 * help.el (help-manyarg-func-alist): Correct several omissions.
7363 * add-log.el: Don't require cl, fortran.
7364 (add-log-current-defun-function): Doc fix.
7365 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7367 (change-log-version-rcs): Function deleted.
7368 (change-log-version-number-search): Doc fix. Use
7369 vc-workfile-version. Avoid CL dolist.
7370 (add-change-log-entry): Just call add-log-current-defun to get
7371 defun. Simplify somewhat.
7372 (change-log-get-method-definition-1): Likewise.
7373 (add-log-current-defun): Return nil if calling
7374 add-log-current-defun-function does so. Move Fortran stuff to
7375 fortran.el. Return string without properties.
7377 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7378 and :alpha: char classes.
7380 * mail/supercite.el: Defvar curline when compiling.
7381 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
7382 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
7383 rather than a-zA-Z0-9 to allow non-ASCII characters.
7385 2000-03-31 Gerd Moellmann <gerd@gnu.org>
7387 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
7389 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7392 * lpr.el (print-region-1): Use -d to specify printer name for
7393 systems `usg-unix-v*, `dgux', `hpux', `irix'.
7395 2000-03-31 Dave Love <fx@gnu.org>
7397 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
7398 for function definition in symbol's function value slot first
7399 instead of first consulting byte-compile-function-environment.
7401 2000-03-31 Kenichi Handa <handa@etl.go.jp>
7403 * language/european.el ("Polish"): New language environment.
7404 (setup-polish-environment): New function.
7406 2000-03-30 Gerd Moellmann <gerd@gnu.org>
7408 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7411 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
7412 trying to `load' the symbol of an autoload instead of the file
7413 recorded in the autoload. Fix error messages.
7415 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7417 * ps-print.el: PostScript programming fix for ghostview, doc fix.
7418 (ps-print-version): New version number (5.1.3).
7419 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
7420 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
7421 (ps-generate-postscript-with-faces): Code fix.
7422 (ps-color-values): XEmacs compatibility.
7423 (ps-print-background-image, ps-print-background-text, ps-printer-name)
7424 (ps-default-fg, ps-default-bg): Adjust customization.
7425 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
7426 (ps-color-scale): Renaming old ps-color-value fun.
7427 (ps-print-headers): Replace ps-print-header group to avoid conflict
7428 with ps-print-header variable.
7429 (ps-print-miscellany): New group.
7430 (ps-format-color, ps-rgb-color): New funs.
7431 (ps-default-foreground): New var.
7432 (ps-printer-name-option): New const.
7434 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
7437 (network-connection-host, network-connection-service): New variables
7438 (network-connection-mode): New mode, derived from comint-mode
7439 (network-connection-mode-setup): New function, saves host and
7440 service information in local variables.
7443 (locate-word-at-point): Added this function
7444 (locate): Default to using locate-word-at-point as input
7447 2000-03-29 Dave Love <fx@gnu.org>
7449 * calendar/appt.el: Doc fixes.
7450 (appt-check): Convert min-to-app to a string before passing to
7451 appt-disp-window-function or concat.
7452 (appt-delete-window): Remove test for frame-root-window.
7453 (appt-select-lowest-window, appt-convert-time): Simplify.
7455 * emacs-lisp/bytecomp.el: Doc fixes.
7456 (byte-compile-file-form-autoload): Update
7457 byte-compile-function-environment.
7459 2000-03-29 Andreas Schwab <schwab@suse.de>
7461 * emacs-lisp/autoload.el: Also print defsubst doc string
7464 * dired.el (dired-insert-directory): If dired-free-space-program
7465 failed just delete its output.
7467 2000-03-29 Dave Love <fx@gnu.org>
7469 * international/iso-cvt.el: Move provide to end. Doc fixes.
7470 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
7471 (iso-iso2sgml, iso-sgml2iso): New functions.
7472 (iso-cvt-define-menu): Fix some entries and use backquote for
7475 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
7477 2000-03-28 Gerd Moellmann <gerd@gnu.org>
7479 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
7480 ISO-DATE. If non-nil, return date in ISO 8601 format.
7482 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
7484 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
7485 if it ever becomes used.
7486 (log-edit-mode-hook): Default to vc-log-mode-hook.
7487 (log-edit-mode): Fix the docstring.
7489 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
7492 2000-03-26 Dave Love <fx@gnu.org>
7494 * net/browse-url.el (browse-url): Re-fix case of
7495 browse-url-browser-function being an alist.
7496 (browse-url): Add :link to defgroup.
7498 * files.el: Doc fixes.
7499 (file-truename): Include `[' in wildcard characters.
7500 (automount-dir-prefix): Customize.
7501 (find-file-wildcards): Add :version.
7502 (find-file-noselect): Simplify a mapcar call.
7504 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
7505 compatible with inf-lisp version.
7506 (eval-defun-1): Fix custom-declare-variable case.
7508 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
7510 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
7512 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7514 * Makefile (COMPILE_FIRST): New macro.
7515 (compile-files): Compile files from COMPILE_FIRST first.
7517 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
7520 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
7521 matching open parenthesis in column 0 to defun-prompt-regexp
7522 only if open-paren-in-column-0-is-defun-start is set.
7524 * sun-curs.el: Require CL at compile-time only.
7526 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
7527 instead of copy-list which is a function from CL.
7528 (msb--choose-menu, msb--mode-menu-cond)
7529 (msb--create-buffer-menu-2): Use dolist instead of mapc.
7530 (msb--init-file-alist): Use mapcar instead of mapcan.
7531 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
7532 `(' in column 0 in doc string.
7533 (msb--add-separators): Use mapcar instead of mapcan.
7535 * cus-dep.el: Require CL at compile-time only.
7537 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
7539 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7540 (byte-compile-warnings): New warning `noruntime'.
7541 (byte-compile-constants, byte-compile-variables): Fix docstring.
7542 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
7543 execute `eval-whenc-compile's body.
7544 (byte-compile-unresolved-functions): Fix docstring.
7545 (byte-compile-eval): New function.
7546 (byte-compile-callargs-warn): Check if the function will be available
7547 at runtime (via property `byte-compile-noruntime').
7548 (byte-compile-print-syms): New function.
7549 (byte-compile-warn-about-unresolved-functions): Also warn about
7550 `noruntime' functions (and use `byte-compile-print-syms').
7551 (byte-compile-file): Capitalize the message.
7553 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7555 * mail/rmail.el (rmail-confirm-expunge): New user-option.
7556 (rmail-expunge): Ask for confirmation depending on the setting
7557 of rmail-confirm-expunge.
7559 2000-03-23 Gerd Moellmann <gerd@gnu.org>
7561 * Makefile (bootstrap-clean): If $(emacs) exists, build
7562 loaddefs.el first. A loaddefs.el that's not up-to-date might
7563 cause a bootstrap failure because things don't autoload as
7566 2000-03-23 Dave Love <fx@gnu.org>
7568 * net/browse-url.el: Restore previous use of
7569 browse-url-maybe-new-window.
7571 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7573 * ps-print.el: Skip banner page fix.
7574 (ps-print-version): New version number (5.1.2).
7575 (ps-begin-file, ps-end-file, ps-generate): Code fix.
7577 2000-03-23 Dave Pearson <davep@davep.org>
7579 * net/quickurl.el Changed the type of parameter passed to the
7580 function defined by `quickurl-format-function'. Before only the
7581 text of the URL was passed. Now the whole URL structure is passed
7582 and the function is responsible for extracting the parts it
7583 requires. Changed the default of `quickurl-format-function'
7585 (quickurl-insert): Changed the `funcall' of
7586 `quickurl-format-function' to match the above change.
7587 (quickurl-list-insert): Changed the `url' case so that it makes
7588 use of `quickurl-format-function', previous to this the format was
7591 2000-03-22 Gerd Moellmann <gerd@gnu.org>
7593 * startup.el: Change some spellings for the X Window System.
7595 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
7597 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
7598 up the code and the regexp and make sure the cursor is temporarily
7599 moved to the suspicious line while querying the user.
7601 2000-03-22 Jason Rumney <jasonr@gnu.org>
7603 * w32-fns.el (w32-charset-info-alist): Initialize.
7605 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7607 * ps-print.el: N-up last page fix.
7608 (ps-print-version): New version number (5.1.1).
7609 (ps-end-file, ps-end-job, ps-generate): Code fix.
7611 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7613 * files.el (find-file-run-dired): Update docstring.
7614 (find-directory-functions): New hook.
7615 (find-file-noselect): Run find-directory-functions rather than
7616 calling dired directly.
7618 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
7620 * pcvs.el: Add a minimal leading commentary.
7621 (cvs-make-cvs-buffer): Change the header part by removing the startup
7622 message and adding a `Module' entry. Also replace the FOOTER and
7623 HEADER special fileinfos with the new support in ewoc for updating
7624 its own footer and header.
7625 (cvs-update-header): Update to use the header/footer of the ewoc.
7626 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
7627 (cvs-is-within-p): New function.
7628 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
7629 to only examine some subset of the buffers.
7631 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
7632 `format' instead of our own ad-hoc functions.
7633 Remove HEADER and FOOTER cases, now handled in the EWOC.
7634 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
7636 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
7637 output to avoid scaring the user.
7638 (cvs-parse-table): Catch message for non-up-to-date commits.
7640 * pcvs-defs.el (cvs-startup-message): Remove.
7641 (cvs-global-menu): New autoloaded menu.
7643 * pcvs-util.el (cvs-string-fill): Remove.
7645 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
7646 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
7647 PP part of it and also make it work for footers and headers.
7648 (ewoc-create): Drop POS and BUFFER arguments.
7649 Use the DLL's dummy node to store the end-of-footer position.
7650 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
7651 (ewoc-refresh): Remove unused `header' variable.
7652 (ewoc-(get|set)-hf): New functions.
7654 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
7655 log-view-*-(message|file) and use easy-mmode-define-navigation.
7656 (log-view-message-re): Match SCCS format as well.
7657 And match the revision line rather than the dashed separator line.
7658 (log-view-mode): Use the new define-derived-mode.
7659 (log-view-current-tag): Fill in with an actual implementation.
7661 * cvs-status.el (cvs-status-(prev|next)): Rename from
7662 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
7663 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
7664 to let the output "breathe" a little more (more readable).
7665 (cvs-status-mode): Use the new define-derived-mode.
7667 * smerge-mode.el (smerge-auto-leave): New function and variable.
7668 (smerge-basic-map): Rename from smerge-basic-keymap.
7669 Change the bindings for smerge-diff-*.
7670 (smerge-*-map): Use easy-mmode-defmap.
7671 (smerge-(next|prev)): Use easy-mmode-define-navigation.
7672 (smerge-keep-*): Use smerge-auto-leave.
7674 2000-03-21 Jason Rumney <jasonr@gnu.org>
7676 * cus-edit.el (custom-button-face): Use 3D look for w32.
7677 (custom-button-pressed-face): Likewise.
7679 2000-03-21 Gerd Moellmann <gerd@gnu.org>
7681 * progmodes/etags.el (tags-case-fold-search): New user-option.
7682 (tags-loop-eval): New function. Bind case-fold-search around eval
7683 depending on the value of tags-case-fold-search.
7684 (tags-loop-continue): Use tags-loop-eval.
7685 (find-tag-in-order): Bind case-fold-search depending on the value
7686 of tags-case-fold-search.
7688 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7690 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
7691 (diff-end-of-hunk): Return the end position for use in
7692 `easy-mmode-define-navigation'.
7693 (diff-recenter): Remove.
7694 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
7695 of `easy-mmode-define-navigation'.
7696 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
7697 previous renaming) and fix to use new names.
7698 (diff-merge-strings): Use \n as separator: simpler, faster.
7699 (diff-mode): Use `define-derived-mode'.
7701 * derived.el (define-derived-mode): Don't autoload anymore.
7702 Prefer the macro-only version provided by easy-mmode.el.
7704 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
7705 `easy-mmode-define-derived-mode'.
7706 Use `combine-run-hooks'.
7707 (easy-mmode-define-navigation): New macro.
7709 * subr.el (combine-run-hooks): New function.
7711 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
7713 * term/x-win.el: Fontsets related initialization is simplified.
7715 * international/mule-diag.el (describe-font): Don't refer to
7716 global-fontset-alist, instead call font-list.
7717 (describe-fontset, list-fontsets, mule-diag): Likewise.
7718 (print-fontset): Adjusted for the change of fontset
7721 * international/fontset.el (x-charset-registries): Variable
7722 removed, instead the corresponding data is stored in the default
7724 (register-alternate-fontnames): Function removed.
7725 (resolved-ascii-font): Variable removed.
7726 (x-compose-font-name): Ignore the second argument REDOCE.
7727 (x-complement-fontset-spec): Complement only an ASCII font and
7728 element for those charsets than can use that ASCII font.
7729 (generate-fontset-menu): Don't refer to global-fontset-alist,
7730 instead call fontset-list.
7731 (uninstantiated-fontset-alist): Variable removed.
7732 (x-style-funcs-alist): Likewise.
7733 (fontset-default-styles): Likewise.
7734 (x-modify-font-name): Function removed.
7735 (create-fontset-from-fontset-spec): Ignore the argument
7737 (create-fontset-from-ascii-font): Docsting adjusted for the above
7739 (instantiate-fontset, resolve-fontset-name): Functions removed.
7740 (fontset-list): Now implemented by C code.
7742 * faces.el (read-face-font): Fix TABLE arg to completing-read.
7743 (describe-face): Include `font' attribute in the description.
7745 2000-03-21 Kenichi Handa <handa@etl.go.jp>
7747 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
7749 2000-03-20 Gerd Moellmann <gerd@gnu.org>
7751 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
7752 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
7753 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
7755 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
7756 about behavior of set-buffer-modified-p wrt redisplay.
7758 2000-03-19 Richard M. Stallman <rms@gnu.org>
7760 * view.el (view-mode-disable): Kill local binding of view-read-only.
7762 2000-03-18 Gerd Moellmann <gerd@gnu.org>
7764 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
7765 is a string, convert it to a syntax cell using string-to-syntax.
7767 * simple.el (syntax-code-table, syntax-flag-table): New variables.
7768 (string-to-syntax): New function.
7770 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
7771 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
7772 try to use passive ftp mode.
7774 2000-03-17 Gerd Moellmann <gerd@gnu.org>
7776 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
7778 * simple.el (append-to-buffer): Update point of windows after
7781 * abbrev.el (inverse-add-abbrev): Identify word by first moving
7782 forward then moving backward. Reindent.
7784 * frame.el (other-frame): Call x-focus-frame only if
7785 focus-follows-mouse is off.
7787 2000-03-17 Dave Love <fx@gnu.org>
7789 * pcvs-util.el (cvs-strings->string): Rename
7790 replace-regexps-in-string.
7792 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
7794 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
7795 regexp for labels cannot span several lines.
7797 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
7798 `(setq :<key> ':<key>)' to the macro expansion.
7800 2000-03-16 Dave Love <fx@gnu.org>
7802 * progmodes/f90.el (f90): Put custom group under `languages', not
7804 (f90-mode-hook): Customize.
7805 (f90-mode): Set add-log-current-defun-function.
7806 (f90-current-defun): New function.
7808 2000-03-16 Gerd Moellmann <gerd@gnu.org>
7810 * cus-edit.el (custom-variable-tag-face): Handle case that
7811 default face's height is not a number.
7812 (custom-face-tag-face, custom-group-tag-face-1)
7813 (custom-group-tag-face): Ditto.
7814 (custom-group-tag-face-1): Add :group.
7816 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
7818 2000-03-15 Gerd Moellmann <gerd@gnu.org>
7820 * pcvs-defs.el (toplevel): Remove autoload cookie for form
7823 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7825 * ps-print.el: PostScript user-defined prologue, PostScript error
7827 (ps-print-version): New version number (5.1).
7828 (ps-user-defined-prologue, ps-error-handler-message)
7829 (ps-print-prologue-0, ps-error-handler-alist): New vars.
7830 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
7831 (ps-insert-string): New function.
7833 2000-03-15 Kenichi Handa <handa@etl.go.jp>
7835 * international/ccl.el (ccl-compile-expression): Don't generate
7836 invalid self-assignment code.
7838 2000-03-14 Dave Love <fx@gnu.org>
7840 * subr.el (replace-regexp-in-string): Renamed from
7841 replace-regexps-in-string. Doc fix.
7843 2000-03-12 Dave Love <fx@gnu.org>
7845 * cus-edit.el: Doc fixes.
7846 (customize-set-variable, customize-save-variable): Rename args for
7848 (custom-variable-tag-face, custom-face-tag-face)
7849 (custom-group-tag-face-1, custom-group-tag-face): Modify from
7850 style which user identify as hyperlink.
7851 (hook): Don't add undefined functions to the hook.
7852 (debug-ignored-errors): Transfer message from bindings.el.
7854 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7856 * recentf.el (recentf-keep-non-readable-files-p): Remove
7857 double/nested definition.
7859 2000-03-12 Dave Love <fx@gnu.org>
7861 * facemenu.el (facemenu-get-face): Use display-color-p.
7862 * enriched.el (enriched-decode-foreground): Likewise.
7863 (enriched-decode-background): Likewise.
7864 * isearch.el (isearch-highlight): Likewise.
7865 * info-look.el (info-lookup): Likewise.
7866 * simple.el (completion-setup-function): Likewise.
7868 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
7871 * bindings.el (mode-line-format): Fix line-number and
7872 column-number items. Add help-echo for the background.
7873 (mode-line-mule-info): Modify help-echo.
7875 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
7878 * files.el (load-file): Allow completion to .elc.
7880 * man.el: Doc fixes.
7881 (Man-init-defvars): Use display-color-p to set fontification.
7883 * play/hanoi.el (hanoi-internal): Don't use oddp.
7885 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7887 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
7889 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
7891 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
7893 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
7896 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
7898 * font-lock.el (font-lock-keywords): Fix the doc now that
7899 regexp-opt-depth is unnecessary.
7900 (save-buffer-state): Set an edebug spec.
7901 (font-lock-fontify-anchored-keywords): Properly handle the case when
7902 the matcher goes past the limit.
7904 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
7905 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
7907 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
7908 dll.el and cookie.el (from Elib) with heavy renaming and other
7911 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
7912 Autoload the functions used.
7913 (easy-mmode-define-syntax): Fix CL typo.
7914 (easy-mmode-define-derived-mode): Improve the docstring generation.
7916 2000-03-10 Gerd Moellmann <gerd@gnu.org>
7918 * textmodes/texinfo.el (texinfo-version): Variable and function
7921 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
7923 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
7924 allow more flexibility.
7925 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
7927 (easy-mmode-defmap, easy-mmode-defsyntax)
7928 (easy-mmode-define-derived-mode): New macros.
7930 2000-03-09 Didier Verna <didier@xemacs.org>
7932 * rect.el (replace-rectangle): New function.
7934 2000-03-09 Dave Love <fx@gnu.org>
7936 * progmodes/fortran.el (fortran-comment-line-start): Define as
7938 (fortran-comment-line-start-skip): Don't match cpp stuff.
7939 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
7940 (fortran-mode-map): Remove over-eager custom-menu-create for now.
7941 (fortran-mode): Don't set fortran-comment-line-start-skip,
7942 fortran-comment-line-start here. Set comment-start,
7943 add-log-current-defun.
7944 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
7945 (fortran-current-defun): New function.
7947 2000-03-09 Gerd Moellmann <gerd@gnu.org>
7949 * emacs-lisp/re-builder.el: New file.
7951 * mouse.el (mouse-drag-region): Don't run up-event handler
7952 if hscroll has changed.
7954 * octave-mod.el (octave-font-lock-keywords): To font-lock the
7955 builtin operators, use `font-lock-builtin-face' for Emacs and
7956 `font-lock-preprocessor-face' otherwise.
7958 * font-lock.el (lisp-font-lock-keywords-1): Highlight
7959 `(defun (setf foo)' differently.
7961 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
7963 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
7964 (regexp-opt): Update comment and adapt the code the new meaning of
7965 the `paren' argument of regex-opt-group for shy-groups.
7966 (regexp-opt-depth): Handle shy groups as well as backslashed
7968 (regexp-opt-group): Turn the leading comment into a docstring.
7969 Allow `paren' to be a string (the string to use to open a group).
7970 Remove open-presuf and close-presuf. Instead of checking for `all
7971 one-char' and then later on check for `several one-char', handle
7972 both cases close together. Also apply a more generic algorithm
7973 for suffixes (the mirror image of the algorithm used for
7974 prefixes). Use shy-groups. Use nreverse rather than reverse.
7975 (regexp-opt-try-suffix): Removed.
7977 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
7978 from comint-mode-map, so we can just inherit from it. Also, move
7979 the initialization into the `defvar' since there's no docstring
7980 anyway and it's fairly short.
7981 (inferior-scheme-mode): Define it as derived-mode: the code is
7982 shorter and this way we inherit from comint-mode-map rather than
7985 * subr.el (replace-regexps-in-string): Properly handle the case
7986 where we match an empty string.
7988 * comint.el (comint-exec-1): Add the current-dir to the exec-path
7989 when the command has a directory component (such as "./testml").
7990 Also fix a typo in the comment.
7992 2000-03-08 Gerd Moellmann <gerd@gnu.org>
7994 * Makefile (compile-files): Compile files one by one because
7995 that's the only way to ensure a clean compilation environment for
7996 each individual file.
7998 * frame.el (other-frame): Call x-focus-frame.
8000 2000-03-07 Dave Love <fx@gnu.org>
8002 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8003 :require to defcustom.
8005 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8008 * files.el (auto-mode-alist): Add configure.in.
8010 * progmodes/autoconf.el: New file.
8012 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8014 * mail/mh-e.el: Change maintainer to `none'.
8016 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8017 to remove-hook and add-hook.
8019 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8021 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8023 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8024 (sendmail-send-it): Conditionally add MIME headers specifying the
8027 2000-03-07 Dave Love <fx@gnu.org>
8029 * winner.el: Fix keywords, autoload cookies. Split
8030 eval-when-compile form to avoid compilation failure.
8032 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8034 * international/mule.el: Modify comment about coding system
8035 property `coding-category'.
8036 (make-coding-system): New argument EOL-TYPE. Pay attention to
8037 coding-category property of PROPERTIES.
8039 * international/mule-conf.el (coding-category-utf-8,
8040 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8041 categories. Include them in the argument for set-coding-priority.
8043 * international/mule-cmds.el (reset-language-environment): Include
8044 coding-category-utf-8, coding-category-utf-16-be, and
8045 coding-category-utf-16-le in the argument for set-coding-priority.
8046 (reset-language-environment): Initialize coding-category-utf-8,
8047 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
8049 2000-03-06 Karl Fogel <kfogel@red-bean.com>
8051 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
8052 code abstracted out of `bookmark-jump-noselect'. Now tries info
8053 extensions as well as compression extensions.
8054 (bookmark-jump-noselect): Use above new func.
8056 2000-03-03 Gerd Moellmann <gerd@gnu.org>
8058 * strokes.el: Change maintainer's mail address.
8060 2000-03-03 Kenichi Handa <handa@etl.go.jp>
8062 * international/mule-diag.el (list-character-sets): Make help-echo
8063 string by substitute-command-keys.
8064 (list-character-sets): Likewise.
8065 (sort-listed-character-sets): Call help-setup-xref.
8067 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8069 * time.el (display-time-mail-file): Add `none' to the list of
8072 2000-03-01 Dave Love <fx@gnu.org>
8074 * help.el (help-xref-go-back): Don't try to set position.
8076 * international/mule-diag.el (list-character-sets): Call
8077 help-setup-xref. Add help-echo to xrefs.
8078 (list-character-sets-1): Add help-echo to xrefs.
8080 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8082 * frame.el (blink-cursor-mode): Switch cursor on when turning
8085 * add-log.el (add-log-current-defun): Add support for
8088 * mail/rmail.el (rmail-quit-hook): New variable.
8090 2000-03-01 Dave Love <fx@gnu.org>
8092 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
8094 * help.el (help-xref-button): Add help-echo arg.
8095 (describe-function-1, describe-variable, help-make-xrefs): Use it.
8097 * faces.el (list-faces-display): Supply help-echo with
8100 * facemenu.el (list-text-properties-at): Set help-xref-stack to
8103 2000-03-01 Gerd Moellmann <gerd@gnu.org>
8105 * image.el (defimage): Look for image files in load-path.
8107 * frame.el (busy-cursor-delay-seconds): Change type to
8110 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8112 * recentf.el (recentf): Added version tag to the defgroup of
8115 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8117 * recentf.el (recentf-cleanup): Changed to remove excluded file
8119 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
8120 action to select/unselect a file.
8121 (recentf-edit-list): Code cleanup and improvement.
8122 (recentf-open-more-files-action): `recentf-open-more-files' button
8123 widget action to open a file.
8124 (recentf-open-more-files): No more use standard completion but
8126 (recentf-more-collection): Deleted.
8127 (recentf-more-history): Deleted.
8128 (recentf-setup-more-completion): Deleted.
8130 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8132 * recentf.el (recentf-mode): No more needs that Emacs is running
8133 under a window-system.
8135 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8137 * recentf.el (recentf-edit-list): New command to edit the recent
8138 list which allow the user to remove files.
8139 (recentf-edit-selected-items): New global variable, used by
8140 `recentf-edit-list' to hold the list of files to be removed from
8142 (recentf-make-menu-items): Updated to display a "Edit list..."
8143 menu item. Minor code cleanup.
8145 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8147 * recentf.el (recentf-open-more-files): New command to open files
8148 that are not displayed in the menu.
8149 (recentf-more-collection): New global variable holding the set of
8150 permissible completions used by `recentf-open-more-files'.
8151 (recentf-more-history): New global variable holding the history list
8152 used by `recentf-open-more-files' completion.
8153 (recentf-setup-more-completion): New function to setup completion for
8154 `recentf-open-more-files'.
8155 (recentf-make-menu-items): Updated to display a "More..." menu item.
8157 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8159 * recentf.el (recentf-menu-action): Doc fixed.
8161 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8163 * recentf.el (recentf-menu-filter): Doc updated.
8164 (recentf-update-menu-hook): Allow menu filters to force menu update.
8165 (recentf-make-menu-items): New menu filter handling.
8166 (recentf-make-menu-item): New helper function.
8167 (recentf-menu-elements): New menu handling function.
8168 (recentf-sort-ascending): Updated to new menu filter handling.
8169 (recentf-sort-descending): Updated to new menu filter handling.
8170 (recentf-sort-basenames-ascending): New menu filter function.
8171 (recentf-sort-basenames-descending): New menu filter function.
8172 (recentf-show-basenames): New menu filter function.
8173 (recentf-show-basenames-ascending): New menu filter function.
8174 (recentf-show-basenames-descending): New menu filter function.
8176 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8178 * diary-lib.el (list-diary-entries): Don't try to go forward at
8179 the end of the buffer.
8181 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8183 * international/mule-diag.el (list-character-sets): Completely
8185 (sort-listed-character-sets): New function.
8186 (list-character-sets-1): Completely rewritten.
8187 (list-character-sets-2): New function.
8188 (non-iso-charset-alist): New variable.
8189 (decode-codepage-char): New function.
8190 (charset-history): New variable.
8191 (read-charset) (list-block-of-chars)
8192 (list-iso-charset-chars)
8193 (list-non-iso-charset-chars)
8194 (list-charset-chars): New functions.
8195 (mule-diag): Call list-character-sets-2, not
8196 list-character-sets-2.
8197 (dump-charsets): Likewise.
8199 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8201 * dired-x.el (dired-filename-at-point): Add `@' to valid
8202 file name characters.
8203 (dired-filename-at-point): Handle ange-ftp file names.
8205 * frame.el (frame-notice-user-settings): Use assq-delete-all
8206 instead of assoc-delete-all.
8207 (frame-notice-user-settings): Ditto.
8209 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8212 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8214 * calculator.el (calculator-use-menu): New option.
8215 (calculator-initial-bindings): Changed some bindings to work as
8217 (calculator-forced-input): Removed.
8218 (calculator-restart-other-mode): New variable.
8219 (calculator-mode-map): Set up menu.
8221 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8223 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8226 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8228 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8229 translate all ESC key sequences.
8230 (viper-goto-mark-subr): restore markers for files for which
8232 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8233 * viper-util.el (viper-set-replace-overlay-glyphs,
8234 viper-set-replace-overlay): always check if the replacement
8236 * viper.el (viper-vi-state-mode-list): added major modes.
8237 * ediff-wind.el: minor comment changes.
8238 * ediff.el: copyright notice date fix.
8240 2000-02-27 Jason Rumney <jasonr@gnu.org>
8242 * faces.el (face-font-family-alternatives): Add arial to helv.
8243 (mode-line, header-line, tool-bar): Same default as x for w32.
8244 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8245 face-font-family-alternatives from working.
8246 * term/w32-win.el (mouse-set-font): Do not build fontset from
8249 2000-02-25 Sam Steingold <sds@goems.com>
8251 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8254 2000-02-25 Richard M. Stallman <rms@gnu.org>
8256 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8258 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8260 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8263 * frame.el (busy-cursor-delay-seconds): New option.
8265 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8267 * frame.el (show-cursor-in-non-selected-windows): New option.
8269 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8271 * diary-lib.el (include-other-diary-files): Undo the selective
8272 display in any included file and don't kill it.
8274 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8276 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8277 bar. Menu items converted to (menu-item format, help strings
8279 [downcase, upcase]: Don't enable on MS-DOS.
8280 [symlink, symlinks]: Don't show if make-symbolic-link is not
8282 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8284 2000-02-23 Dave Love <fx@gnu.org>
8286 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8287 (backward-kill-word): Revert addition of * to interactive spec --
8290 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8291 (backward-kill-sentence, kill-sentence): Likewise.
8293 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8294 scratch buffer name.
8295 (gud-format-command): Use int-to-string in ?l case. Simplify
8298 * term/w32-win.el (internal-face-interactive): Update prompt for
8301 * mail/footnote.el (footnote): Add :version to defgroup.
8302 (footnote-section-tag-regexp): Customize.
8303 (footnote-start-tag, footnote-end-tag): New option.
8304 (footnote-latin-regexp): New variable.
8305 (Footnote-latin): New function.
8306 (footnote-style-alist): Add element for latin style.
8307 (footnote-style): Moved.
8308 (Footnote-goto-footnote): Use eq to test arg.
8310 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8312 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8313 (byte-compile-trueconstp): Include keywords.
8314 (byte-optimize-quote, byte-optimize-lapcode): Use
8315 byte-compile-const-symbol-p.
8316 (byte-optimize-char-before): New optimization.
8318 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8319 (byte-compile-const-symbol-p): New function.
8320 (byte-compile-constp, byte-compile-out-toplevel)
8321 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8324 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8326 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8328 * international/encoded-kb.el: Be sure to update minor-mode-alist
8329 and minor-mode-map-alist.
8330 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8331 codes SS2 and SS3 correctly.
8332 (encoded-kbd-self-insert-ccl): New function.
8333 (encoded-kbd-setup-keymap): New function.
8334 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8335 by calling encoded-kbd-setup-keymap.
8337 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8339 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8342 2000-02-22 Dave Love <fx@gnu.org>
8344 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8345 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8347 (lisp-mode-syntax-table): Set up for #|...|# comments.
8348 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8349 classes. Match `defface'.
8350 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8351 (eval-defun-1): Fix for defcustom.
8352 (lisp-indent-region): Doc fix.
8354 * subr.el (when, unless, split-string): Doc fix.
8355 (read-passwd): Move call of clear-this-command-keys to the right
8357 (replace-regexps-in-string): New function.
8359 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8361 * help.el (describe-variable): Set syntax table to
8362 emacs-lisp-mode-syntax-table when moving forward over the
8365 2000-02-22 Dave Love <fx@gnu.org>
8367 * xt-mouse.el: Doc fixes.
8368 (xterm-mouse-position-function): New function, replacing advice of
8370 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8372 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8374 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8376 * format.el (format-annotate-single-property-change): Handle
8377 properties.with dotted-list values.
8378 (format-proper-list-p): New function.
8380 * enriched.el (enriched-face-ans): Handle '(foreground-color
8381 . COLOR) and (background-color . COLOR).
8383 2000-02-20 Dave Love <fx@gnu.org>
8385 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
8386 and assignments to it.
8387 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
8389 (make-flyspell-overlay): Use it.
8390 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
8392 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
8393 (lm-get-header-re): Defun, not defsubst.
8394 (lm-get-package-name): Defun, not defsubst. Simplify.
8395 (lm-version): Doc fix. Simplify.
8396 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
8397 (lm-crack-address, lm-last-modified-date, lm-commentary)
8398 (lm-verify, lm-synopsis): Simplify.
8399 (lm-report-bug): Require emacsbug. Use compose-mail.
8401 2000-02-20 Gerd Moellmann <gerd@gnu.org>
8403 * dired.el (dired-mode): Call propertized-buffer-identification
8404 to set mode-line-buffer-identification to something having
8405 the right text properties.
8407 * bindings.el (propertized-buffer-identification): New function.
8409 2000-02-20 Dave Love <fx@gnu.org>
8411 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
8412 check for t-mouse too.
8414 * cus-start.el: Make echo-keystrokes `number'.
8416 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
8418 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
8419 Don't call ring-empty-p unless tags-location-ring is bound.
8420 From Noah Friedman <friedman@splode.com>.
8422 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
8424 * progmodes/hideshow.el (hs-flag-region): No longer use
8425 `intangible' overlay property.
8427 (hs-toggle-hiding): New command.
8428 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
8430 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
8431 Fix omission bug: Run `hs-minor-mode-hook' for both activation
8434 2000-02-18 Gerd Moellmann <gerd@gnu.org>
8436 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
8438 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8440 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
8442 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
8443 of `*' to handle `(* ... *)' comments.
8445 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
8447 * faces.el (list-faces-display): Use display-mouse-p instead of
8450 * menu-bar.el (global-map): Menu-bar items converted to the new
8451 format (menu-item..., rearranged for better CUA compliance, and
8452 their names changed for better clarity. Help strings added.
8454 * international/mule-cmds.el (mule-menu-keymap)
8455 (describe-language-environment-map, set-coding-system-map)
8456 (setup-language-environment-map): Convert to new (menu-item...
8457 form, add help strings. Change names of menu items for better
8458 clarity. "Mule" menu-bar item removed (it's now in the "Options"
8461 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8463 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
8466 2000-02-16 Dave Love <fx@gnu.org>
8468 * faces.el: Don't require custom. Add more specific :groups to
8470 (set-face-attribute): Purecopy args.
8471 (read-face-name): Default to name at point and use it in prompt.
8472 Remove colon from arg in all callers.
8473 (list-faces-display): Hyperlink to face descriptions and customize
8476 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
8478 * wid-edit.el (widget-match-inline): An atom never matches a
8481 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8483 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8484 at ':' characters by call to split-string.
8486 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8488 * textmodes/bibtex.el: Added RCS version identification.
8490 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8492 * textmodes/bibtex.el: Some temporary comments removed.
8493 (bibtex-field-name, bibtex-entry-type): Made the relationship
8495 (bibtex-field-const): Allow capital letters.
8496 (bibtex-start-of-string): Deleted because unused.
8498 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8499 use the term 'reference' to describe a bibtex entry as a whole.
8500 Further, reference keys are no longer called 'labels'.
8501 (bibtex-keys): Renamed to bibtex-reference-keys.
8502 (bibtex-reformat-previous-labels): Renamed to
8503 bibtex-reformat-previous-reference-keys.
8504 (bibtex-reference-type): Renamed to bibtex-entry-type.
8505 (bibtex-reference-head): Renamed to bibtex-entry-head.
8506 (bibtex-reference-maybe-empty-head): Renamed to
8507 bibtex-entry-maybe-empty-head.
8508 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8509 (bibtex-search-reference): Renamed to bibtex-search-entry.
8510 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8511 bibtex-enclosing-entry-maybe-empty-head.
8512 (bibtex-entry-field-alist, bibtex-entry-head,
8513 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8514 bibtex-map-entries, bibtex-search-entry,
8515 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8516 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8517 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8518 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8519 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8520 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8521 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8523 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8525 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8527 (bibtex-format-field-delimiters): New function, functionality
8528 extracted from bibtex-format-entry.
8529 (bibtex-autokey-get-yearfield-digits): New function, functionality
8530 extracted from bibtex-autokey-get-yearfield.
8532 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8533 entries in order to avoid stack overflow in the regexp matcher if
8534 field contents become large.
8535 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8536 bibtex-field-string-part-not-braced,
8537 bibtex-field-string-part-no-inner-braces,
8538 bibtex-field-string-part-1-inner-brace,
8539 bibtex-field-string-part-2-inner-braces,
8540 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8541 bibtex-field-string-quoted, bibtex-field-string,
8542 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8543 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8544 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8545 as parsing is now performed by the following functions.
8546 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8547 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8548 bibtex-parse-field-string, bibtex-search-forward-field-string,
8549 bibtex-parse-association, bibtex-field-name-for-parsing,
8550 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8551 bibtex-search-forward-field, bibtex-search-backward-field,
8552 bibtex-start-of-field, bibtex-end-of-field,
8553 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8554 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8555 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8556 bibtex-parse-string, bibtex-search-forward-string,
8557 bibtex-search-backward-string, bibtex-start-of-string,
8558 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8559 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8560 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8561 entries. Instead of reporting the results of the parsing by
8562 match-beginning or match-end, these functions return data structures
8563 that hold the corresponding positions.
8564 (bibtex-enclosing-field): Changed to also report field boundaries by
8565 return values rather than by match-beginning or match-end. The
8566 following functions have been adapted to use the new parsing
8568 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8569 bibtex-enclosing-field, bibtex-format-entry,
8570 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8571 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8572 bibtex-print-help-message, bibtex-end-of-entry,
8573 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8574 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8575 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8577 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8578 bibtex-map-entries, bibtex-flash-head,
8579 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8580 bibtex-autokey-change, bibtex-autokey-get-namefield,
8581 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8582 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8583 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8584 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8585 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8586 order to make the new binding of case-fold-search immediately
8589 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8591 * textmodes/bibtex.el: Copyright notice is up to date.
8592 Added constant 'bibtex-maintainer-salutation.
8594 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8595 than make-temp-name, use match-string-no-properties and eliminate
8596 a quadratic behavior when building bibtex-strings.
8598 * bibtex.el (bibtex-reference-key): Accept string entries whose
8599 reference key contains upper case letters.
8601 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8603 * bibtex.el (bibtex-reference-head): Allow entries to start with
8606 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8608 * bibtex.el: Hiding of entry bodies is not longer provided by
8609 bibtex.el directly. Instead the hideshow package can be used.
8610 Added a special bibtex entry to hs-special-modes-alist.
8611 (bibtex-hs-forward-sexp): Added for hideshow.el.
8613 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8615 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8616 at ':' characters by call to split-string.
8618 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8620 * textmodes/bibtex.el: Added RCS version identification.
8622 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8624 * textmodes/bibtex.el: Some temporary comments removed.
8625 (bibtex-field-name, bibtex-entry-type): Made the relationship
8627 (bibtex-field-const): Allow capital letters.
8628 (bibtex-start-of-string): Deleted because unused.
8630 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8631 use the term 'reference' to describe a bibtex entry as a whole.
8632 Further, reference keys are no longer called 'labels'.
8633 (bibtex-keys): Renamed to bibtex-reference-keys.
8634 (bibtex-reformat-previous-labels): Renamed to
8635 bibtex-reformat-previous-reference-keys.
8636 (bibtex-reference-type): Renamed to bibtex-entry-type.
8637 (bibtex-reference-head): Renamed to bibtex-entry-head.
8638 (bibtex-reference-maybe-empty-head): Renamed to
8639 bibtex-entry-maybe-empty-head.
8640 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8641 (bibtex-search-reference): Renamed to bibtex-search-entry.
8642 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8643 bibtex-enclosing-entry-maybe-empty-head.
8644 (bibtex-entry-field-alist, bibtex-entry-head,
8645 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8646 bibtex-map-entries, bibtex-search-entry,
8647 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8648 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8649 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8650 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8651 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8652 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8653 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8655 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8657 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8659 (bibtex-format-field-delimiters): New function, functionality
8660 extracted from bibtex-format-entry.
8661 (bibtex-autokey-get-yearfield-digits): New function, functionality
8662 extracted from bibtex-autokey-get-yearfield.
8664 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8665 entries in order to avoid stack overflow in the regexp matcher if
8666 field contents become large.
8667 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8668 bibtex-field-string-part-not-braced,
8669 bibtex-field-string-part-no-inner-braces,
8670 bibtex-field-string-part-1-inner-brace,
8671 bibtex-field-string-part-2-inner-braces,
8672 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8673 bibtex-field-string-quoted, bibtex-field-string,
8674 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8675 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8676 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8677 as parsing is now performed by the following functions.
8678 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8679 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8680 bibtex-parse-field-string, bibtex-search-forward-field-string,
8681 bibtex-parse-association, bibtex-field-name-for-parsing,
8682 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8683 bibtex-search-forward-field, bibtex-search-backward-field,
8684 bibtex-start-of-field, bibtex-end-of-field,
8685 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8686 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8687 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8688 bibtex-parse-string, bibtex-search-forward-string,
8689 bibtex-search-backward-string, bibtex-start-of-string,
8690 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8691 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8692 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8693 entries. Instead of reporting the results of the parsing by
8694 match-beginning or match-end, these functions return data structures
8695 that hold the corresponding positions.
8696 (bibtex-enclosing-field): Changed to also report field boundaries by
8697 return values rather than by match-beginning or match-end. The
8698 following functions have been adapted to use the new parsing
8700 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8701 bibtex-enclosing-field, bibtex-format-entry,
8702 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8703 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8704 bibtex-print-help-message, bibtex-end-of-entry,
8705 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8706 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8707 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8709 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8710 bibtex-map-entries, bibtex-flash-head,
8711 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8712 bibtex-autokey-change, bibtex-autokey-get-namefield,
8713 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8714 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8715 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8716 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8717 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8718 order to make the new binding of case-fold-search immediately
8721 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8723 * textmodes/bibtex.el: Copyright notice is up to date.
8724 Added constant 'bibtex-maintainer-salutation.
8726 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8727 than make-temp-name, use match-string-no-properties and eliminate
8728 a quadratic behavior when building bibtex-strings.
8730 * bibtex.el (bibtex-reference-key): Accept string entries whose
8731 reference key contains upper case letters.
8733 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8735 * bibtex.el (bibtex-reference-head): Allow entries to start with
8738 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8740 * bibtex.el: Hiding of entry bodies is not longer provided by
8741 bibtex.el directly. Instead the hideshow package can be used.
8742 Added a special bibtex entry to hs-special-modes-alist.
8743 (bibtex-hs-forward-sexp): Added for hideshow.el.
8745 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8747 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
8748 proceedings entry type (for cross referencing). Thanks to Wagner
8749 Toledo Correa for the suggestion.
8751 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
8753 2000-02-14 Kenichi Handa <handa@etl.go.jp>
8755 * international/characters.el: Setup case table for Vietnamese.
8757 2000-02-12 Gerd Moellmann <gerd@gnu.org>
8759 * uniquify.el (toplevel): Require CL at compile time.
8760 (uniquify-push): Removed.
8762 * shadowfile.el (shadow-when): Removed.
8764 * tempo.el (tempo-dolist, tempo-mapc): Removed.
8765 (tempo-process-and-insert-string): Use dolist instead of
8768 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
8769 regexp for paragraph-start.
8771 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
8774 2000-02-10 Dave Love <fx@gnu.org>
8776 * wid-edit.el: (widgets) [defgroup]: Remove url link.
8777 (widget-color-choice-list, widget-color-history, widget-mouse-help):
8779 (widget-specify-field, widget-specify-button): Don't use
8780 widget-mouse-help as help-echo property.
8781 (default): Use #'ignore for :validate and :mouse-down-action.
8782 (checkbox): Add help-echo.
8783 (widget-sexp-validate): Rewritten to clarify error messages.
8784 (character): Use char-valid-p in :match function.
8785 (widget-color-complete): Use facemenu-color-alist.
8786 (widget-color-action): Use facemenu-read-color.
8788 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
8789 set up `caar' &c that we now have.
8791 2000-02-09 Ray Blaak <blaak@gnu.org>
8793 * delphi.el: Make resourcestring a declaration region, like const
8796 2000-02-09 Dave Love <fx@gnu.org>
8798 * bindings.el (mode-line-input-method-map): New variable.
8799 (mode-line-mule-info): Use it; fix last change.
8800 (mode-line-mode-menu): Move definition.
8801 (mode-line-mouse-sensitive-p): Deleted.
8802 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
8803 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
8806 * startup.el (command-line-1): Don't call
8807 make-mode-line-mouse-sensitive.
8809 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8811 * mail/rmail.el (rmail-retry-failure): Use
8812 rmail-beginning-of-message before rmail-toggle-header, because the
8813 former toggles headers.
8815 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
8817 * diff-mode.el (diff-kill-junk): New interactive function.
8818 (diff-reverse-direction): Use delete-and-extract-region.
8819 (diff-post-command-hook): Restrict the area so that the hook also works
8820 outside of any diff hunk. This is necessary for the minor-mode.
8821 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
8822 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
8824 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
8825 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
8826 so that it can be used more easily in <foo>-mode-hook. Also make sure
8827 to avoid duplicate entries.
8828 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
8829 (font-lock-remove-keywords): Just as was done for `add', allow it to
8830 work even if font-lock-mode is nil. Also make sure we don't modify
8831 any pre-existing list by forcing a copy-sequence. Finally rename
8832 `major-mode' to `mode'.
8833 (font-lock-fontify-syntactic-anchored-keywords)
8834 (font-lock-fontify-anchored-keywords)
8835 (font-lock-fontify-keywords-region): Use line-end-position.
8836 Don't make `font-lock-multiline' local (it's now done in
8837 font-lock-set-defaults).
8838 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
8839 move the `font-lock-fontified' creation to inside the `unless'.
8841 2000-02-06 Andrew Innes <andrewi@gnu.org>
8843 * term/w32-win.el (x-handle-args): Comment out call to message,
8844 which occurs before window system is initialized.
8846 * makefile.nt: Add support for recompiling lisp code.
8848 2000-02-04 Dave Love <fx@gnu.org>
8850 * bindings.el (mode-line-mule-info): Fix/extend last change.
8852 * completion.el: Replace completion-dolist with dolist.
8854 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
8857 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
8859 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
8860 environment names before they go into the section regexp.
8862 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
8863 char class in regexp.
8865 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
8866 `case-fold-search' to nil.
8868 * progmodes/idlwave.el (idlwave-template): Respect
8869 `idlwave-abbrev-change-case'.
8870 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
8871 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
8872 idlwave-while): respect `idlwave-reserved-word-upcase'.
8873 (idlwave-rw-case): New function.
8874 (idlwave-statement-match): Fixed problem with assignment regexp.
8875 (idlwave-font-lock-keywords): Improved regexp for keyword
8877 (idlwave-surround): New argument LENGTH to support padding of
8878 operators longer than 1 char.
8880 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
8881 idlwave-shell-expression-overlay. Implemented printing of
8882 expressions on higher levels of the calling stack.
8883 (idlwave-shell-display-level-in-calling-stack): Restore stack
8885 (idlwave-retrieve-expression-from-level): New function.
8886 (idlwave-shell-last-calling-stack): Variable removed.
8887 (idlwave-shell-reset): Argument action reversed (`visible' to
8888 `hidden'). Also remove stop-line overlay.
8889 (idlwave-shell-calling-stack-routine): New variable.
8890 (idlwave-shell-parse-stack-and-display): Messages now display
8891 negative level numbers.
8892 (idlwave-shell-mode): Set `modeline-format'.
8893 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
8894 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
8896 (idlwave-shell-print-expression-function): New option.
8898 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
8899 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
8900 `tool-bar' instead of `toolbar'.
8902 2000-02-02 Dave Love <fx@gnu.org>
8904 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
8905 emacs-lisp-mode-hook. Don't check for defalias being defined.
8907 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
8908 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
8909 the new builtins directly.
8911 * whitespace.el (whitespace): Add :version to defgroup.
8913 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
8916 * thingatpt.el (sexp-at-point, symbol-at-point)
8917 (number-at-point, list-at-point): Add autoload cookie.
8919 * recentf.el (recentf): Add :version to defgroup.
8921 * quickurl.el (quickurl): Add :version to defgroup.
8923 * elide-head.el (elide-head): Use point-marker more.
8925 * bs.el (bs): Add :version to defgroup.
8927 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
8929 * progmodes/delphi.el (delphi): Add :version to defgroup.
8931 2000-02-02 Gerd Moellmann <gerd@gnu.org>
8933 * ange-ftp.el (ange-ftp-write-region): Handle case that
8934 succeeding process operation sets a different coding system.
8936 * calculator.el: New file.
8938 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8940 * frame.el (frames-on-display-list, framep-on-display): New
8942 (display-mouse-p, display-popup-menus-p, display-graphic-p)
8943 (display-selections-p, display-screens, display-pixel-width)
8944 (display-pixel-height, display-mm-width, display-mm-height)
8945 (display-backing-store, display-save-under, display-planes)
8946 (display-color-cells, display-visual-class): New functions.
8948 * term/tty-colors.el (tty-color-gray-shades): New function.
8950 * faces.el (display-color-p): Use framep-on-display.
8951 (display-grayscale-p): New function.
8953 2000-01-31 Dave Love <fx@gnu.org>
8955 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
8956 (create-fontset-from-x-resource): Don't concat integers.
8958 2000-01-31 Inge Frick <inge@nada.kth.se>
8960 * view.el: Some changes in documentation. Removed some trailing
8961 whitespace. Changed some parameter names to agree with
8963 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
8964 window is not deleted. Modifies change 1998-04-26.
8966 2000-01-31 Gerd Moellmann <gerd@gnu.org>
8968 * windmove.el: New file.
8970 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
8971 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
8972 progmodes/ebnf-yac.el: Update copyright and license info.
8974 * jit-lock.el (jit-lock-function): Widen before calculating end
8976 (jit-lock-stealth-chunk-start): Rewritten.
8978 * info.el (Info-title-face-alist): Removed.
8979 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
8981 (Info-fontify-node): Use these faces.
8983 2000-01-30 Gerd Moellmann <gerd@gnu.org>
8985 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
8986 (cl-macro-list1): Recognize `&allow-other-keys' instead of
8987 `&allow-other-keywords'.
8989 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
8990 the list of directories scanned heuristically.
8992 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
8995 2000-01-30 Jason Rumney <jasonr@gnu.org>
8997 * w32-fns.el: Define w32-tty-standard-colors.
8999 * startup.el (command-line): Use w32-tty-standard-colors when in
9002 2000-01-30 Dave Love <fx@gnu.org>
9004 * jka-compr.el (jka-compr-load): Fix up load-history.
9006 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9008 * emacs-lisp/cl-macs.el: Revert previous change.
9010 2000-01-29 Dave Love <fx@gnu.org>
9012 * facemenu.el: Purecopy various strings.
9014 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9015 years. Deal with three-digit years.
9017 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9019 (help-back-label): Purecopy it.
9021 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9023 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9024 variable. If non-nil, order the buffer list according to the
9025 currently selected frame.
9026 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9027 non-nil, pass the selected frame to function buffer-list.
9029 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9031 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9033 2000-01-28 Dave Love <fx@gnu.org>
9035 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9037 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9038 Don't use lisp-indent-hook property.
9041 * subr.el: Move out indent and edebug specs for when and unless.
9043 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
9046 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
9049 2000-01-28 Gerd Moellmann <gerd@gnu.org>
9051 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
9052 `collecting' as synonym for `collect'.
9054 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
9055 for the case it contains spaces.
9057 * simple.el (what-cursor-position): Change formatting of
9060 * frame.el (delete-other-frames): New function.
9061 (toplevel): Bind it to C-x 5 1.
9063 * sort.el (sort-numeric-base): New option.
9064 (sort-numeric-fields): If number starts with `0' or `0[xX[',
9065 interpret it as octal or hexadecimal. Use sort-numeric-base
9068 * progmodes/glasses.el: New file.
9070 2000-01-27 Gerd Moellmann <gerd@gnu.org>
9072 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
9073 userids differently.
9075 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9076 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9077 progmodes/ebnf-yac.el: New files.
9079 2000-01-26 Dave Love <fx@gnu.org>
9081 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
9082 on a function with an empty body. [From Eric Ludlam.]
9084 2000-01-25 Andre Spiegel <spiegel@gnu.org>
9086 * vc.el (vc-version-diff): Make sure file name is expanded.
9088 2000-01-25 Gerd Moellmann <gerd@gnu.org>
9090 * scroll-bar.el (scroll-bar-timer): Variable removed.
9091 (scroll-bar-toolkit-scroll): Don't use a timer.
9093 2000-01-25 Kenichi Handa <handa@etl.go.jp>
9095 * language/thai-util.el (thai-composition-function): Delete
9098 2000-01-24 Dave Love <fx@gnu.org>
9100 * fortran.el (fortran-mode): Use beginning-of-defun-function,
9101 end-of-defun-function.
9103 * font-lock.el (turn-on-font-lock): Don't depend on window-system
9106 2000-01-22 Jason Rumney <jasonr@gnu.org>
9108 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
9109 conflicts with new face support.
9111 2000-01-22 Richard M. Stallman <rms@gnu.org>
9113 * replace.el (query-replace): Rename last arg to DELIMITED.
9114 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
9115 (query-replace-regexp): Likewise.
9117 2000-01-20 Richard M. Stallman <rms@gnu.org>
9119 * subr.el (with-syntax-table): Use make-symbol, not gensym.
9121 * emacs-lisp/lisp.el (beginning-of-defun-function):
9122 Variable renamed from beginning-of-defun.
9123 Do not call make-variable-buffer-local.
9124 (beginning-of-defun-raw): Use new variable name; doc fix.
9125 (beginning-of-defun): Doc fix.
9126 (end-of-defun-function): Variable renamed from end-of-defun.
9127 Do not call make-variable-buffer-local.
9128 (end-of-defun): Use new variable name; doc fix.
9130 * subr.el (dolist, dotimes): Copied from cl-macs.el
9133 * mail/undigest.el (rmail-digest-end-regexps):
9134 Variable replaces rmail-digest-end-regexp.
9135 Allows multiple regexps for detecting the end line.
9136 (undigestify-rmail-message): Corresponding changes.
9138 2000-01-19 Dave Love <fx@gnu.org>
9140 * files.el (user-init-file): Don't declare here -- is primitive.
9142 * startup.el (command-line): Check for compiled user-init-file and
9143 set to uncompiled version if necessary.
9145 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9147 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9148 (undigestify-rmail-message): Use it.
9150 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9152 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9154 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9157 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9159 * emacs-lisp/copyright.el (copyright-update): Removed the
9160 requirement for a trailing space from `copyright-regexp', to
9161 support copyrights with owner specified on a separate line..
9163 * align.el: New file.
9165 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9167 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9169 2000-01-13 Dave Love <fx@gnu.org>
9171 * ph.el: Removed. (Obsoleted by EUDC.)
9173 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9175 * net/eudc.el (toplevel): Remove autoloaded code installing
9176 menu with easymenu, because that causes build problems.
9178 * frame.el (frame-notice-user-settings): New variable.
9179 (frame-notice-user-settings): Don't modify frame parameters
9180 if called a second time.
9182 2000-01-13 Richard M. Stallman <rms@gnu.org>
9184 * frame.el (frame-notice-user-settings):
9185 Notice default-frame-parameters even for non-window frames.
9187 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9189 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9191 (eudc-bob-can-display-inline-images): Extend for Emacs.
9192 (eudc-bob-toggle-inline-display): Ditto.
9193 (eudc-bob-display-jpeg): Ditto.
9195 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9197 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9198 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9199 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9201 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9204 * subdirs.el: Add `net' directory.
9206 * net: New directory.
9208 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9209 eval-last-sexp. Don't bind debug-on-error here.
9210 (eval-last-sexp): New function. Bind debug-on-error if
9211 eval-expression-debug-on-error is non-nil.
9212 (eval-defun-2, eval-defun): Likewise.
9214 * simple.el (eval-expression): Don't bind debug-on-error if
9215 eval-expression-debug-on-error is nil. Detect changed
9216 debug-on-error, and propagate new value to global binding, if
9217 eval-expression-debug-on-error is non-nil,
9218 (eval-expression-debug-on-error): Change doc string.
9220 2000-01-11 Richard M. Stallman <rms@gnu.org>
9222 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9224 * emacs-lisp/lisp-mode.el (with-syntax-table):
9225 Set up lisp-indent-function property.
9227 * subr.el (with-syntax-table): Moved from simple.el.
9229 * simple.el (with-syntax-table): Moved to subr.el.
9231 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9233 * tmm.el (tmm-shortcut): Delete region after prompt instead
9236 * textmodes/fill.el (fill-common-string-prefix): New function.
9237 (fill-context-prefix): Use the longest common prefix of first
9238 and second line fill prefix, if there is one.
9240 2000-01-11 Richard M. Stallman <rms@gnu.org>
9242 * array.el (array-mode): Don't use make-variable-buffer-local.
9243 Use make-local-variable for `truncate-lines'.
9245 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9247 * add-log.el (add-log-current-defun): Handle user-defined
9248 add-log-current-function returning nil,
9250 * add-log.el (add-change-log-entry): Insert version number
9251 if having found a current function
9253 * add-log.el (add-log-current-defun): Call
9254 `add-log-current-defun-function'. Try matches at level 0 and
9255 level 1. Strip whitespace from defun found.
9257 2000-01-10 John Wiegley <johnw@gnu.org>
9259 * allout.el (isearch-done/outline-provisions): Added `edit'
9260 argument to correspond with the current definition of
9263 2000-01-10 Dave Love <fx@gnu.org>
9265 * elide-head.el (elide-head): Use point-marker, not point.
9267 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9269 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9270 before and after the year 2000.
9272 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9275 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9277 * ispell.el: Only define dictionaries in menus when they exist.
9278 (version18p): New variable.
9279 (version20p): New variable.
9280 (xemacsp): New variable.
9281 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9282 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9283 (ispell-dictionary-alist6): Russian command lines no longer accept
9285 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9286 (ispell-dictionary-alist): Add koi8-r to customize definition.
9287 (check-ispell-version): Added documentation string. Returns
9288 library path when called non-interactively.
9289 (ispell-menu-map-needed): Uses new variables.
9290 (ispell-library-path): New variable.
9291 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9292 (ispell-word): Improved documentation string. Test for valid
9293 character mappings. Correctly check typed in word changes that can
9294 result in single words split into multiple words. Returns
9296 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9297 replace in recursive query replace mode. Help message for
9298 recursive edit mode.
9299 (ispell-show-choices): Protect against bad framepop bindings.
9300 (ispell-help): Fix to work with XEmacs.
9301 (ispell-highlight-spelling-error): Use new variables.
9302 (ispell-overlay-window): Fix to work with XEmacs.
9303 (ispell-parse-output): Passed and returns location information
9304 tracking spelling corrections. Doesn't recheck same word on
9306 (ispell-init-process): Protect against bogus XEmacs variable binding.
9307 Fix call to single argument in sleep-for. Use new variables.
9308 (ispell-region): Passed and returns location information tracking
9309 spelling corrections. Doesn't check same word on current line.
9310 Improved documentation string. Doesn't resend a line already
9311 checked to the ispell process - fixes bug in LaTeX parsing.
9312 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9313 (ispell-skip-region): No longer skips <TT> in SGML.
9314 (ispell-process-line): Tracks location information with spelling
9315 corrections. Added documentation string. Accounts for words
9316 already accepted on this line. Don't allow query-replace on line
9317 starting with math characters. Doesn't resend a line already sent
9318 to ispell process. Fixes alignment error bug.
9320 2000-01-10 Richard M. Stallman <rms@gnu.org>
9322 * dired-x.el (dired-guess-shell-alist-default):
9323 Suggest xloadimage, which is free, not xv, which isn't.
9325 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9326 Don't ever include the host name or user name in the value.
9328 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9330 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9333 2000-01-09 Stephen Eglen <stephen@gnu.org>
9335 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9338 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9340 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9342 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9344 * progmodes/cperl-mode.el: Replace ^F with ^L.
9346 * sendmail.el (toplevel): Provide `sendmail' when compiling
9347 before `require'ing rmail and mailalias to prevent infinite
9350 2000-01-08 Dave Love <fx@gnu.org>
9352 * emacs-lisp/backquote.el: Remove inappropriate customization
9353 (allowing custom.el to use backquote).
9355 2000-01-07 Dave Love <fx@gnu.org>
9357 * add-log.el (add-log-debugging): Deleted.
9358 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9359 file. Remove debugging code.
9360 (change-log-get-method-definition, change-log-name): Add doc.
9361 (change-log-sortable-date-at): New function.
9362 (change-log-merge): New command.
9364 * time.el (display-time-string-forms): Make the Mail string active.
9365 (display-time-update): Provide help-echo for load average.
9367 * bindings.el (make-mode-line-mouse2-map): New function.
9368 (mode-line-modified): Use it and simplify.
9369 (mode-line-mule-info): Provide help-echo info.
9370 (minor-mode-alist): Activate the strings.
9371 (make-mode-line-mouse-sensitive): Simplify for
9372 mode-line-buffer-identification.
9374 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9376 * play/pong.el: New file.
9378 2000-01-06 Dave Love <fx@gnu.org>
9380 * array.el: Assorted cleanups for compiler warnings, doc strings,
9381 `array-' prefix for symbols.
9383 2000-01-05 Dave Love <fx@gnu.org>
9385 * textmodes/outline.el (outline-mode-menu-bar-map): Add
9386 outline-headers-as-kill.
9387 (outline-mode): Define imenu-generic-expression.
9388 (outline-headers-as-kill): New command.
9390 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
9391 from paragraph-start.
9392 (paragraph-indent-minor-mode): New command.
9394 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
9395 M-C-e, M-C-h, C-j, C-xnd, TAB.
9396 (fortran-mode): Set beginning-of-defun, end-of-defun.
9397 (fortran-column-ruler): Simplify.
9398 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
9399 (fortran-with-subprogram-narrowing): Likewise.
9400 (fortran-indent-subprogram): Call mark-defun.
9401 (fortran-check-for-matching-do): Change narrowing.
9403 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
9404 (cl-lucid-hash-tag): Delete.
9405 (cl-hash-table-p): Correct test for native table.
9406 (cl-hash-table-count): Use hash-table-count.
9408 * browse-url.el (browse-url): Fix case of
9409 browse-url-browser-function being an alist.
9411 2000-01-05 Carsten Dominik <cd@gnu.org>
9413 * textmodes/reftex-vars.el (reftex-parse-file-extension)
9414 (reftex-index-phrase-file-extension): New options.
9416 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
9417 Use new option `reftex-index-phrase-file-extension'.
9419 * textmodes/reftex.el (reftex-access-parse-file): Use new option
9420 `reftex-parse-file-extension'.
9422 2000-01-05 Dave Love <fx@gnu.org>
9424 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
9425 (beginning-of-defun-raw): Use it.
9426 (end-of-defun): New variable.
9427 (end-of-defun): Use it.
9428 (check-parens): New command.
9430 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
9432 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
9433 (hs-show-block): Don't use `mapcar' when not accumulating.
9435 Fix buglet in local variables initialization.
9437 2000-01-05 Andreas Schwab <schwab@suse.de>
9439 * hscroll.el (hscroll): Doc fix.
9441 2000-01-05 Carsten Dominik <cd@gnu.org>
9443 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
9446 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
9448 (idlwave-customize): load must read file idlw-shell.el.
9449 (idlwave-create-customize-menu): load must read file idlw-shell.el.
9451 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
9453 * progmodes/idlw-shell.el: Also provide idlwave-shell
9454 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
9455 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
9457 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
9458 both reftex-dcr and reftex-vcr.
9460 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
9462 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9464 * ps-print.el: PostScript code now is in separate files, doc fix.
9465 (ps-print-version): New version number (5.0.3).
9466 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
9468 (ps-spool-config): Initialization fix.
9469 (ps-print-prologue-1, ps-print-prologue-2)
9470 (ps-print-duplex-feature): PostScript code moved to separated file.
9471 (ps-background-image): Little code reformating.
9472 (ps-begin-file, ps-begin-job): Fix code.
9473 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
9474 (ps-prologue-file): New fun.
9476 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9478 * ps-vars.el: Eliminated.
9480 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
9483 * ps-print.el: ps-vars eliminated, doc fix.
9484 (ps-print-version): New version number (5.0.2).
9485 (ps-spool-config): Initialization fix.
9486 (ps-print-customize): New fun.
9488 2000-01-04 Gerd Moellmann <gerd@gnu.org>
9490 * autorevert.el (auto-revert-mode): Return value of
9493 2000-01-04 Dave Love <fx@gnu.org>
9495 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
9498 2000-01-03 Dave Love <fx@gnu.org>
9500 * elide-head.el (elide-head) [defgroup]: Add :version.
9502 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
9503 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
9504 `cl-hash-table-p', not `hash-table-p'.
9505 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
9507 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9509 * faces.el (face-read-integer, read-face-attribute)
9510 (color-defined-p, color-values): unspecified-{f,b}g are now
9513 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
9515 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
9516 at comment end, and re-insert them after filling.
9518 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9520 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
9521 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
9522 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
9524 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9526 * term/x-win.el (xw-defined-colors): Call color-supported-p,
9527 the new name of face-color-supported-p.
9529 * term/w32-win.el (xw-defined-colors): Likewise.
9531 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9533 * simple.el (completion-setup-function): Count completion-size
9534 from minibuffer-prompt-end, not from point-min.
9536 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9538 * faces.el (read-face-attribute, defined-colors, color-defined-p):
9539 Pass the frame to tty-color-* functions.
9540 (display-color-p, frame-set-background-mode): Pass the frame to
9541 tty-display-color-p.
9543 * term/tty-colors.el (tty-defined-color-alist): Renamed from
9545 (tty-color-alist, tty-modify-color-alist): New functions.
9546 (tty-color-define, tty-color-clear, tty-color-approximate)
9547 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
9548 an optional parameter FRAME.
9550 2000-01-01 Gerd Moellmann <gerd@gnu.org>
9552 * image.el (create-image, defimage): Don't assume image data is a
9555 * image.el (defimage): Handle specifications containing :data
9557 (image-type-from-data): New function.
9558 (image-type-from-file-header): Use it.
9559 (create-image): Add parameter DATA-P.
9561 See ChangeLog.8 for earlier changes.
9564 ;; coding: iso-2022-7bit-unix